:root {
  --bg: #08080a;
  --bg-soft: #111113;
  --card: rgba(255, 255, 255, 0.055);
  --card-strong: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f5f5f5;
  --muted: #a7a29e;
  --soft: #d7d0c8;
  --accent: #ff4d2e;
  --accent-hot: #ff2f1f;
  --yellow: #ffd45a;
  --accent-dark: #9f2718;
  --metal: #8f8b86;
  --max: 1320px;
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 16% 16%, rgba(255, 77, 46, 0.2), transparent 26%),
    radial-gradient(circle at 86% 9%, rgba(255, 212, 90, 0.08), transparent 22%),
    linear-gradient(180deg, #060607 0%, var(--bg) 48%, #101012 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 82%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.028) 0,
    rgba(255, 255, 255, 0.028) 1px,
    transparent 1px,
    transparent 7px
  );
  opacity: 0.23;
  mix-blend-mode: overlay;
}

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

button,
a {
  font: inherit;
}

button {
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: clamp(18px, 3vh, 38px) clamp(22px, 3.2vw, 62px);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 25% 50%, rgba(255, 77, 46, 0.22), transparent 40%),
    radial-gradient(ellipse at 74% 48%, rgba(255, 255, 255, 0.08), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent 45%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  left: -8vw;
  right: -8vw;
  bottom: -18vh;
  z-index: 0;
  height: 42vh;
  background:
    linear-gradient(90deg, transparent, rgba(255, 77, 46, 0.16), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 88px);
  transform: perspective(420px) rotateX(62deg);
  transform-origin: bottom;
  opacity: 0.46;
}

.hero::after {
  inset: 0;
  z-index: 5;
  background: radial-gradient(circle at 48% 48%, rgba(255, 77, 46, 0.28), transparent 34%);
  opacity: 0;
}

.hero.is-sentenced::after {
  animation: hero-impact 520ms ease;
}

@keyframes hero-impact {
  0%, 100% {
    opacity: 0;
  }
  28% {
    opacity: 0.72;
  }
}

.hero-watermark {
  position: absolute;
  left: 50%;
  top: 51%;
  z-index: 0;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.055);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(8rem, 21vw, 22rem);
  line-height: 0.8;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transform: translate(-50%, -50%) rotate(-7deg);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

.hero-rail {
  position: absolute;
  right: clamp(14px, 2vw, 30px);
  top: 50%;
  z-index: 3;
  display: grid;
  gap: 14px;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-rail span {
  writing-mode: vertical-rl;
  padding: 12px 7px;
  border: 1px solid rgba(255, 77, 46, 0.22);
  border-radius: 999px;
  background: rgba(8, 8, 10, 0.42);
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.danmaku-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  opacity: 0.54;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-composite: intersect;
}

.danmaku-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 73% 45%, rgba(11, 11, 13, 0.74), transparent 28%),
    radial-gradient(ellipse at 48% 50%, rgba(11, 11, 13, 0.42), transparent 34%),
    linear-gradient(90deg, rgba(11, 11, 13, 0.16), transparent 30%, transparent 70%, rgba(11, 11, 13, 0.28));
}

.danmaku-item {
  position: absolute;
  left: 0;
  top: var(--top);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.42);
  font-size: var(--size);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.08);
  animation: danmakuMove var(--duration) linear var(--delay) infinite;
  will-change: transform;
}

.danmaku-item.hot {
  color: rgba(255, 77, 46, 0.72);
  text-shadow: 0 0 18px rgba(255, 77, 46, 0.24);
}

.danmaku-item.pill {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
}

.danmaku-item.burst {
  z-index: 3;
  color: rgba(255, 94, 58, 0.86);
  text-shadow: 0 0 22px rgba(255, 77, 46, 0.34);
}

@keyframes danmakuMove {
  from {
    transform: translateX(110vw);
  }
  to {
    transform: translateX(-120vw);
  }
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1760px;
  min-height: calc(100svh - clamp(36px, 6vh, 76px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(560px, 1.18fr) minmax(420px, 0.82fr);
  gap: clamp(34px, 4.4vw, 88px);
  align-items: center;
}

.jail-stage-wrap {
  position: relative;
  min-height: calc(100svh - clamp(56px, 8vh, 110px));
  display: grid;
  align-items: center;
  transform: rotate(-1deg);
}

.jail-stage-wrap::before,
.jail-stage-wrap::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.jail-stage-wrap::before {
  inset: 6% 1% 4%;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), transparent 44%),
    radial-gradient(circle at 50% 50%, rgba(255, 77, 46, 0.12), transparent 54%);
  box-shadow: inset 0 0 70px rgba(255, 77, 46, 0.08);
}

