@font-face {
  font-family: "Greater Theory";
  src: url("../assets/GreaterTheory.otf?v=28") format("opentype");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --red: #ff3d3a;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }
html { scroll-behavior: smooth; scroll-snap-type: y proximity; }

body {
  margin: 0;
  overflow-x: hidden;
  background: #030303;
  color: #fff;
  font-family: "Greater Theory", Arial, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 61, 58, .045), transparent 30%),
    linear-gradient(#020202, #050303);
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 15px;
  background: #030303;
  color: rgba(255, 255, 255, .72);
  font-family: Arial, sans-serif;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: opacity .65s ease, visibility .65s ease;
}

.preloader p { margin: 0; }

.preloader-mark { display: flex; align-items: end; gap: 6px; height: 38px; }

.preloader-mark span {
  width: 7px;
  height: 14px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 16px rgba(255, 61, 58, .8);
  animation: loading-bars .85s ease-in-out infinite alternate;
}

.preloader-mark span:nth-child(2) { animation-delay: .16s; }
.preloader-mark span:nth-child(3) { animation-delay: .32s; }

body.is-ready .preloader { opacity: 0; visibility: hidden; pointer-events: none; }

.edge-glow {
  position: fixed;
  z-index: -2;
  inset: -45vmax;
  pointer-events: none;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(255, 61, 58, .015) 28deg,
    rgba(255, 61, 58, .1) 55deg,
    rgba(255, 61, 58, .42) 80deg,
    var(--red) 105deg,
    rgba(255, 61, 58, .42) 130deg,
    rgba(255, 61, 58, .1) 155deg,
    rgba(255, 61, 58, .015) 182deg,
    transparent 210deg 360deg
  );
  filter: blur(clamp(22px, 3.5vw, 58px));
  transform-origin: center;
  will-change: transform;
  animation: orbit 13s linear infinite;
}

.edge-glow::after {
  content: "";
  position: absolute;
  inset: calc(45vmax + clamp(42px, 6vw, 110px));
  border-radius: 18%;
  background: #030303;
  box-shadow: 0 0 clamp(45px, 10vw, 160px) clamp(20px, 5vw, 80px) #030303;
}

.page-shell {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  place-items: center;
  gap: clamp(14px, 2vh, 28px);
  padding: clamp(22px, 3.5vh, 44px) clamp(18px, 4vw, 64px) clamp(16px, 2.5vh, 28px);
  scroll-snap-align: start;
}

.hero-header {
  display: grid;
  justify-items: center;
  align-self: start;
  min-height: clamp(82px, 13vh, 150px);
  align-content: start;
}

.brand-logo {
  display: block;
  width: clamp(150px, 18vw, 235px);
  height: auto;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, .08));
}

h1 {
  margin: 0;
  text-align: center;
  font-size: clamp(1.65rem, 3.1vw, 3.3rem);
  font-weight: 400;
  line-height: .95;
  letter-spacing: .01em;
  text-wrap: balance;
}

h1 span {
  color: var(--red);
  text-shadow: 0 0 16px rgba(255, 61, 58, .7);
}

.thank-you-copy {
  display: grid;
  justify-items: center;
  gap: 7px;
  text-align: center;
}

.thank-you-copy h1 {
  font-size: clamp(1.25rem, 2.325vw, 2.475rem);
  line-height: 1.08;
}

.thank-you-copy p {
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-family: Arial, sans-serif;
  font-size: clamp(.75rem, 1.05vw, .95rem);
  letter-spacing: .08em;
}

.scroll-cue {
  display: grid;
  justify-items: center;
  gap: 5px;
  margin-top: clamp(5px, 1vh, 12px);
  color: rgba(255, 255, 255, .58);
  font-family: Arial, sans-serif;
  font-size: clamp(.63rem, .82vw, .74rem);
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .25s ease;
}

.scroll-cue:hover,
.scroll-cue:focus-visible { color: #fff; }

.scroll-cue svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: var(--red);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(255, 61, 58, .72));
  animation: scroll-arrow 1.45s ease-in-out infinite;
}

.thank-you {
  align-self: center;
  display: grid;
  justify-items: center;
  gap: clamp(10px, 1.5vh, 18px);
}

.fan-stage {
  width: min(70vw, 53vh, 620px);
  aspect-ratio: 353 / 351;
  position: relative;
  filter: drop-shadow(0 12px 36px rgba(0, 0, 0, .7));
  opacity: 0;
  transform: translateY(10px) scale(.985);
  transition: opacity .9s ease, transform 1.1s cubic-bezier(.2, .8, .2, 1);
}

body.is-ready .fan-stage { opacity: 1; transform: none; }

.site-footer {
  position: relative;
  width: min(920px, 94vw);
  padding: clamp(12px, 1.6vw, 18px) clamp(16px, 2.5vw, 30px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 18px;
  background: linear-gradient(110deg, rgba(255, 255, 255, .055), rgba(255, 61, 58, .065));
  box-shadow: 0 15px 45px rgba(0, 0, 0, .45), inset 0 1px rgba(255, 255, 255, .08);
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: clamp(.68rem, .9vw, .86rem);
  line-height: 1.45;
  letter-spacing: .025em;
  backdrop-filter: blur(12px);
}

.final-footer { margin: clamp(48px, 8vh, 86px) auto 0; }

.signatures {
  width: min(820px, 100%);
  margin: clamp(54px, 9vh, 96px) auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 5vw, 64px);
}

