@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Permanent+Marker&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --purple: #6f2cff;
  --hot-pink: #ff3aa7;
  --lime: #b7ff34;
  --yellow: #ffe74a;
  --cyan: #35e7ff;
  --orange: #ff7a28;
  --navy: #11133b;
  --ink: #08091d;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--white);
  font-family: "Space Grotesk", Arial, sans-serif;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,58,167,.32), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(53,231,255,.28), transparent 25%),
    linear-gradient(135deg, #151756 0%, #55218f 48%, #10275c 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 38px 38px;
}

.game-arena {
  position: relative;
  z-index: 2;
  width: min(1100px, 94%);
  margin: 0 auto;
  padding: 48px 0 70px;
}

.hero {
  text-align: center;
}

.presents {
  display: inline-block;
  margin: 24px 0 16px;
  padding: 9px 20px;
  color: var(--ink);
  background: var(--lime);
  border: 4px solid var(--ink);
  box-shadow: 6px 6px 0 var(--hot-pink);
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(.8rem, 2vw, 1rem);
  letter-spacing: .16em;
  transform: rotate(-2deg);
}

.game-show-frame {
  position: relative;
  overflow: hidden;
  padding: 62px 38px 54px;
  border: 8px solid var(--yellow);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(13,14,54,.97), rgba(42,20,91,.97));
  box-shadow:
    0 0 0 8px var(--hot-pink),
    0 0 0 14px var(--cyan),
    18px 22px 0 rgba(0,0,0,.32);
}

.game-show-frame::before,
.game-show-frame::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border: 22px solid var(--lime);
  border-radius: 50%;
  opacity: .16;
}

.game-show-frame::before {
  top: -90px;
  left: -80px;
}

.game-show-frame::after {
  right: -85px;
  bottom: -95px;
  border-color: var(--hot-pink);
}

.challenge-kicker {
  margin: 0;
  color: var(--yellow);
  font-family: "Permanent Marker", cursive;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  transform: rotate(-3deg);
}

h1 {
  margin: 0;
  line-height: .92;
  text-transform: uppercase;
}

.amount {
  display: block;
  color: var(--yellow);
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(4rem, 12vw, 8.5rem);
  letter-spacing: -.06em;
  text-shadow:
    5px 5px 0 var(--orange),
    10px 10px 0 var(--hot-pink),
    14px 14px 0 rgba(0,0,0,.28);
}

.challenge-title {
  display: block;
  margin-top: 12px;
  color: var(--white);
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2.6rem, 8vw, 6rem);
  letter-spacing: -.04em;
  text-shadow: 5px 5px 0 var(--purple);
}

.challenge-word {
  color: var(--lime);
  transform: rotate(-1deg);
}

.mission-card {
  width: min(720px, 92%);
  margin: 38px auto 30px;
  padding: 22px 26px;
  color: var(--ink);
  background: var(--cyan);
  border: 5px solid var(--white);
  box-shadow: 8px 8px 0 var(--purple);
  transform: rotate(.5deg);
}

.mission-label {
  display: inline-block;
  margin-bottom: 7px;
  font-family: "Archivo Black", sans-serif;
  font-size: .9rem;
  letter-spacing: .13em;
}

.mission-card p {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 700;
  line-height: 1.45;
}

.stats {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 20px;
  width: min(650px, 95%);
  margin: 30px auto;
}

.stat {
  flex: 1;
  padding: 15px;
  border: 3px solid var(--yellow);
  background: rgba(255,255,255,.07);
}

.stat-label {
  display: block;
  margin-bottom: 5px;
  color: var(--cyan);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
}

.stat strong {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1rem, 3vw, 1.4rem);
}

.stat-divider {
  align-self: center;
  color: var(--yellow);
  font-size: 2rem;
}

.enter-button {
  position: relative;
  z-index: 4;
  display: block;
  width: min(520px, 94%);
  margin: 34px auto 12px;
  padding: 18px 24px 20px;
  border: 5px solid var(--white);
  border-radius: 12px;
  color: var(--ink);
  background: var(--lime);
  box-shadow:
    0 8px 0 #4f8f0e,
    0 13px 0 rgba(0,0,0,.32);
  cursor: pointer;
  text-transform: uppercase;
  transition: transform .15s ease, box-shadow .15s ease;
}

.enter-button:hover {
  transform: translateY(-3px) rotate(-1deg);
  box-shadow:
    0 11px 0 #4f8f0e,
    0 16px 0 rgba(0,0,0,.32);
}

.enter-button:active {
  transform: translateY(6px);
  box-shadow:
    0 2px 0 #4f8f0e,
    0 5px 0 rgba(0,0,0,.32);
}

.button-small {
  display: block;
  margin-bottom: 4px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
}

.button-main {
  display: block;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.15rem, 4vw, 1.8rem);
}

.press-start {
  margin: 22px 0 0;
  color: var(--yellow);
  font-family: monospace;
  font-weight: 700;
  letter-spacing: .12em;
  animation: blink 1.15s steps(2) infinite;
}

.checker-strip {
  height: 22px;
  border: 3px solid var(--ink);
  background-color: var(--white);
  background-image:
    linear-gradient(45deg, var(--ink) 25%, transparent 25%),
    linear-gradient(-45deg, var(--ink) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--ink) 75%),
    linear-gradient(-45deg, transparent 75%, var(--ink) 75%);
  background-size: 24px 24px;
  background-position: 0 0, 0 12px, 12px -12px, -12px 0;
}

.checker-bottom {
  margin-top: 28px;
}

.bulbs {
  position: absolute;
  left: 5%;
  right: 5%;
  display: flex;
  justify-content: space-between;
}

.bulbs-top {
  top: 18px;
}

.bulbs-bottom {
  bottom: 18px;
}

.bulbs span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 12px var(--yellow);
  animation: bulbFlash 1s infinite alternate;
}

.bulbs span:nth-child(even) {
  background: var(--hot-pink);
  box-shadow: 0 0 12px var(--hot-pink);
  animation-delay: .25s;
}

.bulbs span:nth-child(3n) {
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation-delay: .5s;
}

/* Memphis chaos */

.shape {
  position: fixed;
  z-index: 1;
  pointer-events: none;
  opacity: .75;
}

.shape-circle {
  top: 10%;
  left: 3%;
  width: 90px;
  height: 90px;
  border: 15px solid var(--yellow);
  border-radius: 50%;
  animation: floaty 5s ease-in-out infinite;
}

.shape-square {
  right: 3%;
  bottom: 9%;
  width: 78px;
  height: 78px;
  border: 13px solid var(--lime);
  transform: rotate(22deg);
  animation: spinSlow 10s linear infinite;
}

