@font-face {
  font-family: "Lexend";
  src: url("../fonts/Lexend-Regular.ttf");
}

@font-face {
  font-family: "Lexend-SemiBold";
  src: url("../fonts/Lexend-SemiBold.ttf");
}

@font-face {
  font-family: "Cardo";
  src: url("../fonts/cardo-regular.ttf");
}

@font-face {
  font-family: "Cardo-Bold";
  src: url("../fonts/cardo-bold.ttf");
}

:root {
  color-scheme: dark;
  --bg: #0d0b14;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.14);
  --text: #f7f2ff;
  --muted: rgba(247, 242, 255, 0.72);
  --line: rgba(255, 255, 255, 0.12);
  --accent: #ff4ca8;
  --accent-2: #7ce4ff;
  --accent-3: #ffd56a;
  --max: 1180px;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Lexend", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 76, 168, 0.22), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(124, 228, 255, 0.16), transparent 24%),
    linear-gradient(180deg, #140f1f 0%, #0b0910 55%, #09070c 100%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.concept-body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.concept-body::before,
.concept-body::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 42rem;
  height: 42rem;
  border-radius: 999px;
  filter: blur(100px);
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

.concept-body::before {
  left: -12rem;
  top: 6rem;
  background: var(--accent);
}

.concept-body::after {
  right: -10rem;
  top: 28rem;
  background: var(--accent-2);
}

.shell {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.showcase-body {
  background:
    radial-gradient(circle at top, rgba(124, 228, 255, 0.08), transparent 24%),
    linear-gradient(180deg, #120e1d 0%, #0b0910 100%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(10, 8, 14, 0.72);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: "Lexend-SemiBold", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  padding: 8px;
  background: linear-gradient(135deg, rgba(255, 76, 168, 0.25), rgba(124, 228, 255, 0.15));
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.nav-links a,
.pill {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: 0.25s ease;
}

.nav-links a:hover,
.pill:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

.pill-strong,
.cta-primary {
  background: linear-gradient(135deg, var(--accent), #ff7f78);
  color: #160d18;
  border-color: transparent;
  box-shadow: 0 16px 40px rgba(255, 76, 168, 0.3);
}

.hero {
  padding: 28px 0 40px;
  width: calc(100vw - 32px);
  margin-left: calc(50% - 50vw + 16px);
  margin-right: calc(50% - 50vw + 16px);
}

.hero-carousel {
  position: relative;
  min-height: calc(100vh - 126px);
  border: 1px solid rgba(122, 177, 255, 0.22);
  border-radius: 40px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: rgba(7, 12, 26, 0.7);
}

.hero-track {
  position: relative;
  min-height: inherit;
}

.hero-slide,
.panel,
.game-card,
.reference-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.05));
  box-shadow: var(--shadow);
}

.hero-slide {
  position: absolute;
  inset: -1px;
  display: flex;
  align-items: end;
  padding: 52px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
  border: 0;
  border-radius: 0;
  background-color: #09101f;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide-launch {
  background:
    linear-gradient(90deg, rgba(7, 10, 22, 0.88) 0%, rgba(18, 14, 40, 0.66) 48%, rgba(18, 10, 30, 0.32) 100%),
    radial-gradient(circle at 78% 22%, rgba(255, 125, 233, 0.28), transparent 18%),
    radial-gradient(circle at 80% 70%, rgba(0, 231, 192, 0.24), transparent 22%),
    linear-gradient(135deg, #13183a 0%, #0a0d18 50%, #090814 100%);
}

.hero-slide-teaser {
  background:
    linear-gradient(90deg, rgba(4, 7, 18, 0.9) 0%, rgba(14, 12, 32, 0.7) 45%, rgba(10, 14, 23, 0.35) 100%),
    radial-gradient(circle at 74% 22%, rgba(255, 125, 233, 0.22), transparent 18%),
    radial-gradient(circle at 78% 76%, rgba(107, 108, 255, 0.24), transparent 22%),
    linear-gradient(135deg, #0b1324 0%, #0a0b15 100%);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 50%, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(5, 7, 15, 0.1), rgba(5, 7, 15, 0.38));
}

.hero-slide-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding-bottom: 84px;
}

.hero-carousel-controls {
  position: absolute;
  right: 30px;
  bottom: 28px;
  left: 30px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero-control {
  min-width: 88px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(8, 11, 22, 0.58);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.hero-pagination {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-dot {
  width: 14px;
  height: 14px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  transform: scale(1.15);
  background: var(--accent-3);
}

.hero-copy {
  padding: 56px;
  position: relative;
  overflow: hidden;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--accent-3);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  background: currentColor;
}

.display {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  font-family: "Lexend-SemiBold", sans-serif;
}

.display.alt {
  font-family: "Cardo-Bold", serif;
  letter-spacing: -0.04em;
}

.lede {
  max-width: 56ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions,
.concept-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.cta-secondary {
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 999px;
  font-family: "Lexend-SemiBold", sans-serif;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.metric {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.7rem;
}

.metric span {
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  padding: 24px 0 40px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
  letter-spacing: -0.05em;
}

.section-head p {
  max-width: 42ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.panel {
  padding: 28px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.game-card {
  overflow: hidden;
}

.game-card img {
  width: 100%;
  aspect-ratio: 0.95;
  object-fit: cover;
}

.game-copy {
  padding: 22px;
}

.kicker {
  color: var(--accent-3);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.game-copy h3,
.reference-card h3 {
  margin: 10px 0 12px;
  font-size: 1.7rem;
}

.game-copy p,
.reference-card p,
.panel p,
.showcase-intro p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  gap: 20px;
}

.launch-panel,
.teaser-panel,
.roadmap-panel {
  position: relative;
  overflow: hidden;
}

.launch-panel::before,
.teaser-panel::before,
.roadmap-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.95;
}

.launch-panel::before {
  background:
    radial-gradient(circle at top right, rgba(107, 108, 255, 0.28), transparent 34%),
    linear-gradient(135deg, rgba(13, 20, 56, 0.78), rgba(16, 11, 26, 0.18));
}

.teaser-panel::before {
  background:
    radial-gradient(circle at top left, rgba(255, 125, 233, 0.24), transparent 32%),
    linear-gradient(135deg, rgba(22, 12, 33, 0.82), rgba(8, 18, 28, 0.28));
}

.roadmap-panel::before {
  background:
    radial-gradient(circle at center right, rgba(0, 231, 192, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(7, 14, 31, 0.76), rgba(10, 10, 18, 0.22));
}

.launch-panel > *,
.teaser-panel > *,
.roadmap-panel > * {
  position: relative;
  z-index: 1;
}

.stack {
  display: grid;
  gap: 16px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.92rem;
}

.showcase-hero {
  padding: 82px 0 28px;
}

.showcase-intro {
  max-width: 760px;
  margin-bottom: 30px;
}

.showcase-intro h1 {
  margin: 0 0 16px;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.reference-card {
  padding: 24px;
}

.reference-card .pill {
  display: inline-flex;
  margin-bottom: 18px;
}

.reference-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.reference-card li + li {
  margin-top: 8px;
}

.footer-note {
  padding: 20px 0 70px;
  color: var(--muted);
  text-align: center;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 10px;
  margin-bottom: 48px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow);
}

.site-footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-footer-brand strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer-brand p {
  margin: 0;
  max-width: 38ch;
  color: var(--muted);
  line-height: 1.6;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.site-footer-links a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
}

.legal-page .concept-body::before,
.legal-page .concept-body::after {
  display: none;
}

.legal-shell {
  padding-top: 36px;
  padding-bottom: 32px;
}

.legal-hero {
  margin-bottom: 24px;
  padding: 40px;
}

.legal-title {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
}

.legal-meta {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.legal-card {
  padding: 26px;
}

.legal-card h2 {
  margin: 0 0 12px;
  font-size: 1.4rem;
}

.legal-card p + p {
  margin-top: 12px;
}

.theme-noir {
  --accent: #f45a9b;
  --accent-2: #93e2ff;
  --accent-3: #ffcf70;
}

.theme-noir .hero-copy {
  background:
    linear-gradient(130deg, rgba(255, 86, 156, 0.16), rgba(255, 255, 255, 0.05)),
    radial-gradient(circle at top right, rgba(147, 226, 255, 0.18), transparent 30%);
}

.theme-neon {
  --bg: #060814;
  --accent: #6b6cff;
  --accent-2: #00e7c0;
  --accent-3: #ff7de9;
}

.theme-neon body,
.theme-neon {
  background:
    radial-gradient(circle at top left, rgba(107, 108, 255, 0.28), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(0, 231, 192, 0.2), transparent 24%),
    linear-gradient(180deg, #090d1c 0%, #05070f 100%);
}

.theme-neon .hero-copy,
.theme-neon .hero-card,
.theme-neon .panel,
.theme-neon .game-card {
  background:
    linear-gradient(180deg, rgba(11, 16, 34, 0.9), rgba(12, 18, 42, 0.55));
  border-color: rgba(122, 177, 255, 0.22);
}

.theme-editorial {
  --accent: #ff6a5f;
  --accent-2: #ffc164;
  --accent-3: #f6e8ce;
  color-scheme: light;
}

.theme-editorial {
  background:
    linear-gradient(180deg, #f4ede0 0%, #ede1d2 28%, #171214 28%, #0e0a0d 100%);
  color: #fff5eb;
}

.theme-editorial .topbar {
  background: rgba(17, 13, 16, 0.82);
}

.theme-editorial .hero-copy,
.theme-editorial .hero-card,
.theme-editorial .panel,
.theme-editorial .game-card {
  background: linear-gradient(180deg, rgba(44, 25, 25, 0.85), rgba(18, 13, 14, 0.92));
  border-color: rgba(255, 196, 100, 0.2);
}

.theme-editorial .display,
.theme-editorial .section-head h2,
.theme-editorial .showcase-intro h1 {
  font-family: "Cardo-Bold", serif;
}

.theme-editorial .topbar-inner .brand,
.theme-editorial .cta-primary,
.theme-editorial .nav-links a {
  font-family: "Lexend-SemiBold", sans-serif;
}

@media (max-width: 1100px) {
  .split-panel,
  .references-grid {
    grid-template-columns: 1fr;
  }

  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .topbar-inner,
  .section-head,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy,
  .panel,
  .reference-card {
    padding: 22px;
  }

  .metrics,
  .games-grid,
  .references-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .site-footer-links {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 18px;
  }

  .hero-carousel {
    min-height: 78vh;
    border-radius: 28px;
  }

  .hero-slide {
    padding: 24px 22px 88px;
    align-items: end;
    background-position: 68% center;
  }

  .hero-slide-content {
    padding-bottom: 72px;
  }

  .hero-carousel-controls {
    right: 20px;
    bottom: 18px;
    left: 20px;
  }

  .hero-control {
    min-width: 72px;
    padding: 10px 12px;
  }
}

@media (orientation: landscape) and (max-height: 760px) {
  .hero-carousel {
    min-height: calc(100vh - 104px);
  }

  .hero-slide {
    padding: 32px 28px 110px;
  }

  .hero-slide-content {
    width: min(680px, 100%);
    padding-bottom: 88px;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .hero-carousel-controls {
    bottom: 16px;
  }
}
