/* Hell Mode Media — color scheme lives here. */
:root {
  --bg-void: #040105;
  --bg-deep: #090307;
  --bg-panel: #12080e;
  --bg-panel-2: #180b12;
  --neon-crimson: #ff2a4a;
  --neon-magenta: #ff2d8a;
  --neon-magenta-text: #ffb0c8;
  --neon-cyan: #00f0ff;
  --neon-ember: #ff7a3a;
  --text: #f8f3f6;
  --text-muted: #e4d6dc;
  --text-dim: #d0c2c8;
  --line: rgba(255, 45, 138, 0.38);
  --line-strong: rgba(0, 240, 255, 0.55);
  --glow-crimson: 0 0 18px rgba(255, 42, 74, 0.45);
  --glow-cyan: 0 0 18px rgba(0, 240, 255, 0.4);
  --font-display: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Black", sans-serif;
  --font-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Cascadia Mono", "SF Mono", ui-monospace, Consolas, "Liberation Mono", monospace;
  --space: 1.25rem;
  --max: 72rem;
  --header-h: 4.25rem;
  --letterbox: 1.35rem;
  --radius: 2px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg-void);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-void);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--neon-cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--text);
}

a:focus-visible,
button:focus-visible,
iframe:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 80;
  background: var(--bg-panel);
  color: var(--text);
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--neon-cyan);
}

.skip:focus {
  top: 0.75rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* -------- Atmosphere (always behind text and embeds) -------- */
.bg-glows,
.fog {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.42;
  will-change: transform;
}

.orb-a {
  width: 52vw;
  height: 46vw;
  left: -18vw;
  bottom: -20vw;
  background: radial-gradient(circle, rgba(255, 42, 74, 0.7), rgba(255, 45, 138, 0.12) 58%, transparent 72%);
}

.orb-b {
  width: 36vw;
  height: 36vw;
  right: -14vw;
  top: -16vw;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.32), rgba(0, 240, 255, 0.04) 58%, transparent 72%);
}

.orb-c {
  width: 30vw;
  height: 30vw;
  right: -8vw;
  bottom: 18vh;
  background: radial-gradient(circle, rgba(255, 45, 138, 0.28), transparent 70%);
}

.fog-bank {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.fog-a {
  width: 78vw;
  height: 48vh;
  left: -22vw;
  bottom: 2vh;
  background: radial-gradient(ellipse, rgba(92, 12, 26, 0.92), rgba(255, 42, 74, 0.14) 48%, rgba(10, 2, 6, 0.18) 66%, transparent 76%);
}

.fog-b {
  width: 64vw;
  height: 44vh;
  right: -20vw;
  top: 22vh;
  background: radial-gradient(ellipse, rgba(72, 10, 32, 0.82), rgba(255, 45, 138, 0.1) 52%, transparent 74%);
}

.fog-c {
  width: 88vw;
  height: 36vh;
  left: 6vw;
  top: 58vh;
  background: radial-gradient(ellipse, rgba(48, 8, 18, 0.82), rgba(255, 42, 74, 0.08) 55%, transparent 74%);
}

.fog-d {
  width: 70vw;
  height: 40vh;
  left: 18vw;
  top: 4vh;
  background: radial-gradient(ellipse, rgba(70, 8, 22, 0.7), rgba(255, 42, 74, 0.1) 46%, transparent 72%);
}

.has-motion .fog-a { animation: fog-drift-a 48s ease-in-out infinite alternate; }
.has-motion .fog-b { animation: fog-drift-b 64s ease-in-out infinite alternate; }
.has-motion .fog-c { animation: fog-drift-c 54s ease-in-out infinite alternate; }
.has-motion .fog-d { animation: fog-drift-d 72s ease-in-out infinite alternate; }

@keyframes fog-drift-a {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(10vw, -6vh) scale(1.12); }
}

@keyframes fog-drift-b {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-9vw, 5vh) scale(1.08); }
}

@keyframes fog-drift-c {
  from { transform: translate(0, 0); }
  to { transform: translate(6vw, -4vh) scale(1.1); }
}

@keyframes fog-drift-d {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-8vw, 6vh) scale(1.1); }
}

.has-motion .orb-a { animation: drift-a 26s ease-in-out infinite alternate; }
.has-motion .orb-b { animation: drift-b 32s ease-in-out infinite alternate; }
.has-motion .orb-c { animation: drift-c 22s ease-in-out infinite alternate; }

@keyframes drift-a {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(12vw, -10vh) scale(1.15); }
}

@keyframes drift-b {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-10vw, 8vh) scale(1.2); }
}

@keyframes drift-c {
  from { transform: translate(0, 0); }
  to { transform: translate(-8vw, 12vh) scale(1.1); }
}

#embers {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Edge-weighted vignette: large clear center so type and embeds stay unobscured. */
.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 58%, rgba(0, 0, 0, 0.42) 82%, rgba(0, 0, 0, 0.82) 100%),
    linear-gradient(to right, rgba(0, 0, 0, 0.62), transparent 16%, transparent 84%, rgba(0, 0, 0, 0.62));
}

.scanlines,
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.scanlines {
  opacity: 0.04;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.5) 0,
    rgba(255, 255, 255, 0.5) 1px,
    transparent 1px,
    transparent 4px
  );
}

.grain {
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.9'/%3E%3C/svg%3E");
}

main,
.site-footer {
  position: relative;
  z-index: 3;
}

/* -------- Header -------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(4, 1, 5, 0.94);
  backdrop-filter: blur(10px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max), calc(100% - 2.5rem));
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.logo img {
  width: 2rem;
  height: 2rem;
  flex: none;
  filter: drop-shadow(0 0 8px rgba(255, 42, 74, 0.55));
}

.logo-text {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.logo-hell {
  color: var(--text);
  font-size: 1.15rem;
  text-shadow: var(--glow-crimson);
}

.logo-media {
  color: var(--neon-cyan);
  font-size: 1.15rem;
  text-shadow: var(--glow-cyan);
}

.nav {
  display: flex;
  gap: 1.25rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--neon-cyan);
}

/* -------- Hero / letterbox -------- */
.hero {
  position: relative;
  z-index: 3;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: center;
  padding: calc(var(--letterbox) + 2.2rem) 0 calc(var(--letterbox) + 2.8rem);
  isolation: isolate;
}