.jail-stage-wrap::after {
  left: 12%;
  right: 12%;
  bottom: 8%;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 77, 46, 0.34);
  filter: blur(28px);
}

.stage-ribbon {
  position: absolute;
  z-index: 4;
  top: clamp(16px, 4vh, 48px);
  left: clamp(10px, 2vw, 24px);
  padding: 10px 15px;
  border: 1px solid rgba(255, 212, 90, 0.5);
  border-radius: 999px;
  background: rgba(8, 8, 10, 0.76);
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(12px);
}

.evidence-slip {
  position: absolute;
  z-index: 1;
  width: clamp(86px, 9vw, 126px);
  aspect-ratio: 0.78 / 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(20, 15, 12, 0.7);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 77, 46, 0.08), transparent 45%),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.045) 0 1px, transparent 1px 8px),
    #efe2ce;
  color: #aa2717;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(1rem, 1.7vw, 1.55rem);
  line-height: 0.9;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.34);
  pointer-events: none;
}

.evidence-slip::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -12px;
  width: 54px;
  height: 22px;
  border-radius: 3px;
  background: rgba(255, 77, 46, 0.72);
  transform: translateX(-50%) rotate(-5deg);
  opacity: 0.76;
}

.evidence-slip-one {
  left: 2%;
  bottom: 16%;
  transform: rotate(-11deg);
}

.evidence-slip-two {
  right: 2%;
  top: 16%;
  transform: rotate(9deg);
}

.jail-stage {
  position: relative;
  isolation: isolate;
  width: min(100%, 58vw, 86svh);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px;
  background:
    radial-gradient(circle at 49% 43%, rgba(255, 77, 46, 0.2), transparent 34%),
    radial-gradient(circle at 50% 68%, rgba(255, 255, 255, 0.09), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
  box-shadow:
    0 52px 130px rgba(0, 0, 0, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    inset 0 0 54px rgba(255, 77, 46, 0.07),
    0 0 125px rgba(255, 77, 46, 0.22);
  transform: translateZ(0);
}

.jail-stage::before {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: -2;
  background:
    radial-gradient(circle, rgba(255, 77, 46, 0.16), transparent 58%),
    conic-gradient(from 120deg, transparent, rgba(255, 255, 255, 0.08), transparent, rgba(255, 77, 46, 0.12), transparent);
  filter: blur(18px);
  animation: slow-aura 8s linear infinite;
}

.jail-stage::after {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  bottom: 7%;
  height: 16%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  filter: blur(22px);
}

@keyframes slow-aura {
  to {
    transform: rotate(360deg);
  }
}

.stage-image {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.cage-empty {
  filter: contrast(1.07) saturate(0.96) drop-shadow(0 24px 34px rgba(0, 0, 0, 0.42));
}

.cat-caged {
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 220ms ease, transform 420ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.cat-caged.is-visible {
  opacity: 1;
  transform: scale(1);
}

.stage-flash {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: radial-gradient(circle at 50% 45%, rgba(255, 77, 46, 0.36), transparent 48%);
  opacity: 0;
}

.lock-bars {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(90deg, transparent 0 13%, rgba(255, 77, 46, 0.88) 13% 14%, transparent 14% 30%, rgba(255, 77, 46, 0.68) 30% 31%, transparent 31% 50%, rgba(255, 77, 46, 0.78) 50% 51%, transparent 51% 70%, rgba(255, 77, 46, 0.68) 70% 71%, transparent 71% 86%, rgba(255, 77, 46, 0.88) 86% 87%, transparent 87%),
    linear-gradient(180deg, transparent 0 18%, rgba(255, 77, 46, 0.58) 18% 19%, transparent 19% 81%, rgba(255, 77, 46, 0.58) 81% 82%, transparent 82%);
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 18px rgba(255, 77, 46, 0.45));
}

.impact-ring {
  position: absolute;
  left: 50%;
  top: 53%;
  z-index: 6;
  width: 26%;
  aspect-ratio: 1 / 1;
  border: 2px solid rgba(255, 77, 46, 0.9);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.42);
  box-shadow: 0 0 34px rgba(255, 77, 46, 0.34), inset 0 0 24px rgba(255, 77, 46, 0.18);
}

.jail-stage.is-locked {
  animation: refined-shake 360ms ease;
}

.jail-stage.is-locked .stage-flash {
  animation: flash 540ms ease;
}

.jail-stage.is-locked .lock-bars {
  animation: lock-bars 620ms ease;
}

.jail-stage.is-locked .impact-ring {
  animation: impact-ring 680ms ease;
}

@keyframes refined-shake {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  25% {
    transform: translate3d(-5px, 2px, 0);
  }
  55% {
    transform: translate3d(4px, -2px, 0);
  }
  78% {
    transform: translate3d(-2px, 1px, 0);
  }
}

@keyframes flash {
  0%, 100% {
    opacity: 0;
  }
  38% {
    opacity: 1;
  }
}

@keyframes lock-bars {
  0%, 100% {
    opacity: 0;
    transform: scaleX(1.12);
  }
  22%, 62% {
    opacity: 0.82;
    transform: scaleX(1);
  }
}

@keyframes impact-ring {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.42);
  }
  22% {
    opacity: 0.92;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2.35);
  }
}

