/* ============ 15 DE VALE — fanzine xerox ============ */

:root {
  --ink: #0a0a0a;
  --ink-2: #1a1614;
  --paper: #d8cfc1;
  --paper-dim: #9c9285;
  --blood: #c81610;
  --blood-deep: #8a0a07;
  --bone: #ede4d3;
  --accent: var(--blood);
  --font-display: 'Big Shoulders Stencil Display', 'Big Shoulders Display', Impact, sans-serif;
  --font-zine: 'Special Elite', 'Courier New', monospace;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --noise-opacity: 0.18;
  --particle-density: 1;
  --anim-intensity: 1;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-zine);
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  position: relative;
}

/* ---------- Global xerox noise overlay ---------- */
body::before {
  content: '';
  position: fixed;
  inset: -50%;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='5'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: var(--noise-opacity);
  pointer-events: none;
  z-index: 9000;
  mix-blend-mode: overlay;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
  z-index: 9001;
}

/* scanlines */
.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 8999;
  background: repeating-linear-gradient(
    0deg,
    rgba(0,0,0,0) 0px,
    rgba(0,0,0,0) 2px,
    rgba(0,0,0,0.06) 3px,
    rgba(0,0,0,0) 4px
  );
  mix-blend-mode: multiply;
  opacity: 0.5;
}

/* ---------- Display type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 0.82;
  text-transform: uppercase;
  color: var(--bone);
}

.display.huge { font-size: clamp(72px, 16vw, 280px); }
.display.big  { font-size: clamp(56px, 10vw, 180px); }
.display.med  { font-size: clamp(38px, 6vw, 96px); }

.zine { font-family: var(--font-zine); }
.mono { font-family: var(--font-mono); letter-spacing: 0; }

/* ---------- Stamps / labels ---------- */
.stamp {
  display: inline-block;
  border: 2px solid var(--blood);
  color: var(--blood);
  padding: 6px 14px 5px;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transform: rotate(-3deg);
  background: rgba(200, 22, 16, 0.04);
  position: relative;
}
.stamp::before {
  content: '';
  position: absolute;
  inset: -1px;
  border: 1px dashed var(--blood);
  opacity: 0.4;
  pointer-events: none;
}

.tape {
  display: inline-block;
  background: rgba(237, 228, 211, 0.7);
  color: #2a1a14;
  padding: 4px 16px;
  font-family: var(--font-zine);
  font-size: 14px;
  transform: rotate(-2deg);
  box-shadow: 0 2px 0 rgba(0,0,0,0.4);
  position: relative;
}
.tape::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 8px, rgba(0,0,0,0.04) 8px 9px);
}

.kbd-tag {
  display: inline-block;
  border: 1px solid var(--paper-dim);
  padding: 2px 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--paper-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- Sections ---------- */
section {
  position: relative;
  padding: 120px 6vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.divider-tape {
  height: 28px;
  background: var(--blood);
  position: relative;
  overflow: hidden;
  margin: 0 -6vw;
}
.divider-tape::before {
  content: 'METAL · METAL · METAL · METAL · METAL · METAL · METAL · METAL · METAL · METAL · METAL · METAL · METAL · METAL · METAL · METAL · METAL · METAL · METAL · METAL · ';
  position: absolute;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  color: var(--ink);
  top: 50%;
  transform: translateY(-50%);
  letter-spacing: 0.08em;
  animation: marquee 25s linear infinite;
}
@keyframes marquee {
  from { left: 0; }
  to { left: -50%; }
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 22px;
  padding: 14px 28px;
  background: var(--blood);
  color: var(--bone);
  border: none;
  cursor: pointer;
  position: relative;
  transition: transform 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  clip-path: polygon(2% 0, 100% 4%, 98% 100%, 0 96%);
}
.btn:hover {
  transform: translate(-2px, -2px);
  background: #e51c14;
}
.btn:active { transform: translate(1px, 1px); }
.btn.ghost {
  background: transparent;
  color: var(--bone);
  border: 2px solid var(--bone);
  clip-path: none;
}
.btn.ghost:hover { background: var(--bone); color: var(--ink); }

/* ---------- Inputs ---------- */
input[type="text"], input[type="tel"], input[type="number"], textarea, select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--paper);
  color: var(--bone);
  font-family: var(--font-zine);
  font-size: 18px;
  padding: 10px 4px;
  outline: none;
  transition: border-color 0.2s;
}
input:focus, textarea:focus, select:focus { border-color: var(--blood); }
input::placeholder, textarea::placeholder { color: var(--paper-dim); font-style: italic; }
label.field-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--paper-dim);
  margin-bottom: 4px;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

.reveal-slam {
  opacity: 0;
  transform: scale(1.4) rotate(-2deg);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.5, -0.5, 0.4, 1.5);
}
.reveal-slam.in { opacity: 1; transform: scale(1) rotate(-2deg); }