.hero-underglow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--letterbox);
  height: 62%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 90% at 50% 100%, rgba(255, 42, 74, 0.62), rgba(160, 8, 28, 0.26) 36%, transparent 70%),
    radial-gradient(ellipse 44% 55% at 24% 94%, rgba(255, 45, 138, 0.3), transparent 62%),
    radial-gradient(ellipse 40% 50% at 76% 96%, rgba(255, 42, 74, 0.26), transparent 64%);
  filter: blur(12px);
  transform-origin: 50% 100%;
}

.has-motion .hero-underglow {
  animation: underglow-breathe 16s ease-in-out infinite;
}

@keyframes underglow-breathe {
  0%, 100% { opacity: 0.88; transform: scale(1, 1); }
  50% { opacity: 1; transform: scale(1.07, 1.12); }
}

/* Hero-local drifting haze: sits under copy, never on the type itself. */
.hero-haze {
  position: absolute;
  inset: var(--letterbox) 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.haze-bank {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
}

.haze-1 {
  width: 58%;
  height: 46%;
  left: -10%;
  bottom: 2%;
  background: radial-gradient(ellipse, rgba(255, 42, 74, 0.28), rgba(70, 6, 16, 0.22) 46%, transparent 72%);
}

.haze-2 {
  width: 50%;
  height: 38%;
  right: -8%;
  bottom: 8%;
  background: radial-gradient(ellipse, rgba(255, 45, 138, 0.2), rgba(40, 4, 18, 0.16) 50%, transparent 72%);
}

.haze-3 {
  width: 74%;
  height: 32%;
  left: 14%;
  bottom: -8%;
  background: radial-gradient(ellipse, rgba(36, 4, 10, 0.78), rgba(255, 42, 74, 0.14) 48%, transparent 74%);
}

.has-motion .haze-1 { animation: haze-drift-1 42s ease-in-out infinite alternate; }
.has-motion .haze-2 { animation: haze-drift-2 58s ease-in-out infinite alternate; }
.has-motion .haze-3 { animation: haze-drift-3 50s ease-in-out infinite alternate; }

@keyframes haze-drift-1 {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(9%, -12%) scale(1.14); }
}

@keyframes haze-drift-2 {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-10%, 8%) scale(1.1); }
}

@keyframes haze-drift-3 {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(6%, -6%) scale(1.12); }
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: -2.2rem -2.4rem -1.4rem -2.6rem;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 20% 50%, rgba(4, 1, 5, 0.84), rgba(4, 1, 5, 0.4) 52%, transparent 76%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: var(--letterbox);
  background: #000;
  z-index: 4;
  pointer-events: none;
}

.hero::before {
  top: 0;
  box-shadow: 0 1px 0 rgba(255, 42, 74, 0.55), 0 8px 18px rgba(255, 42, 74, 0.18);
}

.hero::after {
  bottom: 0;
  box-shadow: 0 -1px 0 rgba(0, 240, 255, 0.45), 0 -8px 18px rgba(0, 240, 255, 0.12);
}

.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.kicker {
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon-magenta-text);
}

.hero-title {
  margin: 0;
}

.wordmark {
  display: block;
  width: min(100%, 34rem);
  height: auto;
  filter: drop-shadow(0 0 28px rgba(255, 42, 74, 0.35)) drop-shadow(0 0 18px rgba(0, 240, 255, 0.18));
}

.has-motion .wordmark {
  animation:
    wordmark-pulse 9s ease-in-out infinite,
    wordmark-flicker 8.5s steps(1, end) infinite;
}

@keyframes wordmark-pulse {
  0%, 100% { filter: drop-shadow(0 0 18px rgba(255, 42, 74, 0.32)) drop-shadow(0 0 10px rgba(0, 240, 255, 0.12)); }
  50% { filter: drop-shadow(0 0 34px rgba(255, 42, 74, 0.55)) drop-shadow(0 0 18px rgba(0, 240, 255, 0.22)); }
}

/* Sparse neon flicker — a brief hitch, then it settles. */
@keyframes wordmark-flicker {
  0%, 84%, 91%, 100% { opacity: 1; }
  85% { opacity: 0.78; }
  87% { opacity: 1; }
  88% { opacity: 0.88; }
  89% { opacity: 1; }
}

.hero-lede {
  max-width: 34rem;
  margin: 1.35rem 0 0;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.2rem;
  border: 1px solid var(--neon-crimson);
  background: rgba(255, 42, 74, 0.08);
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: var(--glow-crimson);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  background: rgba(255, 42, 74, 0.22);
  color: var(--text);
}

.has-motion .btn:hover {
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: var(--line-strong);
  background: transparent;
  box-shadow: none;
  color: var(--neon-cyan);
}

.btn-ghost:hover {
  background: rgba(0, 240, 255, 0.08);
  color: var(--text);
  box-shadow: var(--glow-cyan);
}

.hero-visual {
  position: relative;
  justify-self: center;
  width: min(100%, 28rem);
}

.hero-visual img {
  width: 100%;
  filter: drop-shadow(0 0 40px rgba(255, 42, 74, 0.28));
}

.has-motion .hero-visual img {
  animation: rift-breathe 10s ease-in-out infinite;
}

@keyframes rift-breathe {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 34px rgba(255, 42, 74, 0.24)); }
  50% { transform: scale(1.03); filter: drop-shadow(0 0 52px rgba(0, 240, 255, 0.28)); }
}

/* -------- Sections -------- */
.section {
  position: relative;
  z-index: 3;
  padding: 4.5rem 0 5rem;
  border-top: none;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 42, 74, 0.18) 10%,
    rgba(255, 45, 138, 0.75) 48%,
    rgba(0, 240, 255, 0.28) 76%,
    transparent 100%
  );
}

.section::after {
  content: "";
  position: absolute;
  top: -18px;
  left: 18%;
  right: 18%;
  height: 36px;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255, 42, 74, 0.16), transparent 72%);
}

.section-head {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 0.95;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  max-width: 36rem;
}

