:root {
  --black: #050008;
  --white: #f7f7ee;
  --purple: #25007a;
  --hot-pink: #ff1493;
  --orange: #ff7400;
  --green: #23ff2f;
  --blue: #00a6ff;
  --yellow: #ffd21a;
  --red: #ff1f1f;
  --ink: #111;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  font-family: "Anton", Impact, sans-serif;
  text-transform: uppercase;
  background:
    linear-gradient(90deg, rgba(255, 20, 147, 0.08) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(rgba(0, 166, 255, 0.08) 1px, transparent 1px) 0 0 / 46px 46px,
    var(--black);
}

body.entrance-locked {
  overflow: hidden;
}

button {
  font: inherit;
}

.noise,
.scanlines {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
}

.noise {
  opacity: 0.28;
  background-image:
    radial-gradient(var(--white) 1px, transparent 1px),
    radial-gradient(var(--hot-pink) 1px, transparent 1px),
    radial-gradient(var(--blue) 1px, transparent 1px);
  background-position:
    0 0,
    12px 18px,
    25px 4px;
  background-size:
    7px 7px,
    11px 11px,
    13px 13px;
  mix-blend-mode: screen;
  animation: static-pop 0.25s steps(2) infinite;
}

.scanlines {
  opacity: 0.22;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.08) 0,
    rgba(255, 255, 255, 0.08) 1px,
    transparent 1px,
    transparent 5px
  );
}

.enter-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    repeating-conic-gradient(from 45deg, #090013 0 25%, #210070 0 50%) 0 0 / 44px 44px,
    var(--black);
}

.enter-screen.is-hidden {
  display: none;
}

.enter-card {
  width: min(640px, 100%);
  padding: clamp(28px, 5vw, 58px);
  border: 8px solid var(--white);
  color: var(--black);
  text-align: center;
  background: var(--yellow);
  box-shadow:
    14px 14px 0 var(--hot-pink),
    -14px -14px 0 var(--blue),
    0 0 0 18px var(--black);
  animation: danger-pulse 0.9s steps(2) infinite;
}

.enter-card h1 {
  margin: 18px 0 28px;
  color: var(--hot-pink);
  font-size: clamp(5.6rem, 17vw, 12rem);
  line-height: 0.78;
  letter-spacing: -0.08em;
  text-shadow:
    8px 8px 0 var(--black),
    15px 15px 0 var(--green);
}

.tiny-alert,
.micro-label,
.card-kicker,
.footer-strip,
.ticker-strip,
.sound-toggle {
  font-family: "Press Start 2P", system-ui, sans-serif;
}

.tiny-alert {
  margin: 0;
  color: var(--ink);
  font-size: clamp(0.7rem, 1.7vw, 0.95rem);
  line-height: 1.6;
}

.enter-button {
  width: min(420px, 100%);
  padding: 22px 16px;
  border: 6px solid var(--black);
  color: var(--white);
  cursor: pointer;
  background: var(--hot-pink);
  box-shadow: 8px 8px 0 var(--black);
  font-size: clamp(1.4rem, 5vw, 4rem);
  letter-spacing: 0.02em;
  transform: rotate(-1deg);
}

.enter-button:hover,
.enter-button:focus-visible {
  color: var(--black);
  background: var(--green);
  transform: rotate(1deg) scale(1.02);
}

.page-shell {
  visibility: hidden;
  min-height: 100vh;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96);
  transition:
    opacity 180ms linear,
    transform 180ms linear;
}