.reveal-slide-l { opacity: 0; transform: translateX(-80px); transition: all 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal-slide-l.in { opacity: 1; transform: translateX(0); }
.reveal-slide-r { opacity: 0; transform: translateX(80px); transition: all 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal-slide-r.in { opacity: 1; transform: translateX(0); }

/* ---------- Hero ---------- */
.hero-wrap {
  position: relative;
  height: 100vh;
}
#hero {
  height: 100vh;
  padding: 0;
  overflow: hidden;
  display: block;
  position: relative;
  top: 0;
}
.hero-vale-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-stack {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 6vw;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(96px, 22vw, 380px);
  line-height: 0.82;
  color: var(--bone);
  letter-spacing: -0.02em;
  text-shadow: 4px 4px 0 var(--blood);
  position: relative;
  white-space: nowrap;
}

.hero-sub {
  font-family: var(--font-zine);
  font-size: clamp(14px, 1.6vw, 22px);
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--paper-dim);
  margin-top: 24px;
  text-indent: 0.5em;
}

.hero-vale {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(180px, 36vw, 600px);
  color: var(--blood);
  opacity: 0.18;
  z-index: -1;
  letter-spacing: -0.04em;
  pointer-events: none;
  white-space: nowrap;
}

.hero-skull {
  position: absolute;
  width: 280px;
  height: 280px;
  opacity: 0.85;
  filter: contrast(1.4) brightness(0.9);
}

/* glitch */
.glitch {
  position: relative;
  display: inline-block;
}
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.glitch::before {
  color: var(--blood);
  transform: translate(-3px, 0);
  mix-blend-mode: screen;
  clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
  animation: glitch1 3s infinite;
}
.glitch::after {
  color: #1ad4ff;
  transform: translate(3px, 0);
  mix-blend-mode: screen;
  clip-path: polygon(0 66%, 100% 66%, 100% 100%, 0 100%);
  animation: glitch2 3.4s infinite;
}
@keyframes glitch1 {
  0%, 92%, 100% { transform: translate(-3px, 0); }
  93% { transform: translate(-6px, 1px); }
  95% { transform: translate(0, -2px); }
  97% { transform: translate(-8px, 2px); }
}
@keyframes glitch2 {
  0%, 90%, 100% { transform: translate(3px, 0); }
  91% { transform: translate(8px, -1px); }
  94% { transform: translate(-2px, 2px); }
  96% { transform: translate(6px, 0); }
}

/* ---------- Helpers ---------- */
.center-col { max-width: 1200px; margin: 0 auto; width: 100%; }
.row { display: flex; gap: 24px; flex-wrap: wrap; }
.col { flex: 1; min-width: 280px; }

.cut-paper {
  background: var(--bone);
  color: var(--ink);
  padding: 32px;
  position: relative;
  font-family: var(--font-zine);
  box-shadow: 8px 8px 0 var(--blood), 8px 8px 0 1px var(--ink);
}

.cut-paper.dark {
  background: var(--ink-2);
  color: var(--bone);
  border: 1px solid var(--paper-dim);
  box-shadow: 8px 8px 0 var(--blood);
}

/* xerox photo placeholder */
.xerox-photo {
  position: relative;
  background: var(--paper-dim);
  filter: contrast(1.6) grayscale(1) brightness(0.85);
  overflow: hidden;
}
.xerox-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(0,0,0,0.18) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 3px);
}
.xerox-photo .ph-label {
  position: absolute;
  bottom: 8px;
  left: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  background: rgba(0,0,0,0.7);
  color: var(--bone);
  padding: 2px 6px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Crow / skull silhouette helpers ---------- */
.bg-symbol {
  position: absolute;
  pointer-events: none;
  opacity: 0.06;
  z-index: 0;
}

/* ---------- Audio toggle ---------- */
.audio-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 8000;
  background: var(--ink);
  color: var(--bone);
  border: 2px solid var(--bone);
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.audio-toggle:hover { background: var(--blood); border-color: var(--blood); }
.audio-toggle .eq {
  display: inline-flex;
  gap: 2px;
  align-items: end;
  height: 14px;
}
.audio-toggle .eq span {
  width: 2px;
  background: currentColor;
  height: 4px;
}
.audio-toggle.on .eq span {
  animation: eq 0.6s ease-in-out infinite;
}
.audio-toggle.on .eq span:nth-child(2) { animation-delay: 0.15s; }
.audio-toggle.on .eq span:nth-child(3) { animation-delay: 0.3s; }
.audio-toggle.on .eq span:nth-child(4) { animation-delay: 0.45s; }
@keyframes eq {
  0%, 100% { height: 4px; }
  50% { height: 14px; }
}

/* ---------- Section Index nav ---------- */
.dot-nav {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5000;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dot-nav a {
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--paper-dim);
  background: transparent;
  display: block;
  position: relative;
  transition: all 0.25s;
}
.dot-nav a.active {
  background: var(--blood);
  border-color: var(--blood);
  transform: scale(1.3);
}
.dot-nav a::after {
  content: attr(data-label);
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--paper-dim);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.dot-nav a:hover::after, .dot-nav a.active::after { opacity: 1; }

/* ---------- Particles ---------- */
.particles-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.particle-spark {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--blood);
  opacity: 0;
  animation: spark 4s linear infinite;
}
@keyframes spark {
  0% { opacity: 0; transform: translateY(20vh) scale(0); }
  20% { opacity: 1; transform: translateY(0) scale(1); }
  80% { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-100vh) scale(0.4); }
}