.shape-triangle {
  top: 16%;
  right: 4%;
  width: 0;
  height: 0;
  border-left: 48px solid transparent;
  border-right: 48px solid transparent;
  border-bottom: 82px solid var(--hot-pink);
  transform: rotate(18deg);
}

.shape-zigzag {
  left: 3%;
  bottom: 13%;
  color: var(--cyan);
  font-family: "Permanent Marker", cursive;
  font-size: 7rem;
  transform: rotate(-25deg);
}

@keyframes blink {
  50% { opacity: .25; }
}

@keyframes bulbFlash {
  from { opacity: .35; transform: scale(.85); }
  to { opacity: 1; transform: scale(1.15); }
}

@keyframes floaty {
  50% { transform: translateY(22px) rotate(12deg); }
}

@keyframes spinSlow {
  to { transform: rotate(382deg); }
}

@media (max-width: 650px) {
  .game-arena {
    width: 92%;
    padding-top: 28px;
  }

  .game-show-frame {
    padding: 55px 16px 48px;
    border-width: 5px;
    box-shadow:
      0 0 0 5px var(--hot-pink),
      0 0 0 9px var(--cyan),
      10px 14px 0 rgba(0,0,0,.3);
  }

  .stats {
    flex-direction: column;
    gap: 10px;
  }

  .stat-divider {
    display: none;
  }

  .shape {
    opacity: .25;
  }
}

/* =========================================================
   START THE SHOW
   ========================================================= */

.start-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,58,167,.38), transparent 28%),
    radial-gradient(circle at 80% 75%, rgba(53,231,255,.32), transparent 28%),
    #101247;
  transition: opacity .45s ease, visibility .45s ease;
}

.start-overlay.show-started {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.start-box {
  width: min(620px, 94vw);
  text-align: center;
}

.start-eyebrow {
  display: inline-block;
  margin-bottom: 28px;
  padding: 9px 18px;
  border: 4px solid var(--ink);
  background: var(--lime);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--hot-pink);
  font-family: "Archivo Black", sans-serif;
  letter-spacing: .14em;
  transform: rotate(-2deg);
}

.start-tv {
  position: relative;
  padding: 42px 24px;
  border: 8px solid var(--yellow);
  border-radius: 26px;
  background: var(--ink);
  box-shadow:
    0 0 0 8px var(--hot-pink),
    0 0 0 14px var(--cyan),
    15px 18px 0 rgba(0,0,0,.32);
}

.start-tv::after {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 4px,
    rgba(255,255,255,.035) 5px
  );
}

.start-small {
  position: relative;
  z-index: 2;
  display: block;
  margin-bottom: 12px;
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: .18em;
}

.start-tv strong {
  position: relative;
  z-index: 2;
  display: block;
  color: var(--yellow);
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2.4rem, 8vw, 5rem);
  line-height: .95;
  text-shadow:
    4px 4px 0 var(--orange),
    8px 8px 0 var(--hot-pink);
}

.start-box > p {
  margin: 32px 0 18px;
  font-family: "Permanent Marker", cursive;
  font-size: 1.35rem;
  color: var(--white);
}

.start-show-button {
  display: block;
  width: min(390px, 90%);
  margin: 0 auto;
  padding: 18px 22px;
  border: 5px solid var(--white);
  border-radius: 12px;
  background: var(--lime);
  color: var(--ink);
  box-shadow:
    0 8px 0 #4f8f0e,
    0 13px 0 rgba(0,0,0,.32);
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.15rem, 4vw, 1.55rem);
  cursor: pointer;
  animation: startPulse 1.3s ease-in-out infinite;
}

.start-show-button span {
  margin-right: 8px;
}

.start-show-button:active {
  transform: translateY(6px);
  box-shadow:
    0 2px 0 #4f8f0e,
    0 5px 0 rgba(0,0,0,.32);
}

.start-box small {
  display: block;
  margin-top: 22px;
  opacity: .7;
  font-weight: 700;
  letter-spacing: .06em;
}

@keyframes startPulse {
  50% {
    transform: scale(1.035);
    filter: brightness(1.12);
  }
}

/* =========================================================
   ROUND 2 — KIDZ-O-METER 7500
   ========================================================= */

.meter-section {
  position: relative;
  padding: 110px 0 90px;
  text-align: center;
}

.round-banner {
  display: inline-block;
  margin-bottom: 18px;
  padding: 13px 26px;
  border: 5px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 7px 7px 0 var(--hot-pink);
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.2rem, 4vw, 2rem);
  transform: rotate(-1deg);
}

.round-banner span {
  display: block;
  margin-bottom: 3px;
  color: var(--purple);
  font-size: .7rem;
  letter-spacing: .2em;
}

.meter-intro {
  margin: 18px auto 36px;
  color: var(--lime);
  font-family: "Permanent Marker", cursive;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
}

.meter-machine {
  position: relative;
  width: min(900px, 96%);
  margin: 0 auto;
  padding: 58px 45px 46px;
  border: 8px solid var(--cyan);
  border-radius: 30px;
  background:
    linear-gradient(145deg, #101333, #32175d);
  box-shadow:
    0 0 0 8px var(--purple),
    0 0 0 14px var(--hot-pink),
    18px 20px 0 rgba(0,0,0,.32);
}

.machine-lights {
  position: absolute;
  top: 17px;
  left: 6%;
  right: 6%;
  display: flex;
  justify-content: space-between;
}

.machine-lights i {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 15px var(--yellow);
  animation: meterBulb .8s infinite alternate;
}

.machine-lights i:nth-child(even) {
  background: var(--lime);
  box-shadow: 0 0 15px var(--lime);
  animation-delay: .2s;
}

.machine-lights i:nth-child(3n) {
  background: var(--hot-pink);
  box-shadow: 0 0 15px var(--hot-pink);
  animation-delay: .4s;
}

.scoreboard {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 18px;
  margin-bottom: 46px;
}

.score-box {
  flex: 1;
  padding: 22px 15px;
  border: 5px solid var(--yellow);
  background: #070a18;
  box-shadow: inset 0 0 25px rgba(53,231,255,.12);
}

.score-box span {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.score-box strong {
  display: block;
  color: var(--yellow);
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  line-height: 1;
  text-shadow: 3px 3px 0 var(--hot-pink);
}

.score-vs {
  align-self: center;
  color: var(--lime);
  font-family: "Permanent Marker", cursive;
  font-size: 2rem;
  transform: rotate(-8deg);
}

.meter-track {
  position: relative;
  height: 72px;
  margin: 70px 0 54px;
  border: 6px solid var(--white);
  border-radius: 15px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,.08) 0,
      rgba(255,255,255,.08) 10%,
      rgba(0,0,0,.08) 10%,
      rgba(0,0,0,.08) 20%
    ),
    #171932;
  overflow: visible;
}