.hero-content {
  display: grid;
  justify-items: start;
  position: relative;
  z-index: 3;
  width: min(100%, 640px);
  padding: clamp(22px, 3vh, 38px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.115), rgba(255, 255, 255, 0.034)),
    radial-gradient(circle at 0 0, rgba(255, 77, 46, 0.17), transparent 38%);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(16px);
}

.hero-chip,
.cta-eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 77, 46, 0.45);
  border-radius: 999px;
  background: rgba(255, 77, 46, 0.09);
  color: #ffb3a4;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(5.8rem, 8.4vw, 9.6rem);
  line-height: 0.82;
  color: #fff7f0;
  text-shadow:
    0 2px 0 rgba(255, 77, 46, 0.7),
    0 18px 44px rgba(0, 0, 0, 0.44),
    0 0 62px rgba(255, 77, 46, 0.32);
}

h2 {
  font-size: clamp(3rem, 6.2vw, 6rem);
  line-height: 0.9;
}

.hero-subtitle {
  max-width: 520px;
  margin: 16px 0 0;
  color: var(--soft);
  font-size: clamp(1.28rem, 1.65vw, 1.72rem);
  line-height: 1.25;
  font-weight: 750;
}

.cat-throw-zone {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin: clamp(24px, 3vh, 34px) 0 4px;
  padding: 12px 16px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
}

.cat-launcher {
  position: relative;
  width: clamp(120px, 8.4vw, 164px);
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.46)) drop-shadow(0 0 20px rgba(255, 77, 46, 0.12));
  transform-origin: 50% 80%;
  animation: cat-idle 1.9s ease-in-out infinite;
}

.cat-launcher::before {
  content: "";
  position: absolute;
  inset: 16%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(255, 77, 46, 0.18);
  box-shadow: 0 0 0 0 rgba(255, 77, 46, 0.35), 0 0 42px rgba(255, 77, 46, 0.24);
  animation: click-pulse 1.35s ease-out infinite;
}

.cat-launcher::after {
  content: "";
  position: absolute;
  inset: 2%;
  z-index: -1;
  border: 1px dashed rgba(255, 77, 46, 0.54);
  border-radius: 50%;
  animation: reticle-spin 4.4s linear infinite;
}

.cat-launcher:hover {
  animation-play-state: paused;
  transform: translateY(-5px) rotate(-3deg) scale(1.04);
}

.cat-launcher:active {
  transform: translateY(3px) scale(0.97);
}

.cat-launcher img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.throw-guide {
  position: relative;
  max-width: 230px;
  padding-left: 44px;
}

.throw-guide::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 32px;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 22px rgba(255, 77, 46, 0.6);
}

.throw-guide::after {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 13px;
  height: 13px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
}

.throw-guide span,
.throw-guide strong {
  display: block;
  text-transform: uppercase;
}

.throw-guide span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.throw-guide strong {
  margin-top: 5px;
  color: var(--text);
  font-size: clamp(1.02rem, 1.1vw, 1.28rem);
  letter-spacing: 0.02em;
}

@keyframes cat-idle {
  0%, 100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-8px) rotate(2deg);
  }
}