/* envelopes raining */
.envelope-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.envelope {
  position: absolute;
  top: -80px;
  width: 70px;
  height: 48px;
  animation: fall linear infinite;
}
@keyframes fall {
  0% { transform: translateY(-10vh) rotate(var(--r)); }
  100% { transform: translateY(120vh) rotate(calc(var(--r) + 180deg)); }
}

/* selection */
::selection { background: var(--blood); color: var(--bone); }

/* accent flicker — for the highlighted manifesto word */
.accent-flicker {
  animation: accent-flicker 5s steps(1, end) infinite;
}
@keyframes accent-flicker {
  0%, 92%, 100% { opacity: 1; filter: none; }
  93% { opacity: 0.4; transform: translateX(-2px); }
  94% { opacity: 1; transform: translateX(2px); }
  95% { opacity: 0.6; }
  96% { opacity: 1; }
  97% { opacity: 0.3; transform: translateX(-1px); }
  98% { opacity: 1; transform: translateX(0); }
}

/* utility */
.flag-stripes {
  background: repeating-linear-gradient(45deg,
    var(--blood) 0 14px,
    var(--ink) 14px 28px);
  padding: 6px 14px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  color: var(--bone);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: inline-block;
}

.barbed {
  height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='14' viewBox='0 0 40 14'><line x1='0' y1='7' x2='40' y2='7' stroke='%23d8cfc1' stroke-width='1'/><path d='M10 0 L10 14 M10 7 L4 1 M10 7 L4 13 M10 7 L16 1 M10 7 L16 13 M30 0 L30 14 M30 7 L24 1 M30 7 L24 13 M30 7 L36 1 M30 7 L36 13' stroke='%23d8cfc1' stroke-width='1'/></svg>");
  background-repeat: repeat-x;
  opacity: 0.6;
  margin: 14px 0;
}

/* form rows */
.guest-row {
  display: grid;
  grid-template-columns: 1fr 100px 40px;
  gap: 16px;
  align-items: end;
  margin-bottom: 14px;
}
.guest-row .remove-btn {
  background: transparent;
  border: 1px solid var(--paper-dim);
  color: var(--paper-dim);
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-family: var(--font-mono);
  transition: all 0.2s;
}
.guest-row .remove-btn:hover {
  border-color: var(--blood);
  color: var(--blood);
}

.toggle-yn {
  display: flex;
  gap: 0;
  border: 2px solid var(--bone);
}
.toggle-yn button {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--bone);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 14px;
  cursor: pointer;
  transition: all 0.15s;
}
.toggle-yn button.active.yes { background: var(--blood); }
.toggle-yn button.active.no { background: var(--ink-2); color: var(--paper-dim); }
.toggle-yn button:hover:not(.active) { background: rgba(255,255,255,0.05); }
.toggle-yn .divider { width: 2px; background: var(--bone); }

/* drumkit */
.drum-stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 24px;
}
.drum-pad {
  aspect-ratio: 1;
  background: var(--ink-2);
  border: 2px solid var(--paper-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 32px;
  color: var(--paper-dim);
  cursor: pointer;
  position: relative;
  user-select: none;
  transition: transform 0.06s;
}
.drum-pad:active { transform: scale(0.96); }
.drum-pad.hit {
  background: var(--blood);
  color: var(--bone);
  border-color: var(--blood);
  animation: hit-pulse 0.3s ease-out;
}
@keyframes hit-pulse {
  0% { box-shadow: 0 0 0 0 var(--blood); }
  100% { box-shadow: 0 0 0 30px transparent; }
}
.drum-pad .key {
  position: absolute;
  top: 6px;
  left: 8px;
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
}
.note-falling {
  position: absolute;
  width: calc(25% - 8px);
  height: 36px;
  background: var(--blood);
  top: 0;
  border: 2px solid var(--bone);
  pointer-events: none;
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--bone);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* generator */
.gen-board {
  background: var(--ink-2);
  border: 1px solid var(--paper-dim);
  padding: 28px;
  position: relative;
}
.gen-stat {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--paper-dim);
  margin-bottom: 4px;
}
.gen-val {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 44px);
  text-transform: uppercase;
  color: var(--bone);
  line-height: 1;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.gen-val.accent { color: var(--blood); }