.page-shell.is-live {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.top-bar,
.footer-strip {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  border-block: 6px solid var(--white);
  color: var(--yellow);
  background: var(--purple);
}

.top-bar {
  position: sticky;
  top: 0;
  z-index: 60;
  min-height: 62px;
}

.ticker-strip {
  display: flex;
  flex: 1;
  gap: 30px;
  overflow: hidden;
  white-space: nowrap;
  font-size: clamp(0.65rem, 1.4vw, 1rem);
  animation: ticker-shove 5s linear infinite;
}

.ticker-strip span {
  flex: 0 0 auto;
  color: var(--yellow);
  text-shadow: 3px 3px 0 var(--hot-pink);
}

.sound-toggle {
  flex: 0 0 auto;
  margin-right: 8px;
  padding: 12px 14px;
  border: 4px solid var(--white);
  color: var(--black);
  cursor: pointer;
  background: var(--green);
  box-shadow: 5px 5px 0 var(--hot-pink);
  font-size: 0.65rem;
}

.sound-toggle.is-muted {
  background: var(--red);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(42px, 92px) minmax(0, 1fr) minmax(120px, 220px);
  align-items: center;
  gap: clamp(8px, 2vw, 24px);
  min-height: calc(100svh - 62px);
  padding: clamp(12px, 2.4vw, 30px);
  overflow: hidden;
  background:
    linear-gradient(135deg, transparent 0 48%, var(--purple) 48% 52%, transparent 52% 100%) 0 0 / 72px 72px,
    var(--black);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border: 10px solid var(--yellow);
  background: var(--hot-pink);
  clip-path: polygon(50% 0, 60% 35%, 100% 50%, 60% 65%, 50% 100%, 40% 65%, 0 50%, 40% 35%);
  animation: snap-spin 1.7s steps(8) infinite;
}

.hero::before {
  top: 11%;
  right: 10%;
  width: 88px;
  height: 88px;
}

.hero::after {
  bottom: 8%;
  left: 15%;
  width: 58px;
  height: 58px;
  background: var(--green);
  animation-direction: reverse;
}

.side-stack {
  display: grid;
  align-content: center;
  gap: 6px;
}

.side-stack span {
  display: grid;
  place-items: center;
  border: 6px solid var(--black);
  color: var(--black);
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.82;
  text-shadow: 4px 4px 0 var(--white);
  box-shadow: 8px 8px 0 var(--black);
}

.side-stack span:nth-child(1) {
  background: var(--orange);
}

.side-stack span:nth-child(2) {
  background: var(--green);
}

.side-stack span:nth-child(3) {
  background: var(--blue);
}

.side-stack span:nth-child(4) {
  background: #7a1cff;
}

.side-stack span:nth-child(5) {
  background: var(--hot-pink);
}

.hero-center {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  gap: clamp(8px, 1.4vw, 14px);
  text-align: center;
}

.micro-label {
  margin: 0;
  padding: 12px 16px;
  border: 4px dashed var(--yellow);
  color: var(--green);
  background: var(--black);
  font-size: clamp(0.7rem, 1.4vw, 1rem);
  transform: rotate(-2deg);
}

.main-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.04em 0.14em;
  margin: 0;
  color: var(--white);
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.84;
  letter-spacing: -0.06em;
  text-shadow:
    6px 6px 0 var(--black),
    11px 11px 0 var(--hot-pink),
    -6px -6px 0 var(--blue);
  animation: title-slam 0.8s steps(2) infinite;
}

.ton-hit {
  color: var(--yellow);
  text-shadow:
    6px 6px 0 var(--black),
    12px 12px 0 var(--green),
    -7px -7px 0 var(--hot-pink);
}

.poster-smash {
  position: relative;
  width: min(520px, 54vw);
  margin: 0 auto;
  border: 8px solid var(--white);
  background: var(--black);
  box-shadow:
    12px 12px 0 var(--yellow),
    -12px -12px 0 var(--hot-pink);
  transform: rotate(-1deg);
}

.poster-smash img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 0.56;
  object-fit: cover;
  filter: contrast(1.3) saturate(1.35);
}

.warning-stamp {
  position: absolute;
  right: -12px;
  bottom: -12px;
  padding: 10px 14px;
  border: 6px solid var(--black);
  color: var(--black);
  background: var(--orange);
  box-shadow: 6px 6px 0 var(--white);
  font-size: clamp(1.1rem, 3vw, 2.4rem);
  transform: rotate(6deg);
}

.ca-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  width: min(760px, 100%);
  border: 6px solid var(--white);
  color: var(--black);
  background: var(--yellow);
  box-shadow: 8px 8px 0 var(--hot-pink);
  transform: rotate(1deg);
}