/* -------- Video embeds -------- */
.drops-grid,
.game-embeds {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.drop-card,
.game-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  color: inherit;
  min-width: 0;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.drop-card {
  text-decoration: none;
}

.embed-frame {
  position: relative;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}

.embed-frame::before {
  content: "";
  position: absolute;
  inset: -60%;
  z-index: 0;
  pointer-events: none;
  background: conic-gradient(
    from 0deg,
    transparent 0 58%,
    var(--neon-cyan) 64%,
    var(--neon-magenta) 70%,
    var(--neon-crimson) 74%,
    transparent 82%
  );
  opacity: 0.25;
  transition: opacity 0.3s ease;
}

.embed {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #050208;
  margin: 1px;
  width: calc(100% - 2px);
}

.embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.drop-body,
.game-card-body {
  padding: 1rem 1.05rem 1.15rem;
  display: grid;
  gap: 0.3rem;
}

.drop-game,
.game-go {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.drop-game {
  color: var(--neon-magenta-text);
}

.drop-title,
.game-card h3 {
  margin: 0;
  line-height: 1.3;
}

.drop-title {
  font-size: 1.05rem;
  font-weight: 650;
}

.drop-cta {
  margin: 0.35rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neon-cyan);
}

.drop-card:hover,
.drop-card:focus-within,
.embed-frame:hover,
.game-card:hover,
.game-card:focus-within {
  border-color: var(--neon-cyan);
  box-shadow: var(--glow-cyan), 0 0 28px rgba(255, 42, 74, 0.18);
}

.has-motion .drop-card:hover,
.has-motion .drop-card:focus-within,
.has-motion .game-card:hover,
.has-motion .game-card:focus-within {
  transform: translateY(-6px);
}

.has-motion .drop-card:hover .embed-frame::before,
.has-motion .drop-card:focus-within .embed-frame::before,
.has-motion .game-card:hover .embed-frame::before,
.has-motion .game-card:focus-within .embed-frame::before,
.has-motion .embed-frame:hover::before {
  opacity: 1;
  animation: sweep 2.2s linear infinite;
}

@keyframes sweep {
  to { transform: rotate(360deg); }
}

.drops-status,
.game-status {
  margin: 1rem 0 0;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.drops-status[hidden],
.game-status[hidden] {
  display: none;
}

/* -------- Games -------- */
.games-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

.game-card {
  min-height: 0;
}

.game-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent, var(--neon-crimson));
  box-shadow: 0 0 16px var(--accent, var(--neon-crimson));
  z-index: 2;
}

.game-card[data-accent="cyan"] { --accent: var(--neon-cyan); }
.game-card[data-accent="crimson"] { --accent: var(--neon-crimson); }
.game-card[data-accent="magenta"] { --accent: var(--neon-magenta); }
.game-card[data-accent="ember"] { --accent: var(--neon-ember); }

.game-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 0.45rem;
}

.game-card p {
  margin: 0;
  color: var(--text-muted);
}

.game-go {
  color: var(--accent, var(--neon-cyan));
  text-decoration: none;
  display: inline-block;
  margin-top: 0.7rem;
}

.game-go:hover {
  color: var(--text);
}

.game-card.is-placeholder .placeholder-note {
  margin: 1rem 1.05rem 1.2rem;
  padding: 0.85rem 0.95rem;
  border: 1px dashed var(--neon-ember);
  color: var(--text-muted);
  font-size: 0.95rem;
  background: rgba(255, 122, 58, 0.06);
}

/* -------- Footer -------- */
.site-footer {
  position: relative;
  z-index: 3;
  border-top: 1px solid rgba(255, 42, 74, 0.22);
  box-shadow: 0 -16px 40px rgba(255, 42, 74, 0.06);
  padding: 2.2rem 0 2.6rem;
  background: var(--bg-deep);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: baseline;
}

.site-footer p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* -------- Inner game pages -------- */
.page-main {
  position: relative;
  z-index: 3;
  padding: 3.5rem 0 5rem;
  min-height: calc(100vh - var(--header-h) - 7rem);
}

.page-main h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 0.9;
}

.page-main .lede {
  max-width: 40rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.back {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--neon-cyan);
}

.back:hover {
  color: var(--text);
}

.note,
.placeholder-banner {
  margin: 0 0 2rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--neon-magenta);
  background: var(--bg-panel);
  color: var(--text-muted);
}

.placeholder-banner {
  border-left-color: var(--neon-ember);
}

/* -------- Reveals -------- */
.has-motion .reveal {
  opacity: 0;
  transform: translateY(28px);
}

.has-motion .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.has-motion .reveal.delay-1 { transition-delay: 0.08s; }
.has-motion .reveal.delay-2 { transition-delay: 0.16s; }
.has-motion .reveal.delay-3 { transition-delay: 0.24s; }
.has-motion .reveal.delay-4 { transition-delay: 0.32s; }
.has-motion .reveal.delay-5 { transition-delay: 0.4s; }
.has-motion .reveal.delay-6 { transition-delay: 0.48s; }

/* -------- Responsive -------- */
@media (min-width: 700px) {
  .drops-grid,
  .game-embeds {
    grid-template-columns: 1fr 1fr;
  }

  .games-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .hero .wrap {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 3rem;
  }

  .hero {
    padding-block: calc(var(--letterbox) + 1.5rem) calc(var(--letterbox) + 2.2rem);
  }

  .wordmark {
    width: min(100%, 38rem);
  }
}