.meter-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0%;
  border-radius: 8px;
  background:
    linear-gradient(
      90deg,
      var(--hot-pink),
      var(--orange),
      var(--yellow),
      var(--lime),
      var(--cyan)
    );
  box-shadow: 0 0 22px rgba(183,255,52,.6);
  transition: width 1.6s cubic-bezier(.2,.8,.2,1);
}

.checkpoint {
  position: absolute;
  top: -35px;
  transform: translateX(-50%);
  color: var(--white);
  font-size: .68rem;
  font-weight: 700;
}

.checkpoint::after {
  content: "";
  display: block;
  width: 5px;
  height: 100px;
  margin: 5px auto 0;
  background: rgba(255,255,255,.42);
}

.checkpoint-1 { left: 20%; }
.checkpoint-2 { left: 40%; }
.checkpoint-3 { left: 60%; }
.checkpoint-4 { left: 80%; }
.checkpoint-5 { left: 100%; }

.percentage-display {
  margin-top: 20px;
}

.percentage-display strong {
  display: block;
  color: var(--lime);
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(3.8rem, 10vw, 7rem);
  line-height: .9;
  text-shadow:
    4px 4px 0 var(--purple),
    8px 8px 0 rgba(0,0,0,.28);
}

.percentage-display span {
  display: block;
  margin-top: 12px;
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: .18em;
}

.challenge-status {
  display: inline-block;
  margin-top: 30px;
  padding: 13px 20px;
  border: 4px solid var(--ink);
  background: var(--lime);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--hot-pink);
  font-family: "Archivo Black", sans-serif;
  transform: rotate(-1deg);
}

.next-round-tease {
  margin-top: 70px;
  color: var(--white);
}

.next-round-tease span {
  display: block;
  color: var(--yellow);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
}

.next-round-tease strong {
  display: block;
  margin-top: 7px;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.3rem, 4vw, 2.2rem);
}

.next-round-tease div {
  margin-top: 10px;
  color: var(--lime);
  font-size: 2rem;
  animation: arrowBounce 1s infinite;
}

/* CHALLENGE ACCEPTED flash */

.accepted-flash {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--hot-pink);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.accepted-flash.active {
  animation: acceptedSequence 1.35s ease forwards;
}

.accepted-message {
  text-align: center;
  color: var(--ink);
  transform: rotate(-2deg);
}

.accepted-message span {
  display: block;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2.5rem, 10vw, 7rem);
  line-height: .9;
}

.accepted-message strong {
  display: block;
  margin-top: 15px;
  color: var(--yellow);
  font-family: "Permanent Marker", cursive;
  font-size: clamp(2rem, 7vw, 5rem);
  text-shadow: 4px 4px 0 var(--purple);
}

.challenge-entered .bulbs span {
  animation-duration: .18s;
}

@keyframes meterBulb {
  from { opacity: .25; transform: scale(.8); }
  to { opacity: 1; transform: scale(1.2); }
}

@keyframes arrowBounce {
  50% { transform: translateY(10px); }
}

