/*
  Gates Hub — SITE_FINGERPRINT
  layout_archetype: catalog-first (slots portal, not bonus-first monobrand)
  hero_composition: games-first (top game grid dominates first viewport, offer strip is secondary)
  nav_style: sticky compact text nav + hamburger at ≤900px
  typography_pair: Fraunces (display serif, headings) + Manrope (geometric sans, body)
  palette: obsidian + antique gold + azure — Greek-temple-at-night
  card_language: poster + specs badge row + two-tier CTA (Play now / Read review)
  voice: sharp, confident slot-editor — UK English
*/

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root{
  --bg: #0b0e14;
  --bg-2: #10141d;
  --surface: #161b26;
  --surface-2: #1d2433;
  --border: #2a3145;
  --text: #eef1f7;
  --text-muted: #9aa4bb;
  --text-faint: #6b7590;
  --gold: #e3b04b;
  --gold-strong: #f2c766;
  --gold-deep: #a97c1f;
  --azure: #6fd0e8;
  --good: #6fbf8b;
  --bad: #e2735e;
  --shadow: 0 18px 40px -20px rgba(0,0,0,.65);
  --radius: 10px;
  --radius-lg: 16px;
  --maxw: 1180px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:
    radial-gradient(1100px 480px at 85% -10%, rgba(227,176,75,.10), transparent 60%),
    radial-gradient(900px 500px at 5% 0%, rgba(111,208,232,.06), transparent 55%),
    var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.62;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--gold-strong)}
