:root {
  --ink: #07090c;
  --ink-2: #10151c;
  --ink-3: #171e28;
  --panel: rgba(16, 21, 28, 0.86);
  --line: rgba(227, 179, 65, 0.22);
  --gold: #e3b341;
  --gold-2: #f3d48a;
  --green: #1fad73;
  --green-2: #0e6b46;
  --red: #c81e32;
  --ice: #e8f3ee;
  --mist: #90a3ad;
  --white: #f7faf8;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  --radius: 1.15rem;
  --font-display: "Syne", sans-serif;
  --font-body: "Outfit", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ice);
  background: radial-gradient(1200px 600px at 10% -10%, rgba(31, 173, 115, 0.16), transparent 50%),
    radial-gradient(900px 500px at 100% 0%, rgba(200, 30, 50, 0.12), transparent 46%),
    var(--ink);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 8;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site-header {
  position: relative;
  z-index: 60;
  background: linear-gradient(180deg, rgba(7, 9, 12, 0.96), rgba(7, 9, 12, 0.78));
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: linear-gradient(145deg, var(--gold-2), var(--gold) 45%, var(--green));
  box-shadow: 0 0 0 1px rgba(227, 179, 65, 0.4), 0 10px 24px rgba(31, 173, 115, 0.25);
  font-size: 1.15rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.12rem;
  letter-spacing: 0.01em;
}

.brand-text small {
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.desk-nav {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

.desk-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
  color: var(--mist);
  transition: 0.25s ease;
}

.desk-nav a:hover,
.desk-nav a.active {
  color: var(--white);
  background: rgba(227, 179, 65, 0.12);
}

.nav-toggle {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: var(--ink-2);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--gold);
  transition: 0.25s ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: #07090c;
  padding: 7rem 1.4rem 2rem;
  transform: translateX(110%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  overflow-y: auto;
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.55rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--gold);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  animation: ken 22s ease-in-out infinite alternate;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 9, 12, 0.42) 0%, rgba(7, 9, 12, 0.72) 48%, rgba(7, 9, 12, 0.96) 100%),
    linear-gradient(90deg, rgba(7, 9, 12, 0.55), transparent 55%);
}

@keyframes ken {
  from {
    transform: scale(1.08) translateX(0);
  }
  to {
    transform: scale(1.16) translateX(-2%);
  }
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 6.5rem 0 3.5rem;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--red));
}

h1,
h2,
h3,
.display {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 6.2rem);
  line-height: 0.92;
  max-width: 14ch;
  margin: 0 0 1.1rem;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.hero p.lead {
  max-width: 38rem;
  font-size: 1.12rem;
  color: var(--mist);
}

.btn-gold,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  padding: 0.85rem 1.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  transition: 0.25s ease;
}

.btn-gold {
  color: var(--ink);
  background: linear-gradient(90deg, var(--gold-2), var(--gold));
  box-shadow: 0 10px 30px rgba(227, 179, 65, 0.25);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(227, 179, 65, 0.35);
}

.btn-ghost {
  color: var(--white);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.4rem;
  max-width: 36rem;
}

.stat {
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--white);
}

.stat span {
  color: var(--mist);
  font-size: 0.85rem;
}

.section {
  padding: 5.2rem 0;
  position: relative;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin: 0;
}

.section-head p {
  max-width: 32rem;
  color: var(--mist);
  margin: 0;
}

.marquee-wrap {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(227, 179, 65, 0.04);
}

.marquee {
  display: flex;
  gap: 2.4rem;
  padding: 0.85rem 0;
  width: max-content;
  animation: slide 28s linear infinite;
  font-family: var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold);
}

.marquee span {
  white-space: nowrap;
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.game-grid,
.card-grid,
.news-grid,
.setup-grid {
  display: grid;
  gap: 1.1rem;
}

.game-grid {
  grid-template-columns: 1fr;
}

.game-card,
.panel,
.news-card,
.setup-card,
.info-card,
.rank-row {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.game-card {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: end;
}

.game-card img,
.cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-card .shade,
.page-hero .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(7, 9, 12, 0.92));
}

.game-card .meta,
.page-hero .copy {
  position: relative;
  z-index: 2;
  padding: 1.3rem;
}

.game-card h3 {
  margin: 0 0 0.3rem;
}

.game-card p {
  margin: 0;
  color: var(--mist);
  font-size: 0.9rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.panel {
  padding: 1.3rem;
}

.panel h3 {
  margin-top: 0;
}

.media {
  border-radius: calc(var(--radius) - 6px);
  overflow: hidden;
  margin-bottom: 1rem;
}

.media img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: 0.6s ease;
}

.panel:hover .media img,
.setup-card:hover img {
  transform: scale(1.06);
}

.pill {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(31, 173, 115, 0.15);
  color: var(--green);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.time-item {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.time-item strong {
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.split {
  display: grid;
  gap: 1.4rem;
  align-items: center;
}

.split img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
}

.feature-list li {
  display: flex;
  gap: 0.7rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-list i {
  color: var(--gold);
  margin-top: 0.2rem;
}

.news-grid {
  grid-template-columns: 1fr;
}

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-card .body {
  padding: 1.15rem;
}

.setup-grid {
  grid-template-columns: 1fr;
}

.setup-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.setup-card .body {
  padding: 1.15rem;
}

.price {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  min-height: 320px;
  display: grid;
  align-items: end;
}

.cta-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-band .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 9, 12, 0.88), rgba(7, 9, 12, 0.25));
}

.cta-band .copy {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #05070a;
  padding: 3.4rem 0 1.4rem;
}

.footer-grid {
  display: grid;
  gap: 1.6rem;
}

.footer-grid h4 {
  font-family: var(--font-display);
  margin: 0 0 0.8rem;
}

.footer-grid a,
.footer-grid p {
  color: var(--mist);
  display: block;
  margin-bottom: 0.4rem;
}

.footer-grid a:hover {
  color: var(--gold);
}

.legal {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--mist);
  font-size: 0.85rem;
}

.page-hero {
  position: relative;
  min-height: 48vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 4.1rem);
  max-width: 16ch;
  margin: 0 0 0.65rem;
}

.page-hero .copy {
  padding-bottom: 2.6rem;
}

.page-hero .lead {
  max-width: 38rem;
  color: var(--mist);
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-row {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
}

.rank-row b {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.info-card {
  padding: 1.3rem;
}

.info-card i {
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
}

.policy h1,
.policy h2 {
  margin-top: 0;
}

.policy p,
.policy li {
  color: var(--mist);
}

.reveal {
  animation: rise 0.8s ease both;
}

.d1 {
  animation-delay: 0.1s;
}
.d2 {
  animation-delay: 0.2s;
}
.d3 {
  animation-delay: 0.3s;
}
.d4 {
  animation-delay: 0.4s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 768px) {
  .hero-stats,
  .game-grid,
  .card-grid,
  .news-grid,
  .setup-grid,
  .split,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .desk-nav {
    display: flex;
  }

  .nav-toggle,
  .mobile-nav {
    display: none;
  }

  .game-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .card-grid,
  .setup-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .news-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
    max-width: 100%;
  }
}
