/* Racket Games Hub: shared styles for every page */
:root{
  --bg:#0b0f19; --bg-2:#111527; --card:rgba(255,255,255,.045); --line:rgba(255,255,255,.1); --line-2:rgba(255,255,255,.18);
  --text:#e2e8f0; --soft:#cbd5e1; --muted:#94a3b8; --heading:#fff;
  --accent:#ccff00; --accent-ink:#0f172a; --accent-soft:rgba(204,255,0,.1); --accent-line:rgba(204,255,0,.4);
  --radius:22px; --max:1100px;
}
*{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{ margin:0; background:var(--bg); color:var(--text); font-family:'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size:16.5px; line-height:1.6; }
a{ color:inherit; }
img{ max-width:100%; display:block; }
h1, h2, h3{ font-family:'Bricolage Grotesque', 'DM Sans', sans-serif; color:var(--heading); margin:0; letter-spacing:-.02em; line-height:1.1; }
.wrap{ max-width:var(--max); margin:0 auto; padding:0 20px; }
.skip{ position:absolute; left:-9999px; }
.skip:focus{ left:16px; top:16px; background:#fff; color:#000; padding:8px 12px; border-radius:8px; z-index:10; }
:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; border-radius:6px; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } *{ transition:none !important; } }

/* header */
.top{ position:sticky; top:0; z-index:5; background:rgba(11,15,25,.85); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px); border-bottom:1px solid var(--line); }
.top .wrap{ display:flex; align-items:center; gap:16px; height:64px; }
.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; font-family:'Bricolage Grotesque', sans-serif; font-weight:800; font-size:18px; color:#fff; }
.brand-mark{ width:30px; height:30px; flex:none; }
.top nav{ margin-left:auto; display:flex; gap:22px; }
.top nav a{ text-decoration:none; color:var(--muted); font-weight:700; font-size:14.5px; }
.top nav a:hover, .top nav a[aria-current="page"]{ color:#fff; }
.top nav a[aria-current="page"]{ box-shadow: inset 0 -2px 0 var(--accent); }
@media (max-width:560px){ .top nav{ gap:14px; } .top nav .hide-sm{ display:none; } .brand{ font-size:16px; } }

/* buttons */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:48px; padding:12px 22px; border-radius:14px; font-weight:800; font-size:15.5px; text-decoration:none; transition:transform .16s ease, box-shadow .16s ease, background-color .16s ease; }
.btn-primary{ background:var(--accent); color:var(--accent-ink); box-shadow:0 10px 28px rgba(204,255,0,.22); }
.btn-primary:hover{ transform:translateY(-1px); box-shadow:0 14px 34px rgba(204,255,0,.32); }
.btn-ghost{ border:1px solid var(--line-2); color:#fff; background:rgba(255,255,255,.04); }
.btn-ghost:hover{ background:rgba(255,255,255,.09); }

/* pills */
.kicker{ display:inline-flex; align-items:center; gap:8px; padding:6px 14px; border-radius:999px; background:var(--accent-soft); border:1px solid var(--accent-line); color:#e9ff99; font-size:12px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.kicker .dot{ width:7px; height:7px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 4px rgba(204,255,0,.18); }

/* hero */
.hero{
  padding:92px 0 80px; text-align:center;
  background:
    radial-gradient(700px 340px at 50% -60px, rgba(204,255,0,.16), transparent 70%),
    radial-gradient(520px 300px at 0% 110%, rgba(56,189,248,.10), transparent 70%),
    radial-gradient(520px 300px at 100% 110%, rgba(255,46,147,.10), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  border-bottom:1px solid var(--line);
}
.hero .kicker{ margin-bottom:22px; }
.hero h1{ font-size:clamp(38px, 7vw, 70px); font-weight:800; max-width:860px; margin:0 auto 20px; }
.hero h1 em{ font-style:normal; color:var(--accent); }
.hero .lead{ font-size:clamp(16.5px, 2.2vw, 19px); color:var(--soft); max-width:640px; margin:0 auto 32px; }
.hero-actions{ display:flex; flex-wrap:wrap; justify-content:center; gap:12px; }
@media (max-width:600px){ .hero{ padding:60px 0 52px; } .hero-actions .btn{ flex:1 1 100%; } }
.hero-compact{ padding:64px 0 52px; }
.hero-compact h1{ font-size:clamp(32px, 5.6vw, 52px); }

/* sections */
section.block{ padding:72px 0; }
.section-head{ max-width:680px; margin:0 0 32px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.eyebrow{ display:block; font-size:12px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--accent); margin-bottom:10px; }
.section-head h2{ font-size:clamp(28px, 4.5vw, 40px); font-weight:800; margin-bottom:12px; }
.section-head p{ color:var(--muted); margin:0; }
@media (max-width:640px){ section.block{ padding:52px 0; } }

/* card grids */
.grid{ display:grid; gap:14px; }
.grid-3{ grid-template-columns:repeat(3, minmax(0, 1fr)); }
.grid-2{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
@media (max-width:900px){ .grid-3{ grid-template-columns:repeat(2, minmax(0, 1fr)); } }
@media (max-width:620px){ .grid-3, .grid-2{ grid-template-columns:1fr; } }
.card{ padding:24px 22px; border-radius:var(--radius); background:var(--card); border:1px solid var(--line); }
.card .ico{ display:grid; place-items:center; width:42px; height:42px; border-radius:12px; background:var(--accent-soft); font-size:21px; margin-bottom:14px; }
.card h3{ font-size:19px; font-weight:800; margin-bottom:8px; }
.card p{ margin:0; color:var(--muted); font-size:15px; }
a.card{ display:flex; flex-direction:column; text-decoration:none; transition:transform .18s ease, border-color .18s ease, background-color .18s ease; }
a.card:hover{ transform:translateY(-3px); border-color:var(--accent-line); background:rgba(255,255,255,.07); }
a.card .go{ margin-top:auto; padding-top:14px; font-weight:800; font-size:14px; color:var(--accent); }

/* mission band */
.mission{ display:grid; grid-template-columns:minmax(0, 1.1fr) minmax(0, 1fr); gap:28px; align-items:center; padding:36px; border-radius:28px; border:1px solid var(--line);
  background: radial-gradient(520px 260px at 0% 0%, rgba(204,255,0,.1), transparent 70%), linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); }
.mission h2{ font-size:clamp(26px, 4vw, 36px); font-weight:800; margin-bottom:14px; }
.mission p{ color:var(--soft); margin:0 0 12px; }
.stats{ display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:12px; }
.stat{ padding:18px 16px; border-radius:18px; background:rgba(8,10,20,.5); border:1px solid var(--line); }
.stat b{ display:block; font-family:'Bricolage Grotesque', sans-serif; font-size:21px; font-weight:800; color:var(--accent); line-height:1.15; margin-bottom:4px; }
.stat span{ color:var(--muted); font-size:14px; }
@media (max-width:820px){ .mission{ grid-template-columns:1fr; padding:24px 18px; } }

/* sport tiles */
.sports{ display:grid; grid-template-columns:repeat(6, minmax(0, 1fr)); gap:12px; }
.sport{ padding:18px 14px; border-radius:18px; background:var(--card); border:1px solid var(--line); text-align:center; text-decoration:none; }
.sport .emoji{ font-size:28px; line-height:1; display:block; margin-bottom:10px; }
.sport b{ display:block; color:#fff; font-size:15.5px; }
.sport small{ display:inline-block; margin-top:8px; font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }
.sport.live{ border-color:var(--accent-line); background: radial-gradient(160px 80px at 50% 0%, rgba(204,255,0,.12), transparent 70%), var(--card); transition:transform .18s ease; }
a.sport.live:hover{ transform:translateY(-3px); }
.sport.live small{ color:var(--accent); }
@media (max-width:900px){ .sports{ grid-template-columns:repeat(3, minmax(0, 1fr)); } }
@media (max-width:460px){ .sports{ grid-template-columns:repeat(2, minmax(0, 1fr)); } }

/* contact strip */
.contact{ text-align:center; padding:44px 24px; border-radius:28px; border:1px solid var(--accent-line); background: radial-gradient(500px 200px at 50% 0%, rgba(204,255,0,.1), transparent 70%), rgba(255,255,255,.03); }
.contact h2{ font-size:clamp(26px, 4vw, 34px); font-weight:800; margin-bottom:10px; }
.contact p{ color:var(--muted); margin:0 auto 22px; max-width:540px; }

/* guides */
.crumbs{ font-size:13.5px; color:var(--muted); margin-bottom:18px; }
.crumbs a{ color:var(--muted); }
.crumbs a:hover{ color:#fff; }
.article{ max-width:760px; margin:0 auto; }
.article > p:first-child{ font-size:18px; color:var(--soft); }
.article h2{ font-size:clamp(23px, 3.4vw, 30px); font-weight:800; margin:40px 0 12px; }
.article h3{ font-size:19px; font-weight:800; margin:24px 0 8px; }
.article p, .article li{ color:var(--soft); }
.article ul, .article ol{ padding-left:22px; }
.article li{ margin-bottom:8px; }
.article strong{ color:#fff; }
.article a{ color:var(--accent); text-decoration-color:rgba(204,255,0,.45); text-underline-offset:3px; }
.callout{ margin:22px 0; padding:18px 20px; border-radius:18px; background:var(--accent-soft); border:1px solid var(--accent-line); color:#eaffb8; }
.callout strong{ color:#fff; }
.facts{ display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:10px; margin:22px 0; }
.fact{ padding:14px; border-radius:16px; background:var(--card); border:1px solid var(--line); text-align:center; }
.fact b{ display:block; color:var(--accent); font-family:'Bricolage Grotesque', sans-serif; font-size:22px; }
.fact span{ color:var(--muted); font-size:13.5px; }
@media (max-width:560px){ .facts{ grid-template-columns:1fr; } }
.next-guides{ max-width:760px; margin:48px auto 0; }
.next-guides h2{ font-size:22px; margin-bottom:14px; }

/* footer */
footer{ border-top:1px solid var(--line); padding:32px 0 40px; color:var(--muted); font-size:14px; }
footer .wrap{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:16px; }
footer a{ color:var(--muted); text-decoration:underline; text-underline-offset:3px; }
footer a:hover{ color:#fff; }
.foot-links{ display:flex; flex-wrap:wrap; gap:8px 18px; }

/* cookie banner: analytics load only after "Accept" (see consent.js) */
.cookie-banner{ position:fixed; left:16px; right:16px; bottom:16px; z-index:20; max-width:640px; margin:0 auto; padding:16px 18px; border-radius:18px; background:rgba(17,21,39,.96); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px); border:1px solid var(--line-2); box-shadow:0 18px 44px rgba(0,0,0,.5); display:flex; flex-wrap:wrap; align-items:center; gap:12px 16px; }
.cookie-banner[hidden]{ display:none; }
.cookie-banner p{ margin:0; flex:1 1 280px; font-size:14.5px; color:var(--soft); }
.cookie-banner p a{ color:#fff; text-underline-offset:3px; }
.cookie-actions{ display:flex; gap:8px; flex:0 0 auto; }
.cookie-actions button{ font:inherit; font-weight:800; font-size:14px; min-height:42px; padding:9px 18px; border-radius:12px; cursor:pointer; }
.cookie-decline{ background:transparent; color:#fff; border:1px solid var(--line-2); }
.cookie-accept{ background:var(--accent); color:var(--accent-ink); border:none; }
.foot-links button{ font:inherit; color:var(--muted); background:none; border:none; padding:0; cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.foot-links button:hover{ color:#fff; }