.slot-cycling { animation: slot 0.06s linear infinite alternate; }
@keyframes slot {
  from { transform: translateY(-2px); opacity: 0.8; }
  to { transform: translateY(2px); opacity: 1; }
}

/* skull svg pulse */
@keyframes skullBreath {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* hero scroll-driven layers */
.hero-layer { position: absolute; inset: 0; will-change: transform, opacity; }

/* small chip */
.chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-dim);
  border: 1px solid var(--paper-dim);
  padding: 3px 8px;
  margin: 2px;
}

/* sticker rotate */
.sticker { transform: rotate(var(--r, -4deg)); }

/* event grid */
.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  border: 2px solid var(--bone);
}
.event-cell {
  padding: 32px 24px;
  border-right: 2px solid var(--bone);
  border-bottom: 2px solid var(--bone);
  position: relative;
}
.event-cell:last-child { border-right: none; }
.event-cell .label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--blood);
  margin-bottom: 10px;
}
.event-cell .val {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3vw, 38px);
  text-transform: uppercase;
  color: var(--bone);
  line-height: 1;
  margin-bottom: 6px;
}
.event-cell .sub {
  font-family: var(--font-zine);
  font-size: 14px;
  color: var(--paper-dim);
}

/* dress code grid */
.dress-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.dress-grid .item {
  border: 1px solid var(--paper-dim);
  padding: 14px 10px;
  text-align: center;
  font-family: var(--font-zine);
  font-size: 13px;
  color: var(--bone);
  background: rgba(20, 16, 14, 0.6);
  position: relative;
}
.dress-grid .item.no::after {
  content: '';
  position: absolute;
  inset: 8px;
  background-image: linear-gradient(45deg, transparent calc(50% - 1px), var(--blood) calc(50% - 1px), var(--blood) calc(50% + 1px), transparent calc(50% + 1px));
}
.dress-grid .item.no { color: var(--paper-dim); }

/* link underline */
.lnk {
  color: var(--blood);
  text-decoration: none;
  border-bottom: 1px dashed var(--blood);
}
.lnk:hover { color: var(--bone); border-color: var(--bone); }

/* hidden */
.hidden { display: none !important; }

/* responsive */
@media (max-width: 720px) {
  section { padding: 80px 5vw; }
  .dot-nav { display: none; }
  .audio-toggle { top: 12px; right: 12px; padding: 6px 10px; font-size: 10px; }
  .hero-title { font-size: clamp(72px, 18vw, 180px); }
  .guest-row { grid-template-columns: 1fr 80px 36px; gap: 10px; }
  .hero-title-mega { font-size: clamp(96px, 26vw, 220px); }
  .hero-stamps { gap: 8px; }
  .stamp { padding: 8px 12px; min-width: 80px; }
  .stamp-v { font-size: 18px; }
  .hero-broadcast { padding: 8px 12px; font-size: 9px; }
  .hb-mid { display: none; }
  .hero-countdown { padding: 10px 14px; gap: 8px; }
  .hc-cell b { font-size: 22px; }
  .hero-corner { display: none; }
  .hero-ring-wrap { opacity: 0.55; }
}

/* =================== HERO V2 — kinetic =================== */
#hero {
  background: radial-gradient(ellipse at 50% 35%, #1a0808 0%, #0a0a0a 70%);
}

.hero-bg {
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  filter: grayscale(0.45) contrast(1.25) brightness(0.55) saturate(1.05);
  will-change: transform, opacity;
  z-index: 0;
}
.hero-wash {
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.55) 70%, rgba(0,0,0,0.92) 100%),
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.25) 30%, rgba(10,10,10,0.85) 100%),
    radial-gradient(ellipse at 50% 60%, rgba(200,22,16,0.25) 0%, transparent 55%);
}
.hero-scan {
  z-index: 2;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
  opacity: 0.7;
}

/* spinning marquee rings */
.hero-ring-wrap {
  z-index: 3;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-ring {
  width: min(92vmin, 92vh);
  height: min(92vmin, 92vh);
  display: block;
  filter: drop-shadow(0 0 20px rgba(0,0,0,0.6));
}
.hero-ring.spin-cw { animation: spinCW 38s linear infinite; }
.hero-ring.spin-ccw { animation: spinCCW 64s linear infinite; }
.hero-ring-text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 38px;
  letter-spacing: 0.06em;
  fill: var(--bone);
  opacity: 0.92;
  text-transform: uppercase;
}
.hero-ring-text.small {
  font-size: 24px;
  fill: var(--blood);
  opacity: 0.75;
  font-family: var(--font-mono);
  letter-spacing: 0.2em;
}
@keyframes spinCW { to { transform: rotate(360deg); } }
@keyframes spinCCW { to { transform: rotate(-360deg); } }