@media (min-width: 1100px) {
  .drops-grid,
  .game-embeds {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .logo-text { letter-spacing: 0.04em; }
  .nav { gap: 0.8rem; }
  :root { --letterbox: 0.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .orb,
  #embers,
  .grain,
  .fog-bank,
  .haze-bank,
  .hero-underglow {
    animation: none !important;
  }

  .orb,
  #embers,
  .grain {
    display: none !important;
  }

  .fog-bank,
  .haze-bank {
    opacity: 0.6;
  }

  .hero-underglow {
    opacity: 0.9;
    transform: none;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .drop-card:hover,
  .game-card:hover {
    transform: none;
  }
}

/* =====================================================================
   v4 — header + mobile nav, hero composition, featured games, about,
   social, footer, feed polish. Appended last so it wins the cascade.
   Text always sits on opaque or near-opaque dark surfaces; no blur
   behind copy.
   ===================================================================== */

/* -------- Header + navigation -------- */
.site-header {
  background: rgba(4, 1, 5, 0.98);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.site-header .wrap { position: relative; }

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  padding: 0.4rem 0;
}

.nav a:hover,
.nav a[aria-current="page"] { color: var(--neon-cyan); }

.nav-social {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-social .icon { width: 1.05rem; height: 1.05rem; flex: none; }

.nav-toggle {
  display: none;
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: var(--bg-panel);
  color: var(--text);
  cursor: pointer;
  flex: none;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  position: absolute;
  left: 50%;
  width: 1.25rem;
  height: 2px;
  margin-left: -0.625rem;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bars { top: 50%; margin-top: -1px; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }

.site-header.nav-open .nav-toggle-bars { background: transparent; }
.site-header.nav-open .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 899px) {
  /* No-JS fallback: nav wraps under the logo. */
  .site-header { height: auto; min-height: var(--header-h); padding: 0.55rem 0; }
  .site-header .wrap { flex-wrap: wrap; }
  .nav { flex-wrap: wrap; gap: 0.2rem 1rem; width: 100%; }

  .js .nav-toggle { display: inline-block; }
  .js .site-header { height: var(--header-h); padding: 0; }
  .js .site-header .wrap { flex-wrap: nowrap; }

  .js .nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.55rem);
    left: -1.25rem;
    right: -1.25rem;
    width: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.4rem 1.25rem 1rem;
    background: #040105;
    border-bottom: 1px solid var(--neon-crimson);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
  }

  .js .site-header.nav-open .nav { display: flex; }

  .js .nav a {
    padding: 0.95rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 45, 138, 0.22);
  }

  .js .nav a:last-child { border-bottom: 0; }
  .js .nav-social .icon { width: 1.2rem; height: 1.2rem; }
}

/* -------- Buttons -------- */
.btn { gap: 0.6rem; min-height: 2.9rem; font-size: 0.78rem; text-align: center; }
.btn .icon { width: 1.15rem; height: 1.15rem; flex: none; }

.btn-primary {
  background: #4a0b18;
  border-color: var(--neon-crimson);
  color: #ffffff;
}

.btn-primary:hover { background: #6c1023; color: #ffffff; }
.btn-ghost { background: #07020a; }

/* -------- Hero composition -------- */
.hero-copy { max-width: 36rem; }

.hero-tagline {
  margin: 1.5rem 0 0;
  font-size: clamp(1.3rem, 1rem + 1.6vw, 1.9rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #ffffff;
  text-wrap: balance;
}

.hero-lede {
  margin-top: 0.85rem;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.12rem);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
}

.chip-row li {
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  background: #12080e;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-actions { margin-top: 1.75rem; }

.hero-visual { width: min(100%, 27rem); }

.hero-frame {
  position: relative;
  padding: 0.9rem;
  background: #07020a;
  border: 1px solid var(--line);
  box-shadow: 0 0 60px rgba(255, 42, 74, 0.28), inset 0 0 40px rgba(255, 42, 74, 0.08);
}

.hero-frame::before,
.hero-frame::after {
  content: "";
  position: absolute;
  width: 1.6rem;
  height: 1.6rem;
  pointer-events: none;
}

.hero-frame::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--neon-cyan);
  border-left: 2px solid var(--neon-cyan);
}

.hero-frame::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid var(--neon-crimson);
  border-bottom: 2px solid var(--neon-crimson);
}

.hero-frame img { filter: none; }
.has-motion .hero-frame img { animation: none; }

@media (max-width: 959px) {
  .hero {
    min-height: 0;
    padding: calc(var(--letterbox) + 2rem) 0 calc(var(--letterbox) + 2.4rem);
  }
  .hero .wrap { gap: 2rem; }
  .hero-visual { width: min(78%, 20rem); justify-self: start; }
}

@media (max-width: 520px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { width: min(70%, 15rem); }
  .wordmark { width: min(100%, 22rem); }
}

/* -------- Sections -------- */
.section { padding: clamp(3rem, 2rem + 4vw, 4.75rem) 0 clamp(3.25rem, 2rem + 4.5vw, 5.25rem); }
.section-head { margin-bottom: clamp(1.4rem, 1rem + 1.6vw, 2.25rem); }
.section-head p { font-size: clamp(1rem, 0.97rem + 0.2vw, 1.08rem); }

.section-more { margin: 2rem 0 0; }

.noscript-list { padding-left: 1.2rem; }

/* -------- Video feed -------- */
.drops-grid,
.game-embeds {
  grid-template-columns: 1fr;
  gap: clamp(1rem, 0.6rem + 1.2vw, 1.5rem);
}

@media (min-width: 640px) {
  .drops-grid,
  .game-embeds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1000px) {
  .drops-grid,
  .game-embeds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.drop-card { height: 100%; }

.drop-card .embed-frame { flex: none; }

.drop-body {
  flex: 1;
  grid-auto-rows: min-content;
  align-content: start;
  padding: 1rem 1.1rem 1.2rem;
  gap: 0.45rem;
}

.drop-game { font-size: 0.72rem; color: var(--neon-magenta-text); }

.drop-title {
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.1rem);
  line-height: 1.35;
  font-weight: 650;
}

.drop-title a { color: var(--text); text-decoration-color: var(--neon-magenta); text-decoration-thickness: 1px; }
.drop-title a:hover { color: var(--neon-cyan); }

.drop-cta {
  margin: auto 0 0;
  padding-top: 0.5rem;
  font-size: 0.74rem;
}

.drop-cta a { color: var(--neon-cyan); text-decoration: none; }
.drop-cta a::after { content: " \2197"; }
.drop-cta a:hover { color: var(--text); text-decoration: underline; }

/* -------- Featured games -------- */
.games-grid { grid-template-columns: 1fr; gap: 1.25rem; }

@media (min-width: 900px) {
  .games-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
}

.game-card { background: var(--bg-panel); }

.game-art {
  position: relative;
  aspect-ratio: 16 / 7;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0.6rem 1rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 120% at 85% 110%, color-mix(in srgb, var(--accent, #ff2a4a) 55%, transparent), transparent 70%),
    linear-gradient(135deg, #0b0309, #160a12 60%, #0b0309);
  border-bottom: 1px solid var(--line);
}

.game-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, transparent 0 14px, rgba(255, 255, 255, 0.025) 14px 15px);
}

.game-art-num {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 3rem + 3vw, 5.4rem);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 2px var(--accent, var(--neon-crimson));
  text-shadow: 0 0 22px color-mix(in srgb, var(--accent, #ff2a4a) 60%, transparent);
}

.game-card-body { padding: 1.15rem 1.25rem 1.4rem; gap: 0.5rem; flex: 1; align-content: start; }

.game-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 0.75rem;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.game-card h3 { font-size: clamp(1.55rem, 1.2rem + 1.1vw, 2rem); margin: 0.15rem 0 0.2rem; }
.game-card p { color: var(--text-muted); }

.game-go {
  align-self: end;
  justify-self: start;
  margin-top: 0.8rem;
  padding-bottom: 0.2rem;
  font-size: 0.78rem;
  color: var(--text);
  border-bottom: 2px solid var(--accent, var(--neon-crimson));
}

.game-go::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.game-go:hover { color: var(--neon-cyan); }

.game-card:has(.game-go:focus-visible) { outline: 2px solid var(--neon-cyan); outline-offset: 3px; }
.game-go:focus-visible { outline: none; }

/* -------- About -------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }

@media (min-width: 900px) {
  .about-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr); gap: 3.5rem; }
}

.about-copy h2 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 0.98;
}

.about-copy p { max-width: 40rem; color: var(--text-muted); line-height: 1.7; }
.about-copy .kicker { color: var(--neon-magenta-text); }

.about-panel {
  padding: clamp(1.2rem, 1rem + 1vw, 1.7rem);
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--neon-magenta);
}

.about-panel h3 {
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--neon-magenta-text);
}

.about-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.about-list li { display: grid; gap: 0.15rem; }
.about-list strong { color: var(--text); font-size: 1.05rem; }
.about-list span { color: var(--text-muted); }

/* -------- Connect / social -------- */
.social-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }

@media (min-width: 700px) {
  .social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
}

.social-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent, var(--neon-crimson));
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.social-card[data-accent="cyan"] { --accent: var(--neon-cyan); }
.social-card[data-accent="crimson"] { --accent: var(--neon-crimson); }

.social-card:hover,
.social-card:focus-visible {
  border-color: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
  color: var(--text);
}

.has-motion .social-card:hover { transform: translateY(-3px); }

.social-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  flex: none;
  border: 1px solid var(--accent, var(--neon-crimson));
  background: #07020a;
  color: var(--text);
}

