/* ============================================================
   DARKFRAME GAMING — darkframegaming.com
   Hooded mark, two red eyes, a viewfinder around everything.
   Type: Big Shoulders Display (display) · Inter (interface)
   ============================================================ */

@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../assets/fonts/BigShouldersDisplay.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/Inter.woff2') format('woff2');
}

:root {
  --bg: #08080a;
  --bg-2: #0d0d10;
  --card: #131316;
  --card-2: #1a1a1e;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --ink: #f4f4f5;
  --body: #b4b4bc;
  --muted: #85858f;
  --faint: #5a5a63;
  --red: #e10600;
  --red-hot: #ff3326;
  --red-glow: rgba(225, 6, 0, .35);
  --live: #3ddc84;
  --acc: var(--red);
  --disp: 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
  --ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 28px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--body);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--red); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #26262c; border: 3px solid var(--bg); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
section { scroll-margin-top: 110px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* film grain, very light */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
}

/* ---------------- shared bits ---------------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 12px var(--red-glow);
}
h1, h2, h3 { color: var(--ink); font-family: var(--disp); font-weight: 900; text-transform: uppercase; line-height: .92; letter-spacing: .005em; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); margin-top: 12px; }
.sec-head p { color: var(--muted); max-width: 520px; margin-top: 10px; }
.sec-head .more { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--muted); transition: color .2s; }
.sec-head .more:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 12px;
  font-family: var(--ui); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .25s, color .2s;
}
.btn i { font-style: normal; font-weight: 600; transition: transform .2s var(--ease); }
.btn:hover i { transform: translate(2px, -2px); }
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 30px -10px var(--red-glow), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-red:hover { background: var(--red-hot); box-shadow: 0 14px 40px -10px rgba(255, 51, 38, .55), inset 0 1px 0 rgba(255,255,255,.2); }
.btn-light { background: var(--ink); color: #0a0a0c; }
.btn-light:hover { background: #fff; }
.btn-ghost { background: rgba(255,255,255,.04); border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 12px; border-radius: 10px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 14px; border-radius: 14px; }

.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: livepulse 2.2s infinite; flex: none; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(61,220,132,.55); } 70% { box-shadow: 0 0 0 8px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }

.live-badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 8px 6px 12px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); transition: border-color .2s; }
.live-badge:hover { border-color: var(--line-2); }
.live-badge span { font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--ink); }
.live-badge img { height: 22px; width: auto; border-radius: 6px; }

/* ---------------- top strip ---------------- */

.topbar { position: relative; z-index: 60; border-bottom: 1px solid var(--line); background: #050506; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 34px; gap: 16px; }
.topbar .stats { display: flex; align-items: center; gap: 22px; white-space: nowrap; overflow: hidden; }
.topbar .stats span { display: inline-flex; align-items: center; gap: 8px; }
.topbar b { color: var(--ink); font-weight: 800; }
.topbar b.r { color: var(--red-hot); }
.topbar .social { display: flex; align-items: center; gap: 14px; }
.topbar .social a { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); transition: color .2s; }
.topbar .social a:hover { color: var(--ink); }
.topbar .social svg { width: 13px; height: 13px; fill: currentColor; }

/* ---------------- nav ---------------- */

.nav {
  position: sticky; top: 0; z-index: 70;
  background: rgba(8, 8, 10, .78);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 74px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 50px; width: auto; transition: filter .3s; }
.brand:hover img { filter: drop-shadow(0 0 14px rgba(225, 6, 0, .35)); }
.nav ul { display: flex; gap: clamp(14px, 2.4vw, 34px); list-style: none; }
.nav ul a {
  font-family: var(--disp); font-weight: 800; font-size: 19px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); padding: 6px 0; position: relative; transition: color .2s;
}
.nav ul a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--red); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav ul a:hover, .nav ul a[aria-current] { color: var(--ink); }
.nav ul a:hover::after, .nav ul a[aria-current]::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 12px; }

/* ---------------- hero ---------------- */

