:root {
  --bg: #0b0b0b;
  --bg-elevated: #141414;
  --bg-soft: #1a1a1a;
  --text: #f3f0e8;
  --text-muted: #a8a296;
  --gold: #e0a11a;
  --gold-deep: #c4840f;
  --green: #2fbf4a;
  --green-deep: #219a37;
  --line: rgba(224, 161, 26, 0.22);
  --font-display: "Unbounded", sans-serif;
  --font-body: "Onest", sans-serif;
  --radius: 4px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(47, 191, 74, 0.08), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(224, 161, 26, 0.1), transparent 50%),
    linear-gradient(180deg, #0f0f0f 0%, var(--bg) 40%, #090909 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green);
  color: #041208;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  backdrop-filter: blur(14px);
  background: rgba(11, 11, 11, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  animation: brand-pulse 4.5s var(--ease) infinite;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #f6d78a 0%, var(--gold) 45%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-desktop {
  display: none;
  gap: 1.35rem;
  margin-left: 1rem;
}

.nav-desktop a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-desktop a:hover,
.nav-desktop a:focus-visible {
  color: var(--text);
}

.header-actions {
  margin-left: auto;
  display: flex;
  gap: 0.55rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-lg {
  padding: 0.95rem 1.55rem;
  font-size: 0.98rem;
}

.btn-gold {
  background: linear-gradient(180deg, #f0b93a, var(--gold-deep));
  color: #1a1203;
}

.btn-green {
  background: linear-gradient(180deg, #45d45f, var(--green-deep));
  color: #041208;
}

.btn-outline {
  background: transparent;
  border-color: rgba(243, 240, 232, 0.35);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: #ffe7a8;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  animation: hero- ken 18s var(--ease) infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 11, 11, 0.35) 0%, rgba(11, 11, 11, 0.55) 45%, rgba(11, 11, 11, 0.92) 100%),
    linear-gradient(90deg, rgba(11, 11, 11, 0.75) 0%, rgba(11, 11, 11, 0.2) 55%, rgba(11, 11, 11, 0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 3.5rem;
  max-width: 720px;
  margin-left: max(1rem, calc((100% - 1120px) / 2));
  margin-right: 1rem;
  animation: rise-in 0.9s var(--ease) both;
}

.hero-brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff4c8 0%, #f0b93a 40%, #c4840f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(224, 161, 26, 0.15);
}

.hero-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.4vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  max-width: 16ch;
}

.hero-lead {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 38ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-head {
  margin-bottom: 2.25rem;
  max-width: 620px;
}

.section-head h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

.cat-rail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.cat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.95), rgba(16, 16, 16, 0.95));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, transform 0.2s var(--ease);
}

.cat-item:hover {
  border-color: rgba(224, 161, 26, 0.55);
  transform: translateY(-2px);
}

.cat-count {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
}

.cat-name {
  color: var(--text-muted);
  font-weight: 500;
}

.game-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.game-tile {
  display: block;
  transition: transform 0.25s var(--ease);
}

.game-tile:hover {
  transform: translateY(-3px);
}

.game-tile h3 {
  margin: 0.65rem 0 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.game-art {
  width: 100%;
  aspect-ratio: 472 / 312;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #161616;
}

.bonus-grid {
  display: grid;
  gap: 1.5rem;
}

.bonus-feature {
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bonus-feature:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bonus-kicker {
  margin: 0 0 0.4rem;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bonus-feature h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.bonus-feature p {
  margin: 0 0 0.9rem;
  color: var(--text-muted);
  max-width: 48ch;
}

.text-link {
  color: var(--gold);
  font-weight: 700;
  border-bottom: 1px solid transparent;
}

.text-link:hover {
  border-bottom-color: var(--gold);
}

.feature-list {
  display: grid;
  gap: 1.75rem;
}

.feature-list h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.feature-list p {
  margin: 0;
  color: var(--text-muted);
  max-width: 42ch;
}

.cta-band {
  background:
    radial-gradient(700px 280px at 50% 0%, rgba(224, 161, 26, 0.16), transparent 70%),
    linear-gradient(180deg, #121212, #0b0b0b);
  border-block: 1px solid var(--line);
}

.cta-inner {
  text-align: center;
  max-width: 640px;
}

.cta-inner h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.cta-inner > p {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
}

.cta-inner .hero-cta {
  justify-content: center;
}

.cta-note {
  margin-top: 1.25rem !important;
  font-size: 0.85rem !important;
}

.faq-list {
  display: grid;
  gap: 0.65rem;
  max-width: 760px;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.35rem 0 0.85rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 1.05rem;
  list-style: none;
  padding: 0.55rem 0;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--gold);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0;
  color: var(--text-muted);
  padding-right: 1.5rem;
}

.prose h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.prose p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  max-width: 70ch;
}

.prose strong {
  color: var(--text);
  font-weight: 700;
}

/* Footer */
.site-footer {
  padding: 3.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #080808;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  margin: 0.9rem 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 34ch;
}

.site-footer h3 {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.site-footer nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.site-footer nav li + li {
  margin-top: 0.45rem;
}

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

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.25rem;
}

.footer-legal p {
  margin: 0 0 0.55rem;
  color: #6f6a60;
  font-size: 0.78rem;
  line-height: 1.5;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes hero-ken {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@keyframes brand-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

@media (min-width: 720px) {
  .cat-rail {
    grid-template-columns: repeat(3, 1fr);
  }

  .game-showcase {
    grid-template-columns: repeat(4, 1fr);
  }

  .bonus-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .bonus-feature {
    padding: 0;
    border: 0;
  }

  .bonus-feature:last-child {
    border: 0;
  }

  .feature-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .nav-desktop {
    display: flex;
  }

  .cat-rail {
    grid-template-columns: repeat(6, 1fr);
  }

  .game-showcase {
    grid-template-columns: repeat(6, 1fr);
  }

  .hero-content {
    padding: 6rem 0 4.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
