:root {
  --ink: #071426;
  --ink-2: #0d2038;
  --panel: #102842;
  --paper: #f4f7f3;
  --white: #ffffff;
  --sky: #a9d8e8;
  --gold: #ffc943;
  --orange: #ff7a3d;
  --muted: #9db0c1;
  --line: rgba(169, 216, 232, .2);
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --body: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --mono: Consolas, "Courier New", monospace;
  --shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 88% 8%, rgba(36, 116, 153, .25), transparent 30rem),
    linear-gradient(180deg, #071426 0%, #0a1a2e 64%, #071321 100%);
  font-family: var(--body);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: -5rem;
  padding: .7rem 1rem;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  text-transform: uppercase;
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: .045em;
}
.brand i { color: var(--gold); font-family: Georgia, serif; text-transform: lowercase; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--gold);
  border-radius: 50% 50% 46% 54% / 55% 47% 53% 45%;
  font-family: var(--mono);
  font-weight: 900;
  transform: rotate(-6deg);
}

.site-nav { display: flex; gap: clamp(1rem, 3vw, 2.3rem); }
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .2s;
}
.site-nav a:hover { color: var(--white); }
.menu-toggle { display: none; }

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 650px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
  padding: 74px 0 96px;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 1.4rem;
  font-family: var(--display);
  font-size: clamp(4.7rem, 9vw, 8.6rem);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: .78;
  text-transform: uppercase;
}
h1 span { color: var(--gold); }
.hero-lede { max-width: 520px; color: #bed0dd; font-size: 1.12rem; }
.hero-actions { display: flex; align-items: center; gap: 1.2rem; margin-top: 2rem; }
.button-primary, .cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.button-primary { padding: 1rem 1.25rem; box-shadow: 6px 6px 0 var(--orange); }
.button-primary:hover, .cta:hover { transform: translate(-2px, -2px); background: #ffda74; }
.hero-note { max-width: 120px; color: var(--muted); font-size: .74rem; line-height: 1.35; }

.hero-visual {
  position: relative;
  min-height: 505px;
  isolation: isolate;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% -5% -5% 8%;
  z-index: -2;
  background: var(--gold);
  clip-path: polygon(14% 0, 100% 11%, 90% 100%, 0 88%);
}
.hero-visual img {
  width: 100%;
  height: 505px;
  object-fit: cover;
  filter: saturate(.9) contrast(1.05);
  clip-path: polygon(5% 4%, 96% 0, 100% 91%, 9% 100%, 0 42%);
  box-shadow: var(--shadow);
}
.hero-rank {
  position: absolute;
  left: -30px;
  bottom: 35px;
  min-width: 170px;
  padding: .9rem 1.1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 10px 10px 0 rgba(7, 20, 38, .85);
}
.hero-rank small { grid-column: 1 / -1; color: #5d6872; font: 700 .65rem var(--mono); text-transform: uppercase; }
.hero-rank strong { font: 900 2.6rem/1 var(--display); }
.hero-rank > span { align-self: end; padding-bottom: .25rem; font-weight: 900; }
.orbit { position: absolute; z-index: -1; border: 1px solid rgba(169, 216, 232, .45); border-radius: 50%; }
.orbit::before { content: ""; position: absolute; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; }
.orbit-one { width: 130px; height: 130px; right: -40px; top: -30px; }
.orbit-one::before { top: 9px; left: 20px; }
.orbit-two { width: 82px; height: 82px; left: -55px; top: 55px; }
.orbit-two::before { right: 5px; bottom: 16px; }

.method {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 130px;
  padding: 36px clamp(1.4rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 3rem;
  align-items: center;
  color: var(--ink);
  background: var(--sky);
  box-shadow: 12px 12px 0 #07101c;
}
.method > div:first-child { display: flex; align-items: baseline; gap: .7rem; border-right: 1px solid rgba(7, 20, 38, .25); }
.method-number { font: 900 6.5rem/.8 var(--display); }
.method > div:first-child span:last-child { max-width: 70px; font: 800 .72rem/1.25 var(--mono); text-transform: uppercase; }
.method .eyebrow { color: #394a55; margin-bottom: .5rem; }
.method h2 { margin-bottom: .5rem; font: 900 clamp(1.8rem, 3vw, 3rem)/1 var(--display); text-transform: uppercase; }
.method p:last-child { margin: 0; max-width: 780px; font-size: .91rem; }

.ranking { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: 3rem; }
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -.6rem; }
.section-heading h2, .faq h2 {
  margin: 0;
  font: 900 clamp(3.3rem, 7vw, 6.7rem)/.88 var(--display);
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.section-heading > p:last-child { max-width: 460px; margin: 0; color: var(--muted); justify-self: end; }

.ranking-list { position: relative; display: grid; gap: 24px; padding-bottom: 130px; }
.ranking-list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 130px;
  left: 48px;
  width: 2px;
  z-index: 0;
  background: repeating-linear-gradient(to bottom, var(--gold) 0 7px, transparent 7px 15px);
}
.game-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 96px minmax(270px, .85fr) 1.15fr;
  min-height: 335px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 10px 35px rgba(0,0,0,.17);
  transition: transform .25s, border-color .25s;
}
.game-card:hover { transform: translateY(-3px); border-color: rgba(255, 201, 67, .55); }
.rank-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--gold);
  font: 900 2rem var(--display);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: .04em;
}
.rank-marker span { color: var(--sky); font-size: 1rem; }
.game-art { position: relative; min-height: 300px; overflow: hidden; }
.game-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, rgba(16, 40, 66, .4)); pointer-events: none; }
.game-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.game-card:hover .game-art img { transform: scale(1.025); }
.genre { position: absolute; left: 1rem; bottom: 1rem; z-index: 1; padding: .35rem .55rem; background: rgba(7,20,38,.88); color: var(--sky); font: 700 .66rem var(--mono); text-transform: uppercase; }
.game-content { padding: clamp(1.5rem, 3.5vw, 2.6rem); display: flex; flex-direction: column; }
.game-title-row { display: flex; justify-content: space-between; gap: 1.5rem; align-items: start; }
.game-kicker { margin-bottom: .25rem; color: var(--sky); font: 700 .67rem var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.game-card h3 { margin-bottom: 1rem; font: 900 clamp(2.4rem, 4.5vw, 4.6rem)/.9 var(--display); text-transform: uppercase; }
.game-content > p { color: #bdcad5; font-size: .94rem; max-width: 650px; }
.score { min-width: 76px; text-align: right; }
.score strong { display: block; color: var(--gold); font: 900 2rem/1 var(--mono); }
.score span { color: var(--muted); font: 700 .65rem var(--mono); }
.tags { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: auto 0 1.25rem; list-style: none; }
.tags li { padding: .25rem .5rem; border: 1px solid var(--line); color: var(--muted); font: 700 .64rem var(--mono); text-transform: uppercase; }
.cta { align-self: flex-start; min-width: 205px; padding: .78rem 1rem; font-size: .82rem; box-shadow: 4px 4px 0 rgba(0,0,0,.35); }
.featured { border-color: rgba(255, 201, 67, .6); }
.featured .rank-marker { background: var(--gold); color: var(--ink); }
.featured .rank-marker span { color: var(--ink); }

.faq {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 120px;
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: clamp(2rem, 8vw, 7rem);
}
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 800; list-style: none; padding-right: 2rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; color: var(--gold); font: 900 1.4rem var(--mono); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: .8rem 0 .2rem; color: var(--muted); font-size: .9rem; }

.site-footer { background: #050e19; border-top: 1px solid var(--line); padding: 64px max(20px, calc((100vw - 1180px) / 2)); }
.footer-top { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.footer-top > p { max-width: 500px; margin: 0; color: var(--muted); font-size: .85rem; text-align: right; }
.legal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 3rem; padding: 3rem 0; }
.legal-grid h2 { color: var(--sky); font: 800 .7rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.legal-grid p { color: #8296a7; font-size: .76rem; line-height: 1.65; }
.legal-grid a { color: var(--sky); overflow-wrap: anywhere; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 1.5rem; border-top: 1px solid var(--line); color: #6d8395; font: 700 .66rem var(--mono); text-transform: uppercase; }

.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.is-visible { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr 1fr; min-height: auto; gap: 3rem; }
  .hero-visual, .hero-visual img { min-height: 420px; height: 420px; }
  .game-card { grid-template-columns: 70px .85fr 1.15fr; }
  .legal-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .site-header { min-height: 68px; position: relative; }
  .brand { font-size: 1rem; }
  .brand-mark { width: 36px; height: 36px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: .7rem; padding: .6rem 0; color: var(--white); background: transparent; border: 0; font: 800 .72rem var(--mono); text-transform: uppercase; }
  .menu-bars, .menu-bars::before { display: block; width: 20px; height: 2px; background: var(--gold); content: ""; transition: transform .2s; }
  .menu-bars::before { transform: translateY(6px); }
  .menu-toggle[aria-expanded="true"] .menu-bars { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-bars::before { transform: rotate(90deg); }
  .site-nav { display: none; position: absolute; z-index: 20; top: 68px; left: 0; right: 0; padding: 1.2rem; flex-direction: column; background: var(--ink-2); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .hero { grid-template-columns: 1fr; padding: 62px 0 90px; }
  h1 { font-size: clamp(4.4rem, 22vw, 6.8rem); }
  .hero-visual, .hero-visual img { min-height: 390px; height: 390px; }
  .hero-rank { left: 12px; bottom: 20px; }
  .orbit-two { display: none; }
  .method { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 90px; }
  .method > div:first-child { border-right: 0; border-bottom: 1px solid rgba(7, 20, 38, .25); padding-bottom: 1.2rem; }
  .method-number { font-size: 5rem; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading > p:last-child { justify-self: start; }
  .ranking-list::before { left: 32px; }
  .game-card { grid-template-columns: 64px 1fr; }
  .rank-marker { grid-row: 1 / 3; }
  .game-art { min-height: 230px; }
  .game-content { grid-column: 2; }
  .ranking-list { padding-bottom: 95px; }
  .ranking-list::before { bottom: 95px; }
  .faq { grid-template-columns: 1fr; margin-bottom: 90px; }
  .legal-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .site-header, .hero, .method, .ranking, .faq { width: min(100% - 28px, 1180px); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-note { max-width: none; }
  .hero-visual, .hero-visual img { min-height: 330px; height: 330px; }
  .section-heading h2, .faq h2 { font-size: 3.3rem; }
  .game-card { grid-template-columns: 50px 1fr; }
  .rank-marker { font-size: 1.55rem; }
  .ranking-list::before { left: 25px; }
  .game-title-row { gap: .5rem; }
  .game-card h3 { font-size: 2.35rem; }
  .score strong { font-size: 1.55rem; }
  .game-content { padding: 1.3rem; }
  .cta { min-width: 100%; }
  .footer-top, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-top > p { text-align: left; }
  .legal-grid { grid-template-columns: 1fr; gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js .reveal { opacity: 1; transform: none; }
}
