/* =====================================================================
   Anime Universal X — site styles
   Colours: change the variables below to re-theme the whole site.
   ===================================================================== */
:root {
  --void: #0a0810;
  --surface: #14111a;
  --surface2: #1b1724;
  --text: #f4f1f8;
  --muted: #a59fb0;
  --muted2: #827a8f;
  --line: #2a2435;
  --line2: #211c2a;
  --accent: #c084fc;      /* main highlight colour */
  --g1: #e9c6ff;          /* gradient: light */
  --g2: #a855f7;          /* gradient: middle */
  --g3: #6d28d9;          /* gradient: deep */
  --on-accent: #ffffff;   /* text on gradient buttons */
  --green: #4ade80;
  --red: #f87171;
  --card: linear-gradient(#17121f, #0f0d14);
  --panel: linear-gradient(to right, #170f22, #0f0d14);
  --accent-a10: rgba(192,132,252,.1);
  --accent-a15: rgba(192,132,252,.15);
  --accent-a30: rgba(192,132,252,.3);
  --accent-a45: rgba(192,132,252,.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font-family: "Poppins", ui-sans-serif, system-ui, sans-serif;
  background: var(--void); color: var(--text);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
[hidden] { display: none !important; }
::selection { background: var(--accent-a45); }

/* language blocks: <div data-l="en">…</div> */
html[data-lang="en"] [data-l]:not([data-l="en"]),
html[data-lang="es"] [data-l]:not([data-l="es"]),
html[data-lang="pt"] [data-l]:not([data-l="pt"]) { display: none !important; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.container { width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 72px; }
.narrow { max-width: 860px; }
@media (max-width: 1280px) { .container { padding: 0 40px; } }
@media (max-width: 640px)  { .container { padding: 0 22px; } }

.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .24em; color: var(--accent); text-transform: uppercase; margin-bottom: 24px; }
.sub { color: var(--muted); font-size: 14px; margin-top: 4px; line-height: 1.6; }
.grad-text { background: linear-gradient(90deg, var(--g1), var(--g2) 60%, var(--g3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }

/* ===== Navbar ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: linear-gradient(rgba(10,8,16,.85), rgba(10,8,16,.6));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--accent-a10);
  transition: top .35s ease, border-radius .35s ease, background .35s ease;
}
.navbar-inner {
  max-width: 1600px; margin: 0 auto; padding: 0 72px; height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 8px; transition: transform .2s, opacity .2s; flex-shrink: 0; }
.brand:hover { transform: scale(1.02); opacity: .92; }
.brand .wordmark { height: 48px; width: auto; filter: drop-shadow(0 2px 8px rgba(168,85,247,.35)); }

.nav-links { display: flex; gap: 6px; }
.nav-link {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 9999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 500; letter-spacing: .01em; color: #cbd5e1; transition: all .2s;
}
.nav-link svg { width: 17px; height: 17px; fill: #64748b; transition: fill .2s; }
.nav-link svg .cut { fill: var(--void); }
.nav-link:hover { color: var(--text); background: rgba(255,255,255,.04); }
.nav-link--active { color: var(--accent); background: var(--accent-a10); border-color: rgba(192,132,252,.28); box-shadow: 0 0 16px rgba(192,132,252,.12); }
.nav-link--active svg { fill: var(--accent); }
.nav-link--active svg .cut { fill: #1d1030; }

.lang-switch { display: flex; gap: 2px; padding: 3px; border-radius: 9999px; border: 1px solid var(--line); background: rgba(20,17,26,.7); flex-shrink: 0; }
.lang-switch button { border: 0; background: none; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--muted); padding: 4px 10px; border-radius: 9999px; transition: .2s; }
.lang-switch button:hover { color: var(--text); }
.lang-switch button.on { color: var(--accent); background: var(--accent-a15); }

.navbar.floating { top: 12px; left: 50%; right: auto; transform: translateX(-50%); border-radius: 9999px; border: 1px solid var(--line); background: rgba(16,13,22,.9); box-shadow: 0 12px 40px rgba(0,0,0,.5); }
.navbar.floating .navbar-inner { height: 52px; padding: 0 8px 0 10px; gap: 10px; }
.navbar.floating .brand { display: none; }
.navbar.floating .nav-link { padding: 6px 14px; font-size: 14px; }

/* ===== Buttons ===== */
.btn-play, .btn-ghost, .btn-soft {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 9999px; font-weight: 600; transition: transform .2s, box-shadow .2s, border-color .2s, color .2s; border: 0;
}
.btn-play { padding: 16px 32px; font-size: 15px; font-weight: 700; color: var(--on-accent); background: linear-gradient(to right, var(--g2), #8b3dff 50%, var(--g3)); box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.btn-play:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(168,85,247,.4), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-ghost { padding: 16px 24px; font-size: 14.5px; font-weight: 500; border: 1px solid var(--line); background: transparent; }
.btn-ghost:hover { border-color: var(--accent-a45); color: var(--accent); }
.btn-soft { padding: 10px 20px; font-size: 13.5px; border: 1px solid var(--line); background: var(--surface); }
.btn-soft:hover { border-color: var(--accent-a45); color: var(--accent); }
.btn-play svg, .btn-ghost svg, .btn-soft svg { width: 15px; height: 15px; }

/* ===== Hero ===== */
.hero { padding-top: 132px; }
h1 { font-size: 52px; font-weight: 700; line-height: 1.04; letter-spacing: -.04em; max-width: 900px; margin-bottom: 24px; }
.home-h1 { font-size: 72px; max-width: 760px; }
.lead { color: var(--muted); font-size: 18px; line-height: 1.65; max-width: 600px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* home showcase: logo + stats */
.showcase { margin-top: 48px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.logo-card {
  position: relative; overflow: hidden; border-radius: 20px; border: 1px solid var(--line);
  min-height: 360px; display: grid; place-items: center; padding: 32px;
  background:
    radial-gradient(circle at 50% 55%, rgba(168,85,247,.38), transparent 60%),
    repeating-conic-gradient(from 0deg at 50% 55%, rgba(192,132,252,.06) 0 8deg, transparent 8deg 16deg),
    #120d1a;
}
.logo-card img { width: min(520px, 90%); filter: drop-shadow(0 20px 40px rgba(0,0,0,.6)); animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.stat-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-tiles.four { grid-template-columns: repeat(4, 1fr); }
.tile { padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; justify-content: flex-end; min-height: 120px; }
.tile b { font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.tile b.accent { color: var(--accent); }
.tile span { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted2); margin-top: 6px; }

/* ===== Featured ===== */
.featured-wrap { margin-top: 44px; }
.featured { display: grid; grid-template-columns: 1fr 440px; overflow: hidden; border-radius: 20px; border: 1px solid rgba(192,132,252,.32); background: var(--panel); min-height: 400px; }
.featured-body { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.featured-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }
.tag-trending { font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--on-accent); padding: 6px 14px; border-radius: 9999px; background: linear-gradient(to right, var(--g2), var(--g3)); }
.tag-live { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--green); padding: 5px 12px; border-radius: 9999px; background: rgba(74,222,128,.08); border: 1px solid rgba(74,222,128,.25); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: pulse 1.8s infinite; flex-shrink: 0; }
@keyframes pulse { 50% { opacity: .35; } }
.featured h2 { font-size: 44px; font-weight: 800; line-height: 1.06; letter-spacing: -.032em; margin-bottom: 16px; }
.featured p { color: var(--muted); font-size: 15px; line-height: 1.7; max-width: 560px; }
.featured .hero-btns { margin-top: 32px; }
.featured-media { position: relative; overflow: hidden; border-left: 1px solid rgba(192,132,252,.18); }
.featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.featured:hover .featured-media img { transform: scale(1.04); }
.featured-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(15,13,20,.55), transparent 30%); pointer-events: none; }

/* ===== Sections ===== */
.section { margin-top: 96px; scroll-margin-top: 90px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
h2 { font-size: 28px; font-weight: 700; letter-spacing: -.022em; }
h2.big { font-size: 36px; letter-spacing: -.03em; }

/* ===== Catalogue ===== */
.catalogue { margin-top: 56px; scroll-margin-top: 90px; }
.pill-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pill { font-size: 12.5px; font-weight: 500; color: var(--muted); padding: 7px 14px; border-radius: 9999px; border: 1px solid var(--line); background: transparent; transition: .2s; }
.pill:hover { color: var(--text); border-color: #3b3348; }
.pill--on { color: var(--accent); background: var(--accent-a10); border-color: rgba(192,132,252,.35); }
.pill-label { font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--muted2); margin: 0 4px 0 6px; }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 28px; }
.search { position: relative; width: 100%; max-width: 340px; }
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; fill: none; stroke: var(--muted2); stroke-width: 2.2; stroke-linecap: round; }
.search input { width: 100%; border-radius: 9999px; border: 1px solid var(--line); background: var(--surface); font-size: 13.5px; padding: 10px 16px 10px 40px; outline: none; transition: border-color .2s; }
.search input::placeholder { color: var(--muted2); }
.search input:focus { border-color: var(--accent-a45); }

.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1100px) { .games-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .games-grid { grid-template-columns: 1fr; } }
.game-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); background: var(--card); box-shadow: 0 15px 30px -10px rgba(0,0,0,.3); transition: transform .3s, border-color .3s, box-shadow .3s; animation: rise .45s both; }
.game-card:hover { transform: translateY(-4px); border-color: rgba(192,132,252,.4); box-shadow: 0 22px 40px -12px rgba(0,0,0,.6), 0 0 24px rgba(192,132,252,.08); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.card-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.game-card:hover .card-media img { transform: scale(1.05); }
.badge-live, .badge-tag { position: absolute; top: 14px; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 9999px; background: rgba(10,8,16,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.badge-live { left: 14px; border: 1px solid rgba(74,222,128,.25); }
.badge-tag { right: 14px; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; color: var(--on-accent); background: linear-gradient(to right, var(--g2), var(--g3)); }
.card-body { flex: 1; display: flex; flex-direction: column; padding: 20px; }
.card-title { font-size: 19px; font-weight: 600; letter-spacing: -.012em; }
.card-genre { font-size: 11px; font-weight: 600; letter-spacing: .16em; color: var(--muted2); text-transform: uppercase; margin-top: 4px; }
.card-desc { font-size: 13px; line-height: 1.6; color: var(--muted2); margin-top: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-stats { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line2); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 13px; color: var(--muted2); }
.card-desc + .card-stats { margin-top: 16px; }
.card-stats b { color: var(--text); font-weight: 600; }
.card-updated { display: inline-flex; align-items: center; gap: 6px; }
.card-updated svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.empty { text-align: center; color: var(--muted); padding: 48px 0; }

.skeleton { background: linear-gradient(90deg, #15111c 25%, #1f1a28 50%, #15111c 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 10px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ===== Game detail ===== */
.game-hero { position: relative; min-height: 640px; display: flex; align-items: flex-end; padding: 140px 0 56px; overflow: hidden; }
.game-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.04); filter: saturate(1.1); }
.game-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(10,8,16,.96) 0%, rgba(10,8,16,.75) 45%, rgba(10,8,16,.25) 100%), linear-gradient(to top, var(--void) 0%, transparent 45%); }
.game-hero .container { position: relative; z-index: 1; }
.game-hero h1 { font-size: 64px; font-weight: 800; letter-spacing: -.04em; margin: 16px 0 18px; max-width: 760px; }
.game-hero .lead { max-width: 620px; }
.byline { font-size: 13px; color: var(--muted2); margin-top: 14px; }
.byline a { color: var(--accent); font-weight: 600; }
.game-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 170px)); gap: 12px; margin-top: 32px; }
.game-stats .tile { min-height: 0; padding: 16px 18px; border-radius: 14px; background: rgba(20,17,26,.75); backdrop-filter: blur(8px); }
.game-stats .tile b { font-size: 26px; }
.side-socials { position: absolute; right: 40px; top: 50%; transform: translateY(-50%); z-index: 2; display: flex; flex-direction: column; gap: 10px; }
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.info { padding: 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); }
.info span { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted2); }
.info b { display: block; font-size: 17px; font-weight: 600; margin-top: 6px; }