/* lightning */
.hero-bolts {
  z-index: 4;
  pointer-events: none;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 60ms;
  mix-blend-mode: screen;
}
.hero-bolts.on { opacity: 0.85; }
.hero-bolts path { filter: drop-shadow(0 0 10px currentColor); }

/* title stack */
.hero-stack {
  z-index: 6;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 4vw;
  text-align: center;
  pointer-events: none;
}
.hero-top-row {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 22px;
  pointer-events: auto;
}

.hero-mis-overline {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: clamp(18px, 1.8vw, 30px);
  font-weight: 700;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--bone);
  margin: 14px 0 32px;
  text-indent: 0.55em;
  text-align: center;
  pointer-events: none;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  position: relative;
  z-index: 4;
}
.hero-title-mega {
  position: relative;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(110px, 26vw, 460px);
  line-height: 0.78;
  letter-spacing: -0.04em;
  white-space: nowrap;
  text-transform: uppercase;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.55));
}
.hero-title-mega .layer {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
}
.hero-title-mega .layer.main {
  position: relative;
  color: var(--bone);
  -webkit-text-stroke: 0;
  z-index: 3;
  text-shadow: 0 0 60px rgba(0,0,0,0.6);
}
.hero-title-mega .layer.back-r {
  color: var(--blood);
  transform: translate(-10px, 8px);
  mix-blend-mode: screen;
  z-index: 1;
  animation: titleSwayR 6s ease-in-out infinite;
}
.hero-title-mega .layer.back-c {
  color: #44e7ff;
  transform: translate(10px, -6px);
  mix-blend-mode: screen;
  opacity: 0.7;
  z-index: 2;
  animation: titleSwayC 6s ease-in-out infinite;
}
@keyframes titleSwayR {
  0%, 100% { transform: translate(-10px, 8px); }
  50% { transform: translate(-14px, 11px); }
}
@keyframes titleSwayC {
  0%, 100% { transform: translate(10px, -6px); }
  50% { transform: translate(14px, -10px); }
}

.hero-undertitle {
  display: flex; align-items: center; gap: 16px;
  margin-top: 14px;
  font-family: var(--font-zine);
  text-transform: uppercase;
  font-size: clamp(13px, 1.4vw, 20px);
  letter-spacing: 0.45em;
  color: var(--bone);
}
.hu-mark {
  display: block;
  width: clamp(40px, 8vw, 120px);
  height: 2px;
  background: var(--blood);
}
.hu-name { white-space: nowrap; }

/* date stamps row */
.hero-stamps {
  display: flex;
  gap: 14px;
  margin-top: 38px;
  flex-wrap: wrap;
  justify-content: center;
  pointer-events: auto;
}
.stamp {
  border: 1.5px solid var(--bone);
  padding: 10px 18px 12px;
  min-width: 110px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(2px);
  text-align: left;
  position: relative;
}
.stamp.blood { border-color: var(--blood); background: rgba(200,22,16,0.18); }
.stamp.ghost { opacity: 0.7; border-style: dashed; }
.stamp-k {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--paper-dim);
  margin-bottom: 4px;
  text-transform: uppercase;
}
.stamp.blood .stamp-k { color: var(--blood); }
.stamp-v {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(20px, 2.2vw, 30px);
  color: var(--bone);
  letter-spacing: 0.02em;
  line-height: 1;
}

/* live broadcast bar */
.hero-broadcast {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 22px;
  background: linear-gradient(180deg, rgba(0,0,0,0.85), rgba(0,0,0,0.4));
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone);
}
.hero-broadcast > div { display: flex; align-items: center; gap: 10px; }
.hb-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blood);
  box-shadow: 0 0 10px var(--blood);
  animation: hbBlink 1.4s steps(2) infinite;
}
.hb-dot.flick { background: #fff; }
.hb-label { color: var(--blood); font-weight: 700; }
.hb-tc { color: var(--paper-dim); letter-spacing: 0.18em; }
.hb-mono { color: var(--paper-dim); }
.hb-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.hb-bars i {
  display: block; width: 3px; background: var(--bone);
  animation: hbBars 1s ease-in-out infinite;
}
.hb-bars i:nth-child(1) { height: 30%; animation-delay: 0s; }
.hb-bars i:nth-child(2) { height: 55%; animation-delay: 0.1s; }
.hb-bars i:nth-child(3) { height: 80%; animation-delay: 0.2s; }
.hb-bars i:nth-child(4) { height: 60%; animation-delay: 0.3s; }
.hb-bars i:nth-child(5) { height: 40%; animation-delay: 0.4s; }
@keyframes hbBars {
  0%, 100% { transform: scaleY(0.8); }
  50% { transform: scaleY(1.4); }
}
@keyframes hbBlink {
  50% { opacity: 0.3; }
}

/* countdown strip */
.hero-countdown {
  position: absolute;
  bottom: 60px; left: 50%;
  transform: translateX(-50%);
  z-index: 7;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.18);
  border-left: 3px solid var(--blood);
  backdrop-filter: blur(2px);
  font-family: var(--font-mono);
  white-space: nowrap;
  max-width: calc(100vw - 24px);
  overflow-x: auto;
}
.hc-label {
  font-size: 10px; letter-spacing: 0.3em; color: var(--blood);
  text-transform: uppercase;
}
.hc-cell {
  display: inline-flex; align-items: baseline; gap: 4px;
}
.hc-cell b {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  color: var(--bone);
  font-variant-numeric: tabular-nums;
}
.hc-cell i {
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--paper-dim);
  text-transform: uppercase;
}
.hc-cell.blink b { animation: hbBlink 1s steps(2) infinite; }
.hc-sep { color: var(--blood); font-weight: 700; font-size: 22px; align-self: center; }
.hc-tail {
  font-size: 9px; letter-spacing: 0.2em;
  color: var(--paper-dim); margin-left: 8px;
  text-transform: uppercase;
}

