:root {
  color-scheme: dark;
  --bg: #04060b;
  --panel: rgba(8, 13, 23, 0.84);
  --text: #f2f5ff;
  --muted: #a6b2d0;
  --cyan: #64ebff;
  --green: #7bf0ba;
  --magenta: #ff5dcf;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; }

.guide-scene {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 8%, rgba(100, 235, 255, 0.11), transparent 30%),
    radial-gradient(circle at 82% 5%, rgba(255, 93, 207, 0.13), transparent 30%),
    linear-gradient(180deg, #050710 0%, #09051a 48%, #14051f 100%);
}
.guide-stars {
  position: absolute;
  inset: 0;
  opacity: 0.58;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.8) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(100,235,255,.55) 0 1px, transparent 1.5px);
  background-position: 0 0, 37px 59px;
  background-size: 113px 127px, 173px 191px;
}
.guide-grid {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -10%;
  height: 48%;
  transform: perspective(460px) rotateX(62deg);
  transform-origin: center bottom;
  background-image:
    linear-gradient(rgba(255,93,207,.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100,235,255,.18) 1px, transparent 1px);
  background-size: 68px 48px;
  mask-image: linear-gradient(to top, black 0 48%, transparent 100%);
}
.guide-glow {
  position: absolute;
  inset: auto 0 28%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,93,207,.6), rgba(100,235,255,.5), transparent);
  box-shadow: 0 0 45px 18px rgba(255,93,207,.12);
}

.guide-header,
main,
footer {
  width: min(1160px, calc(100% - 2rem));
  margin-inline: auto;
}
.guide-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.guide-brand {
  color: color-mix(in srgb, var(--green) 82%, white);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .24em;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(123,240,186,.22);
}
.guide-header nav,
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.guide-header nav a,
footer nav a {
  padding: .42rem .65rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  text-decoration: none;
}
.guide-header nav a:hover,
.guide-header nav a.is-current,
footer nav a:hover {
  background: rgba(100,235,255,.07);
  color: var(--text);
}

main { padding: 1rem 0 6rem; }
.breadcrumbs {
  display: flex;
  gap: .45rem;
  margin: 1rem 0 1.6rem;
  color: var(--muted);
  font-size: .75rem;
}
.breadcrumbs a { text-underline-offset: .2em; }

.hero,
.guide-section,
.final-cta {
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(100,235,255,.20);
  border-radius: 30px;
  background:
    radial-gradient(circle at 0 0, rgba(100,235,255,.095), transparent 34%),
    radial-gradient(circle at 100% 0, rgba(255,93,207,.095), transparent 34%),
    linear-gradient(180deg, rgba(7, 12, 22, .91), rgba(4, 8, 16, .91));
  box-shadow:
    0 28px 78px rgba(0,0,0,.38),
    0 0 0 1px rgba(255,255,255,.025),
    0 0 26px rgba(100,235,255,.075),
    0 0 58px rgba(255,93,207,.055),
    inset 0 0 34px rgba(100,235,255,.035),
    inset 0 1px 0 rgba(255,255,255,.045);
  backdrop-filter: blur(16px) saturate(1.14);
}

.hero::before,
.guide-section::before,
.final-cta::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(123,240,186,.075);
  border-radius: 22px;
  box-shadow:
    inset 0 0 24px rgba(100,235,255,.035),
    0 0 16px rgba(255,93,207,.025);
  pointer-events: none;
}

.hero::after,
.guide-section::after,
.final-cta::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(100,235,255,.52), rgba(123,240,186,.38), rgba(255,93,207,.45), transparent);
  box-shadow: 0 0 18px rgba(100,235,255,.16);
  pointer-events: none;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(1.5rem, 5vw, 4.5rem);
}
.eyebrow,
.section-kicker,
.console-label {
  margin: 0 0 .6rem;
  color: color-mix(in srgb, var(--green) 82%, white);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .19em;
  text-transform: uppercase;
}
h1,
h2,
h3,
p { overflow-wrap: break-word; }
h1 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2.35rem, 7vw, 5.6rem);
  line-height: .96;
  letter-spacing: -.055em;
}
.hero-lede {
  max-width: 68ch;
  margin: 1.35rem 0 0;
  color: color-mix(in srgb, var(--text) 82%, var(--muted));
  font-size: clamp(1rem, 1.8vw, 1.18rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.7rem;
}
.primary-cta,
.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .78rem 1.05rem;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .035em;
  text-decoration: none;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}
.primary-cta {
  border: 1px solid rgba(123,240,186,.35);
  background: linear-gradient(180deg, rgba(123,240,186,.2), rgba(100,235,255,.08));
  box-shadow: 0 0 26px rgba(123,240,186,.08);
}
.secondary-cta {
  border: 1px solid rgba(100,235,255,.2);
  background: rgba(6,13,23,.8);
  color: color-mix(in srgb, var(--cyan) 82%, white);
}
.primary-cta:hover,
.secondary-cta:hover { transform: translateY(-2px); }
.hero-console {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid rgba(100,235,255,.28);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,93,207,.08), transparent 38%),
    rgba(3,8,15,.86);
  box-shadow:
    inset 0 0 30px rgba(100,235,255,.045),
    0 0 0 1px rgba(255,255,255,.02),
    0 0 28px rgba(100,235,255,.08),
    0 0 42px rgba(255,93,207,.045);
}
.hero-console > strong {
  display: block;
  color: color-mix(in srgb, var(--cyan) 72%, white);
  font-size: clamp(3rem, 7vw, 5.2rem);
  line-height: 1;
  text-shadow: 0 0 24px rgba(100,235,255,.18);
}
.hero-console > span:not(.console-label) { color: var(--muted); }
.console-stats {
  display: grid;
  gap: .55rem;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.07);
  color: var(--muted);
  font-size: .75rem;
}
.console-stats b { color: var(--text); }