.hero { padding: 28px 0 0; position: relative; }
.hero-panel {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-lg); border: 1px solid var(--line);
  background:
    radial-gradient(90% 120% at 82% 50%, rgba(225, 6, 0, .16) 0%, transparent 55%),
    radial-gradient(70% 90% at 0% 0%, rgba(255, 255, 255, .05) 0%, transparent 60%),
    linear-gradient(180deg, #121215 0%, #0b0b0d 100%);
  display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 24px;
  padding: clamp(32px, 5vw, 64px) clamp(24px, 5vw, 64px);
  min-height: 560px;
}
.hero-panel::before { /* viewfinder corners */
  content: ''; position: absolute; inset: 18px; pointer-events: none; z-index: -1;
  background:
    linear-gradient(var(--line-2), var(--line-2)) top left / 22px 2px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) top left / 2px 22px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) top right / 22px 2px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) top right / 2px 22px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) bottom left / 22px 2px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) bottom left / 2px 22px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) bottom right / 22px 2px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) bottom right / 2px 22px no-repeat;
}
.hero-ghost { /* giant hooded mark behind everything */
  position: absolute; z-index: -1; right: -6%; top: 50%; width: min(760px, 70%); transform: translateY(-50%);
  opacity: .07; pointer-events: none;
}
.hero-ghost svg { width: 100%; height: auto; }
.hero-ghost #eye { opacity: 1; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(3.4rem, 7.6vw, 7rem); margin: 18px 0 18px; }
.hero h1 em { font-style: normal; color: var(--red); text-shadow: 0 0 40px rgba(225, 6, 0, .35); }
.hero .lede { font-size: clamp(1rem, 1.3vw, 1.14rem); color: var(--body); max-width: 520px; }
.hero-stats { display: flex; gap: clamp(20px, 3.4vw, 44px); margin: 30px 0 32px; flex-wrap: wrap; }
.hero-stats div span { display: block; font-size: 10px; font-weight: 700; letter-spacing: .2em; color: var(--muted); text-transform: uppercase; }
.hero-stats div b { display: block; font-family: var(--disp); font-weight: 900; font-size: clamp(1.9rem, 3vw, 2.5rem); color: var(--ink); line-height: 1.05; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-live { margin-top: 18px; }

.fan { position: relative; height: 440px; z-index: 2; }
.fan a {
  position: absolute; top: 50%; left: 50%; width: clamp(150px, 15vw, 210px);
  transform: translate(-50%, -50%) translate(var(--x), var(--y)) rotate(var(--r));
  z-index: var(--z);
}
/* the link (hit area) never moves; only the inner frame lifts, so hover can't flicker */
.fan .fc { display: block; position: relative; transition: transform .45s var(--ease); will-change: transform; }
.fan a img { width: 100%; aspect-ratio: 408 / 546; object-fit: cover; border-radius: 14px; box-shadow: 0 30px 60px rgba(0,0,0,.55), 0 0 0 3px rgba(255,255,255,.92); }
.fan a:nth-child(1) { --x: -64%; --y: 6%;  --r: -11deg; --z: 1; }
.fan a:nth-child(2) { --x: 0%;   --y: -4%; --r: 0deg;   --z: 3; }
.fan a:nth-child(3) { --x: 64%;  --y: 6%;  --r: 11deg;  --z: 2; }
.fan a:nth-child(2) img { box-shadow: 0 40px 80px rgba(0,0,0,.6), 0 0 0 3px #fff, 0 0 60px rgba(225, 6, 0, .35); }
.fan .tag {
  position: absolute; left: 50%; top: -14px; transform: translateX(-50%); z-index: 2;
  background: var(--red); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .2em;
  padding: 5px 10px; border-radius: 6px; white-space: nowrap; box-shadow: 0 6px 18px var(--red-glow);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .fan .fc { animation: bob 7s ease-in-out infinite; }
  .fan a:nth-child(2) .fc { animation-delay: -2.3s; }
  .fan a:nth-child(3) .fc { animation-delay: -4.6s; }
}
@keyframes bob { 50% { translate: 0 -10px; } }

/* ---------------- studio strip under hero ---------------- */

.marquee { overflow: hidden; border-block: 1px solid var(--line); margin-top: 28px; background: #050506; }
.marquee .track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee span { display: flex; align-items: center; gap: 22px; padding: 14px 11px; font-family: var(--disp); font-weight: 800; font-size: 18px; letter-spacing: .08em; color: var(--faint); white-space: nowrap; }
.marquee span i { font-style: normal; color: var(--red); font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------- sections ---------------- */

.section { padding: clamp(64px, 9vw, 110px) 0; }
.section + .section { padding-top: 0; }

/* latest release spotlight */
.spotlight {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  border-radius: var(--r-lg); border: 1px solid var(--line); padding: clamp(20px, 3.4vw, 40px);
  background: linear-gradient(110deg, rgba(10,10,12,.96) 30%, rgba(10,10,12,.7)), var(--card);
  margin-bottom: 56px;
}
.spotlight::before { content: ''; position: absolute; inset: -40px; z-index: -1; background: var(--spot-img) center / cover; filter: blur(40px) saturate(1.3); opacity: .4; }
.spotlight .spot-art img { width: clamp(180px, 22vw, 260px); aspect-ratio: 408/546; object-fit: cover; border-radius: 16px; box-shadow: 0 30px 70px rgba(0,0,0,.6), 0 0 0 1px var(--line-2); transition: transform .5s var(--ease); }
.spot-flag { display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .2em; padding: 6px 12px; border-radius: 8px; }
.spotlight h3 { font-size: clamp(2.6rem, 5vw, 4.4rem); margin: 16px 0 6px; }
.spotlight .hook { font-family: var(--disp); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .03em; color: var(--acc); }
.spotlight .desc { margin: 12px 0 22px; max-width: 620px; }
.specs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.spec { background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; min-width: 110px; }
.spec span { display: block; font-size: 10px; font-weight: 700; letter-spacing: .18em; color: var(--muted); }
.spec b { display: block; font-family: var(--disp); font-weight: 900; font-size: 1.5rem; color: var(--ink); line-height: 1.1; }
.spec b i { font-style: normal; color: var(--acc); }
.spot-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* toolbar */
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.search { position: relative; flex: 1 1 240px; max-width: 320px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; stroke: var(--muted); fill: none; stroke-width: 2; }
.search input { width: 100%; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); padding: 0 14px 0 40px; font-size: 14px; outline: none; transition: border-color .2s, background .2s; }
.search input::placeholder { color: var(--faint); }
.search input:focus { border-color: var(--red); background: rgba(255,255,255,.05); }
.seg { display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); }
.seg > span { font-size: 10px; font-weight: 700; letter-spacing: .18em; color: var(--faint); padding: 0 8px 0 6px; }
.seg button { white-space: nowrap; flex: none; border: 0; background: none; height: 32px; padding: 0 12px; border-radius: 8px; font-size: 11px; font-weight: 800; letter-spacing: .12em; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; display: inline-flex; align-items: center; gap: 7px; }
.seg button b { font-weight: 600; color: var(--faint); }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: #0a0a0c; }
.seg button[aria-pressed="true"] b { color: #6a6a72; }

/* game grid */
.games { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.games .empty { grid-column: 1 / -1; text-align: center; padding: 60px 0; color: var(--muted); }
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r); background: var(--card);
  box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow .25s, transform .35s var(--ease);
}
.card[hidden] { display: none; }
.card-art { position: relative; aspect-ratio: 408/546; overflow: hidden; background: #000; }
.card-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.art-link { position: absolute; inset: 0; z-index: 1; }
.card-flags { position: absolute; top: 0; left: 12px; z-index: 2; display: flex; pointer-events: none; }
.flag { display: none; }
.flag.new { display: block; background: var(--red); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .2em; padding: 4px 12px 5px; border-radius: 0 0 9px 9px; box-shadow: 0 6px 16px var(--red-glow); }
.card-vol { position: absolute; top: 8px; right: 8px; z-index: 2; pointer-events: none; font-size: 9px; font-weight: 800; letter-spacing: .14em; color: var(--ink); background: rgba(8,8,10,.8); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 4px 8px; border-radius: 999px; }
.card-max { /* paperclip-style tab biting into the art */
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 2; pointer-events: none;
  background: var(--card); border-radius: 12px 12px 0 0; padding: 6px 16px 2px;
  font-family: var(--disp); font-weight: 900; font-size: 1.15rem; letter-spacing: .03em; color: var(--ink); white-space: nowrap;
}
.card-body { display: flex; flex-direction: column; flex: 1; padding: 6px 12px 12px; text-align: center; }
.idx-no { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 10px; font-weight: 700; letter-spacing: .16em; color: var(--faint); text-transform: uppercase; }
.idx-no b { color: var(--muted); font-weight: 800; }
.card h3 { font-size: 1.35rem; margin: 6px 0 2px; letter-spacing: .02em; }
.idx-hook { font-size: 12.5px; line-height: 1.4; color: var(--muted); min-height: 2.8em; }
.card-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 10px 0; }
.card-meta div { background: rgba(255,255,255,.035); border-radius: 8px; padding: 6px 4px; }
.card-meta span { display: block; font-size: 8.5px; font-weight: 700; letter-spacing: .16em; color: var(--faint); }
.card-meta b { display: block; font-size: 12px; font-weight: 800; color: var(--body); letter-spacing: .02em; }
.card-live { display: flex; justify-content: center; margin-bottom: 10px; min-height: 18px; }
.card-live img { height: 18px; width: auto; max-width: 100%; border-radius: 5px; opacity: .9; transition: opacity .2s; }
.card-live:hover img { opacity: 1; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: auto; }
.card-actions a { height: 36px; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 9px; font-size: 11px; font-weight: 800; letter-spacing: .14em; transition: background .2s, color .2s, border-color .2s; }
.idx-play { background: var(--red); color: #fff; }
.idx-play:hover { background: var(--red-hot); }
.idx-view { border: 1px solid var(--line-2); color: var(--ink); }
.idx-view:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.26); }
.card-actions i { font-style: normal; }

.live-note { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; margin-top: 30px; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; color: var(--faint); text-transform: uppercase; }
.live-note a { color: var(--muted); transition: color .2s; }
.live-note a:hover { color: var(--ink); }

/* stats band */
.band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 64px; }
.band div { border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(180deg, var(--card), var(--bg-2)); padding: 26px 24px; }
.band b { display: block; font-family: var(--disp); font-weight: 900; font-size: clamp(2.6rem, 4.4vw, 3.8rem); color: var(--ink); line-height: 1; }
.band b i { font-style: normal; color: var(--red); }
.band span { display: block; margin-top: 8px; font-size: 10.5px; font-weight: 700; letter-spacing: .18em; color: var(--muted); }