@keyframes acceptedSequence {
  0% {
    opacity: 0;
    visibility: visible;
    transform: scale(.7);
  }

  15% {
    opacity: 1;
    transform: scale(1.05);
  }

  30% {
    background: var(--cyan);
  }

  45% {
    background: var(--yellow);
  }

  60% {
    background: var(--lime);
  }

  80% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@media (max-width: 650px) {
  .meter-section {
    padding-top: 80px;
  }

  .meter-machine {
    padding: 55px 18px 38px;
    border-width: 5px;
  }

  .scoreboard {
    flex-direction: column;
  }

  .score-vs {
    margin: -5px 0;
  }

  .meter-track {
    margin-top: 75px;
  }

  .checkpoint span {
    font-size: .56rem;
  }
}

/* =========================================================
   1992 ARCADE RACING TITLE TREATMENT
   ========================================================= */

.arcade-race-title {
  position: relative;
  width: min(760px, 92%);
  margin: 24px auto 50px;
  padding: 12px 18px 20px;
  transform: skewX(-6deg) rotate(-1deg);
  isolation: isolate;
}

.race-line {
  position: relative;
  z-index: 2;
  display: block;
  font-family: "Archivo Black", Impact, sans-serif;
  font-style: italic;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: -.045em;
  -webkit-text-stroke: 2px #08091d;
}

.race-line-small {
  color: var(--cyan);
  font-size: clamp(1.35rem, 4vw, 2.35rem);
  text-shadow:
    3px 3px 0 #08091d,
    6px 6px 0 var(--purple);
}

.race-line-mid {
  margin-top: 5px;
  color: var(--yellow);
  font-size: clamp(1.55rem, 4.8vw, 2.9rem);
  text-shadow:
    3px 3px 0 #08091d,
    7px 7px 0 var(--hot-pink);
}

.race-line-big {
  margin-top: 5px;
  color: var(--lime);
  font-size: clamp(2.8rem, 8.5vw, 5.8rem);
  letter-spacing: -.065em;
  -webkit-text-stroke: 3px #08091d;
  text-shadow:
    4px 4px 0 #08091d,
    8px 8px 0 var(--purple),
    12px 12px 0 var(--hot-pink);
}

/* little racing-game checker streak */

.race-checkers {
  position: absolute;
  z-index: 1;
  right: -12px;
  bottom: 2px;
  width: 190px;
  height: 38px;
  opacity: .85;
  transform: skewX(-18deg) rotate(-3deg);
  background-color: #fff;
  background-image:
    linear-gradient(45deg, #08091d 25%, transparent 25%),
    linear-gradient(-45deg, #08091d 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #08091d 75%),
    linear-gradient(-45deg, transparent 75%, #08091d 75%);
  background-size: 24px 24px;
  background-position:
    0 0,
    0 12px,
    12px -12px,
    -12px 0;
  clip-path: polygon(12% 0, 100% 0, 82% 100%, 0 100%);
}

/* Speed streaks behind FINISH LINE */

.arcade-race-title::before,
.arcade-race-title::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: -30px;
  height: 8px;
  transform: skewX(-35deg);
}

.arcade-race-title::before {
  bottom: 44px;
  width: 170px;
  background: var(--hot-pink);
  box-shadow:
    -45px 17px 0 var(--cyan),
    35px -17px 0 var(--yellow);
}

.arcade-race-title::after {
  bottom: 18px;
  width: 105px;
  background: var(--lime);
}

/* Subtle racing movement */

.race-line-big {
  animation: raceTitleIdle 2.6s ease-in-out infinite;
}

@keyframes raceTitleIdle {
  0%, 100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(5px);
  }
}

@media (max-width: 650px) {
  .arcade-race-title {
    width: 96%;
    margin-bottom: 42px;
    padding-left: 6px;
    padding-right: 6px;
  }

  .race-line {
    -webkit-text-stroke-width: 1px;
  }

  .race-line-big {
    -webkit-text-stroke-width: 2px;
  }

  .race-checkers {
    width: 120px;
    height: 27px;
    opacity: .6;
  }
}

/* =========================================================
   LOCK THE GAME UNTIL THE CHALLENGE IS ACCEPTED
   ========================================================= */

body.challenge-locked {
  overflow-x: hidden;
  overflow-y: auto;
}

body.challenge-locked .meter-section {
  display: none;
}

body.challenge-entered {
  overflow-x: hidden;
  overflow-y: auto;
}

body.challenge-entered .meter-section {
  display: block;
}

/* =========================================================
   1992 SEGA-ERA ARCADE TYPOGRAPHY TEST
   Russo One + dimensional TV-game treatment
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Russo+One&display=swap');

/* FINISH LINE — big early-90s arcade title */

.race-line-big {
  font-family: "Russo One", "Archivo Black", Impact, sans-serif;
  font-style: italic;
  color: #dffcff;

  -webkit-text-stroke: 3px #08091d;

  text-shadow:
    2px 2px 0 #35e7ff,
    4px 4px 0 #35e7ff,
    7px 7px 0 #6f2cff,
    10px 10px 0 #6f2cff,
    13px 13px 0 #ff3aa7,
    16px 16px 0 rgba(8,9,29,.65),
    0 0 18px rgba(255,58,167,.7);

  transform: skewX(-7deg);
}

/* Supporting lines get cleaner arcade treatment */

.race-line-small,
.race-line-mid {
  font-family: "Russo One", "Archivo Black", Impact, sans-serif;
  font-style: italic;
}

/* CHALLENGE ACCEPTED gets the SAME game identity */

.accepted-message span {
  font-family: "Russo One", "Archivo Black", Impact, sans-serif;
  font-style: italic;
  color: #dffcff;

  -webkit-text-stroke: 4px #08091d;

  text-shadow:
    3px 3px 0 #35e7ff,
    6px 6px 0 #35e7ff,
    10px 10px 0 #6f2cff,
    14px 14px 0 #6f2cff,
    18px 18px 0 #ff3aa7,
    22px 22px 0 rgba(8,9,29,.55);

  transform: skewX(-7deg);
}

/* LET'S GOOOOOO remains the crazy game-show host */

.accepted-message strong {
  position: relative;
  z-index: 2;
  margin-top: 28px;

  font-family: "Permanent Marker", cursive;
  font-style: normal;

  color: var(--yellow);

  -webkit-text-stroke: 1px #08091d;

  text-shadow:
    3px 3px 0 #08091d,
    6px 6px 0 var(--purple);

  transform: rotate(-4deg);
}

/* Give the title a subtle arcade shimmer */

.race-line-big {
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #dffcff 28%,
      #75efff 55%,
      #35cfe8 78%,
      #20a8cc 100%
    );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Mobile keeps the dimensional effect without getting muddy */

@media (max-width: 650px) {

  .race-line-big {
    -webkit-text-stroke-width: 2px;

    text-shadow:
      2px 2px 0 #35e7ff,
      4px 4px 0 #6f2cff,
      7px 7px 0 #ff3aa7,
      10px 10px 0 rgba(8,9,29,.6);
  }

  .accepted-message span {
    -webkit-text-stroke-width: 2px;

    text-shadow:
      2px 2px 0 #35e7ff,
      5px 5px 0 #6f2cff,
      8px 8px 0 #ff3aa7,
      11px 11px 0 rgba(8,9,29,.55);
  }
}



/* =========================================================
   FORCE THE 1992 ARCADE GAME FONT
   ========================================================= */

.arcade-race-title,
.race-line,
.race-line-small,
.race-line-mid,
.race-line-big {
  font-family: "Russo One", Impact, sans-serif !important;
}

/* Kill the old youth-retreat-shirt font on this headline */
.meter-intro.arcade-race-title {
  font-family: "Russo One", Impact, sans-serif !important;
}

/* Flashing acceptance screen uses the SAME game identity */
.accepted-message span {
  font-family: "Russo One", Impact, sans-serif !important;
}

/* And let's test LET'S GOOOOOO in the arcade font too */
.accepted-message strong {
  font-family: "Russo One", Impact, sans-serif !important;
  font-style: italic;
  letter-spacing: .02em;
}



/* =========================================================
   CHROME BUBBLE TEST
   ========================================================= */

.challenge-kicker,
.race-line,
.race-line-small,
.race-line-mid,
.race-line-big,
.accepted-message span,
.accepted-message strong,
.score-vs,
.meter-intro,
.next-round-tease strong,
.start-box > p {
  font-family: "Bowlby One SC", Impact, sans-serif !important;
  font-style: normal !important;
}

/* Chrome / mall-logo treatment */

.race-line-big,
.accepted-message span {
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #e9fbff 18%,
      #9fe9f2 38%,
      #ffffff 52%,
      #8fb8c9 68%,
      #d9f7ff 84%,
      #ffffff 100%
    );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  -webkit-text-stroke: 3px #11152f;

  text-shadow:
    3px 3px 0 #46e9ff,
    7px 7px 0 #6f2cff,
    11px 11px 0 #ff3aa7,
    15px 15px 0 rgba(8,9,29,.65),
    0 0 20px rgba(53,231,255,.4);
}

/* Supporting title lines */

.race-line-small {
  color: #ffffff;
  -webkit-text-stroke: 2px #11152f;
  text-shadow:
    3px 3px 0 #35e7ff,
    6px 6px 0 #6f2cff;
}

.race-line-mid {
  color: var(--yellow);
  -webkit-text-stroke: 2px #11152f;
  text-shadow:
    3px 3px 0 #ff3aa7,
    6px 6px 0 #6f2cff;
}

/* Flash subline */

.accepted-message strong {
  color: var(--lime);
  -webkit-text-stroke: 2px #11152f;
  text-shadow:
    3px 3px 0 #35e7ff,
    7px 7px 0 #6f2cff,
    10px 10px 0 #ff3aa7;
  transform: rotate(-2deg);
}

/* Remove marker-style feel everywhere */
.challenge-kicker,
.score-vs,
.start-box > p,
.next-round-tease strong {
  letter-spacing: .02em;
}


/* =========================================================
   ROUND 3 — THE FIVE-CHALLENGE COURSE
   ========================================================= */

.course-section {
  position: relative;
  padding: 90px 0 120px;
}

.course-header {
  width: min(850px, 94%);
  margin: 0 auto 80px;
  text-align: center;
}

.course-kicker {
  display: inline-block;
  padding: 8px 16px;
  border: 4px solid var(--ink);
  background: var(--lime);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--hot-pink);
  font-family: "Bowlby One SC", Impact, sans-serif;
  font-size: .8rem;
  letter-spacing: .1em;
}