.guide-section {
  margin-top: 1.25rem;
  padding: clamp(1.35rem, 4vw, 3rem);
}
.guide-section.two-column {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
  gap: clamp(1.5rem, 4vw, 4rem);
}
h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -.04em;
}
h3 {
  margin: 0 0 .55rem;
  font-size: 1.02rem;
}
.prose p,
.section-intro,
.methodology,
.feature-grid p,
.faq p,
.final-cta p {
  color: color-mix(in srgb, var(--text) 76%, var(--muted));
}
.prose p:first-child { margin-top: 0; }
.prose p:last-child { margin-bottom: 0; }
.section-intro { max-width: 82ch; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.feature-grid article {
  min-width: 0;
  padding: 1.2rem;
  border: 1px solid rgba(100,235,255,.11);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,93,207,.045), transparent 42%),
    rgba(255,255,255,.025);
  box-shadow: inset 0 0 20px rgba(100,235,255,.02), 0 0 18px rgba(100,235,255,.025);
}
.feature-number {
  display: block;
  margin-bottom: .75rem;
  color: color-mix(in srgb, var(--magenta) 70%, white);
  font-size: .65rem;
  font-weight: 850;
  letter-spacing: .15em;
}
.feature-grid p { margin: 0; font-size: .88rem; }

.featured-games {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  margin-top: 1.4rem;
}
.featured-games a {
  min-width: 0;
  display: grid;
  gap: .28rem;
  padding: 1rem;
  border: 1px solid rgba(100,235,255,.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at 0% 100%, rgba(123,240,186,.045), transparent 45%),
    rgba(255,255,255,.025);
  box-shadow: inset 0 0 18px rgba(100,235,255,.02), 0 0 16px rgba(255,93,207,.02);
  text-decoration: none;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}
.featured-games a:hover {
  transform: translateY(-2px);
  border-color: rgba(100,235,255,.38);
  background: rgba(100,235,255,.05);
  box-shadow: inset 0 0 22px rgba(100,235,255,.025), 0 0 24px rgba(100,235,255,.07);
}

.featured-games a:focus-visible,
.primary-cta:focus-visible,
.secondary-cta:focus-visible,
.guide-source-links a:focus-visible,
.guide-header a:focus-visible,
footer a:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--cyan) 78%, white);
  outline-offset: 3px;
}
.game-name { font-weight: 850; }
.game-credit { color: color-mix(in srgb, var(--green) 76%, white); font-size: .72rem; }
.game-meta { color: var(--muted); font-size: .68rem; }
.methodology {
  margin: 1.2rem 0 0;
  padding: 1rem;
  border-left: 2px solid rgba(123,240,186,.42);
  background: rgba(123,240,186,.035);
  font-size: .78rem;
}

.faq details {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: .95rem 0;
}
.faq details:first-of-type { margin-top: 1rem; }
.faq summary {
  cursor: pointer;
  font-weight: 800;
}
.faq p { margin-bottom: 0; }

.final-cta {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.4rem, 4vw, 2.6rem);
}
.final-cta h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); }
.final-cta p { margin-bottom: 0; }

footer {
  padding: 1.5rem 0 2.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: .7rem;
}

@media (max-width: 850px) {
  .hero,
  .guide-section.two-column { grid-template-columns: 1fr; }
  .hero-console { max-width: 440px; }
  .featured-games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .guide-header { align-items: flex-start; flex-direction: column; padding-block: 1rem; }
  .guide-header nav { gap: .15rem; }
  .hero { padding: 1.3rem; border-radius: 24px; }
  .hero::before,
  .guide-section::before,
  .final-cta::before { inset: 7px; border-radius: 18px; }
  h1 { font-size: clamp(2.25rem, 13vw, 3.7rem); }
  .feature-grid,
  .featured-games { grid-template-columns: 1fr; }
  .final-cta,
  footer { align-items: flex-start; flex-direction: column; }
  .primary-cta,
  .secondary-cta { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media (prefers-reduced-transparency: reduce) {
  .hero,
  .guide-section,
  .final-cta { backdrop-filter: none; background: #080d17; }
}

.research-byline {
  max-width: 74ch;
  margin: .9rem 0 0;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.55;
}

.guide-source-links {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.guide-source-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: .38rem .68rem;
  border: 1px solid rgba(100,235,255,.17);
  border-radius: 999px;
  background: rgba(100,235,255,.035);
  color: color-mix(in srgb, var(--cyan) 78%, white);
  font-size: .69rem;
  font-weight: 760;
  text-decoration: none;
}

.guide-source-links a:hover {
  border-color: rgba(100,235,255,.38);
  color: var(--text);
}