.social-icon .icon { width: 1.4rem; height: 1.4rem; }
.social-text { display: grid; gap: 0.1rem; min-width: 0; flex: 1; }
.social-text strong { font-size: 1.15rem; }
.social-text span { color: var(--text-muted); font-size: 0.95rem; overflow-wrap: anywhere; }
.social-arrow { font-size: 1.4rem; color: var(--text); flex: none; }

/* -------- Footer -------- */
.site-footer { padding: 2.4rem 0 2.6rem; }

.site-footer .wrap.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
  justify-content: stretch;
}

@media (min-width: 900px) {
  .site-footer .wrap.footer-grid { grid-template-columns: 1.4fr 1fr auto; gap: 2rem 3rem; }
  .footer-fine { grid-column: 1 / -1; }
}

.footer-name {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--text);
}

.footer-line { color: var(--text-muted); }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-nav a { color: var(--text-muted); text-decoration: none; padding: 0.3rem 0; }
.footer-nav a:hover { color: var(--neon-cyan); }

.footer-social { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--line-strong);
  background: #07020a;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.social-pill .icon { width: 1.1rem; height: 1.1rem; }
.social-pill:hover { color: var(--neon-cyan); border-color: var(--neon-cyan); }

.site-footer .footer-fine {
  margin: 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 45, 138, 0.2);
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* -------- Inner game pages -------- */
.page-main { padding: clamp(2rem, 1.2rem + 3vw, 3.5rem) 0 clamp(3rem, 2rem + 3vw, 5rem); }
.page-main .lede { font-size: clamp(1rem, 0.95rem + 0.3vw, 1.12rem); }
.back { padding: 0.4rem 0; font-size: 0.78rem; }

/* -------- Small screens -------- */
@media (max-width: 520px) {
  .wrap { width: calc(100% - 2rem); }
  .site-header .wrap { width: calc(100% - 2rem); }
  .js .nav { left: -1rem; right: -1rem; padding-left: 1rem; padding-right: 1rem; }
  .logo-text { font-size: 0.95rem; }
  .logo-hell, .logo-media { font-size: 1.05rem; }
  .game-art { aspect-ratio: 16 / 6; }
  .social-card { padding: 1rem; }
  .drop-body { padding: 0.9rem 1rem 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after { transition: none !important; }
  .social-card:hover { transform: none; }
}

.section, #main [id] { scroll-margin-top: calc(var(--header-h) + 0.5rem); }

/* Keep drifting haze and the scaled underglow from creating sideways scroll. */
.hero { overflow-x: clip; }
html { overflow-x: clip; }

/* =====================================================================
   v4.1 — hero atmosphere polish. Layers sit under type. No blur on copy.
   ===================================================================== */

/* Layered crimson / magenta underglow with a smoother falloff. */
.hero-underglow {
  left: 0;
  right: 0;
  bottom: var(--letterbox);
  height: 72%;
  overflow: hidden;
  background: none;
  filter: none;
}

.hero-underglow .glow-soft,
.hero-underglow .glow-mid,
.hero-underglow .glow-core {
  position: absolute;
  left: 50%;
  bottom: 0;
  pointer-events: none;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
}

.hero-underglow .glow-soft {
  width: 140%;
  height: 100%;
  background: radial-gradient(ellipse 70% 80% at 50% 100%,
    rgba(255, 42, 74, 0.22) 0%,
    rgba(140, 12, 36, 0.14) 32%,
    rgba(40, 4, 12, 0.08) 58%,
    transparent 78%);
  filter: blur(28px);
}

.hero-underglow .glow-mid {
  width: 86%;
  height: 78%;
  background: radial-gradient(ellipse 60% 75% at 50% 100%,
    rgba(255, 45, 138, 0.34) 0%,
    rgba(255, 42, 74, 0.26) 24%,
    rgba(160, 10, 40, 0.12) 52%,
    transparent 74%);
  filter: blur(20px);
}

.hero-underglow .glow-core {
  width: 42%;
  height: 48%;
  bottom: -4%;
  background: radial-gradient(ellipse at 50% 80%,
    rgba(255, 110, 150, 0.5) 0%,
    rgba(255, 42, 74, 0.42) 22%,
    rgba(255, 45, 138, 0.2) 48%,
    transparent 72%);
  filter: blur(10px);
}

.has-motion .hero-underglow { animation: none; }

.has-motion .hero-underglow .glow-soft {
  animation: glow-breathe-soft 26s ease-in-out infinite;
}
.has-motion .hero-underglow .glow-mid {
  animation: glow-breathe-mid 20s ease-in-out infinite;
}
.has-motion .hero-underglow .glow-core {
  animation: glow-breathe-core 16s ease-in-out infinite;
}

@keyframes glow-breathe-soft {
  0%, 100% { opacity: 0.82; transform: translateX(-50%) scale(1, 1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.06, 1.1); }
}
@keyframes glow-breathe-mid {
  0%, 100% { opacity: 0.86; transform: translateX(-50%) scale(1, 1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08, 1.12); }
}
@keyframes glow-breathe-core {
  0%, 100% { opacity: 0.9; transform: translateX(-50%) scale(1, 1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.1, 1.14); }
}

/* Extra depth in the local haze: a far bank and a near ground mist. */
.haze-far {
  width: 92%;
  height: 58%;
  left: 4%;
  top: -8%;
  filter: blur(100px);
  background: radial-gradient(ellipse, rgba(28, 4, 12, 0.7), rgba(80, 8, 24, 0.18) 48%, transparent 74%);
}
.haze-near {
  width: 80%;
  height: 24%;
  left: 10%;
  bottom: -6%;
  filter: blur(48px);
  background: radial-gradient(ellipse at 50% 100%, rgba(90, 8, 22, 0.7), rgba(255, 42, 74, 0.12) 42%, transparent 72%);
}
.has-motion .haze-far { animation: haze-drift-far 80s ease-in-out infinite alternate; }
.has-motion .haze-near { animation: haze-drift-near 36s ease-in-out infinite alternate; }
@keyframes haze-drift-far {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-4%, 6%) scale(1.08); }
}
@keyframes haze-drift-near {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(5%, -4%) scale(1.1); }
}