/* studio + process tiles */
.pull { font-size: clamp(1.15rem, 1.9vw, 1.5rem); line-height: 1.5; color: var(--ink); max-width: 860px; font-weight: 500; letter-spacing: -.01em; }
.pull em { font-style: normal; color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.tiles.four { grid-template-columns: repeat(4, 1fr); }
.tile { position: relative; overflow: hidden; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); padding: 28px 26px 30px; transition: border-color .3s, transform .35s var(--ease), background .3s; }
.tile .num { display: block; font-family: var(--disp); font-weight: 900; font-size: 3.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(225, 6, 0, .75); margin-bottom: 18px; font-style: normal; }
.tile b { display: block; font-family: var(--disp); font-weight: 900; font-size: 1.6rem; letter-spacing: .03em; color: var(--ink); text-transform: uppercase; margin-bottom: 10px; }
.tile p { font-size: 14.5px; color: var(--body); }

.cta-panel {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  border-radius: var(--r-lg); border: 1px solid var(--line); padding: clamp(48px, 7vw, 88px) var(--gut);
  background: radial-gradient(60% 120% at 50% 120%, rgba(225, 6, 0, .28), transparent 60%), linear-gradient(180deg, #111114, #0a0a0c);
}
.cta-panel img.mark { width: 92px; margin: 0 auto 22px; filter: drop-shadow(0 10px 30px rgba(0,0,0,.6)); }
.cta-panel h2 { font-size: clamp(2.8rem, 6vw, 5rem); margin: 14px 0 12px; }
.cta-panel p { max-width: 560px; margin: 0 auto 28px; }
.cta-panel .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-panel .fine { margin-top: 24px; margin-bottom: 0; font-size: 12.5px; color: var(--faint); }

/* ---------------- footer ---------------- */

footer { border-top: 1px solid var(--line); margin-top: clamp(48px, 6vw, 80px); background: #050506; }
main > .section:last-child { padding-bottom: 0; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 44px; }
.foot-brand img { height: 60px; width: auto; }
.foot-brand p { margin-top: 18px; font-size: 14px; color: var(--muted); max-width: 380px; }
.foot-col h4 { font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--faint); margin-bottom: 14px; }
.foot-col ul { list-style: none; display: grid; gap: 9px; }
.foot-col a { font-size: 14px; color: var(--body); transition: color .2s; display: inline-flex; align-items: center; gap: 8px; }
.foot-col a:hover { color: var(--ink); }
.foot-col svg { width: 13px; height: 13px; fill: currentColor; }
.foot-bottom { border-top: 1px solid var(--line); }
.foot-bottom .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 26px; font-size: 12.5px; color: var(--faint); }
.foot-bottom ul { display: flex; gap: 18px; list-style: none; flex-wrap: wrap; }
.foot-bottom a:hover { color: var(--ink); }
.foot-bottom .rg { display: flex; align-items: center; gap: 12px; }
.age { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--red); color: var(--ink); font-size: 11px; font-weight: 800; }