@keyframes click-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 77, 46, 0.42), 0 0 42px rgba(255, 77, 46, 0.24);
    opacity: 1;
  }
  100% {
    box-shadow: 0 0 0 28px rgba(255, 77, 46, 0), 0 0 42px rgba(255, 77, 46, 0.18);
    opacity: 0.46;
  }
}

@keyframes reticle-spin {
  to {
    transform: rotate(360deg);
  }
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 2.6vh, 30px);
}

.primary-button,
.ghost-button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.primary-button {
  padding: 19px 34px;
  background:
    linear-gradient(135deg, #ff7a5f 0%, var(--accent) 48%, var(--accent-hot) 100%);
  color: #fff;
  box-shadow: 0 20px 44px rgba(255, 77, 46, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.ghost-button {
  padding: 16px 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.058);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
}

.primary-button:hover {
  box-shadow: 0 22px 48px rgba(255, 77, 46, 0.31);
}

.ghost-button:hover {
  border-color: rgba(255, 77, 46, 0.48);
  background: rgba(255, 255, 255, 0.075);
}

.primary-button:active,
.ghost-button:active {
  transform: translateY(1px);
}

.counter-card {
  width: min(100%, 430px);
  margin-top: clamp(20px, 2.5vh, 26px);
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 77, 46, 0.13), rgba(255, 255, 255, 0.035)),
    #0b0b0d;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 52px rgba(0, 0, 0, 0.28);
}

.hero-twitter {
  margin-top: 14px;
}

.counter-card span,
.counter-card small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.counter-card strong {
  display: block;
  margin: 6px 0 7px;
  color: #fff0e9;
  font-family: "Courier New", Consolas, monospace;
  font-size: clamp(3rem, 3.8vw, 4.5rem);
  line-height: 0.95;
  text-shadow: 0 0 26px rgba(255, 77, 46, 0.28);
}

.counter-card strong.is-bumped {
  animation: count-bump 260ms ease;
}

@keyframes count-bump {
  45% {
    color: #fff;
    transform: scale(1.055);
  }
}

.floating-cat {
  position: fixed;
  z-index: 30;
  width: var(--cat-size, 170px);
  height: var(--cat-size, 170px);
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.42));
  will-change: transform, opacity;
}

.lock-spark {
  position: fixed;
  z-index: 32;
  width: var(--spark-size);
  height: var(--spark-size);
  border-radius: 50%;
  background: var(--spark-color);
  pointer-events: none;
  box-shadow: 0 0 22px var(--spark-color);
  transform: translate(-50%, -50%);
  animation: lock-spark 720ms cubic-bezier(0.18, 0.86, 0.24, 1) forwards;
}

@keyframes lock-spark {
  to {
    opacity: 0;
    transform: translate(calc(-50% + var(--spark-x)), calc(-50% + var(--spark-y))) scale(0.2);
  }
}

.lock-sfx {
  position: fixed;
  z-index: 31;
  pointer-events: none;
  color: #fff8ee;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.5rem, 7vw, 6rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.65), 4px 4px 0 rgba(255, 77, 46, 0.62);
  animation: sfx 760ms cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

@keyframes sfx {
  0% {
    opacity: 0;
    transform: translate(-50%, -42%) scale(0.76);
  }
  26% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -64%) scale(0.98);
  }
}

.case-section,
.token-section {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: clamp(54px, 8vh, 96px) clamp(22px, 3.2vw, 62px);
}

.case-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 77, 46, 0.15), transparent 28%),
    linear-gradient(135deg, rgba(255, 217, 98, 0.075) 0 11%, transparent 11% 88%, rgba(255, 77, 46, 0.09) 88%),
    linear-gradient(180deg, #101012 0%, #0c0c0e 100%);
}

.case-section::before {
  content: "EVIDENCE";
  position: absolute;
  right: -4vw;
  top: 7%;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.06);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(6rem, 16vw, 15rem);
  line-height: 0.8;
  transform: rotate(8deg);
  pointer-events: none;
}

.case-section::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  top: 44%;
  height: 42px;
  pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(255, 212, 90, 0.16) 0 22px, rgba(0, 0, 0, 0.26) 22px 44px);
  transform: rotate(-4deg);
  opacity: 0.42;
}