/* Subtle light shafts rising from the glow. Hidden when motion is reduced. */
.hero-shafts {
  position: absolute;
  inset: var(--letterbox) 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.shaft {
  position: absolute;
  bottom: 0;
  height: 88%;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(255, 42, 74, 0.16) 0%,
    rgba(255, 45, 138, 0.07) 42%,
    transparent 78%
  );
  clip-path: polygon(38% 100%, 62% 100%, 78% 0%, 22% 0%);
  filter: blur(16px);
  transform-origin: 50% 100%;
  opacity: 0.55;
}

.shaft-a { left: 18%; width: 16%; }
.shaft-b { left: 42%; width: 20%; opacity: 0.7; }
.shaft-c { left: 64%; width: 15%; }

.has-motion .shaft-a { animation: shaft-sway-a 22s ease-in-out infinite alternate; }
.has-motion .shaft-b { animation: shaft-sway-b 28s ease-in-out infinite alternate; }
.has-motion .shaft-c { animation: shaft-sway-c 24s ease-in-out infinite alternate; }

@keyframes shaft-sway-a {
  from { transform: rotate(-4deg) translateX(0); opacity: 0.4; }
  to { transform: rotate(5deg) translateX(4%); opacity: 0.62; }
}
@keyframes shaft-sway-b {
  from { transform: rotate(3deg) scaleY(1); opacity: 0.55; }
  to { transform: rotate(-3deg) scaleY(1.06); opacity: 0.78; }
}
@keyframes shaft-sway-c {
  from { transform: rotate(2deg) translateX(0); opacity: 0.35; }
  to { transform: rotate(-5deg) translateX(-3%); opacity: 0.58; }
}

/* Hero-local vignette: darker edges and letterbox, a clear pocket for type. */
.hero-vignette {
  position: absolute;
  inset: var(--letterbox) 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 68% 70% at 36% 46%, transparent 38%, rgba(0, 0, 0, 0.22) 72%, rgba(0, 0, 0, 0.5) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.28) 0%, transparent 16%, transparent 62%, rgba(4, 1, 5, 0.42) 100%);
}

/* Stronger, unblurred scrim so copy stays AAA against the richer glow. */
.hero-copy::before {
  inset: -2.5rem -2.8rem -1.8rem -3rem;
  background: radial-gradient(ellipse at 22% 48%,
    rgba(4, 1, 5, 0.92) 0%,
    rgba(4, 1, 5, 0.7) 38%,
    rgba(4, 1, 5, 0.36) 64%,
    transparent 82%);
}

@media (prefers-reduced-motion: reduce) {
  .hero-underglow .glow-soft,
  .hero-underglow .glow-mid,
  .hero-underglow .glow-core,
  .haze-far,
  .haze-near,
  .shaft {
    animation: none !important;
    transform: none;
  }

  .hero-shafts,
  .shaft {
    display: none !important;
  }

  .hero-underglow .glow-soft,
  .hero-underglow .glow-mid,
  .hero-underglow .glow-core {
    opacity: 0.92;
    transform: translateX(-50%);
  }
}

/* =====================================================================
   v5 — "cool as hell": hero entrance, embers + ash canvas, art-only film
   grain and chromatic aberration, richer hover/focus micro-interactions,
   scroll progress, dark scrollbar. Effects live on backgrounds and art;
   copy is never filtered, blurred, or given aberration or grain.
   ===================================================================== */