/* ---------------- reveal motion ---------------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.lit { opacity: 1; transform: none; }
.flat .reveal { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee .track, .live-dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------------- game pages ---------------- */

.gp-hero { padding: 28px 0 0; }
.crumb { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--muted); margin-bottom: 18px; transition: color .2s; }
.crumb:hover { color: var(--ink); }
.frame {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  border-radius: var(--r-lg); border: 1px solid var(--line); padding: clamp(20px, 4vw, 52px);
  background: linear-gradient(100deg, rgba(10,10,12,.95) 25%, rgba(10,10,12,.72)), var(--card);
}
.frame::before { content: ''; position: absolute; inset: -60px; z-index: -1; background: var(--spot-img) center / cover; filter: blur(50px) saturate(1.3); opacity: .32; }
.art-card { position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,.6), 0 0 0 1px var(--line-2); transition: transform .3s var(--ease); aspect-ratio: 408/546; }
.art-card .poster { width: 100%; height: 100%; object-fit: cover; }
.art-card .corner { display: none; }
.film-edge { display: flex; gap: 10px; justify-content: center; margin-top: 14px; font-size: 10px; font-weight: 700; letter-spacing: .2em; color: var(--faint); }
.film-edge i { font-style: normal; color: var(--red); }
.fr-no { font-size: 11px; font-weight: 700; letter-spacing: .22em; color: var(--muted); }
.fr-no b { color: var(--ink); }
.frame-copy h1 { font-size: clamp(3rem, 7vw, 6rem); margin: 12px 0 8px; }
.frame-copy .hook { font-family: var(--disp); font-weight: 700; font-size: clamp(1.4rem, 2.2vw, 1.8rem); text-transform: uppercase; letter-spacing: .03em; color: var(--acc); }
.frame-copy .desc { margin: 14px 0 20px; max-width: 640px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chips li { font-size: 10.5px; font-weight: 800; letter-spacing: .14em; color: var(--ink); padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.gp-play { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

.section .wrap > h2 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); margin-top: 12px; }
.section-sub { color: var(--muted); max-width: 620px; margin-top: 10px; }
.feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 36px; }
.feat { border-radius: var(--r); border: 1px solid var(--line); background: var(--card); padding: 26px; transition: border-color .3s, transform .35s var(--ease); }
.feat .num { display: block; font-style: normal; font-family: var(--disp); font-weight: 900; font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--acc); margin-bottom: 14px; }
.feat b { display: block; font-family: var(--disp); font-weight: 900; font-size: 1.5rem; color: var(--ink); text-transform: uppercase; margin-bottom: 8px; letter-spacing: .03em; }
.feat p { font-size: 14.5px; }