.section-inner,
.token-grid {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.case-label {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 77, 46, 0.5);
  border-radius: 999px;
  background: rgba(255, 77, 46, 0.12);
  color: #ffb3a4;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading p {
  margin: 16px 0 0;
  color: var(--soft);
  font-size: clamp(1.08rem, 2vw, 1.4rem);
  line-height: 1.35;
  font-weight: 720;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.token-card,
.cta-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.case-card {
  position: relative;
  min-height: 220px;
  padding: clamp(22px, 3.4vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(21, 17, 13, 0.88);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 77, 46, 0.12), transparent 26%),
    linear-gradient(135deg, rgba(255, 77, 46, 0.08), transparent 38%),
    repeating-linear-gradient(0deg, rgba(28, 22, 17, 0.04) 0 1px, transparent 1px 9px),
    #efe3cf;
  color: #171412;
  box-shadow: 10px 12px 0 rgba(0, 0, 0, 0.34), 0 26px 52px rgba(0, 0, 0, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.case-card:nth-child(1) {
  transform: rotate(-0.6deg);
}

.case-card:nth-child(2) {
  transform: rotate(0.5deg);
}

.case-card:nth-child(3) {
  transform: rotate(0.4deg);
}

.case-card:nth-child(4) {
  transform: rotate(-0.5deg);
}

.case-card::before {
  content: "EVIDENCE";
  position: absolute;
  top: 17px;
  right: -28px;
  padding: 7px 36px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: rotate(15deg);
  box-shadow: 0 8px 18px rgba(101, 19, 9, 0.22);
}

.case-card::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  height: 1px;
  background: rgba(28, 22, 17, 0.11);
}

.case-card:hover {
  transform: translateY(-7px) rotate(0deg);
  box-shadow: 10px 17px 0 rgba(0, 0, 0, 0.32), 0 34px 62px rgba(0, 0, 0, 0.32);
}

.case-card span {
  display: block;
  margin-bottom: clamp(34px, 5vw, 54px);
  color: #b82716;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(1.32rem, 2.4vw, 2rem);
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.case-card p {
  position: relative;
  z-index: 1;
  max-width: 440px;
  margin: 0;
  color: #1c1815;
  font-size: clamp(1.26rem, 2vw, 1.65rem);
  line-height: 1.25;
  font-weight: 860;
}

.case-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.54fr);
  gap: clamp(22px, 5vw, 48px);
  align-items: center;
  margin-top: clamp(36px, 6vw, 58px);
}

.case-line {
  margin: 0;
  color: var(--text);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3.2rem, 7vw, 6.6rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.55), 5px 5px 0 rgba(255, 77, 46, 0.58);
}

.case-status {
  display: grid;
  gap: 9px;
  padding: 18px;
  border: 1px solid rgba(255, 77, 46, 0.48);
  border-radius: 16px;
  background:
    linear-gradient(rgba(255, 77, 46, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 77, 46, 0.06) 1px, transparent 1px),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    #0a0a0b;
  background-size: 18px 18px, 18px 18px, auto, auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 22px 44px rgba(0, 0, 0, 0.3), 0 0 36px rgba(255, 77, 46, 0.08);
}

.case-status span {
  padding: 9px 10px;
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: #e9e4de;
  font-family: "Courier New", Consolas, monospace;
  font-size: clamp(0.78rem, 1vw, 0.92rem);
  font-weight: 900;
  line-height: 1.25;
}

.bottom-line {
  margin: clamp(42px, 7vw, 76px) 0 0;
  color: var(--text);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3.4rem, 9vw, 9.2rem);
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
}

.token-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 15%, rgba(255, 77, 46, 0.2), transparent 26%),
    radial-gradient(circle at 17% 90%, rgba(255, 212, 90, 0.08), transparent 24%),
    #0d0d0f;
}

.token-section::before {
  content: "$JAILRKC";
  position: absolute;
  left: 50%;
  bottom: 5%;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.055);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(7rem, 18vw, 18rem);
  line-height: 0.8;
  transform: translateX(-50%);
  white-space: nowrap;
  pointer-events: none;
}

.token-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(290px, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
  align-items: stretch;
}

.token-card {
  display: grid;
  gap: 0;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    #0a0a0c;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.11);
}

.token-card div {
  position: relative;
  padding: clamp(24px, 4vw, 34px);
  border-bottom: 1px solid var(--line);
}

.token-card div::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 24px rgba(255, 77, 46, 0.55);
  transform: translateY(-50%);
}