.ca-box span,
.ca-box code,
.ca-box button {
  padding: 14px 16px;
}

.ca-box span,
.ca-box button {
  font-family: "Press Start 2P", system-ui, sans-serif;
  font-size: clamp(0.65rem, 1.3vw, 0.9rem);
}

.ca-box span {
  color: var(--white);
  background: var(--black);
}

.ca-box code {
  overflow: hidden;
  color: var(--black);
  font-family: "Press Start 2P", system-ui, sans-serif;
  font-size: clamp(0.65rem, 1.25vw, 0.9rem);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ca-box button {
  border: 0;
  border-left: 6px solid var(--black);
  color: var(--white);
  cursor: pointer;
  background: var(--hot-pink);
}

.ca-box button:hover,
.ca-box button:focus-visible {
  color: var(--black);
  background: var(--green);
}

.tagline {
  max-width: 720px;
  margin: 0;
  padding: 10px 14px;
  border: 5px solid var(--white);
  color: var(--black);
  background: var(--green);
  font-size: clamp(1rem, 2.4vw, 2.4rem);
  line-height: 1;
  box-shadow: 8px 8px 0 var(--hot-pink);
}

.sixty-seven {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

.sixty-seven::before {
  content: "";
  position: absolute;
  width: min(24vw, 250px);
  height: min(24vw, 250px);
  background: var(--yellow);
  clip-path: polygon(
    50% 0,
    60% 28%,
    88% 14%,
    72% 42%,
    100% 50%,
    72% 58%,
    88% 86%,
    60% 72%,
    50% 100%,
    40% 72%,
    12% 86%,
    28% 58%,
    0 50%,
    28% 42%,
    12% 14%,
    40% 28%
  );
  animation: danger-pulse 0.55s steps(2) infinite;
}

.sixty-seven span {
  position: relative;
  color: var(--hot-pink);
  font-size: clamp(5.6rem, 14vw, 13rem);
  line-height: 0.8;
  letter-spacing: -0.14em;
  text-shadow:
    8px 8px 0 var(--black),
    16px 16px 0 var(--green);
}

.sixty-seven span:last-child {
  color: var(--green);
  transform: rotate(4deg);
}

.meme-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(160px, 1fr));
  border-block: 8px solid var(--white);
}

.meme-card {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 18px;
  border-right: 6px solid var(--black);
  color: var(--black);
  background: var(--yellow);
  box-shadow: inset 0 0 0 7px rgba(0, 0, 0, 0.28);
}

.meme-card:nth-child(even) {
  transform: skewY(-2deg);
}

.card-kicker {
  display: inline-block;
  padding: 8px;
  border: 4px solid var(--black);
  color: var(--white);
  background: var(--black);
  font-size: 0.65rem;
}