.numbers { margin-top: 32px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); overflow: hidden; }
.numbers .row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 15px 22px; border-bottom: 1px solid var(--line); }
.numbers .row:last-child { border-bottom: 0; }
.numbers .row:nth-child(even) { background: rgba(255,255,255,.015); }
.numbers span { font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--muted); flex: none; }
.numbers b { font-size: 14px; font-weight: 700; color: var(--ink); text-align: right; letter-spacing: .02em; }
.numbers b.hi { color: var(--acc); font-family: var(--disp); font-weight: 900; font-size: 1.3rem; }
.section .live-note { justify-content: flex-start; }

.gp-cta {
  max-width: var(--wrap); margin: 0 auto; text-align: center; position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-lg); border: 1px solid var(--line); padding: clamp(48px, 7vw, 84px) var(--gut);
  background: radial-gradient(60% 120% at 50% 120%, color-mix(in srgb, var(--acc) 30%, transparent), transparent 62%), linear-gradient(180deg, #111114, #0a0a0c);
  width: calc(100% - 2 * var(--gut)); max-width: calc(var(--wrap) - 2 * var(--gut));
}
.gp-cta h2 { font-size: clamp(2.6rem, 6vw, 4.8rem); margin: 14px 0 26px; }
.gp-cta .url { display: block; margin-top: 18px; font-size: 10.5px; font-weight: 700; letter-spacing: .18em; color: var(--faint); word-break: break-all; }

