* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #0d0f17;
  color: #e2e8f0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  overflow-x: hidden;
}

header {
  width: 100%;
  padding: 2.5rem 1.5rem 1rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(13, 15, 23, 0.9) 0%, rgba(13, 15, 23, 0) 100%);
  z-index: 10;
}

h1 {
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #a855f7, #3b82f6, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

p.subtitle {
  font-size: 0.95rem;
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

.model-badge {
  display: inline-block;
  margin-top: 0.85rem;
  padding: 0.3rem 0.85rem;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 9999px;
  font-size: 0.8rem;
  color: #c084fc;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

main {
  position: relative;
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

#canvas-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #08090e;
}

canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}

.description-card {
  max-width: 800px;
  width: calc(100% - 2rem);
  margin: 1.5rem auto;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.description-card h2 {
  font-size: 1.2rem;
  color: #f1f5f9;
  margin-bottom: 0.75rem;
}

.description-card p {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.6;
}

footer {
  width: 100%;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: #64748b;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 640px) {
  h1 { font-size: 1.6rem; }
  #canvas-container { aspect-ratio: 4 / 3; }
}