html { scrollbar-color: #7a1228 #040105; scrollbar-width: thin; }
::selection { background: #6c1023; color: #ffffff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #040105; }
::-webkit-scrollbar-thumb { background: #7a1228; border: 2px solid #040105; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #a3173a; }

/* Smoother, tighter scrim for the hero copy (opaque dark, no blur). */
.hero-copy::before {
  background: radial-gradient(ellipse 86% 82% at 32% 50%,
    rgba(4, 1, 5, 0.95) 0%,
    rgba(4, 1, 5, 0.86) 52%,
    rgba(4, 1, 5, 0.5) 76%,
    transparent 100%);
}

/* -------- Hero embers + ash canvas (inside the hero) -------- */
.hero-embers {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--letterbox);
  bottom: var(--letterbox);
  width: 100%;
  height: calc(100% - 2 * var(--letterbox));
  z-index: 1;
  pointer-events: none;
}

/* -------- Hero art: stack, chromatic aberration, grain, scan -------- */
.hero-frame { padding: 0.9rem; }

.art-stack {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #05010a;
}

.hero-frame .art-base { position: relative; width: 100%; filter: none; }

.hero-frame .art-ghost {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-frame .art-r { filter: url(#ab-r); translate: -1.5px 0; }
.hero-frame .art-c { filter: url(#ab-c); translate: 1.5px 0; }

.art-grain {
  position: absolute;
  inset: -10%;
  pointer-events: none;
  opacity: 0.2;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.95'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

.art-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 22%;
  transform: translateY(-100%);
  will-change: transform, opacity;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(255, 120, 150, 0.1) 55%, rgba(255, 255, 255, 0.07) 62%, transparent);
  opacity: 0;
}

.has-motion .art-grain { animation: grain-jitter 0.9s steps(6) infinite; }
.has-motion .art-scan { animation: art-scan 7.5s linear 2.4s infinite; }

@keyframes grain-jitter {
  0%   { transform: translate(0, 0); }
  17%  { transform: translate(-3%, 2%); }
  33%  { transform: translate(2%, -3%); }
  50%  { transform: translate(-2%, -1%); }
  67%  { transform: translate(3%, 2%); }
  83%  { transform: translate(-1%, 3%); }
  100% { transform: translate(0, 0); }
}

@keyframes art-scan {
  0%   { transform: translateY(-100%); opacity: 0; }
  8%   { opacity: 1; }
  60%  { opacity: 1; }
  70%  { transform: translateY(455%); opacity: 0; }
  100% { transform: translateY(455%); opacity: 0; }
}

/* Signal-lock on entrance, then a rare brief glitch burst. */
.has-motion .hero-frame .art-r {
  animation: ab-lock-r 0.95s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s both, ab-burst-r 9s linear 2.6s infinite;
}
.has-motion .hero-frame .art-c {
  animation: ab-lock-c 0.95s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s both, ab-burst-c 9s linear 2.6s infinite;
}

@keyframes ab-lock-r { from { translate: -14px 0; opacity: 1; } to { translate: -1.5px 0; opacity: 0.8; } }
@keyframes ab-lock-c { from { translate: 14px 0; opacity: 1; } to { translate: 1.5px 0; opacity: 0.8; } }
@keyframes ab-burst-r {
  0%, 93%, 100% { translate: -1.5px 0; }
  94.5% { translate: -6px 0; }
  96% { translate: -2px 1px; }
  97.5% { translate: -5px 0; }
}
@keyframes ab-burst-c {
  0%, 93%, 100% { translate: 1.5px 0; }
  94.5% { translate: 6px 0; }
  96% { translate: 2px -1px; }
  97.5% { translate: 5px 0; }
}

/* Pointer parallax: art and light shafts only. */
.has-motion .hero-frame {
  transform: translate3d(calc(var(--px, 0) * 9px), calc(var(--py, 0) * 7px), 0);
  transition: transform 0.35s ease-out;
}

.has-motion .hero-shafts {
  transform: translate3d(calc(var(--px, 0) * -16px), 0, 0);
  transition: transform 0.6s ease-out;
}

/* -------- Entrance (about 1.2s end to end; text is readable by 0.7s) -------- */
.has-motion .enter {
  animation: hero-rise 0.62s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0s) both;
}

.has-motion .enter-title { animation: hero-ignite 0.8s linear var(--d, 0s) both; }
.has-motion .enter-art { animation: hero-art-in 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0s) both; }

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

@keyframes hero-ignite {
  0%   { opacity: 0; transform: translateY(8px); }
  18%  { opacity: 0.95; transform: none; }
  26%  { opacity: 0.35; }
  38%  { opacity: 1; }
  48%  { opacity: 0.8; }
  60%, 100% { opacity: 1; transform: none; }
}

@keyframes hero-art-in {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to   { opacity: 1; transform: none; }
}

.has-motion .hero::before,
.has-motion .hero::after {
  animation: bars-open 0.85s cubic-bezier(0.7, 0, 0.2, 1) both;
}

@keyframes bars-open {
  from { height: 10vh; }
  to   { height: var(--letterbox); }
}

.has-motion .hero-underglow { animation: glow-ignite 1.2s ease-out both; }

@keyframes glow-ignite {
  0%   { opacity: 0; }
  40%  { opacity: 0.55; }
  100% { opacity: 1; }
}

/* -------- Scroll progress (CSS scroll timeline, where supported) -------- */
@supports (animation-timeline: scroll()) {
  html.has-motion::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 90;
    pointer-events: none;
    background: linear-gradient(90deg, var(--neon-crimson), var(--neon-magenta), var(--neon-cyan));
    transform-origin: 0 50%;
    transform: scaleX(0);
    animation: scroll-progress linear both;
    animation-timeline: scroll(root);
  }
  @keyframes scroll-progress { to { transform: scaleX(1); } }
}

/* -------- Nav: animated underline, hover and keyboard focus alike -------- */
.nav a:not(.nav-social),
.footer-nav a {
  background: linear-gradient(var(--neon-cyan), var(--neon-cyan)) no-repeat 0 100% / 0 1px;
  transition: color 0.2s ease, background-size 0.28s ease;
}

.nav a:not(.nav-social):hover,
.nav a:not(.nav-social):focus-visible,
.footer-nav a:hover,
.footer-nav a:focus-visible {
  background-size: 100% 1px;
  color: var(--neon-cyan);
}

.nav-social { transition: color 0.2s ease; }
.nav-social .icon { transition: transform 0.25s ease, filter 0.25s ease; }
.nav-social:hover .icon,
.nav-social:focus-visible .icon { transform: translateY(-2px) scale(1.12); filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.7)); }
.nav-social:hover,
.nav-social:focus-visible { color: var(--neon-cyan); }

.logo img { transition: filter 0.3s ease, transform 0.3s ease; }
.logo:hover img,
.logo:focus-visible img { filter: drop-shadow(0 0 12px rgba(255, 42, 74, 0.95)); transform: scale(1.06); }

.nav a:focus-visible,
.footer-nav a:focus-visible,
.social-pill:focus-visible,
.social-card:focus-visible,
.btn:focus-visible,
.logo:focus-visible,
.drop-title a:focus-visible,
.drop-cta a:focus-visible,
.back:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 4px;
}