/* ===== Team ===== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.person { display: flex; flex-direction: column; border-radius: 20px; border: 1px solid var(--line); background: var(--card); overflow: hidden; transition: border-color .25s, transform .25s; }
.person:hover { border-color: rgba(192,132,252,.4); transform: translateY(-3px); }
.person-top { display: flex; align-items: center; gap: 16px; padding: 24px 24px 0; }
.person-top img, .person-top .ph { width: 72px; height: 72px; border-radius: 18px; object-fit: cover; background: var(--surface2); flex-shrink: 0; }
.person.is-user .person-top img { border-radius: 50%; }
.person .role { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.person h3 { font-size: 20px; font-weight: 700; margin-top: 2px; }
.person p { color: var(--muted); font-size: 13.5px; line-height: 1.65; padding: 16px 24px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 24px 0; }
.chip { font-size: 11.5px; color: var(--muted); padding: 4px 10px; border-radius: 9999px; border: 1px solid var(--line); }
.person-link { margin-top: auto; padding: 18px 24px 22px; font-size: 13px; font-weight: 600; color: var(--accent); }
.person-link:hover { text-decoration: underline; }

/* ===== Panels, prose ===== */
.panel { padding: 44px; border-radius: 20px; border: 1px solid rgba(192,132,252,.32); background: var(--panel); }
.panel-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.prose { color: var(--muted); font-size: 15.5px; line-height: 1.8; }
.prose p + p { margin-top: 14px; }
.prose h2 { color: var(--text); font-size: 24px; margin: 44px 0 12px; }
.prose h3 { color: var(--text); font-size: 18px; margin: 28px 0 8px; }
.prose ul { padding-left: 20px; margin: 10px 0; }
.prose li { margin: 6px 0; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.updated-note { font-size: 13px; color: var(--muted2); margin-top: -8px; margin-bottom: 32px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.box { padding: 28px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; gap: 10px; transition: border-color .25s, transform .25s; }
a.box:hover { border-color: rgba(192,132,252,.45); transform: translateY(-3px); }
.box .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-a10); border: 1px solid rgba(192,132,252,.25); }
.box .ico svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.box h3 { font-size: 18px; font-weight: 700; }
.box p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.box .go { margin-top: auto; padding-top: 6px; font-size: 13px; font-weight: 600; color: var(--accent); }
.notice { padding: 20px 24px; border-radius: 16px; border: 1px solid rgba(192,132,252,.28); background: var(--accent-a10); color: var(--muted); font-size: 14px; line-height: 1.7; }
.notice strong { color: var(--text); }
.cta { text-align: center; padding: 56px 32px; }
.cta h2 { font-size: 32px; letter-spacing: -.03em; }
.cta p { color: var(--muted); max-width: 560px; margin: 10px auto 26px; line-height: 1.7; }
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted2); margin-bottom: 28px; }
.back:hover { color: var(--accent); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.faq-topics { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 4px; }
.faq-topics span { font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--muted2); margin-bottom: 8px; }
.faq-topics a { font-size: 14px; color: var(--muted); padding: 6px 0; }
.faq-topics a:hover { color: var(--accent); }
.faq-group { scroll-margin-top: 100px; }
.faq-group + .faq-group { margin-top: 36px; }
.faq-group h3 { font-size: 18px; margin-bottom: 12px; }
details { border: 1px solid var(--line); border-radius: 14px; background: var(--card); margin-bottom: 10px; overflow: hidden; }
summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 500; font-size: 15px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--accent); transition: transform .2s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details .ans { padding: 0 20px 20px; color: var(--muted); font-size: 14px; line-height: 1.75; }
details .ans a { color: var(--accent); text-decoration: underline; }