a:hover{color:var(--gold)}
h1,h2,h3,h4{font-family:var(--font-display);color:#fff;line-height:1.18;margin:0 0 .5em;font-weight:600}
h1{font-size:clamp(1.9rem,3.4vw,3rem);font-weight:700}
h2{font-size:clamp(1.4rem,2.3vw,1.9rem);margin-top:2.4em}
h3{font-size:clamp(1.1rem,1.6vw,1.35rem)}
p{margin:0 0 1.05em;color:var(--text)}
.muted{color:var(--text-muted)}
.container{max-width:var(--maxw);margin:0 auto;padding:0 20px}
.section{padding:56px 0}
.section-tight{padding:34px 0}
main{overflow-x:hidden}

/* ---------- Skip link ---------- */
.skip-link{position:absolute;left:-999px;top:auto;background:var(--gold);color:#161200;padding:10px 16px;border-radius:6px;z-index:200}
.skip-link:focus{left:16px;top:16px}

/* ---------- Header ---------- */
.site-header{
  position:sticky;top:0;z-index:100;
  background:rgba(11,14,20,.94);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  display:flex;align-items:center;gap:16px;
  padding:12px 20px;
  max-width:var(--maxw);margin:0 auto;
}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;flex-shrink:0}
.brand img{width:36px;height:36px}
.brand-word{font-family:var(--font-display);font-weight:700;font-size:1.28rem;color:#fff;letter-spacing:.2px}
.brand-word em{font-style:normal;color:var(--gold)}

/* Desktop nav */
.main-nav{display:flex;align-items:center;gap:2px;flex:1}
.main-nav a{
  white-space:nowrap;color:var(--text-muted);text-decoration:none;
  font-size:.85rem;font-weight:600;padding:8px 11px;border-radius:7px;
  transition:color .15s,background .15s;
}
.main-nav a:hover,.main-nav a[aria-current="page"]{color:#fff;background:var(--surface-2)}

.header-cta{flex-shrink:0}

/* Hamburger — hidden on desktop */
.nav-toggle{
  display:none;
  align-items:center;gap:6px;
  background:none;border:1px solid var(--border);
  color:var(--text-muted);border-radius:7px;
  padding:7px 12px;cursor:pointer;flex-shrink:0;
  font-family:var(--font-body);font-size:.82rem;font-weight:600;
  line-height:1;transition:border-color .15s,color .15s;
}
.nav-toggle:hover{border-color:var(--gold-deep);color:#fff}
.nav-toggle svg{flex-shrink:0}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-family:var(--font-body);font-weight:700;font-size:.92rem;
  padding:12px 20px;border-radius:8px;text-decoration:none;border:1px solid transparent;
  cursor:pointer;line-height:1;transition:filter .15s,border-color .15s,color .15s;
}
.btn-primary{
  background:linear-gradient(180deg,var(--gold-strong),var(--gold-deep));
  color:#1a1200;
  box-shadow:0 8px 20px -8px rgba(227,176,75,.5);
}
.btn-primary:hover{filter:brightness(1.08);color:#1a1200}
.btn-ghost{background:transparent;border-color:var(--border);color:var(--text)}
.btn-ghost:hover{border-color:var(--gold-deep);color:var(--gold-strong)}
.btn-block{width:100%}
.btn-sm{padding:8px 14px;font-size:.82rem}

/* ---------- Hero (games-first) ---------- */
.hero{position:relative;padding:44px 0 20px;border-bottom:1px solid var(--border)}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center}
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;
  color:var(--gold-strong);background:rgba(227,176,75,.1);
  border:1px solid rgba(227,176,75,.3);padding:6px 12px;border-radius:99px;margin-bottom:16px;
}
.hero p.lead{font-size:1.08rem;color:var(--text-muted);max-width:56ch}
.hero-ctas{display:flex;gap:12px;margin-top:22px;flex-wrap:wrap}
.trust-row{
  display:flex;gap:22px;flex-wrap:wrap;
  margin-top:26px;font-size:.82rem;color:var(--text-faint);
}
.trust-row strong{color:var(--text-muted);display:block;font-size:.95rem}

.hero-showcase{
  border-radius:var(--radius-lg);overflow:hidden;
  border:1px solid var(--border);background:var(--surface);
  position:relative;
}
.hero-showcase img.hero-bg{
  width:100%;height:100%;object-fit:cover;
  position:absolute;inset:0;opacity:.3;
}
.hero-showcase-inner{
  position:relative;padding:18px;
  display:grid;grid-template-columns:repeat(3,1fr);gap:12px;
}
.hero-showcase-inner img,
.hero-showcase-inner .poster-wrap{
  border-radius:9px;aspect-ratio:3/4;object-fit:cover;width:100%;
}
.poster-wrap{position:relative;overflow:hidden}
.poster-wrap img{
  width:100%;height:100%;object-fit:cover;border-radius:9px;display:block;
}

/* ---------- Game grid & cards ---------- */
.grid{display:grid;gap:20px}
.grid-4{grid-template-columns:repeat(4,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-2{grid-template-columns:repeat(2,1fr)}

/* game-card works as both <a> and <div> */
.game-card{
  background:var(--surface);border:1px solid var(--border);
  border-radius:var(--radius-lg);overflow:hidden;
  display:flex;flex-direction:column;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
  text-decoration:none;color:var(--text);
}
a.game-card:hover,
.game-card:has(:focus-within){
  transform:translateY(-3px);
  border-color:var(--gold-deep);
  box-shadow:0 12px 28px -12px rgba(0,0,0,.55);
}

.game-card .poster-link{display:block;text-decoration:none;color:inherit}
.game-card .poster{
  aspect-ratio:3/4;overflow:hidden;background:var(--surface-2);position:relative;
}
.game-card .poster img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}
.game-card:hover .poster img{transform:scale(1.03)}
.game-card .poster .tag{
  position:absolute;top:10px;left:10px;
  background:rgba(11,14,20,.85);color:var(--gold-strong);
  font-size:.68rem;font-weight:700;padding:4px 9px;border-radius:6px;letter-spacing:.03em;
}
.game-card .body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:8px;flex:1}
.game-card h3{font-size:1rem;margin:0;color:#fff}
.game-card .specs-mini{display:flex;gap:10px;font-size:.74rem;color:var(--text-faint)}
.game-card .specs-mini b{color:var(--text-muted);font-weight:700}
.game-card .card-desc{font-size:.86rem;color:var(--text-muted);margin:0;flex:1}
.game-card .card-cta{margin-top:auto;display:flex;gap:8px;padding-top:4px}

/* ---------- Specs table (on game pages) ---------- */
.specs-table{
  width:100%;border-collapse:collapse;
  background:var(--surface);border:1px solid var(--border);
  border-radius:var(--radius);overflow:hidden;margin:20px 0 28px;
}
.specs-table th,.specs-table td{
  text-align:left;padding:11px 16px;
  border-bottom:1px solid var(--border);font-size:.92rem;
}
.specs-table tr:last-child th,.specs-table tr:last-child td{border-bottom:none}
.specs-table th{width:38%;color:var(--text-faint);font-weight:600}
.specs-table td{color:#fff;font-weight:600}
.badge{
  display:inline-block;font-size:.72rem;font-weight:700;
  padding:2px 8px;border-radius:5px;margin-left:8px;vertical-align:middle;
}
.badge-confirmed{background:rgba(111,191,139,.15);color:var(--good)}
.badge-likely{background:rgba(227,176,75,.15);color:var(--gold-strong)}
.badge-unknown{background:rgba(154,164,187,.15);color:var(--text-muted)}

/* ---------- Generic content blocks ---------- */
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:24px}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.two-col img{width:100%;height:auto;aspect-ratio:3/4;object-fit:cover}
.review-hero-grid{display:grid;grid-template-columns:280px 1fr;align-items:start;gap:32px}
.review-hero-grid img{width:100%;height:auto;aspect-ratio:3/4;object-fit:cover}
.list-plain{margin:0;padding:0;list-style:none}
ul.check li,ol.steps li{margin-bottom:.6em}
ul.check{list-style:none;padding:0;margin:0 0 1.2em}
ul.check li{padding-left:26px;position:relative}
ul.check li::before{content:"✓";position:absolute;left:0;color:var(--good);font-weight:800}
ul.cross{list-style:none;padding:0;margin:0 0 1.2em}
ul.cross li{padding-left:26px;position:relative}
ul.cross li::before{content:"–";position:absolute;left:2px;color:var(--bad);font-weight:800}
.pros-cons{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:20px 0 28px}
.pros-cons .box{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:18px}
.pros-cons h4{margin-top:0}

table.data{width:100%;border-collapse:collapse;margin:20px 0 28px;font-size:.92rem}
table.data th,table.data td{padding:10px 14px;border-bottom:1px solid var(--border);text-align:left}
table.data thead th{
  color:var(--gold-strong);font-size:.78rem;text-transform:uppercase;
  letter-spacing:.04em;border-bottom:2px solid var(--gold-deep);
}
table.data tbody tr:hover{background:var(--surface-2)}

.breadcrumb{font-size:.82rem;color:var(--text-faint);margin:16px 0 6px}
.breadcrumb a{color:var(--text-muted);text-decoration:none}
.breadcrumb a:hover{color:var(--gold-strong)}

/* FAQ */
.faq details{
  background:var(--surface);border:1px solid var(--border);
  border-radius:var(--radius);margin-bottom:8px;padding:0 18px;
}
.faq summary{
  cursor:pointer;padding:14px 0;font-weight:700;color:#fff;
  font-family:var(--font-body);list-style:none;
  display:flex;justify-content:space-between;gap:12px;
  user-select:none;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--gold-strong);font-size:1.2rem;flex-shrink:0;line-height:1.4}
.faq details[open] summary::after{content:"–"}
.faq details p{padding-bottom:14px;margin:0;color:var(--text-muted)}

/* CTA band */
.cta-band{
  background:linear-gradient(135deg,#1a1509,#221a0c 60%,#0b0e14);
  border:1px solid var(--gold-deep);border-radius:var(--radius-lg);
  padding:40px 34px;text-align:center;margin:36px 0;
}
.cta-band h3{margin-bottom:10px}
.cta-band p{color:var(--text-muted);max-width:56ch;margin:0 auto 24px}

/* Sticky mobile CTA */
.sticky-cta{
  display:none;position:fixed;left:0;right:0;bottom:0;z-index:120;
  background:rgba(11,14,20,.97);border-top:1px solid var(--border);
  padding:10px 14px;backdrop-filter:blur(8px);
}

/* Author / trust strip */
.byline{display:flex;align-items:center;gap:10px;font-size:.82rem;color:var(--text-faint);margin:10px 0 26px;flex-wrap:wrap}
.byline b{color:var(--text-muted)}
.byline .dot{opacity:.5}

/* Footer */
.site-footer{border-top:1px solid var(--border);background:var(--bg-2);margin-top:60px;padding:44px 0 26px}
.footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:28px}
.footer-grid h5{
  color:#fff;font-size:.8rem;text-transform:uppercase;
  letter-spacing:.05em;margin:0 0 12px;font-family:var(--font-body);font-weight:700;
}
.footer-grid ul{list-style:none;margin:0;padding:0}
.footer-grid li{margin-bottom:8px}
.footer-grid a{color:var(--text-muted);text-decoration:none;font-size:.88rem}
.footer-grid a:hover{color:var(--gold-strong)}
.footer-bottom{
  border-top:1px solid var(--border);margin-top:32px;padding-top:20px;
  display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;
  font-size:.78rem;color:var(--text-faint);
}
.disclosure{
  font-size:.78rem;color:var(--text-faint);max-width:900px;
  line-height:1.6;margin-top:14px;
}
.age-badge{
  display:inline-flex;align-items:center;justify-content:center;
  width:28px;height:28px;border:1px solid var(--text-faint);
  border-radius:50%;font-size:.72rem;font-weight:800;color:var(--text-faint);
}

/* Volatility dots */
.dots{display:inline-flex;gap:3px;vertical-align:middle}
.dots i{width:7px;height:7px;border-radius:50%;background:var(--border);display:inline-block}
.dots i.on{background:var(--gold-strong)}

/* ========== RESPONSIVE DESIGN ========== */

/* 980px: Tablet landscape — collapse hero and two-col to single column */
@media (max-width: 980px) {
  .hero-grid{grid-template-columns:1fr}
  .hero-showcase{display:none}
  .footer-grid{grid-template-columns:1fr 1fr}
  .two-col,
  .review-hero-grid,
  .two-col[style*="grid-template-columns"]{grid-template-columns:1fr !important;gap:20px !important}
  .two-col img, .review-hero-grid img, .review-hero-grid > div:first-child{max-width:320px;margin:0 auto 12px}
  .pros-cons{grid-template-columns:1fr}
  .grid-4{grid-template-columns:repeat(3,1fr)}
}

/* 900px: Tablet / Mobile Navigation */
@media (max-width: 900px) {
  .brand{margin-right:auto}
  .nav-toggle{display:flex}

  .main-nav{
    display:none;
    position:absolute;
    top:calc(100% + 1px);
    left:0;right:0;
    background:rgba(11,14,20,.97);
    border-bottom:1px solid var(--border);
    backdrop-filter:blur(12px);
    flex-direction:column;
    padding:8px 12px 14px;
    gap:0;
    z-index:99;
  }
  .main-nav a{
    display:block;padding:12px 14px;font-size:.9rem;
    border-radius:8px;white-space:normal;
  }

  .site-header.nav-open .main-nav{display:flex}
}

/* 760px: Small tablet & mobile layout adjustments */
@media (max-width: 760px) {
  .grid-4,.grid-3{grid-template-columns:repeat(2,1fr)}
  .grid-2{grid-template-columns:1fr}
  .hero-showcase-inner{grid-template-columns:repeat(3,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .sticky-cta{display:block;padding:10px 14px calc(10px + env(safe-area-inset-bottom, 0px))}
  body{padding-bottom:calc(64px + env(safe-area-inset-bottom, 0px))}
  .hero{padding:28px 0 16px}
  .section{padding:40px 0}
  .section-tight{padding:24px 0}
  .cta-band{padding:28px 18px;margin:28px 0}
  .card{padding:18px}
  h2{margin-top:1.8em}
}

/* 600px: Specs table & mobile tables compact styling */
@media (max-width: 600px) {
  .specs-table th,.specs-table td{padding:10px 12px;font-size:.85rem}
  .specs-table th{width:42%}
  table.data th,table.data td{padding:8px 10px;font-size:.84rem}
  .badge{display:inline-block;margin-top:4px;margin-left:0}
  .byline{gap:6px;font-size:.78rem}
}

/* 480px: Mobile phones */
@media (max-width: 480px) {
  .container{padding:0 14px}
  .header-inner{padding:10px 14px;gap:10px}
  .brand-word{font-size:1.15rem}
  .footer-grid{grid-template-columns:1fr;gap:24px}
  .hero-ctas{flex-direction:column;width:100%}
  .hero-ctas .btn{width:100%;text-align:center}
  .trust-row{gap:14px;font-size:.78rem}
}

/* 420px: Small mobile phones — stack game cards to 1 column for ideal readability */
@media (max-width: 420px) {
  .grid-4,.grid-3,.grid-2{grid-template-columns:1fr}
  .specs-table th,.specs-table td{padding:9px 10px;font-size:.82rem}
}