/* -------- Buttons: light sweep, press feedback -------- */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: skewX(-18deg);
  transition: left 0.5s ease;
}

.btn:hover::before,
.btn:focus-visible::before { left: 130%; }

.btn:hover,
.btn:focus-visible { box-shadow: 0 0 22px rgba(255, 42, 74, 0.5); }
.btn-ghost:hover,
.btn-ghost:focus-visible { box-shadow: 0 0 22px rgba(0, 240, 255, 0.45); border-color: var(--neon-cyan); }

.has-motion .btn:hover,
.has-motion .btn:focus-visible { transform: translateY(-2px); }
.has-motion .btn:active { transform: translateY(0) scale(0.98); transition-duration: 0.08s; }
.btn .icon { transition: transform 0.25s ease; }
.btn:hover .icon,
.btn:focus-visible .icon { transform: scale(1.15); }

/* -------- Video cards -------- */
.drop-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(90deg, var(--neon-crimson), var(--neon-magenta), var(--neon-cyan));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.4s ease;
}

.drop-card:hover::after,
.drop-card:focus-within::after { transform: scaleX(1); }

.drop-title a { transition: color 0.2s ease, text-decoration-thickness 0.2s ease; }
.drop-title a:hover,
.drop-title a:focus-visible { text-decoration-thickness: 2px; text-underline-offset: 0.28em; }

.drop-cta a::after { display: inline-block; transition: transform 0.25s ease; }
.drop-cta a:hover::after,
.drop-cta a:focus-visible::after { transform: translate(3px, -3px); }
.drop-cta a:focus-visible { color: var(--text); }

.embed-frame { transition: box-shadow 0.3s ease; }
.drop-card:hover .embed-frame,
.drop-card:focus-within .embed-frame { box-shadow: inset 0 0 0 1px rgba(0, 240, 255, 0.5); }

/* -------- Game cards -------- */
.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 30%), rgba(255, 42, 74, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-card:hover::before,
.game-card:focus-within::before { opacity: 1; }

.game-art,
.game-card-body { position: relative; z-index: 1; }

.game-art-num { transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), text-shadow 0.35s ease, -webkit-text-stroke-width 0.2s ease; }

.game-card:hover .game-art-num,
.game-card:focus-within .game-art-num {
  transform: translate(-6px, -4px) scale(1.06);
  text-shadow: 0 0 34px color-mix(in srgb, var(--accent, #ff2a4a) 85%, transparent);
}

.game-go { transition: color 0.2s ease, letter-spacing 0.25s ease; }
.game-go span { display: inline-block; transition: transform 0.25s ease; }
.game-card:hover .game-go span,
.game-card:focus-within .game-go span { transform: translateX(5px); }
.game-card:hover .game-go,
.game-card:focus-within .game-go { color: var(--neon-cyan); }

/* -------- Social cards + pills -------- */
.social-card { position: relative; overflow: hidden; }

.social-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(240px circle at var(--mx, 20%) var(--my, 50%), rgba(0, 240, 255, 0.07), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-card:hover::before,
.social-card:focus-visible::before { opacity: 1; }
.social-card > * { position: relative; z-index: 1; }
.social-arrow { transition: transform 0.25s ease; }
.social-card:hover .social-arrow,
.social-card:focus-visible .social-arrow { transform: translateX(6px); }
.social-icon { transition: box-shadow 0.3s ease, transform 0.3s ease; }
.social-card:hover .social-icon,
.social-card:focus-visible .social-icon { box-shadow: 0 0 18px color-mix(in srgb, var(--accent, #ff2a4a) 70%, transparent); }

.social-pill { transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease, transform 0.25s ease; }
.social-pill:hover,
.social-pill:focus-visible { color: var(--neon-cyan); border-color: var(--neon-cyan); box-shadow: 0 0 18px rgba(0, 240, 255, 0.35); }
.has-motion .social-pill:hover,
.has-motion .social-pill:focus-visible { transform: translateY(-2px); }

.has-motion .social-card:focus-visible { transform: translateY(-3px); }

/* -------- Reduced motion: no entrance, particles, grain, or aberration motion -------- */
@media (prefers-reduced-motion: reduce) {
  .hero-embers,
  .art-scan { display: none !important; }

  .enter,
  .enter-title,
  .enter-art,
  .hero::before,
  .hero::after,
  .hero-underglow,
  .art-grain,
  .hero-frame .art-r,
  .hero-frame .art-c {
    animation: none !important;
  }

  .hero-frame,
  .hero-shafts { transform: none !important; transition: none !important; }

  .hero-frame .art-r { translate: -1.5px 0; }
  .hero-frame .art-c { translate: 1.5px 0; }
  html::before { display: none !important; }
  .btn::before { transition: none; }
  .drop-card::after { transition: none; }
}

/* Once a card has finished revealing, hover and keyboard focus lift it again
   (the reveal rule used to out-rank the lift, and its slow transition lagged it). */
.has-motion .reveal.is-in.settled {
  transition: transform 0.28s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  transition-delay: 0s;
}

.has-motion .drop-card.is-in.settled:hover,
.has-motion .drop-card.is-in.settled:focus-within,
.has-motion .game-card.is-in.settled:hover,
.has-motion .game-card.is-in.settled:focus-within { transform: translateY(-6px); }

.has-motion .social-card.is-in.settled:hover,
.has-motion .social-card.is-in.settled:focus-visible { transform: translateY(-3px); }

/* v5: feathered scrim (no hard panel edge). Still an opaque dark layer under the type, no blur. */
.hero-copy::before {
  inset: -2.5rem -2.8rem -2rem -3rem;
  background: rgba(4, 1, 5, 0.84);
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-composite: intersect;
}

/* v5.1: after 1.6s the page is marked .entered (inline head timeout).
   Lock the letterbox bars and hero entrance in their finished state so a
   stalled animation, a blocked font, or a missing main.js cannot leave the
   bars open or the copy invisible. Reveals stay observer-driven when
   main.js has added .js-ready; otherwise they are forced visible. */
html.entered .hero::before,
html.entered .hero::after {
  animation: none !important;
  height: var(--letterbox) !important;
}

html.entered .enter,
html.entered .enter-title,
html.entered .enter-art {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

html.entered:not(.js-ready) .reveal {
  opacity: 1 !important;
  transform: none !important;
}