/* bottom ticker */
.hero-ticker {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 8;
  height: 36px;
  background: var(--blood);
  overflow: hidden;
  display: flex; align-items: center;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.ht-track {
  display: flex; gap: 0;
  white-space: nowrap;
  animation: tickerScroll 32s linear infinite;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--bone);
  text-transform: uppercase;
}
.ht-group {
  display: inline-flex; align-items: center; gap: 14px;
  padding-right: 14px;
}
.ht-dot { color: rgba(255,255,255,0.6); font-size: 10px; }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* corners */
.hero-corner {
  position: absolute;
  z-index: 8;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--bone);
}
.hero-corner.tl { top: 50px; left: 22px; }
.hero-corner.tr { top: 50px; right: 22px; }
.hero-corner.bl { bottom: 56px; left: 22px; flex-direction: column; align-items: flex-start; gap: 4px; }
.corner-stack { display: flex; flex-direction: column; line-height: 1.3; }
.corner-stack.right { text-align: right; }
.corner-stack .dim, .hero-corner .dim { color: var(--paper-dim); font-size: 9px; }
.hero-corner .mono { font-family: var(--font-mono); }

/* =================== DRUM GAME V2 =================== */
.dress-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("assets/bg-dress.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: contrast(1.15) brightness(0.85) saturate(1.05);
  transition: opacity 1.4s ease;
  pointer-events: none;
}
.dress-bg-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(0,0,0,0.0) 0%, rgba(10,10,10,0.45) 70%, rgba(10,10,10,0.80) 100%),
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.15) 30%, rgba(10,10,10,0.15) 70%, rgba(10,10,10,0.65) 100%),
    radial-gradient(ellipse at 70% 40%, rgba(200,22,16,0.12) 0%, transparent 55%);
}
.dress-bg-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' seed='5'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
#drumgame {
  position: relative;
  background: linear-gradient(180deg, var(--ink) 0%, #160806 100%);
}
.ryuk-bleed {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(380px, 42vw, 720px);
  z-index: 1;
  pointer-events: none;
  opacity: 0.92;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.7)) drop-shadow(0 0 40px rgba(200,22,16,0.25));
  animation: ryukSway 7s ease-in-out infinite;
}
.ryuk-bleed img {
  width: 100%;
  height: auto;
  display: block;
}
@keyframes ryukSway {
  0%, 100% { transform: translateY(-50%) rotate(-1deg); }
  50% { transform: translateY(calc(-50% - 6px)) rotate(1deg); }
}

.dg-watermark {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.dg-wm-r, .dg-wm-l {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(280px, 44vw, 720px);
  line-height: 0.8;
  color: var(--ink-2);
  letter-spacing: -0.05em;
  -webkit-text-stroke: 2px rgba(200,22,16,0.18);
  opacity: 0.5;
}
.dg-wm-r { right: -6vw; bottom: -8vw; }
.dg-wm-l { left: -8vw; top: -6vw; opacity: 0.18; }

/* caution scrolling strip */
.dg-caution {
  height: 38px;
  background: repeating-linear-gradient(45deg,
    var(--blood) 0 22px,
    #0a0a0a 22px 44px);
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  overflow: hidden;
  display: flex;
  align-items: center;
  margin: 0 -6vw;
  position: relative;
}
.dg-caution::before, .dg-caution::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}
.dg-caution::before { left: 0; background: linear-gradient(90deg, var(--ink) 0%, transparent 100%); }
.dg-caution::after { right: 0; background: linear-gradient(270deg, var(--ink) 0%, transparent 100%); }
.dg-caution-track {
  display: flex;
  white-space: nowrap;
  animation: tickerScroll 26s linear infinite;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  color: var(--bone);
  letter-spacing: 0.06em;
  text-shadow: 2px 2px 0 #000;
}
.dg-caution-track > span { padding-right: 24px; }

/* layout grid */
.dg-grid { position: relative; z-index: 2; }
.dg-left { flex: 1 1 360px; min-width: 320px; max-width: 460px; }
.dg-right { flex: 1 1 420px; min-width: 360px; }

.dg-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 24px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.45);
  margin-top: 8px;
}