.signature { text-align: center; }

.signature-mark {
  display: inline-block;
  color: #fff;
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  transform: rotate(-7deg);
  text-shadow: 0 0 18px rgba(255, 255, 255, .18);
}

.signature:nth-child(2) .signature-mark { transform: rotate(4deg); }
.signature:nth-child(3) .signature-mark { transform: rotate(-3deg); }

.signature p {
  margin: 16px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .62);
  font-family: Arial, sans-serif;
  font-size: clamp(.65rem, .9vw, .78rem);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--red);
  box-shadow: 0 0 18px var(--red);
}

.site-footer p { margin: 2px 0; }

.footer-kicker {
  color: #fff;
  font-family: "Greater Theory", Arial, sans-serif;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  letter-spacing: .04em;
}

.footer-details {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px clamp(12px, 3vw, 34px);
  color: rgba(255, 255, 255, .68);
}

.site-footer a {
  display: inline-block;
  margin-top: 5px;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 61, 58, .7);
  transition: color .25s ease, text-shadow .25s ease;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 20px;
}

.instagram-link { display: inline-flex !important; align-items: center; gap: 6px; }

.instagram-link svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.instagram-link .instagram-dot { fill: currentColor; stroke: none; }

.supporters-section {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(70px, 10vh, 120px) clamp(20px, 6vw, 90px);
  scroll-snap-align: start;
  background:
    radial-gradient(circle at 50% 100%, rgba(255, 61, 58, .15), transparent 48%),
    linear-gradient(180deg, #030303, #090303);
}

.supporters-inner { width: min(1040px, 100%); text-align: center; }

.section-eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-family: Arial, sans-serif;
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.supporters-section h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 400;
}

.supporters-section h2 span { color: var(--red); text-shadow: 0 0 16px rgba(255, 61, 58, .6); }

.staff-block {
  margin-bottom: clamp(58px, 9vh, 100px);
  padding-bottom: clamp(48px, 7vh, 76px);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.community-block { padding-top: 2px; }

.staff-list {
  width: min(720px, 100%);
  margin-inline: auto;
  columns: 2;
}

.supporters-subtitle {
  width: min(760px, 100%);
  margin: 0 auto clamp(34px, 6vh, 64px);
  color: rgba(255, 255, 255, .62);
  font-family: Arial, sans-serif;
  font-size: clamp(.78rem, 1.15vw, .96rem);
  line-height: 1.55;
  text-wrap: balance;
}

.supporters-list {
  margin: 0;
  padding: 0;
  columns: 3;
  column-gap: clamp(28px, 6vw, 80px);
  list-style: none;
  text-align: left;
}

.supporters-list li {
  break-inside: avoid;
  position: relative;
  margin: 0 0 12px;
  padding-left: 18px;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(.78rem, 1.15vw, 1rem);
  line-height: 1.25;
}

.supporters-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: .68em;
  top: .2em;
}

.message-thanks {
  width: min(760px, 100%);
  margin: clamp(40px, 7vh, 72px) auto 0;
  padding-top: clamp(24px, 4vh, 38px);
  border-top: 1px solid rgba(255, 255, 255, .14);
  text-align: center;
}

.mail-icon {
  display: block;
  width: clamp(38px, 5vw, 54px);
  height: auto;
  margin: 0 auto clamp(18px, 3vh, 28px);
  fill: rgba(255, 61, 58, .1);
  stroke: var(--red);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 12px rgba(255, 61, 58, .55));
  animation: float-mail 2.8s ease-in-out infinite;
}

.support-message {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-family: "Greater Theory", Arial, sans-serif;
  font-size: clamp(.9rem, 1.4vw, 1.15rem);
  line-height: 1.65;
  text-wrap: balance;
}

.closing-signature {
  margin: clamp(52px, 8vh, 88px) 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: clamp(1.15rem, 2.2vw, 1.8rem);
  letter-spacing: .05em;
}

.closing-signature span {
  color: var(--red);
  text-shadow: 0 0 14px rgba(255, 61, 58, .55);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #ff7775;
  text-shadow: 0 0 12px rgba(255, 61, 58, .65);
}

#fanCanvas {
  display: block;
  width: 100%;
  height: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes orbit { to { transform: rotate(1turn); } }
@keyframes loading-bars { to { height: 38px; background: #ff716e; } }
@keyframes float-mail {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}
@keyframes scroll-arrow {
  0%, 100% { transform: translateY(0); opacity: .55; }
  50% { transform: translateY(7px); opacity: 1; }
}

@media (max-width: 600px) {
  .page-shell {
    gap: 12px;
    padding: 18px 10px 12px;
  }

  .brand-logo { width: clamp(140px, 42vw, 190px); }

  .hero-header { min-height: clamp(72px, 10vh, 100px); }

  h1 { font-size: clamp(1.75rem, 8vw, 2.7rem); }

  .fan-stage { width: min(92vw, 44vh); }

  .site-footer {
    width: min(94vw, 520px);
    border-radius: 14px;
    font-size: .66rem;
  }

  .supporters-list { columns: 1; width: min(330px, 100%); margin-inline: auto; }
  .supporters-list li { margin-bottom: 10px; }
  .signatures { grid-template-columns: 1fr; width: min(260px, 100%); gap: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .edge-glow { animation-duration: 60s; }
  .preloader-mark span { animation-duration: 1.8s; }
  .mail-icon { animation-duration: 6s; }
  .scroll-cue svg { animation-duration: 3s; }
}
