/* OTTUpdates Games — shared site chrome
   Isolated to this domain. Games add their own scoped styles. */
:root{
  --bg:#0d0f1a; --bg2:#121527; --surface:#171a2e; --surface2:#1e2240;
  --line:rgba(255,255,255,.08); --line2:rgba(255,255,255,.14);
  --text:#eef0fb; --muted:#9aa0c3; --muted2:#6f76a0;
  --brand:#7c5cff; --brand2:#00d4ff; --accent:#ff5c8a; --good:#37e0a6;
  --grad:linear-gradient(120deg,#7c5cff,#00d4ff);
  --grad-warm:linear-gradient(120deg,#ff5c8a,#ffb14e);
  --radius:18px; --shadow:0 18px 50px -20px rgba(0,0,0,.6);
  --wrap:1120px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  background:radial-gradient(1200px 700px at 80% -10%,rgba(124,92,255,.18),transparent 60%),
             radial-gradient(1000px 600px at -10% 10%,rgba(0,212,255,.12),transparent 55%),
             var(--bg);
  color:var(--text);line-height:1.55;min-height:100vh;overflow-x:hidden;
}
h1,h2,h3,.brand,.game-card h3,.hero h1{font-family:'Fredoka','Inter',system-ui,sans-serif}
a{color:inherit;text-decoration:none}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 20px}
img{max-width:100%}

/* Header */
.site-header{position:sticky;top:0;z-index:50;backdrop-filter:blur(12px);
  background:rgba(13,15,26,.72);border-bottom:1px solid var(--line)}
.site-header .wrap{display:flex;align-items:center;gap:18px;height:64px}
.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:20px;letter-spacing:.2px}
.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;
  background:var(--grad);color:#fff;font-weight:800;font-size:15px;box-shadow:0 6px 18px -6px rgba(124,92,255,.8)}
.brand em{font-style:normal;background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.main-nav{margin-left:auto;display:flex;align-items:center;gap:22px}
.main-nav a{color:var(--muted);font-weight:500;font-size:15px;transition:color .15s}
.main-nav a:hover{color:var(--text)}
.nav-toggle{display:none;margin-left:auto;background:var(--surface2);color:var(--text);
  border:1px solid var(--line2);border-radius:10px;padding:8px 12px;font-weight:600;cursor:pointer}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:8px;justify-content:center;
  border:none;border-radius:12px;padding:12px 20px;font-weight:600;font-size:15px;
  cursor:pointer;color:#fff;background:var(--grad);box-shadow:0 10px 26px -12px rgba(124,92,255,.9);
  transition:transform .12s ease,filter .12s,box-shadow .12s;font-family:inherit}
.btn:hover{transform:translateY(-2px);filter:brightness(1.06)}
.btn:active{transform:translateY(0)}
.btn.ghost{background:var(--surface2);color:var(--text);border:1px solid var(--line2);box-shadow:none}
.btn.sm{padding:8px 14px;font-size:14px;border-radius:10px}

/* Hero */
.hero{padding:64px 0 34px;text-align:center}
.hero .eyebrow{display:inline-block;font-weight:600;color:var(--brand2);letter-spacing:.14em;
  text-transform:uppercase;font-size:12.5px;padding:6px 12px;border:1px solid var(--line2);
  border-radius:100px;background:var(--surface);margin-bottom:18px}
.hero h1{font-size:clamp(34px,6vw,58px);line-height:1.03;margin:0 0 14px;font-weight:600}
.hero h1 em{font-style:normal;background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero p{color:var(--muted);font-size:clamp(16px,2.2vw,19px);max-width:600px;margin:0 auto 26px}

/* Game grid */
.section-head{display:flex;align-items:baseline;justify-content:space-between;
  margin:44px 0 20px;gap:14px;flex-wrap:wrap}
.section-head h2{font-size:26px;margin:0;font-weight:600}
.section-head p{color:var(--muted);margin:0;font-size:15px}
.game-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:20px;padding-bottom:20px}
.game-card{position:relative;display:flex;flex-direction:column;background:var(--surface);
  border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
  transition:transform .16s ease,border-color .16s,box-shadow .16s}