.course-header h2 {
  margin: 25px 0 14px;
  font-family: "Bowlby One SC", Impact, sans-serif;
  font-size: clamp(2.8rem, 8vw, 6.2rem);
  line-height: .88;
  color: #dffcff;
  -webkit-text-stroke: 3px #11152f;
  text-shadow:
    3px 3px 0 #35e7ff,
    7px 7px 0 #6f2cff,
    11px 11px 0 #ff3aa7,
    15px 15px 0 rgba(8,9,29,.6);
}

.course-header p {
  margin-top: 30px;
  color: var(--yellow);
  font-family: "Bowlby One SC", Impact, sans-serif;
  font-size: clamp(.9rem, 2.5vw, 1.3rem);
}

.course-path {
  position: relative;
  width: min(900px, 94%);
  margin: 0 auto;
}

.course-path::before {
  content: "";
  position: absolute;
  top: 80px;
  bottom: 80px;
  left: 50%;
  width: 12px;
  transform: translateX(-50%);
  background:
    repeating-linear-gradient(
      to bottom,
      var(--yellow) 0 18px,
      var(--hot-pink) 18px 36px,
      var(--cyan) 36px 54px,
      var(--lime) 54px 72px
    );
  border: 4px solid var(--ink);
  z-index: 0;
}

.course-stop {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 85px;
}

.course-stop.reverse {
  flex-direction: row-reverse;
}

.stop-number {
  position: relative;
  z-index: 5;
  flex: 0 0 115px;
  height: 115px;
  display: grid;
  place-items: center;
  margin: 0 28px;
  border: 7px solid var(--white);
  border-radius: 50%;
  background: var(--purple);
  color: var(--yellow);
  box-shadow:
    0 0 0 7px var(--hot-pink),
    9px 10px 0 rgba(0,0,0,.35);
  font-family: "Bowlby One SC", Impact, sans-serif;
  font-size: 2.6rem;
}

.stop-card {
  position: relative;
  flex: 1;
  padding: 34px 32px 30px;
  overflow: hidden;
  border: 6px solid var(--cyan);
  border-radius: 24px;
  background:
    linear-gradient(145deg, #15183e, #32175d);
  box-shadow:
    8px 8px 0 var(--purple),
    14px 14px 0 var(--hot-pink),
    20px 20px 0 rgba(0,0,0,.3);
  transition:
    filter .5s ease,
    opacity .5s ease,
    transform .5s ease;
}

.course-stop:not(.active):not(.complete) .stop-card {
  filter: grayscale(.8);
  opacity: .48;
}

.course-stop:not(.active):not(.complete) .stop-number {
  filter: grayscale(1);
  opacity: .5;
}

.stop-status {
  position: absolute;
  top: 17px;
  right: -38px;
  width: 160px;
  padding: 7px 0;
  transform: rotate(35deg);
  border: 2px solid var(--ink);
  background: #606070;
  color: white;
  text-align: center;
  font-family: "Bowlby One SC", Impact, sans-serif;
  font-size: .68rem;
}

.stop-label {
  display: block;
  margin-bottom: 9px;
  color: var(--yellow);
  font-family: "Bowlby One SC", Impact, sans-serif;
  font-size: .78rem;
  letter-spacing: .08em;
}

.stop-card h3 {
  margin: 0;
  max-width: 90%;
  font-family: "Bowlby One SC", Impact, sans-serif;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: .92;
  color: #dffcff;
  -webkit-text-stroke: 2px #11152f;
  text-shadow:
    2px 2px 0 #35e7ff,
    5px 5px 0 #6f2cff,
    8px 8px 0 #ff3aa7;
}

.stop-goal {
  display: inline-block;
  margin: 22px 0 17px;
  padding: 7px 12px;
  border: 3px solid var(--ink);
  background: var(--lime);
  color: var(--ink);
  font-family: "Bowlby One SC", Impact, sans-serif;
  font-size: .78rem;
  transform: rotate(-1deg);
}

.stop-card p {
  margin: 0;
  max-width: 620px;
  color: white;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
}

/* Current challenge */

.course-stop.active .stop-card {
  border-color: var(--yellow);
  transform: scale(1.025);
  animation: activeChallenge 1.8s ease-in-out infinite;
}

.course-stop.active .stop-number {
  background: var(--hot-pink);
  animation: activeNumber 1.2s ease-in-out infinite;
}

.course-stop.active .stop-status {
  background: var(--yellow);
  color: var(--ink);
}

/* Completed challenge */

.course-stop.complete .stop-card {
  border-color: var(--lime);
}

.course-stop.complete .stop-number {
  background: var(--lime);
  color: var(--ink);
}

.course-stop.complete .stop-status {
  background: var(--lime);
  color: var(--ink);
}

.course-finale {
  width: min(680px, 92%);
  margin: 40px auto 0;
  padding: 35px 25px;
  border: 7px solid var(--yellow);
  background: var(--ink);
  box-shadow:
    0 0 0 7px var(--hot-pink),
    0 0 0 13px var(--cyan),
    14px 16px 0 rgba(0,0,0,.35);
  text-align: center;
}

.course-finale span {
  display: block;
  margin-bottom: 12px;
  font-size: 4rem;
}

.course-finale strong {
  display: block;
  font-family: "Bowlby One SC", Impact, sans-serif;
  font-size: clamp(1.5rem, 5vw, 3rem);
  line-height: 1.05;
}

.course-finale strong:first-of-type {
  color: var(--yellow);
}

.course-finale strong:last-of-type {
  color: var(--lime);
}

@keyframes activeChallenge {
  50% {
    box-shadow:
      8px 8px 0 var(--purple),
      14px 14px 0 var(--hot-pink),
      20px 20px 0 rgba(0,0,0,.3),
      0 0 30px rgba(255,231,74,.55);
  }
}

@keyframes activeNumber {
  50% {
    transform: scale(1.08) rotate(-4deg);
  }
}

@media (max-width: 760px) {

  .course-path::before {
    left: 48px;
  }

  .course-stop,
  .course-stop.reverse {
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 65px;
  }

  .stop-number {
    flex-basis: 72px;
    width: 72px;
    height: 72px;
    margin: 15px 18px 0 10px;
    border-width: 4px;
    font-size: 1.6rem;
  }

  .stop-card {
    padding: 29px 20px 25px;
  }

  .stop-card h3 {
    max-width: 82%;
    -webkit-text-stroke-width: 1px;
  }

  .stop-card p {
    font-size: .9rem;
  }
}

/* =========================================================
   ROUND 4 — THE GIVING CHALLENGE
   ========================================================= */

.giving-section {
  position: relative;
  padding: 100px 0 65px;
  text-align: center;
}

.giving-header {
  width: min(850px, 94%);
  margin: 0 auto 55px;
}

.giving-kicker {
  display: inline-block;
  padding: 8px 16px;
  border: 4px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--hot-pink);
  font-family: "Bowlby One SC", Impact, sans-serif;
  font-size: .78rem;
  letter-spacing: .08em;
  transform: rotate(-1deg);
}

