:root {
  color-scheme: dark;
  --bg: #050509;
  --bg-deep: #010103;
  --text: #fff8ea;
  --muted: rgba(255, 248, 234, 0.72);
  --soft: rgba(255, 248, 234, 0.12);
  --gold: #f5c76b;
  --gold-hot: #ffe7a3;
  --burgundy: #6f1022;
  --cyan: #7cecff;
  --instagram-a: #ff3d78;
  --instagram-b: #ffb347;
  --panel: rgba(10, 10, 17, 0.48);
  --panel-border: rgba(255, 231, 163, 0.22);
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.62);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::selection {
  background: rgba(245, 199, 107, 0.35);
}

a {
  color: inherit;
}

.event-shell {
  position: relative;
  display: grid;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
}

.particle-field,
.visual-stage,
.hero-frame,
.cinema-vignette,
.light-sweep,
.grain {
  position: absolute;
  inset: 0;
}

.particle-field {
  z-index: -1;
  width: 100%;
  height: 100%;
}

.visual-stage {
  z-index: -3;
  background:
    radial-gradient(circle at 50% 28%, rgba(124, 236, 255, 0.18), transparent 22rem),
    radial-gradient(circle at 82% 18%, rgba(245, 199, 107, 0.16), transparent 21rem),
    linear-gradient(145deg, #07070b 0%, #12020a 46%, #010103 100%);
}

.hero-frame {
  background-position: center;
  background-size: cover;
  opacity: 0;
  filter: saturate(0.96) contrast(1.1);
  transform: scale(1.075);
  transition:
    opacity 1300ms var(--ease-out),
    transform 6800ms linear;
}

.hero-frame.is-active {
  opacity: 0.72;
  transform: scale(1.015);
}

.cinema-vignette {
  background:
    linear-gradient(90deg, rgba(1, 1, 3, 0.86) 0%, rgba(1, 1, 3, 0.38) 42%, rgba(1, 1, 3, 0.78) 100%),
    linear-gradient(0deg, rgba(1, 1, 3, 0.9) 0%, rgba(1, 1, 3, 0.18) 42%, rgba(1, 1, 3, 0.72) 100%),
    radial-gradient(circle at 50% 44%, transparent 0 18rem, rgba(1, 1, 3, 0.72) 70%);
}

.light-sweep {
  mix-blend-mode: screen;
  opacity: 0.72;
  background:
    conic-gradient(from 210deg at 48% 8%, transparent 0deg, rgba(245, 199, 107, 0.12) 16deg, transparent 32deg, transparent 96deg, rgba(124, 236, 255, 0.11) 112deg, transparent 132deg, transparent 360deg),
    radial-gradient(ellipse at 50% 0%, rgba(255, 231, 163, 0.18), transparent 52%);
  animation: sweep 10s ease-in-out infinite alternate;
}

.grain {
  opacity: 0.18;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 3px 3px;
}

.hero {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(100%, 1180px);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 72px) clamp(18px, 4vw, 48px);
  align-content: center;
  justify-items: center;
  gap: clamp(16px, 2.5vh, 26px);
  text-align: center;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(245, 199, 107, 0.13);
  border-radius: 999px;
}

.hero::before {
  width: min(68vw, 760px);
  aspect-ratio: 1;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 80px rgba(245, 199, 107, 0.1),
    inset 0 0 80px rgba(124, 236, 255, 0.045);
  animation: orbit 16s linear infinite;
}

.hero::after {
  width: min(86vw, 980px);
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-style: dashed;
  opacity: 0.42;
  animation: orbit 28s linear infinite reverse;
}

.hero__copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  max-width: 920px;
}

.chapter {
  margin: 0;
  color: var(--gold-hot);
  font-size: clamp(0.78rem, 1.7vw, 0.95rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 0 26px rgba(245, 199, 107, 0.34);
}

h1 {
  max-width: 980px;
  margin: 0;
  font-family: "Arial Black", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(2.7rem, 6.9vw, 6.35rem);
  line-height: 0.92;
  font-weight: 950;
  letter-spacing: 0;
  text-wrap: balance;
  text-transform: uppercase;
  text-shadow: 0 14px 48px rgba(0, 0, 0, 0.72);
}

.subhead {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.35rem);
  line-height: 1.45;
}

.mission-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  padding: clamp(18px, 3vw, 24px);
  overflow: hidden;
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.mission-panel.has-progress-surge {
  animation: panelGlowPulse 1600ms var(--ease-out);
}

.mission-panel::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  background:
    linear-gradient(105deg, transparent 0%, rgba(255, 231, 163, 0.18) 44%, rgba(124, 236, 255, 0.12) 52%, transparent 62%);
  transform: translateX(-62%);
  animation: panelShine 5.8s ease-in-out infinite;
}