.game-card:hover{transform:translateY(-4px);border-color:var(--line2);box-shadow:var(--shadow)}
.game-card .thumb{aspect-ratio:16/10;display:grid;place-items:center;font-size:60px;
  background:var(--cardgrad,var(--grad));position:relative}
.game-card .thumb::after{content:"";position:absolute;inset:0;background:radial-gradient(120% 90% at 50% 0%,rgba(255,255,255,.18),transparent 60%)}
.game-card .body{padding:16px 18px 18px;display:flex;flex-direction:column;gap:6px;flex:1}
.game-card h3{margin:0;font-size:18.5px;font-weight:600}
.game-card .tag{color:var(--muted);font-size:13.5px}
.game-card .foot{margin-top:12px;display:flex;align-items:center;justify-content:space-between}
.game-card .chip{font-size:12px;font-weight:600;color:var(--brand2);
  border:1px solid var(--line2);border-radius:100px;padding:4px 10px}
.game-card.soon{opacity:.62}
.game-card.soon .thumb{filter:grayscale(.4)}
.game-card.soon .chip{color:var(--muted2)}
.game-card a.stretch{position:absolute;inset:0;z-index:2}

/* Content pages */
.page-head{padding:38px 0 6px}
.crumbs{color:var(--muted2);font-size:14px;margin-bottom:8px}
.crumbs a{color:var(--muted)}
.page-head h1{font-size:clamp(28px,4vw,40px);margin:0}
.article{padding:18px 0 40px}
.article .inner{max-width:760px}
.article h2{font-size:22px;margin:30px 0 8px}
.article p,.article li{color:#d7daf0}
.article a{color:var(--brand2);text-decoration:underline;text-underline-offset:2px}
.hint{color:var(--muted);font-size:14px}

/* Ad slot */
.ad-slot{margin:26px auto;max-width:970px;min-height:90px;display:grid;place-items:center;
  border:1px dashed var(--line2);border-radius:12px;color:var(--muted2);font-size:13px;background:rgba(255,255,255,.02)}
.ad-slot span{opacity:.7}

/* Footer */
.site-footer{border-top:1px solid var(--line);margin-top:40px;padding:40px 0 30px;background:var(--bg2)}
.f-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:28px}
.site-footer h4{font-size:14px;color:var(--muted);margin:0 0 12px;text-transform:uppercase;letter-spacing:.08em}
.site-footer a{display:block;color:#c3c8ea;font-size:14.5px;padding:3px 0}
.site-footer a:hover{color:#fff}
.f-bottom{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;
  margin-top:28px;padding-top:18px;border-top:1px solid var(--line);color:var(--muted);font-size:13.5px}
.f-bottom a{display:inline;color:var(--muted)}

/* Cookie bar */
.cookie-bar{position:fixed;left:14px;right:14px;bottom:14px;z-index:80;max-width:640px;margin:0 auto;
  display:none;align-items:center;gap:14px;justify-content:space-between;
  background:var(--surface2);border:1px solid var(--line2);border-radius:14px;
  padding:12px 16px;box-shadow:var(--shadow)}
.cookie-bar.show{display:flex}
.cookie-bar p{margin:0;font-size:13.5px;color:var(--muted)}
.cookie-bar a{color:var(--brand2)}

@media(max-width:720px){
  .main-nav{position:absolute;top:64px;left:0;right:0;flex-direction:column;align-items:stretch;
    gap:0;background:var(--bg2);border-bottom:1px solid var(--line);padding:8px 20px;display:none}
  .main-nav.open{display:flex}
  .main-nav a{padding:12px 0;border-bottom:1px solid var(--line)}
  .nav-toggle{display:block}
  .f-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:480px){.f-grid{grid-template-columns:1fr}}