.giving-header h2 {
  margin: 28px 0 20px;
  font-family: "Bowlby One SC", Impact, sans-serif;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: .82;

  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #dffcff 22%,
      #8deaf5 45%,
      #ffffff 55%,
      #74b9ce 76%,
      #e8fbff 100%
    );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  -webkit-text-stroke: 3px #11152f;

  text-shadow:
    3px 3px 0 #35e7ff,
    7px 7px 0 #6f2cff,
    11px 11px 0 #ff3aa7,
    16px 16px 0 rgba(8,9,29,.6);
}

.giving-header h2 span {
  display: block;
  margin-bottom: 12px;
  color: var(--cyan);
  -webkit-text-fill-color: var(--cyan);
  font-size: .35em;
  letter-spacing: .04em;
}

.giving-header h2 strong {
  display: block;
  color: var(--yellow);
  -webkit-text-fill-color: var(--yellow);
  font-weight: inherit;
}

.giving-header > p {
  margin: 38px auto 0;
  color: var(--lime);
  font-family: "Bowlby One SC", Impact, sans-serif;
  font-size: clamp(1rem, 3vw, 1.5rem);
}

.giving-console {
  position: relative;
  width: min(790px, 94%);
  margin: 0 auto;
  padding: 65px 45px 48px;
  border: 8px solid var(--yellow);
  border-radius: 30px;
  background:
    linear-gradient(145deg, #111437, #32175d);
  box-shadow:
    0 0 0 8px var(--hot-pink),
    0 0 0 14px var(--cyan),
    18px 20px 0 rgba(0,0,0,.32);
}

.console-lights {
  position: absolute;
  top: 20px;
  left: 8%;
  right: 8%;
  display: flex;
  justify-content: space-between;
}

.console-lights i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 14px var(--yellow);
  animation: meterBulb .7s infinite alternate;
}

.console-lights i:nth-child(even) {
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
  animation-delay: .2s;
}

.console-lights i:nth-child(3n) {
  background: var(--hot-pink);
  box-shadow: 0 0 14px var(--hot-pink);
  animation-delay: .4s;
}

.giving-step {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 25px;
  border: 5px solid var(--cyan);
  background: rgba(255,255,255,.07);
  text-align: left;
}

.step-number {
  flex: 0 0 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border: 5px solid var(--white);
  border-radius: 50%;
  background: var(--hot-pink);
  color: var(--yellow);
  box-shadow: 5px 5px 0 var(--purple);
  font-family: "Bowlby One SC", Impact, sans-serif;
  font-size: 2.3rem;
}

.step-label {
  color: var(--lime);
  font-family: "Bowlby One SC", Impact, sans-serif;
  font-size: .68rem;
  letter-spacing: .1em;
}

.giving-step h3 {
  margin: 5px 0 7px;
  color: #dffcff;
  font-family: "Bowlby One SC", Impact, sans-serif;
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  line-height: 1;
  -webkit-text-stroke: 1px var(--ink);
  text-shadow:
    2px 2px 0 var(--cyan),
    4px 4px 0 var(--purple);
}

.giving-step p {
  margin: 0;
  font-weight: 700;
  line-height: 1.45;
}

.step-arrow {
  margin: 10px 0;
  color: var(--lime);
  font-size: 2rem;
  animation: arrowBounce 1s infinite;
}

.memo-code {
  display: inline-block;
  margin-top: 13px;
  padding: 10px 15px;
  border: 4px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--hot-pink);
  font-family: "Bowlby One SC", Impact, sans-serif;
  font-size: clamp(.9rem, 3vw, 1.25rem);
}

.give-button {
  display: block;
  width: min(580px, 96%);
  margin: 48px auto 20px;
  padding: 20px 25px 22px;
  border: 6px solid var(--white);
  border-radius: 15px;
  background: var(--lime);
  color: var(--ink);
  box-shadow:
    0 10px 0 #4f8f0e,
    0 16px 0 rgba(0,0,0,.35);
  text-decoration: none;
  transition:
    transform .15s ease,
    box-shadow .15s ease;
  animation: givePulse 1.6s ease-in-out infinite;
}

.give-button:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow:
    0 14px 0 #4f8f0e,
    0 20px 0 rgba(0,0,0,.35);
}

.give-button:active {
  transform: translateY(7px);
  box-shadow:
    0 3px 0 #4f8f0e,
    0 7px 0 rgba(0,0,0,.35);
}

.give-small,
.give-main,
.give-bottom {
  display: block;
}