.meme-card h2 {
  margin: 0;
  font-size: clamp(3.4rem, 7vw, 7.4rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  text-shadow:
    5px 5px 0 var(--white),
    10px 10px 0 rgba(0, 0, 0, 0.25);
}

.giga {
  background: var(--white);
}

.trump {
  background: var(--orange);
}

.troll {
  background: var(--green);
}

.fart {
  background: var(--yellow);
}

.inu {
  background: var(--blue);
}

.ton {
  background: var(--hot-pink);
}

.blast-zone {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 78vh;
  padding: 40px 18px;
  overflow: hidden;
  text-align: center;
  background:
    repeating-linear-gradient(0deg, transparent 0 21px, rgba(35, 255, 47, 0.2) 21px 24px),
    var(--purple);
}

.burst {
  position: absolute;
  width: min(82vw, 850px);
  height: min(82vw, 850px);
  background: var(--yellow);
  clip-path: polygon(
    50% 0,
    56% 30%,
    72% 6%,
    67% 36%,
    96% 24%,
    72% 46%,
    100% 50%,
    72% 54%,
    96% 76%,
    67% 64%,
    72% 94%,
    56% 70%,
    50% 100%,
    44% 70%,
    28% 94%,
    33% 64%,
    4% 76%,
    28% 54%,
    0 50%,
    28% 46%,
    4% 24%,
    33% 36%,
    28% 6%,
    44% 30%
  );
  animation: snap-spin 8s steps(16) infinite;
}

.blast-zone h2,
.blast-zone p {
  position: relative;
  z-index: 2;
}

.blast-zone h2 {
  margin: 0;
  color: var(--hot-pink);
  font-size: clamp(8rem, 28vw, 26rem);
  line-height: 0.8;
  text-shadow:
    10px 10px 0 var(--black),
    20px 20px 0 var(--green),
    -14px -14px 0 var(--blue);
  animation: title-slam 0.55s steps(2) infinite;
}

.blast-zone p {
  max-width: 980px;
  margin: 0;
  padding: 14px 18px;
  border: 6px solid var(--black);
  color: var(--black);
  background: var(--white);
  box-shadow: 10px 10px 0 var(--hot-pink);
  font-size: clamp(1.4rem, 4vw, 4.5rem);
  line-height: 0.95;
}

.footer-strip {
  justify-content: center;
  flex-wrap: wrap;
  padding: 16px;
  font-size: clamp(0.65rem, 1.4vw, 1rem);
}

.footer-strip span {
  padding: 8px 10px;
  color: var(--black);
  background: var(--yellow);
}

@keyframes static-pop {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(3px, -2px);
  }
}

@keyframes danger-pulse {
  0%,
  100% {
    filter: saturate(1);
  }

  50% {
    filter: saturate(2.2) contrast(1.3);
  }
}

@keyframes ticker-shove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-340px);
  }
}

@keyframes title-slam {
  0%,
  100% {
    transform: translate(0, 0) skewX(0);
  }

  50% {
    transform: translate(4px, -3px) skewX(-2deg);
  }
}

@keyframes snap-spin {
  to {
    transform: rotate(1turn);
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 58px 1fr;
  }

  .poster-smash {
    width: min(520px, 72vw);
  }

  .sixty-seven {
    grid-column: 1 / -1;
    min-height: 150px;
  }

  .sixty-seven::before {
    width: 180px;
    height: 180px;
  }

  .meme-grid {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }
}

@media (max-width: 640px) {
  .top-bar {
    align-items: center;
    flex-direction: row;
    min-height: 48px;
    padding-bottom: 0;
  }

  .ticker-strip {
    padding-top: 0;
    font-size: 0.58rem;
  }

  .sound-toggle {
    align-self: auto;
    margin: 0 6px 0 0;
    padding: 9px 10px;
    font-size: 0.55rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: calc(100svh - 48px);
    padding: 10px 14px;
    overflow: hidden;
  }

  .side-stack {
    display: none;
  }

  .main-title {
    font-size: clamp(2.7rem, 11.5vw, 4.2rem);
    text-shadow:
      4px 4px 0 var(--black),
      7px 7px 0 var(--hot-pink),
      -4px -4px 0 var(--blue);
  }

  .poster-smash {
    width: min(460px, 82vw);
    margin-top: 0;
    border-width: 6px;
    box-shadow:
      8px 8px 0 var(--yellow),
      -8px -8px 0 var(--hot-pink);
  }

  .warning-stamp {
    right: -9px;
    bottom: -9px;
    padding: 8px 10px;
    border-width: 4px;
    font-size: clamp(0.95rem, 4vw, 1.6rem);
  }

  .sixty-seven {
    display: none;
  }

  .ca-box {
    grid-template-columns: auto minmax(0, 1fr) auto;
    width: min(460px, 82vw);
    border-width: 5px;
    box-shadow: 6px 6px 0 var(--hot-pink);
  }

  .ca-box span,
  .ca-box code,
  .ca-box button {
    padding: 10px 8px;
    font-size: 0.55rem;
  }

  .ca-box button {
    border-top: 0;
    border-left: 5px solid var(--black);
  }

  .tagline {
    max-width: min(460px, 82vw);
    padding: 8px 10px;
    font-size: clamp(0.9rem, 4.6vw, 1.35rem);
  }

  .meme-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