/* ===== Forms ===== */
.form { display: grid; gap: 24px; margin-top: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label, .field .label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field .opt { color: var(--muted2); font-weight: 500; letter-spacing: .06em; text-transform: none; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); font-size: 14px; outline: none; transition: border-color .2s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a59fb0' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent-a45); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted2); }
.field .hint { font-size: 12.5px; color: var(--muted2); margin-top: 8px; }
.field.invalid input, .field.invalid select, .field.invalid textarea, .field.invalid .choice { border-color: var(--red); }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice { position: relative; display: block; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; transition: .2s; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice b { display: block; font-size: 14.5px; }
.choice span { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.55; }
.choice:has(input:checked) { border-color: rgba(192,132,252,.55); background: var(--accent-a10); }
.choice:has(input:checked) b { color: var(--accent); }
.form-note { font-size: 12.5px; color: var(--muted2); line-height: 1.7; }
.form-note a { color: var(--accent); text-decoration: underline; }
.form-error { color: var(--red); font-size: 13.5px; }
.form-success { text-align: center; padding: 56px 28px; }
.form-success .big-check { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: rgba(74,222,128,.12); border: 1px solid rgba(74,222,128,.35); }
.form-success .big-check svg { width: 28px; height: 28px; fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.form-success h2 { font-size: 28px; }
.form-success p { color: var(--muted); margin: 10px auto 24px; max-width: 460px; line-height: 1.7; }
.hp { position: absolute; left: -9999px; }

/* ===== Codes ===== */
.codes-list { display: grid; gap: 20px; }
.code-game { display: grid; grid-template-columns: 96px 1fr; gap: 20px; padding: 20px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); scroll-margin-top: 100px; }
.code-game > img { width: 96px; height: 96px; border-radius: 16px; object-fit: cover; }
.code-game h3 { font-size: 20px; }
.code-game .meta { font-size: 13px; color: var(--muted2); margin-top: 2px; }
.code-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.code-chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 12px; border: 1px dashed rgba(192,132,252,.45); background: var(--accent-a10); }
.code-chip code { font-family: ui-monospace, Consolas, monospace; font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.code-chip small { font-size: 12px; color: var(--muted); }
.code-chip button { border: 0; border-radius: 8px; background: var(--accent); color: #12051f; font-size: 12px; font-weight: 700; padding: 5px 10px; }
.code-chip.expired { border-color: var(--line); background: transparent; opacity: .55; }
.code-chip.expired code { text-decoration: line-through; }
.no-codes { font-size: 13.5px; color: var(--muted); margin-top: 12px; }

/* ===== Press ===== */
.fact-table { width: 100%; border-collapse: collapse; }
.fact-table th, .fact-table td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line2); font-size: 14.5px; vertical-align: top; }
.fact-table th { width: 38%; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted2); padding-top: 17px; }
.files { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.file { display: flex; flex-direction: column; border-radius: 18px; border: 1px solid var(--line); background: var(--card); overflow: hidden; transition: border-color .25s, transform .25s; }
.file:hover { border-color: rgba(192,132,252,.45); transform: translateY(-3px); }
.file-preview { height: 180px; display: grid; place-items: center; padding: 22px; background: repeating-conic-gradient(#16121d 0 25%, #120f18 0 50%) 0 0 / 20px 20px; }
.file-preview.light { background: #f4f1f8; }
.file-preview img { max-height: 100%; object-fit: contain; }
.file-body { padding: 16px 18px 18px; }
.file-body b { font-size: 15px; }
.file-body p { font-size: 12.5px; color: var(--muted); margin-top: 4px; line-height: 1.55; }
.file-body small { display: block; font-size: 11.5px; color: var(--muted2); margin-top: 8px; }

/* ===== Footer ===== */
.footer { margin-top: 120px; border-top: 1px solid var(--line2); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 56px; }
.footer-brand .brand .wordmark { height: 64px; }
.footer-brand p { color: var(--muted); font-size: 13.5px; line-height: 1.7; max-width: 320px; margin-top: 16px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface2); border: 1px solid var(--line); transition: .2s; }
.socials a:hover { border-color: var(--accent-a45); }
.socials svg { width: 16px; height: 16px; fill: var(--muted); }
.socials a:hover svg { fill: var(--accent); }
.footer-col h4 { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 11px; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px 24px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--line2); }
.footer-bottom p { font-size: 12.5px; color: var(--muted2); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a, .footer-links button { font-size: 12.5px; color: var(--muted); background: none; border: 0; padding: 0; }
.footer-links a:hover, .footer-links button:hover, .footer-links button.on { color: var(--accent); }

/* ===== Cookie + toast ===== */
.cookie { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 60; width: min(1100px, calc(100% - 32px)); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 24px; border-radius: 16px; border: 1px solid var(--line); background: rgba(20,17,26,.97); backdrop-filter: blur(12px); box-shadow: 0 20px 50px rgba(0,0,0,.6); }
.cookie strong { font-size: 11px; letter-spacing: .16em; }
.cookie p { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.6; }
.cookie p a { color: var(--accent); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.btn-outline, .btn-accent { padding: 10px 22px; border-radius: 9999px; font-size: 13.5px; font-weight: 600; transition: .2s; }
.btn-outline { background: transparent; border: 1px solid var(--line); }
.btn-outline:hover { border-color: #3b3348; }
.btn-accent { border: 0; background: var(--accent); color: #12051f; }
.btn-accent:hover { background: var(--g1); }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); opacity: 0; z-index: 70; padding: 10px 18px; border-radius: 9999px; background: var(--accent); color: #12051f; font-size: 13.5px; font-weight: 600; transition: .25s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ===== 404 ===== */
.notfound { text-align: center; padding-top: 170px; }
.notfound img { width: min(360px, 80%); margin: 0 auto 20px; animation: bob 4s ease-in-out infinite; }
.notfound h1 { margin: 0 auto 14px; }
.notfound .lead { margin: 0 auto; }
.notfound .hero-btns { justify-content: center; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .featured { grid-template-columns: 1fr 360px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .showcase { grid-template-columns: 1fr; }
  .stat-tiles.four, .info-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .home-h1 { font-size: 60px; }
}
@media (max-width: 900px) {
  .navbar-inner { padding: 0 20px; }
  .nav-link span { display: none; }
  .nav-link { padding: 8px 12px; }
  .navbar.floating .nav-link { padding: 6px 10px; }
  .brand .wordmark { height: 36px; }
  .featured { grid-template-columns: 1fr; }
  .featured-media { order: -1; aspect-ratio: 16 / 10; border-left: 0; }
  .featured-body { padding: 28px; }
  .featured h2 { font-size: 34px; }
  .panel { padding: 28px; }
  .panel-grid, .cards-2, .faq-wrap, .form-row, .choices { grid-template-columns: 1fr; }
  .faq-topics { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px 16px; }
  .faq-topics span { width: 100%; margin: 0; }
  .game-hero h1 { font-size: 46px; }
  .game-stats { grid-template-columns: repeat(2, 1fr); }
  .side-socials { display: none; }
  .cookie { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  h1 { font-size: 38px; }
  .home-h1 { font-size: 44px; }
  .hero { padding-top: 112px; }
  .footer-top, .cards-3 { grid-template-columns: 1fr; }
  .stat-tiles, .stat-tiles.four, .info-grid { grid-template-columns: 1fr 1fr; }
  .tile b { font-size: 26px; }
  .code-game { grid-template-columns: 64px 1fr; }
  .code-game > img { width: 64px; height: 64px; }
}