.give-small {
  margin-bottom: 4px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.give-main {
  font-family: "Bowlby One SC", Impact, sans-serif;
  font-size: clamp(2rem, 7vw, 4rem);
  line-height: 1;
}

.give-bottom {
  margin-top: 6px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .07em;
}

.secure-note {
  margin: 25px 0 0;
  opacity: .7;
  font-size: .8rem;
  font-weight: 700;
}

.mission-finale {
  width: min(850px, 94%);
  margin: 100px auto 45px;
  padding: 45px 40px;
  border: 7px solid var(--cyan);
  background: var(--ink);
  box-shadow:
    9px 9px 0 var(--purple),
    16px 16px 0 var(--hot-pink);
}

.mission-finale-kicker {
  display: block;
  color: var(--yellow);
  font-family: "Bowlby One SC", Impact, sans-serif;
  font-size: clamp(1.8rem, 6vw, 3.8rem);
  line-height: 1;
}

.mission-finale > p {
  width: min(680px, 100%);
  margin: 28px auto;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 700;
  line-height: 1.65;
}

.every-line {
  margin: 30px 0;
}

.every-line span {
  display: block;
  margin: 8px 0;
  color: var(--lime);
  font-family: "Bowlby One SC", Impact, sans-serif;
  font-size: clamp(.9rem, 3vw, 1.35rem);
}

.better-together {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 4px solid var(--hot-pink);
  color: #dffcff;
  font-family: "Bowlby One SC", Impact, sans-serif;
  font-size: clamp(2.1rem, 7vw, 5rem);
  line-height: .95;
  -webkit-text-stroke: 2px #11152f;
  text-shadow:
    2px 2px 0 var(--cyan),
    5px 5px 0 var(--purple),
    8px 8px 0 var(--hot-pink);
}

.easter-egg {
  margin: 55px auto 0;
  opacity: .5;
  font-size: .68rem;
  font-weight: 700;
}

@keyframes givePulse {
  50% {
    transform: scale(1.025);
    filter: brightness(1.08);
  }
}

@media (max-width: 650px) {

  .giving-console {
    padding: 60px 18px 38px;
    border-width: 5px;
  }

  .giving-step {
    align-items: flex-start;
    gap: 15px;
    padding: 20px 15px;
  }

  .step-number {
    flex-basis: 54px;
    height: 54px;
    border-width: 3px;
    font-size: 1.5rem;
  }

  .mission-finale {
    padding: 35px 20px;
  }

  .giving-header h2 {
    -webkit-text-stroke-width: 2px;
  }
}

/* =========================================================
   FULL GAME GATE — NO PEEKING BEFORE ACCEPTANCE
   ========================================================= */

body.challenge-locked .meter-section,
body.challenge-locked .course-section,
body.challenge-locked .giving-section {
  display: none !important;
}

body.challenge-entered .meter-section,
body.challenge-entered .course-section,
body.challenge-entered .giving-section {
  display: block !important;
}

/* =========================================================
   FINAL BOSS — 1992 CHAMPIONSHIP VICTORY SCREEN
   ========================================================= */

.victory-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: none;
  align-items: center;
  justify-content: center;

  padding: 25px;

  overflow-y: auto;

  background:
    radial-gradient(
      circle at center,
      rgba(111,44,255,.92),
      rgba(8,9,29,.98) 68%
    );
}

.victory-screen.show {
  display: flex;
  animation: victoryFlash .65s ease-out;
}

body.victory-active {
  overflow: hidden;
}

.victory-panel {
  position: relative;
  z-index: 5;

  width: min(760px, 94vw);

  margin: auto;
  padding: 35px 30px 32px;

  border: 8px solid var(--yellow);
  border-radius: 25px;

  background:
    linear-gradient(
      145deg,
      #101336,
      #281353 55%,
      #111437
    );

  box-shadow:
    0 0 0 8px var(--hot-pink),
    0 0 0 15px var(--cyan),
    20px 22px 0 rgba(0,0,0,.38),
    0 0 70px rgba(255,58,167,.5);

  text-align: center;
}

.victory-topline {
  display: inline-block;

  padding: 7px 14px;

  border: 3px solid var(--ink);

  background: var(--lime);
  color: var(--ink);

  box-shadow: 4px 4px 0 var(--hot-pink);

  font-family: "Bowlby One SC", Impact, sans-serif;
  font-size: .72rem;
  letter-spacing: .1em;
}