/* stage with corner brackets */
.dg-stage-wrap {
  position: relative;
  padding: 10px;
}
.dg-stage-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 3px solid var(--blood);
  z-index: 3;
}
.dg-stage-corner.tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.dg-stage-corner.tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.dg-stage-corner.bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.dg-stage-corner.br { bottom: 0; right: 0; border-left: none; border-top: none; }

.dg-stage {
  position: relative;
  height: 380px;
  background:
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(255,255,255,0.03) 23px 24px),
    linear-gradient(180deg, #1a1010 0%, var(--ink-2) 60%, #2a0c0c 100%);
  border: 2px solid rgba(255,255,255,0.25);
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(200,22,16,0.18), 0 20px 50px rgba(0,0,0,0.6);
}
.dg-hitline {
  position: absolute;
  left: 0; right: 0; bottom: 50px;
  height: 3px;
  background: var(--blood);
  box-shadow: 0 0 14px var(--blood), 0 0 30px rgba(200,22,16,0.6);
  animation: hitlinePulse 1.2s ease-in-out infinite;
}
@keyframes hitlinePulse {
  0%, 100% { box-shadow: 0 0 14px var(--blood), 0 0 30px rgba(200,22,16,0.6); }
  50% { box-shadow: 0 0 22px var(--blood), 0 0 50px rgba(200,22,16,0.85); }
}

@media (max-width: 720px) {
  .ryuk-bleed { display: none; }
  .dg-stats { grid-template-columns: 1fr 1fr; gap: 14px; padding: 14px; }
  .dg-wm-r, .dg-wm-l { font-size: 200px; }
}
/* ===========================================
   ENTRY GATE — Tap to enter (cinematic intro)
   =========================================== */
.entry-gate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #050505;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6vw;
  overflow: hidden;
  isolation: isolate;
}

/* Layer 0 — background image */
.entry-gate-bg {
  position: absolute;
  inset: 0;
  background: url('assets/bg-intro.jpg') center center / cover no-repeat;
  filter: brightness(0.42) contrast(1.18) saturate(0.65) grayscale(0.18);
  z-index: 0;
  animation: egBgDrift 30s ease-in-out infinite alternate;
}

/* Layer 1 — red wash + dark vignette */
.entry-gate-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(200, 22, 16, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.85) 95%);
  z-index: 1;
  pointer-events: none;
}

/* Layer 2 — scanlines/grain */
.entry-gate-grain {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 3px);
  z-index: 2;
  opacity: 0.55;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Layer 3 — lightning bolts */
.entry-gate-bolts {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.55));
  transition: opacity 60ms ease-out;
}
.entry-gate-bolts.on {
  opacity: 0.7;
}

