:root {
  --cream: #ffeed2;
  --peach: #ffd3a6;
  --peach-deep: #ffb87c;
  --flesh: #f5b184;
  --flesh-deep: #c16f42;
  --ink: #6d2f14;
  --ink-soft: #9a5228;
  --orange: #f4913f;
  --yellow: #ffd166;
  --pink: #ff9e7a;
  --pop: 6px 6px 0 var(--ink);
}

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

html,
body {
  min-height: 100%;
  background-color: var(--cream);
  color: var(--ink);
  font-family: Nunito, "IBM Plex Sans", system-ui, sans-serif;
  font-weight: 600;
}

body {
  position: relative;
  overflow-x: hidden;
}

.grain,
.halo {
  pointer-events: none;
  position: fixed;
  inset: 0;
}

.halo {
  z-index: 0;
  background:
    repeating-conic-gradient(
      from 0deg at 50% 24%,
      rgba(255, 209, 102, 0.45) 0deg 9deg,
      rgba(255, 209, 102, 0) 9deg 18deg
    ),
    radial-gradient(circle at 50% 22%, var(--yellow), rgba(255, 209, 102, 0) 46%),
    linear-gradient(var(--peach), var(--cream) 42%, var(--peach-deep));
}

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

.top,
.readout,
.lore,
.foot {
  position: relative;
  z-index: 2;
}

.top {
  text-align: center;
  padding: 2.6rem 1.2rem 0.6rem;
}

.eyebrow {
  display: inline-block;
  background: var(--pink);
  color: var(--ink);
  border: 4px solid var(--ink);
  border-radius: 999px;
  padding: 0.35rem 1.1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 800;
  transform: rotate(-2deg);
  box-shadow: 4px 4px 0 var(--ink);
}

h1 {
  font-family: "Baloo 2", Nunito, sans-serif;
  font-size: clamp(2.6rem, 9vw, 6.5rem);
  font-weight: 800;
  line-height: 0.9;
  margin-top: 0.7rem;
  color: var(--flesh);
  transform: rotate(-1.5deg);
  text-shadow:
    5px 0 0 var(--ink),
    -5px 0 0 var(--ink),
    0 5px 0 var(--ink),
    0 -5px 0 var(--ink),
    4px 4px 0 var(--ink),
    -4px 4px 0 var(--ink),
    4px -4px 0 var(--ink),
    -4px -4px 0 var(--ink),
    12px 14px 0 rgba(109, 47, 20, 0.25);
}

.ticker {
  margin-top: 0.9rem;
  font-family: "Baloo 2", Nunito, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--ink);
}

.readout {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.2rem;
  justify-content: center;
  align-items: stretch;
  padding: 1.6rem 1.2rem 0.4rem;
}

.stat {
  min-width: 9rem;
  text-align: center;
  background: var(--cream);
  border: 5px solid var(--ink);
  border-radius: 22px;
  padding: 0.7rem 1rem 0.8rem;
  box-shadow: var(--pop);
}

.stat:nth-child(1) {
  background: var(--peach);
  transform: rotate(-2deg);
}

.stat:nth-child(2) {
  background: var(--yellow);
  transform: rotate(1.5deg);
}

.stat:nth-child(3) {
  background: var(--pink);
  transform: rotate(-1deg);
}

.stat-label {
  display: block;
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 0.2rem;
}

.stat strong {
  font-family: "Baloo 2", Nunito, sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 800;
}

.live {
  width: 100%;
  text-align: center;
  margin-top: 0.3rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.live.hot {
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.4;
  }
}

.arena {
  position: relative;
  z-index: 2;
  margin: 0.5rem 0 1.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-color: var(--ink) var(--peach);
}

.track {
  position: relative;
  padding: 2.2rem 4rem 112px 1.5rem;
  width: max-content;
}

.beast {
  display: flex;
  align-items: center;
  height: 384px;
}

#cock {
  display: block;
  height: 384px;
}

#cock svg {
  display: block;
  filter: drop-shadow(10px 12px 0 rgba(109, 47, 20, 0.18));
}

#headG {
  animation: strain 3.8s ease-in-out infinite;
}

@keyframes strain {
  50% {
    filter: brightness(1.04) saturate(1.06);
  }
}

.stations {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100px;
}

.station {
  position: absolute;
  bottom: 0;
  transform: translateX(-50%);
  text-align: center;
  width: 9rem;
}

.station .tick {
  width: 5px;
  height: 26px;
  margin: 0 auto 0.4rem;
  background: var(--ink);
  border-radius: 3px;
}

.station.hit .tick {
  height: 44px;
  background: var(--orange);
  box-shadow: 0 0 0 3px var(--ink);
}

.station p {
  display: inline-block;
  background: var(--cream);
  border: 4px solid var(--ink);
  border-radius: 14px;
  padding: 0.3rem 0.5rem;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  box-shadow: 4px 4px 0 rgba(109, 47, 20, 0.35);
}

.station.hit p {
  background: var(--yellow);
  color: var(--ink);
}

.station .cap {
  display: block;
  font-family: "Baloo 2", Nunito, sans-serif;
  font-size: 0.85rem;
  color: var(--ink);
}

.lore {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 38rem);
  gap: 1.5rem 2.2rem;
  justify-content: center;
  align-items: center;
  padding: 1rem 1.4rem 3rem;
  max-width: 940px;
  margin: 0 auto;
}

.relic {
  width: 100%;
  border: 8px solid #fff;
  border-bottom-width: 42px;
  border-radius: 4px;
  transform: rotate(-4deg);
  box-shadow: 8px 8px 0 rgba(109, 47, 20, 0.35);
}

.lore-copy {
  background: var(--cream);
  border: 5px solid var(--ink);
  border-radius: 26px;
  padding: 1.4rem 1.5rem;
  box-shadow: var(--pop);
  transform: rotate(0.6deg);
}

.lore-copy p + p {
  margin-top: 0.9rem;
}

.lore-copy p {
  color: var(--ink);
  line-height: 1.6;
  font-size: 1.05rem;
  font-weight: 600;
}

.foot {
  display: flex;
  justify-content: center;
  padding: 0 1rem 3rem;
}

.x-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--orange);
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.16em;
  font-size: 0.9rem;
  font-weight: 800;
  border: 5px solid var(--ink);
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  box-shadow: var(--pop);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.x-link:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--ink);
}

@media (max-width: 720px) {
  .track {
    padding: 1.6rem 2.5rem 104px 0.8rem;
  }

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

  .relic {
    max-width: 220px;
    justify-self: center;
  }
}