.victory-trophy {
  margin: 15px 0 2px;

  font-size: clamp(3.4rem, 10vw, 6rem);

  animation: trophyBounce .8s ease-in-out infinite alternate;

  filter:
    drop-shadow(5px 5px 0 #6f2cff)
    drop-shadow(8px 8px 0 #ff3aa7);
}

.victory-congrats {
  margin: 0;

  font-family: "Bowlby One SC", Impact, sans-serif;
  font-size: clamp(3.2rem, 11vw, 7rem);
  line-height: .88;

  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #dffcff 20%,
      #82ebf8 42%,
      #ffffff 54%,
      #7bbdd1 74%,
      #eaffff 100%
    );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  -webkit-text-stroke: 3px #11152f;

  text-shadow:
    3px 3px 0 #35e7ff,
    7px 7px 0 #6f2cff,
    11px 11px 0 #ff3aa7,
    16px 16px 0 rgba(8,9,29,.7);
}

.victory-secured {
  display: inline-block;

  margin-top: 22px;
  padding: 8px 18px;

  border: 4px solid var(--ink);

  background: var(--yellow);
  color: var(--ink);

  box-shadow:
    5px 5px 0 var(--hot-pink),
    9px 9px 0 var(--purple);

  font-family: "Bowlby One SC", Impact, sans-serif;
  font-size: clamp(1rem, 4vw, 1.7rem);

  transform: rotate(-2deg);
}

.victory-score {
  margin: 30px auto 25px;
  padding: 20px;

  border-top: 4px solid var(--cyan);
  border-bottom: 4px solid var(--cyan);
}

.victory-score span,
.victory-score strong {
  display: block;

  font-family: "Bowlby One SC", Impact, sans-serif;
}

.victory-score span {
  color: var(--lime);
  font-size: clamp(.85rem, 3vw, 1.2rem);
}

.victory-score strong {
  margin-top: 7px;

  color: white;

  font-size: clamp(1.8rem, 7vw, 3.8rem);

  text-shadow:
    3px 3px 0 var(--purple),
    6px 6px 0 var(--hot-pink);
}

.victory-booyah {
  margin: 24px 0;
}

.victory-booyah span,
.victory-booyah strong {
  display: block;

  font-family: "Bowlby One SC", Impact, sans-serif;
}

.victory-booyah span {
  color: var(--yellow);

  font-size: clamp(1.5rem, 6vw, 3rem);

  transform: rotate(-4deg);
}

.victory-booyah strong {
  margin-top: 8px;

  color: #dffcff;

  font-size: clamp(1.9rem, 7vw, 4rem);
  line-height: .92;

  -webkit-text-stroke: 2px #11152f;

  text-shadow:
    2px 2px 0 var(--cyan),
    5px 5px 0 var(--purple),
    8px 8px 0 var(--hot-pink);
}

.victory-together {
  margin: 32px auto 25px;
  padding-top: 22px;

  border-top: 3px solid var(--hot-pink);

  color: var(--lime);

  font-family: "Bowlby One SC", Impact, sans-serif;
  font-size: clamp(1rem, 4vw, 1.6rem);
}

.victory-continue {
  padding: 13px 24px;

  border: 4px solid var(--white);
  border-radius: 10px;

  background: var(--hot-pink);
  color: white;

  box-shadow:
    0 6px 0 #8b185d,
    0 10px 0 rgba(0,0,0,.35);

  font-family: "Bowlby One SC", Impact, sans-serif;
  font-size: .9rem;

  cursor: pointer;
}

.victory-continue:active {
  transform: translateY(5px);

  box-shadow:
    0 1px 0 #8b185d,
    0 4px 0 rgba(0,0,0,.35);
}

/* Decorative game-show explosions */

.victory-burst {
  position: absolute;

  width: 520px;
  height: 520px;

  opacity: .25;

  background:
    repeating-conic-gradient(
      from 0deg,
      var(--yellow) 0deg 8deg,
      transparent 8deg 18deg
    );

  animation: victorySpin 14s linear infinite;
}

.victory-burst-one {
  top: -250px;
  left: -200px;
}

.victory-burst-two {
  right: -250px;
  bottom: -260px;

  animation-direction: reverse;
}

@keyframes victoryFlash {

  0% {
    opacity: 0;
    filter: brightness(4);
  }

  35% {
    opacity: 1;
    filter: brightness(2);
  }

  100% {
    filter: brightness(1);
  }
}

@keyframes trophyBounce {

  from {
    transform: translateY(0) rotate(-4deg);
  }

  to {
    transform: translateY(-9px) rotate(4deg);
  }
}

@keyframes victorySpin {

  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 650px) {

  .victory-screen {
    padding: 20px 12px;
  }

  .victory-panel {
    padding: 27px 17px 25px;
    border-width: 5px;
  }

  .victory-congrats {
    -webkit-text-stroke-width: 2px;
  }

  .victory-booyah strong {
    -webkit-text-stroke-width: 1px;
  }

}

/* =========================================================
   1992 FOOTBALL CHAMPIONSHIP EASTER EGG
   ========================================================= */

.football-easter-egg {
  position: fixed;
  inset: 0;
  z-index: 100500;

  display: none;
  align-items: center;
  justify-content: center;

  padding: 20px;

  background: #02030a;
  overflow: hidden;
}

.football-easter-egg.show {
  display: flex;

  animation:
    footballPowerOn .42s steps(2, end);
}

.football-screen {
  position: relative;

  width: min(1100px, 96vw);

  border:
    8px solid #d7d7d7;

  background: #000;

  box-shadow:
    0 0 0 7px #1e4380,
    0 0 0 14px #ffffff,
    0 0 70px rgba(72, 145, 255, .75);

  overflow: hidden;
}

.football-art {
  display: block;

  width: 100%;
  height: auto;

  image-rendering: pixelated;
  image-rendering: crisp-edges;
}


/* CRT scanlines */

.football-scanlines {
  position: absolute;
  inset: 0;
  z-index: 5;

  pointer-events: none;

  background:
    repeating-linear-gradient(
      to bottom,
      rgba(255,255,255,0) 0px,
      rgba(255,255,255,0) 3px,
      rgba(0,0,0,.18) 4px
    );

  mix-blend-mode: multiply;
}


/* slight old-TV flicker */

.football-screen::after {
  content: "";

  position: absolute;
  inset: 0;
  z-index: 6;

  pointer-events: none;

  opacity: .12;

  background:
    linear-gradient(
      90deg,
      rgba(255,0,0,.12),
      rgba(0,255,255,.08),
      rgba(0,0,255,.12)
    );

  animation:
    crtFlicker .16s infinite alternate;
}


/* Skip button */

.football-skip {
  position: absolute;

  z-index: 10;

  right: 18px;
  bottom: 18px;

  padding:
    10px 15px;

  border:
    3px solid #ffffff;

  background:
    #0b2963;

  color:
    #ffffff;

  box-shadow:
    4px 4px 0 #000000;

  font-family:
    "Bowlby One SC",
    Impact,
    sans-serif;

  font-size:
    .72rem;

  cursor:
    pointer;
}

.football-skip:hover {
  background:
    #ffffff;

  color:
    #0b2963;
}


/* CRT power-on/glitch */

.crt-glitch {
  position: fixed;
  inset: 0;

  z-index: 100501;

  pointer-events: none;

  background: white;

  opacity: 0;
}

.football-easter-egg.show
.crt-glitch {

  animation:
    crtGlitch .55s ease-out forwards;
}


@keyframes footballPowerOn {

  0% {
    transform:
      scaleY(.02)
      scaleX(.85);

    filter:
      brightness(5);
  }

  55% {
    transform:
      scaleY(.04)
      scaleX(1);

    filter:
      brightness(4);
  }

  100% {
    transform:
      scale(1);

    filter:
      brightness(1);
  }
}


@keyframes crtGlitch {

  0% {
    opacity: 1;
  }

  10% {
    opacity: 0;
  }

  18% {
    opacity: .85;

    background:
      var(--cyan);
  }

  28% {
    opacity: 0;
  }

  36% {
    opacity: .8;

    background:
      var(--hot-pink);
  }

  48% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}


@keyframes crtFlicker {

  from {
    opacity: .07;
  }

  to {
    opacity: .16;
  }
}


@media (max-width: 650px) {

  .football-easter-egg {
    padding:
      10px;
  }

  .football-screen {
    border-width:
      4px;

    box-shadow:
      0 0 0 4px #1e4380,
      0 0 0 8px white,
      0 0 35px rgba(72,145,255,.65);
  }

  .football-skip {
    right:
      9px;

    bottom:
      9px;

    padding:
      7px 10px;

    font-size:
      .58rem;
  }

}


/* =========================================================
   SECRET EASTER EGG BUTTON
   ========================================================= */

.victory-egg-trigger {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;

  margin: 14px auto 4px;
  padding: 0;

  border: 0;
  background: transparent;

  color: inherit;
  cursor: pointer;
}

.victory-egg-trigger .victory-trophy {
  display: block;
  margin: 0;

  transition:
    transform .2s ease,
    filter .2s ease;
}

.egg-hint {
  display: inline-block;

  padding: 7px 12px;

  border: 3px solid var(--ink);

  background: var(--lime);
  color: var(--ink);

  box-shadow:
    4px 4px 0 var(--hot-pink),
    7px 7px 0 var(--purple);

  font-family:
    "Bowlby One SC",
    Impact,
    sans-serif;

  font-size: clamp(.55rem, 2vw, .75rem);
  letter-spacing: .05em;

  transform: rotate(-2deg);

  animation: eggHintPulse 1.8s ease-in-out infinite;
}

.victory-egg-trigger:hover .victory-trophy {
  transform:
    scale(1.12)
    rotate(-5deg);

  filter:
    drop-shadow(5px 5px 0 #6f2cff)
    drop-shadow(9px 9px 0 #ff3aa7)
    brightness(1.18);
}

.victory-egg-trigger:hover .egg-hint {
  background: var(--yellow);
}

@keyframes eggHintPulse {

  50% {
    transform:
      rotate(1deg)
      scale(1.035);
  }

}