/* Layer 4 — broadcast bar (top) */
.entry-gate-broadcast {
  position: absolute;
  top: 18px;
  left: 24px;
  right: 24px;
  z-index: 6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--paper-dim, #b8aa90);
  pointer-events: none;
  flex-wrap: wrap;
  gap: 8px;
}
.eg-side {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eg-strong {
  color: var(--blood, #c81610);
  font-weight: 700;
  letter-spacing: 0.3em;
}
.eg-mono {
  font-family: inherit;
  text-transform: uppercase;
}
.eg-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blood, #c81610);
  box-shadow: 0 0 8px rgba(200, 22, 16, 0.8);
  animation: egDotPulse 1.6s ease-in-out infinite;
}
.eg-dot.flick { opacity: 0.3; }
.eg-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}
.eg-bars i {
  display: block;
  width: 2px;
  background: var(--paper-dim, #b8aa90);
}
.eg-bars i:nth-child(1) { height: 30%; animation: egBars 0.9s ease-in-out infinite alternate; }
.eg-bars i:nth-child(2) { height: 55%; animation: egBars 0.7s ease-in-out 0.1s infinite alternate; }
.eg-bars i:nth-child(3) { height: 75%; animation: egBars 0.5s ease-in-out 0.2s infinite alternate; }
.eg-bars i:nth-child(4) { height: 60%; animation: egBars 0.6s ease-in-out 0.3s infinite alternate; }
.eg-bars i:nth-child(5) { height: 40%; animation: egBars 0.8s ease-in-out 0.15s infinite alternate; }

/* Layer 5 — corner decals */
.entry-gate-corner {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--paper, #ede4d3);
  text-transform: uppercase;
  pointer-events: none;
}
.entry-gate-corner.tl { top: 60px; left: 28px; }
.entry-gate-corner.tr { top: 60px; right: 28px; }
.eg-corner-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.eg-corner-stack.right { text-align: right; align-items: flex-end; }
.eg-corner-stack .dim {
  color: var(--paper-dim, #b8aa90);
  opacity: 0.7;
  font-size: 9px;
}

/* Layer 6 — main content */
.entry-gate-content {
  position: relative;
  z-index: 7;
  text-align: center;
  max-width: 880px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.eg-kbd-tag {
  display: inline-block;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--blood, #c81610);
  color: var(--blood, #c81610);
  margin-bottom: 28px;
}

/* Title with chromatic aberration */
.eg-title-wrap {
  position: relative;
  display: inline-block;
  font-family: var(--font-display, 'Big Shoulders Stencil Display', Impact, sans-serif);
  font-weight: 900;
  font-size: clamp(90px, 22vw, 280px);
  line-height: 0.82;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 auto;
}
.eg-title-layer {
  display: block;
}
.eg-title-layer.main {
  position: relative;
  color: var(--paper, #ede4d3);
  text-shadow:
    0 0 40px rgba(200, 22, 16, 0.35),
    0 6px 24px rgba(0, 0, 0, 0.7);
}
.eg-title-layer.back-r {
  position: absolute;
  inset: 0;
  color: var(--blood, #c81610);
  transform: translate(-7px, 5px);
  filter: blur(0.4px);
  mix-blend-mode: screen;
  opacity: 0.95;
}
.eg-title-layer.back-c {
  position: absolute;
  inset: 0;
  color: rgba(255, 255, 255, 0.55);
  transform: translate(7px, -5px);
  filter: blur(0.6px);
  mix-blend-mode: screen;
}

.eg-vol {
  font-family: var(--font-display, 'Big Shoulders Stencil Display', Impact, sans-serif);
  font-size: clamp(28px, 5vw, 56px);
  letter-spacing: 0.15em;
  margin: 6px 0 30px;
  color: var(--paper, #ede4d3);
}
.eg-vol-mark { color: var(--blood, #c81610); margin: 0 14px; }
.eg-vol-num { font-weight: 900; }

.eg-tagline {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--paper-dim, #b8aa90);
  margin: 0 0 38px;
  text-transform: uppercase;
}

.eg-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  padding: 20px 44px;
  letter-spacing: 0.18em;
  cursor: pointer;
  animation: egBtnPulse 1.8s ease-in-out infinite;
}

.eg-btn-wrap {
  position: relative;
  display: inline-block;
}
.eg-goyo {
  position: absolute;
  bottom: calc(100% - 6px);
  left: 50%;
  width: 78px;
  height: auto;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%) translateY(8px);
  z-index: 8;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.55));
  animation:
    goyoAppear 0.6s ease-out 2s forwards,
    goyoBob 3.2s ease-in-out 2.7s infinite;
}
@keyframes goyoAppear {
  to { opacity: 0.95; transform: translateX(-50%) translateY(0); }
}
@keyframes goyoBob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-5px); }
}
@media (max-width: 720px) {
  .eg-goyo { width: 58px; }
}

.eg-warn {
  margin-top: 38px;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--paper-dim, #b8aa90);
  opacity: 0.55;
  text-transform: uppercase;
}

@keyframes egBgDrift {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.06) translate(-1.5%, -1%); }
}
@keyframes egDotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(200, 22, 16, 0.8); }
  50% { opacity: 0.5; box-shadow: 0 0 14px rgba(200, 22, 16, 1); }
}
@keyframes egBars {
  from { transform: scaleY(0.4); transform-origin: bottom; }
  to   { transform: scaleY(1);   transform-origin: bottom; }
}
@keyframes egBtnPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 22, 16, 0.5); }
  50%      { box-shadow: 0 0 0 16px rgba(200, 22, 16, 0); }
}

@media (max-width: 720px) {
  .entry-gate { padding: 14vw 6vw; }
  .entry-gate-broadcast {
    font-size: 9px;
    letter-spacing: 0.18em;
    top: 12px;
    left: 14px;
    right: 14px;
  }
  .entry-gate-broadcast .eg-side.mid { display: none; }
  .entry-gate-corner { display: none; }
  .eg-kbd-tag {
    font-size: 9px;
    letter-spacing: 0.25em;
    padding: 5px 11px;
    margin-bottom: 22px;
  }
  .eg-title-wrap {
    font-size: clamp(72px, 26vw, 160px);
  }
  .eg-title-layer.back-r { transform: translate(-4px, 3px); }
  .eg-title-layer.back-c { transform: translate(4px, -3px); }
  .eg-vol {
    font-size: clamp(22px, 6vw, 40px);
    margin-bottom: 22px;
  }
  .eg-tagline {
    font-size: 10px;
    letter-spacing: 0.22em;
    margin-bottom: 28px;
  }
  .eg-btn {
    font-size: 14px;
    padding: 16px 28px;
  }
  .eg-warn {
    font-size: 9px;
    letter-spacing: 0.22em;
    margin-top: 28px;
  }
}
