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

:root {
  --bg:        #0d0d1a;
  --bg-alt:    #12122a;
  --surface:   #1a1a35;
  --gold:      #ffcc00;
  --gold-dim:  #c9a000;
  --purple:    #7c3aed;
  --purple-light: #a78bfa;
  --text:      #e2e8f0;
  --text-muted: #94a3b8;
  --border:    #2a2a50;
  --radius:    8px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Silkscreen', monospace;
  line-height: 1.7;
}

/* ── Nav ── */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 26, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.9rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--gold);
}

/* ── Hero ── */

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(124, 58, 237, 0.18) 0%, transparent 70%),
    var(--bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,204,0,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.studio-label {
  font-size: 0.65rem;
  color: var(--purple-light);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(1.4rem, 5vw, 2.8rem);
  color: var(--gold);
  line-height: 1.4;
  margin-bottom: 1.2rem;
  text-shadow: 0 0 40px rgba(255, 204, 0, 0.3);
}

.hero-logo {
  max-width: 1280px;
  width: 200%;
  height: auto;
  display: block;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 1.5rem;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  letter-spacing: 0.05em;
}

.btn-primary {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--gold);
  color: #0d0d1a;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.65rem;
  text-decoration: none;
  border-radius: var(--radius);
  letter-spacing: 0.05em;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--gold-dim);
  transform: translateY(-2px);
}

/* ── Sections ── */

.section {
  padding: 3.75rem 2rem;
}

.section-alt {
  background: var(--bg-alt);
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

.section h2 {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(0.9rem, 2.5vw, 1.3rem);
  color: var(--gold);
  margin-bottom: 1.5rem;
  text-align: center;
}

.section p {
  color: var(--text-muted);
  font-size: 0.75rem;
  max-width: 640px;
  margin: 0 auto 2rem;
  text-align: center;
}

/* ── Stats ── */

.stats-row {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.stat-number {
  font-family: 'Press Start 2P', monospace;
  font-size: 2rem;
  color: var(--gold);
}

.stat-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* ── Feature Cards ── */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: var(--purple);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.6rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.feature-card p {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0;
}

/* ── Carousel ── */

.carousel {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.carousel-track-wrapper {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius);
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

.carousel-slide {
  min-width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-slide.placeholder {
  background: var(--surface);
  border: 2px dashed var(--border);
}

.carousel-slide.placeholder span {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.carousel-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 2rem;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
  line-height: 1;
}

.carousel-btn:hover {
  background: var(--border);
  border-color: var(--gold);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
}

.dot.active {
  background: var(--gold);
}

/* ── CTA ── */

.cta-section {
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
  text-align: center;
}

/* ── Footer ── */

footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.25rem;
  text-align: center;
  overflow-wrap: break-word;
  word-break: break-word;
}

.footer-logo {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.footer-contact {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: var(--gold);
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin: 1rem 0;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.social-link svg {
  width: 1.1rem;
  height: 1.1rem;
}

.social-link:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: var(--bg);
}

.footer-copy {
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* ── Hamburger ── */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* ── Responsive ── */

@media (max-width: 680px) {
  /* Nav */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(13, 13, 26, 0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 1rem 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 0.75rem 1rem;
  }

  /* Hero logo — disable the overflow trick on mobile, just fill width */
  .hero-logo {
    width: 100%;
    left: auto;
    transform: none;
    max-width: 100%;
  }

  /* Hero */
  .hero {
    min-height: unset;
    padding: 2rem 1.5rem;
  }

  .hero-content {
    max-width: 100%;
  }

  .tagline {
    font-size: 0.7rem;
  }

  /* Sections */
  .section {
    padding: 3rem 1.25rem;
  }

  /* Stats */
  .stats-row {
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* Carousel */
  .carousel-btn {
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1.5rem;
  }
}