.pager { max-width: calc(var(--wrap) - 2 * var(--gut)); width: calc(100% - 2 * var(--gut)); margin: 16px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pager a { display: flex; flex-direction: column; gap: 4px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); padding: 22px 24px; transition: border-color .25s, background .25s; }
.pager a:hover { border-color: var(--line-2); background: var(--card-2); }
.pager .dir { font-size: 10.5px; font-weight: 700; letter-spacing: .18em; color: var(--red-hot); }
.pager .nm { font-family: var(--disp); font-weight: 900; font-size: 1.8rem; color: var(--ink); text-transform: uppercase; line-height: 1.05; }
.pager .next { text-align: right; align-items: flex-end; }

/* ---------------- legal / verify pages ---------------- */

.page { max-width: 820px; margin: 0 auto; padding: clamp(40px, 7vw, 80px) var(--gut) 20px; }
.page h1 { font-size: clamp(2.8rem, 7vw, 4.6rem); margin: 14px 0 12px; }
.page .updated { font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--faint); margin-bottom: 26px; }
.page h2 { font-family: var(--disp); font-weight: 900; font-size: 1.7rem; letter-spacing: .03em; margin: 46px 0 14px; padding-top: 26px; border-top: 1px solid var(--line); }
.page p, .page li { font-size: 1rem; line-height: 1.78; margin-bottom: 14px; }
.page ul { padding-left: 22px; }
.page b, .page strong { color: var(--ink); }
.page a { color: var(--ink); border-bottom: 1px solid var(--red); transition: color .2s; }
.page a:hover { color: var(--red-hot); }
.page code { font-size: .9em; background: rgba(255,255,255,.06); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: var(--ink); }

.notfound { min-height: 72vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 60px var(--gut); }
.notfound img { width: 150px; margin-bottom: 28px; filter: drop-shadow(0 0 40px rgba(225, 6, 0, .25)); }
.notfound h1 { font-size: clamp(3rem, 10vw, 7rem); }
.notfound h1 span { color: var(--red); }
.notfound p { margin: 14px 0 28px; color: var(--muted); }

/* ---------------- responsive ---------------- */