.counter-line,
.progress-meta,
.delta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.counter-label,
.progress-meta,
.delta-row {
  color: rgba(255, 248, 234, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.live-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
  animation: livePulse 1.5s ease-in-out infinite;
}

.follower-count {
  position: relative;
  margin: 10px 0 12px;
  color: var(--gold-hot);
  font-size: clamp(3rem, 8vw, 5.6rem);
  line-height: 0.95;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  text-shadow:
    0 0 24px rgba(245, 199, 107, 0.32),
    0 18px 50px rgba(0, 0, 0, 0.58);
  transform-origin: center;
  will-change: transform, filter;
}

.has-follower-bump .follower-count {
  animation: numberBumpStrong 1250ms var(--ease-out);
}

.progress-track {
  position: relative;
  height: clamp(18px, 3vw, 26px);
  margin: 12px 0 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 231, 163, 0.28);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 16px rgba(0, 0, 0, 0.45),
    0 0 35px rgba(245, 199, 107, 0.12);
}

.progress-track::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 231, 163, 0.78) 42%, rgba(124, 236, 255, 0.62) 52%, transparent 70%);
  opacity: 0;
  transform: translateX(-120%);
  pointer-events: none;
}

.mission-panel.has-progress-surge .progress-track {
  animation: progressTrackGlow 1500ms var(--ease-out);
}

.mission-panel.has-progress-surge .progress-track::after {
  animation: progressSurge 1150ms var(--ease-out);
}

.progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, var(--burgundy), var(--instagram-a) 42%, var(--gold) 72%, var(--cyan));
  box-shadow:
    0 0 28px rgba(245, 199, 107, 0.48),
    0 0 48px rgba(124, 236, 255, 0.22);
  transition: width 1300ms var(--ease-out);
}

.progress-fill::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -8px;
  width: 18px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 231, 163, 0.95), rgba(124, 236, 255, 0.36) 52%, transparent 72%);
  opacity: 0.72;
  transform: translateY(-50%);
  filter: blur(1px);
}

.mission-panel.has-progress-surge .progress-fill::before {
  animation: progressEndGlow 1200ms var(--ease-out);
}

.progress-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: translateX(-70%);
  animation: progressShimmer 2.3s linear infinite;
}

.progress-pulse {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  box-shadow: inset 0 0 14px rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.follower-rise-badge {
  position: absolute;
  top: clamp(70px, 32%, 104px);
  right: clamp(28px, 10%, 78px);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 231, 163, 0.72);
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.62), transparent 30%),
    linear-gradient(135deg, rgba(255, 231, 163, 0.96), rgba(245, 199, 107, 0.82));
  box-shadow:
    0 0 22px rgba(245, 199, 107, 0.64),
    0 16px 34px rgba(0, 0, 0, 0.32);
  color: #170d02;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  pointer-events: none;
  animation: followerBadgeRise 1650ms var(--ease-out) forwards;
}

.follower-spark {
  position: absolute;
  left: var(--spark-x);
  top: var(--spark-y);
  z-index: 4;
  width: var(--spark-size);
  height: var(--spark-size);
  border-radius: 50%;
  background: var(--gold-hot);
  box-shadow:
    0 0 10px rgba(255, 231, 163, 0.92),
    0 0 18px rgba(245, 199, 107, 0.42);
  pointer-events: none;
  animation: sparkBurst 1250ms var(--ease-out) var(--spark-delay) forwards;
}

.instagram-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background:
    radial-gradient(circle at 28% 16%, rgba(255, 255, 255, 0.42), transparent 26%),
    linear-gradient(135deg, #833ab4 0%, #fd1d1d 46%, #fcb045 100%);
  box-shadow:
    0 20px 70px rgba(253, 29, 29, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset;
  color: #fff;
  font-size: clamp(1rem, 2.4vw, 1.18rem);
  font-weight: 950;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateZ(0);
  transition:
    transform 220ms var(--ease-out),
    filter 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out);
}

.instagram-cta svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.instagram-cta:hover,
.instagram-cta:focus-visible {
  transform: translateY(-3px) scale(1.015);
  filter: brightness(1.08);
  box-shadow:
    0 28px 88px rgba(253, 29, 29, 0.48),
    0 0 0 4px rgba(255, 255, 255, 0.12);
}

.instagram-cta:focus-visible {
  outline: 3px solid var(--gold-hot);
  outline-offset: 5px;
}

.signal-copy {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: -8px 0 0;
  color: rgba(255, 248, 234, 0.64);
  font-size: 0.95rem;
  line-height: 1.5;
  transition:
    color 260ms var(--ease-out),
    text-shadow 260ms var(--ease-out),
    transform 260ms var(--ease-out);
}

.signal-copy.is-live-update {
  color: var(--gold-hot);
  text-shadow: 0 0 24px rgba(245, 199, 107, 0.42);
  transform: translateY(-1px);
}

.noscript-panel {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 5;
  max-width: 320px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 231, 163, 0.26);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.72);
  color: var(--text);
  font-size: 0.88rem;
}