.token-card div:last-child {
  border-bottom: 0;
}

.token-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.token-card strong {
  color: var(--text);
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
  overflow-wrap: anywhere;
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 54px);
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 77, 46, 0.28), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    #0b0b0d;
  box-shadow: 0 32px 76px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.cta-card::after {
  content: "LOCK";
  position: absolute;
  right: -8px;
  bottom: -16px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 77, 46, 0.16);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(5rem, 10vw, 10rem);
  line-height: 0.8;
  pointer-events: none;
}

.cta-card p {
  max-width: 540px;
  margin: 20px 0 0;
  color: var(--soft);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.35;
  font-weight: 730;
}

.cta-stamp {
  position: absolute;
  right: clamp(24px, 4vw, 52px);
  top: clamp(24px, 4vw, 46px);
  z-index: 1;
  padding: 10px 14px;
  border: 4px solid rgba(255, 77, 46, 0.78);
  border-radius: 10px;
  color: rgba(255, 111, 82, 0.92);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(1.3rem, 2.8vw, 2.4rem);
  line-height: 0.9;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transform: rotate(7deg);
  box-shadow: 0 0 28px rgba(255, 77, 46, 0.12);
}

.feedback {
  min-height: 24px;
  margin: 18px 0 0;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 850;
}

.bottom-line {
  width: min(100%, var(--max));
  margin-left: auto;
  margin-right: auto;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 245, 245, 0.8);
  text-shadow: 0 0 32px rgba(255, 77, 46, 0.14);
}

.site-footer {
  padding: 30px 20px 36px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 77, 46, 0.1), transparent 28%, transparent 72%, rgba(255, 212, 90, 0.055)),
    #09090a;
  color: var(--muted);
}

.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.footer-inner strong {
  color: var(--text);
  font-size: 1rem;
  letter-spacing: 0.12em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  font-size: 0.92rem;
  font-weight: 760;
}

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

.site-footer p {
  width: min(100%, var(--max));
  margin: 18px auto 0;
  font-size: 0.88rem;
}

@media (max-width: 920px) {
  .hero {
    align-items: start;
    padding-top: 34px;
  }

  .hero-grid,
  .token-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    order: -1;
    justify-items: center;
    text-align: center;
    width: min(100%, 620px);
    margin: 0 auto;
  }

  .hero-rail,
  .evidence-slip {
    display: none;
  }

  .hero-actions,
  .cta-actions {
    justify-content: center;
  }

  .cat-throw-zone {
    justify-content: center;
    grid-template-columns: auto;
    gap: 12px;
  }

  .throw-guide {
    max-width: none;
    padding: 0;
    text-align: center;
  }

  .stage-ribbon {
    left: 50%;
    transform: translateX(-50%);
  }

  .throw-guide::before,
  .throw-guide::after {
    display: none;
  }

  .counter-card {
    text-align: left;
  }

  .jail-stage {
    width: min(100%, 680px);
  }

  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-card {
    min-height: 132px;
  }

  .case-card span {
    margin-bottom: 22px;
  }

  .case-bottom {
    grid-template-columns: 1fr;
  }

  .case-status {
    max-width: 460px;
  }
}

@media (max-width: 720px) {
  .case-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 100svh;
    padding-bottom: 70px;
  }

  h1 {
    font-size: clamp(4.45rem, 21vw, 6.7rem);
  }

  h2 {
    font-size: clamp(2.7rem, 14vw, 4.2rem);
  }

  .hero-subtitle {
    font-size: 1.18rem;
  }

  .danmaku-layer {
    opacity: 0.4;
  }

  .danmaku-item {
    font-size: min(var(--size), 13px);
  }

  .hero-actions,
  .cta-actions {
    width: 100%;
  }

  .primary-button,
  .ghost-button {
    width: 100%;
  }

  .counter-card {
    width: 100%;
  }

  .hero-content {
    padding: 20px;
    border-radius: 24px;
  }

  .cat-throw-zone {
    width: 100%;
    border-radius: 24px;
  }

  .cat-launcher {
    width: 126px;
  }

  .jail-stage {
    border-radius: 18px;
  }

  .case-card {
    transform: rotate(0) !important;
  }

  .section-heading,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-stamp {
    position: relative;
    top: auto;
    right: auto;
    width: max-content;
    margin-top: 20px;
    transform: rotate(-4deg);
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
