:root {
  --bg: #120f18;
  --panel: #21182d;
  --cream: #fff1c7;
  --gold: #ffc857;
  --orange: #ff7a18;
  --pink: #ff4d8d;
  --purple: #8f5cff;
  --ink: #120f18;
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--cream);
  background:
    radial-gradient(circle at 50% -10%, rgba(143,92,255,.20), transparent 34rem),
    linear-gradient(160deg, #17101f 0%, #0c0a10 75%);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 38px 38px;
  transform: perspective(600px) rotateX(55deg) scale(1.35) translateY(24%);
  transform-origin: center bottom;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .13;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.spotlight {
  position: fixed;
  top: -24vh;
  width: 38vw;
  height: 125vh;
  filter: blur(16px);
  opacity: .13;
  z-index: -2;
  transform-origin: top center;
  background: linear-gradient(to bottom, rgba(255,241,199,.9), rgba(255,241,199,0));
}

.spotlight-one { left: -8vw; transform: rotate(-18deg); }
.spotlight-two { right: -8vw; transform: rotate(18deg); }

.stage {
  width: min(1100px, calc(100% - 28px));
  margin: 0 auto;
  min-height: 100vh;
  padding: 36px 0 30px;
  text-align: center;
  position: relative;
}

.eyebrow {
  display: inline-block;
  padding: 8px 14px 7px;
  border: 2px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: #e7d9ff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(.62rem, 1.8vw, .82rem);
  font-weight: 900;
  letter-spacing: .16em;
  background: rgba(255,255,255,.055);
  box-shadow: 0 10px 45px rgba(0,0,0,.3);
}

h1 {
  margin: 18px 0 6px;
  display: flex;
  justify-content: center;
  gap: clamp(8px, 2vw, 22px);
  flex-wrap: wrap;
  font-size: clamp(3.2rem, 10vw, 8rem);
  line-height: .82;
  letter-spacing: -.035em;
  text-transform: uppercase;
  transform: rotate(-1deg);
  text-shadow:
    0 5px 0 #321640,
    0 11px 0 #160a1e,
    0 18px 32px rgba(0,0,0,.55);
}

h1 span:nth-child(1) { color: var(--gold); }
h1 span:nth-child(2) { color: var(--cream); }
h1 .nuts {
  color: var(--pink);
  display: inline-block;
  animation: nutWiggle 2.8s ease-in-out infinite;
}

.tagline {
  margin: 10px auto 26px;
  font-family: Arial, Helvetica, sans-serif;
  color: #c6b9d1;
  font-size: clamp(.95rem, 2.4vw, 1.2rem);
  font-weight: 700;
}

.video-shell {
  position: relative;
  padding: clamp(11px, 2vw, 18px);
  border-radius: 28px;
  background:
    linear-gradient(145deg, #4e2b18, #25130b 58%, #1c0d08),
    #2a160d;
  border: 3px solid #7a4826;
  box-shadow:
    0 0 0 3px #140a06,
    0 24px 70px rgba(0,0,0,.62),
    inset 0 1px 0 rgba(255,255,255,.15);
}

.video-frame {
  overflow: hidden;
  border-radius: 17px;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 3px solid #120a07;
  box-shadow: inset 0 0 20px #000;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.bulb-row {
  position: absolute;
  left: 24px;
  right: 24px;
  height: 10px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.bulb-row::before,
.bulb-row::after {
  content: "••••••••••••••••••••";
  position: absolute;
  inset: 0;
  overflow: hidden;
  color: #ffd56a;
  letter-spacing: clamp(6px, 1.4vw, 14px);
  font-size: 23px;
  line-height: 5px;
  text-shadow: 0 0 7px #ffb000, 0 0 15px #ff8a00;
  animation: bulbs 1.3s alternate infinite;
}
.bulb-row::after { animation-delay: .65s; opacity: .2; }
.bulb-row-top { top: 5px; }
.bulb-row-bottom { bottom: 5px; }

.button-row { margin-top: 24px; }

.chaos-button {
  cursor: pointer;
  border: 0;
  padding: 14px 20px 12px;
  border-radius: 12px;
  font: 900 clamp(.8rem, 2.5vw, 1rem)/1 Arial, Helvetica, sans-serif;
  letter-spacing: .08em;
  color: var(--ink);
  background: linear-gradient(#ffd86f, #ff9f2f);
  box-shadow: 0 6px 0 #9a4c13, 0 14px 30px rgba(0,0,0,.38);
  transition: transform .12s ease, box-shadow .12s ease;
}

.chaos-button:hover { transform: translateY(-2px) rotate(-1deg); }
.chaos-button:active {
  transform: translateY(5px);
  box-shadow: 0 1px 0 #9a4c13, 0 6px 16px rgba(0,0,0,.3);
}

.drama-text {
  min-height: 1.6em;
  margin: 18px 0 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 700;
  color: #d6cadf;
}

footer {
  margin-top: 28px;
  color: #756a7e;
  font: 700 .74rem/1.5 Arial, Helvetica, sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.divider { margin: 0 8px; color: #493c51; }

.nut-zone {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.nut {
  position: absolute;
  display: block;
  filter: drop-shadow(0 10px 7px rgba(0,0,0,.42));
  opacity: .28;
  animation: floatNut 10s ease-in-out infinite;
}
.nut-1 { left: 3%; top: 26%; font-size: 46px; animation-delay: -2s; }
.nut-2 { right: 4%; top: 18%; font-size: 34px; animation-delay: -6s; }
.nut-3 { left: 7%; bottom: 10%; font-size: 32px; animation-delay: -4s; }
.nut-4 { right: 7%; bottom: 12%; font-size: 48px; animation-delay: -8s; }
.nut-5 { right: 16%; top: 48%; font-size: 26px; animation-delay: -1s; }

body.full-chaos .stage { animation: stageShake .22s linear 4; }
body.full-chaos h1 { filter: hue-rotate(90deg); }
body.full-chaos .spotlight-one { animation: sweepLeft .7s ease-in-out 2; }
body.full-chaos .spotlight-two { animation: sweepRight .7s ease-in-out 2; }
body.full-chaos .nut { opacity: .9; animation-duration: 1.1s; }

@keyframes nutWiggle {
  0%,100% { transform: rotate(0deg) scale(1); }
  45% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(-4deg) scale(1.04); }
  55% { transform: rotate(4deg) scale(1.04); }
  60% { transform: rotate(0deg) scale(1); }
}

@keyframes bulbs { from { opacity: .35; } to { opacity: 1; } }
@keyframes floatNut {
  0%,100% { transform: translateY(0) rotate(-12deg); }
  50% { transform: translateY(-32px) rotate(18deg); }
}
@keyframes stageShake {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-6px) rotate(-.3deg); }
  75% { transform: translateX(6px) rotate(.3deg); }
}
@keyframes sweepLeft { 50% { transform: rotate(20deg); opacity: .3; } }
@keyframes sweepRight { 50% { transform: rotate(-20deg); opacity: .3; } }

@media (max-width: 640px) {
  .stage { padding-top: 22px; }
  h1 { gap: 4px 10px; }
  .video-shell { border-radius: 18px; padding: 9px; }
  .video-frame { border-radius: 11px; }
  .bulb-row { left: 15px; right: 15px; }
  .bulb-row::before, .bulb-row::after { font-size: 16px; letter-spacing: 4px; }
  footer { display: flex; flex-direction: column; }
  .divider { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