.site-credit {
  position: fixed;
  left: 50%;
  bottom: clamp(12px, 2.5vw, 22px);
  z-index: 4;
  transform: translateX(-50%);
  color: rgba(255, 248, 234, 0.46);
  font-size: clamp(0.68rem, 1.6vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.72);
  pointer-events: auto;
}

.site-credit a {
  color: rgba(255, 231, 163, 0.72);
  text-decoration: none;
  transition:
    color 180ms var(--ease-out),
    text-shadow 180ms var(--ease-out),
    opacity 180ms var(--ease-out);
}

.site-credit a:hover,
.site-credit a:focus-visible {
  color: var(--gold-hot);
  text-shadow: 0 0 18px rgba(245, 199, 107, 0.34);
}

.site-credit a:focus-visible {
  outline: 2px solid rgba(255, 231, 163, 0.6);
  outline-offset: 4px;
  border-radius: 4px;
}

@keyframes sweep {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(2%, 1%, 0) scale(1.04);
  }
}

@keyframes orbit {
  to {
    rotate: 360deg;
  }
}

@keyframes panelShine {
  0%,
  55% {
    transform: translateX(-68%);
  }
  100% {
    transform: translateX(72%);
  }
}

@keyframes livePulse {
  50% {
    transform: scale(1.42);
    opacity: 0.48;
  }
}

@keyframes progressShimmer {
  to {
    transform: translateX(90%);
  }
}

@keyframes numberBumpStrong {
  0% {
    transform: scale(1);
    filter: brightness(1);
  }
  18% {
    transform: scale(1.095);
    filter: brightness(1.65) drop-shadow(0 0 22px rgba(255, 231, 163, 0.66));
  }
  42% {
    transform: scale(1.035);
    filter: brightness(1.28) drop-shadow(0 0 38px rgba(245, 199, 107, 0.5));
  }
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
}

@keyframes panelGlowPulse {
  0% {
    box-shadow: var(--shadow);
    border-color: var(--panel-border);
  }
  24% {
    box-shadow:
      0 28px 110px rgba(0, 0, 0, 0.68),
      0 0 0 1px rgba(255, 231, 163, 0.56),
      0 0 54px rgba(245, 199, 107, 0.34),
      0 0 82px rgba(124, 236, 255, 0.14);
    border-color: rgba(255, 231, 163, 0.66);
  }
  100% {
    box-shadow: var(--shadow);
    border-color: var(--panel-border);
  }
}

@keyframes progressTrackGlow {
  0% {
    box-shadow:
      inset 0 1px 16px rgba(0, 0, 0, 0.45),
      0 0 35px rgba(245, 199, 107, 0.12);
  }
  28% {
    box-shadow:
      inset 0 1px 18px rgba(255, 231, 163, 0.24),
      0 0 38px rgba(245, 199, 107, 0.54),
      0 0 72px rgba(124, 236, 255, 0.22);
  }
  100% {
    box-shadow:
      inset 0 1px 16px rgba(0, 0, 0, 0.45),
      0 0 35px rgba(245, 199, 107, 0.12);
  }
}

@keyframes progressSurge {
  0% {
    opacity: 0;
    transform: translateX(-120%);
  }
  18% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translateX(120%);
  }
}

@keyframes progressEndGlow {
  0% {
    opacity: 0.55;
    transform: translateY(-50%) scale(1);
  }
  32% {
    opacity: 1;
    transform: translateY(-50%) scale(1.9);
  }
  100% {
    opacity: 0.72;
    transform: translateY(-50%) scale(1);
  }
}

@keyframes followerBadgeRise {
  0% {
    opacity: 0;
    transform: translate3d(0, 16px, 0) scale(0.82);
    filter: blur(2px);
  }
  18% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1.04);
    filter: blur(0);
  }
  72% {
    opacity: 1;
    transform: translate3d(0, -18px, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate3d(0, -34px, 0) scale(0.92);
  }
}

@keyframes sparkBurst {
  0% {
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) scale(0.4);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate3d(calc(-50% + var(--spark-tx)), calc(-50% + var(--spark-ty)), 0) scale(0.08);
  }
}

@media (max-width: 760px) {
  .hero {
    gap: 22px;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .cinema-vignette {
    background:
      linear-gradient(0deg, rgba(1, 1, 3, 0.95) 0%, rgba(1, 1, 3, 0.38) 54%, rgba(1, 1, 3, 0.7) 100%),
      radial-gradient(circle at 50% 40%, transparent 0 12rem, rgba(1, 1, 3, 0.76) 76%);
  }

  .hero-frame {
    background-position: center top;
  }

  .mission-panel {
    width: 100%;
  }

  .counter-line,
  .progress-meta,
  .delta-row {
    align-items: flex-start;
    gap: 8px;
  }

  .progress-meta,
  .delta-row {
    font-size: 0.7rem;
  }

  .instagram-cta {
    width: min(100%, 360px);
  }
}

@media (max-width: 420px) {
  .chapter {
    letter-spacing: 0.14em;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.3rem);
  }

  .follower-count {
    font-size: clamp(3rem, 17vw, 4.6rem);
  }
}

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