@media (max-width: 1180px) {
  .games { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .nav ul { display: none; }
  .hero-panel { grid-template-columns: 1fr; min-height: 0; }
  .fan { height: 340px; order: -1; margin: -10px 0 4px; }
  .games { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tiles, .tiles.four { grid-template-columns: repeat(2, 1fr); }
  .band { grid-template-columns: repeat(2, 1fr); }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .frame { grid-template-columns: 1fr; }
  .frame-art { max-width: 320px; margin: 0 auto; width: 100%; }
}
@media (max-width: 640px) {
  .topbar .stats span.opt, .topbar .social a span { display: none; }
  .nav .wrap { height: 64px; }
  .brand img { height: 40px; }
  .nav-right .btn { height: 38px; padding: 0 14px; font-size: 11px; }
  .hero { padding-top: 16px; }
  .hero-panel { padding: 26px 20px 30px; border-radius: 22px; }
  .hero-panel::before { inset: 10px; }
  .fan { height: 270px; }
  .fan a { width: 136px; }
  .hero-stats { gap: 18px 26px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .spotlight { grid-template-columns: 1fr; text-align: left; }
  .spotlight .spot-art img { width: 180px; }
  .games { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-body { padding: 6px 8px 10px; }
  .card h3 { font-size: 1.15rem; }
  .card-meta { gap: 4px; }
  .card-actions a { font-size: 10px; letter-spacing: .1em; height: 34px; }
  .search { max-width: none; flex-basis: 100%; }
  .seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .tiles, .tiles.four, .band, .feats { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 30px; padding-top: 44px; padding-bottom: 34px; }
  .pager { grid-template-columns: 1fr; }
  .numbers .row { padding: 13px 16px; }
}

.games-empty { text-align: center; color: var(--muted); padding: 40px 0 10px; }

/* ---------------- giveaway ---------------- */

.giveaway-sec { padding-bottom: clamp(48px, 7vw, 80px); }
.giveaway {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 24px;
  border-radius: var(--r-lg); border: 1px solid rgba(255, 190, 80, .22);
  padding: clamp(28px, 4.4vw, 56px) clamp(24px, 4.4vw, 56px) 0;
  background: #120b1c;
  box-shadow: 0 40px 90px -40px rgba(255, 150, 40, .25);
}
.giveaway::before { /* cave */
  content: ''; position: absolute; inset: 0; z-index: -2;
  background: url('../assets/nyxoxo/bg.webp') center 40% / cover;
}
.giveaway::after { /* legibility + ember glow */
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 70% at 78% 100%, rgba(255, 50, 170, .35), transparent 70%),
    linear-gradient(90deg, rgba(12, 8, 20, .94) 0%, rgba(12, 8, 20, .82) 45%, rgba(12, 8, 20, .25) 100%);
}
.gw-copy { padding-bottom: clamp(28px, 4.4vw, 56px); position: relative; z-index: 1; }
.gw-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.gw-soon, .gw-only { font-size: 11px; font-weight: 800; letter-spacing: .2em; padding: 6px 12px; border-radius: 8px; }
.gw-soon { background: linear-gradient(180deg, #ffd25a, #f0a01e); color: #2a1300; box-shadow: 0 8px 24px rgba(255, 170, 40, .35); }
.gw-only { border: 1px solid rgba(255,255,255,.22); color: var(--ink); }
.gw-logo { width: min(400px, 82%); margin: 22px 0 6px -8px; filter: drop-shadow(0 14px 30px rgba(0,0,0,.55)); }
.giveaway h2 { font-size: clamp(3rem, 6.4vw, 5.4rem); color: #ffcf4d; text-shadow: 0 4px 0 #8a3b00, 0 18px 40px rgba(255, 140, 30, .35); margin-top: 6px; }
.gw-split { font-size: 13px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--ink); margin: 12px 0 18px; }
.gw-split b { font-family: var(--disp); font-size: 1.7rem; letter-spacing: .02em; color: #fff; }
.gw-split i { font-style: normal; color: #ffb43a; margin: 0 6px; }
.gw-lede { font-size: 1.06rem; color: #e6e1ee; max-width: 560px; }
.gw-how { margin-top: 10px; max-width: 560px; color: #c9c2d6; }
.gw-how a { color: #ffcf4d; border-bottom: 1px solid rgba(255, 207, 77, .4); }
ol.gw-how { padding-left: 1.3em; display: grid; gap: 6px; }
ol.gw-how li::marker { color: #ffcf4d; font-weight: 800; }
.gw-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.gw-actions [hidden] { display: none; }
.gw-fine { font-size: 12.5px; color: #9d95ab; max-width: 600px; }
.gw-art { align-self: end; display: flex; justify-content: center; }
.gw-art img { width: min(420px, 100%); filter: drop-shadow(0 30px 50px rgba(0,0,0,.6)); transform-origin: 50% 100%; }
@media (prefers-reduced-motion: no-preference) {
  .gw-art img { animation: breathe 5.5s ease-in-out infinite; }
}
@keyframes breathe { 50% { transform: scale(1.018) translateY(-4px); } }
@media (max-width: 980px) {
  .giveaway { grid-template-columns: 1fr; }
  .gw-art { order: -1; margin: -10px 0 -10px; }
  .gw-art img { width: 260px; }
  .giveaway::after { background: radial-gradient(60% 40% at 50% 22%, rgba(255, 140, 30, .3), transparent 70%), linear-gradient(180deg, rgba(12,8,20,.35) 0%, rgba(12,8,20,.9) 38%, rgba(12,8,20,.96) 100%); }
}
@media (max-width: 640px) {
  .gw-actions .btn { flex: 1 1 100%; }
  .gw-art img { width: 210px; }
}

/* ---------------- email signup ---------------- */

.modal-open { overflow: hidden; }
.signup { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.signup[hidden] { display: none; }
.signup-backdrop { position: absolute; inset: 0; background: rgba(4, 4, 6, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.signup-box {
  position: relative; width: min(440px, 100%); max-height: calc(100svh - 32px); overflow: auto;
  border-radius: 22px; border: 1px solid var(--line-2); padding: 34px 30px 24px; text-align: center;
  background: radial-gradient(80% 60% at 50% 0%, rgba(225, 6, 0, .2), transparent 70%), linear-gradient(180deg, #141417, #0b0b0d);
  box-shadow: 0 40px 100px rgba(0,0,0,.7);
  opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .25s, transform .3s var(--ease);
}
.signup.on .signup-backdrop { opacity: 1; }
.signup.on .signup-box { opacity: 1; transform: none; }
.signup-x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; }
.signup-x:hover { color: var(--ink); border-color: var(--line-2); }
.signup-mark { width: 64px; height: 64px; margin: 0 auto 14px; filter: drop-shadow(0 0 22px rgba(225, 6, 0, .3)); }
.signup h3 { font-size: 2.6rem; margin: 10px 0 8px; }
.signup-lede { font-size: 14.5px; color: var(--body); margin-bottom: 20px; }
.signup-form { display: grid; gap: 12px; text-align: left; }
.signup-form input[type=email] { width: 100%; height: 50px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); padding: 0 16px; font-size: 15px; outline: none; transition: border-color .2s; }
.signup-form input[type=email]:focus { border-color: var(--red); }
.signup-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.signup-consent input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--red); cursor: pointer; }
.signup-consent a { color: var(--ink); border-bottom: 1px solid var(--red); }
.signup-form .btn { width: 100%; }
.signup-form .btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.signup-msg { min-height: 1.2em; font-size: 12.5px; color: var(--muted); text-align: center; }
.signup-ok { text-align: center; color: var(--ink); font-weight: 600; padding: 18px 0; }
.signup-skip { margin-top: 6px; border: 0; background: none; color: var(--muted); font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.signup-skip:hover { color: var(--ink); }
.signup-fine { margin-top: 10px; font-size: 11px; color: var(--faint); }

/* lifts only for real pointers; touch gets a press response instead of sticky hover */
@media (hover: hover) and (pointer: fine) {
  .fan a:hover .fc { transform: translateY(-12px) scale(1.04); }
  .spotlight .spot-art:hover img { transform: translateY(-4px) rotate(-1.5deg); }
  .card:hover { box-shadow: 0 0 0 2px var(--acc), 0 24px 50px -20px rgba(0,0,0,.8); transform: translateY(-4px); }
  .card:hover .card-art img { transform: scale(1.05); }
  .tile:hover { border-color: rgba(225, 6, 0, .45); transform: translateY(-3px); background: var(--card-2); }
  .feat:hover { border-color: color-mix(in srgb, var(--acc) 50%, transparent); transform: translateY(-3px); }
}
@media (hover: none) {
  .fan a:active .fc { transform: scale(.97); }
  .card:active { box-shadow: 0 0 0 2px var(--acc); }
  .btn:active, .card-actions a:active { transform: scale(.97); }
}
@media (max-width: 420px) {
  .signup { padding: 12px; align-items: end; }
  .signup-box { padding: 28px 20px 18px; border-radius: 20px; }
  .signup-x { width: 42px; height: 42px; top: 8px; right: 8px; font-size: 24px; }
  .signup h3 { font-size: 2.2rem; }
  .signup-mark { width: 52px; height: 52px; }
}
@media (max-width: 640px) {
  .btn-lg { white-space: normal; height: auto; min-height: 52px; padding: 12px 20px; text-align: center; line-height: 1.25; max-width: 100%; }
  .cta-panel .row .btn, .gp-cta .btn, .gp-play .btn, .spot-actions .btn { width: 100%; }
  .cta-panel .btn-light { text-transform: none; letter-spacing: .02em; font-size: 15px; }
}
.live-badge { max-width: 100%; }
.live-badge img { min-width: 0; max-width: 100%; object-fit: contain; object-position: left center; }
.signup.done .signup-skip { display: none; }
