:root {
  --green: #25a94e;
  --green-dark: #16883b;
  --text: #111111;
  --page-bg: #f7fff9;
  --yellow: #ffe05a;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 224, 90, 0.38), transparent 28vw),
    linear-gradient(180deg, #ecfff3 0%, #ffffff 58%, #f5fff7 100%);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 28px;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 224, 90, 0.52), transparent 24vmin),
    radial-gradient(circle at 50% 58%, rgba(37, 169, 78, 0.18), transparent 34vmin),
    linear-gradient(180deg, #eafff1 0%, #ffffff 56%, #f7fff9 100%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 320ms ease, visibility 320ms ease;
}

.js body.is-loading .loader {
  opacity: 1;
  visibility: visible;
}

.js body.is-loading .page,
.js body.is-loading .background-art {
  opacity: 0;
}

.loader-mark {
  position: relative;
  display: grid;
  width: clamp(145px, 19vw, 210px);
  aspect-ratio: 1;
  place-items: center;
}

.loader-mark::before {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.64) 54%, transparent 68%);
  box-shadow:
    0 24px 64px rgba(0, 106, 48, 0.18),
    0 0 56px rgba(255, 224, 90, 0.36);
  content: "";
  animation: loader-breathe 2.2s ease-in-out infinite;
}

.loader-ring,
.loader-orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.loader-ring {
  border: 2px solid rgba(37, 169, 78, 0.12);
  background:
    conic-gradient(from 0deg, transparent 0 18%, rgba(37, 169, 78, 0.9) 22%, #ffe05a 34%, transparent 42% 100%);
  mask: radial-gradient(circle, transparent 61%, #000 62%);
  animation: loader-spin 1.55s linear infinite;
}

.loader-orbit {
  border: 1px solid rgba(37, 169, 78, 0.13);
}

.loader-orbit::before {
  position: absolute;
  top: 10%;
  left: 50%;
  width: 11px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffe05a;
  box-shadow: 0 0 0 7px rgba(255, 224, 90, 0.2), 0 0 22px rgba(255, 224, 90, 0.78);
  content: "";
  transform: translateX(-50%);
}

.loader-orbit-one {
  inset: 11%;
  animation: loader-spin 2.3s linear infinite reverse;
}

.loader-orbit-two {
  inset: 20%;
  transform: rotate(32deg);
  animation: loader-spin 3.1s linear infinite;
}

.loader-orbit-two::before {
  width: 8px;
  background: #25a94e;
  box-shadow: 0 0 0 6px rgba(37, 169, 78, 0.16), 0 0 20px rgba(37, 169, 78, 0.68);
}

.loader-logo {
  position: relative;
  z-index: 1;
  width: 66%;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 106, 48, 0.2));
  transform-origin: center;
  user-select: none;
  -webkit-user-drag: none;
  animation: loader-logo-pop 2.2s ease-in-out infinite;
}

.loader-equalizer {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 14px 34px rgba(0, 106, 48, 0.12), inset 0 0 0 1px rgba(37, 169, 78, 0.1);
}

.loader-equalizer span {
  width: 8px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe05a, #25a94e);
  box-shadow: 0 0 16px rgba(255, 224, 90, 0.5);
  transform-origin: center bottom;
  animation: loader-bars 900ms ease-in-out infinite;
}

.loader-equalizer span:nth-child(2) {
  animation-delay: -120ms;
}

.loader-equalizer span:nth-child(3) {
  animation-delay: -240ms;
}

.loader-equalizer span:nth-child(4) {
  animation-delay: -360ms;
}

.loader-equalizer span:nth-child(5) {
  animation-delay: -480ms;
}

.page,
.background-art {
  transition: opacity 280ms ease;
}

.background-art,
.background-art span {
  position: fixed;
  pointer-events: none;
}

.background-art {
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.sunburst {
  top: -44vmin;
  left: 50%;
  width: 88vmin;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from -8deg, rgba(255, 224, 90, 0.42) 0 8deg, transparent 8deg 18deg),
    radial-gradient(circle, rgba(255, 224, 90, 0.38), transparent 64%);
  transform: translateX(-50%);
  animation: slow-spin 42s linear infinite;
}

.ribbon {
  width: 118vw;
  height: 82px;
  left: -9vw;
  border-radius: 999px;
  opacity: 0.86;
  transform: rotate(-5deg);
}

.ribbon-one {
  top: 6vh;
  background: linear-gradient(90deg, transparent, rgba(34, 166, 75, 0.2), rgba(255, 224, 90, 0.38), rgba(34, 166, 75, 0.2), transparent);
}

.ribbon-two {
  bottom: 9vh;
  background: linear-gradient(90deg, transparent, rgba(255, 224, 90, 0.3), rgba(34, 166, 75, 0.18), transparent);
  transform: rotate(4deg);
}

.spark {
  width: 12px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 8px rgba(255, 224, 90, 0.18), 0 0 24px rgba(255, 224, 90, 0.62);
  animation: float-spark 6s ease-in-out infinite;
}

.spark-one {
  top: 18vh;
  left: 14vw;
}

.spark-two {
  top: 31vh;
  right: 13vw;
  animation-delay: -2s;
}

.spark-three {
  bottom: 20vh;
  left: 18vw;
  animation-delay: -4s;
}

.page {
  display: flex;
  position: relative;
  z-index: 1;
  min-height: 100svh;
  width: 100%;
  margin: 0 auto;
  padding: clamp(10px, 1.6vh, 15px) clamp(12px, 2.5vw, 28px) clamp(12px, 2.2vh, 20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.brand-logo {
  display: block;
  width: clamp(88px, 11vw, 132px);
  height: auto;
  margin: 0 auto clamp(8px, 1.5vh, 14px);
  filter: drop-shadow(0 10px 20px rgba(0, 106, 48, 0.18));
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  animation: logo-hover 5s ease-in-out infinite;
}

.event-image {
  display: block;
  width: auto;
  max-width: min(100%, 1120px);
  max-height: calc(100svh - 230px);
  height: auto;
  margin: 0 auto clamp(12px, 1.8vh, 18px);
  border-radius: 8px;
  box-shadow:
    0 18px 52px rgba(0, 96, 38, 0.18),
    0 5px 18px rgba(0, 0, 0, 0.12);
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.cta-area {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-area::before {
  position: absolute;
  inset: -14px -42px 22px;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(255, 224, 90, 0.44), rgba(255, 224, 90, 0) 68%);
  content: "";
}

.register-button {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-width: 220px;
  min-height: 48px;
  padding: 12px 34px;
  border-radius: 999px;
  background:
    linear-gradient(110deg, transparent 0 34%, rgba(255, 255, 255, 0.34) 45%, transparent 56%),
    linear-gradient(135deg, #1fa649, #32b85b 48%, #16883b);
  background-size: 240% 100%, 100% 100%;
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(22, 136, 59, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.34);
  animation: button-shine 3.2s ease-in-out infinite;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.register-button::after {
  position: absolute;
  inset: -8px;
  z-index: -1;
  border-radius: inherit;
  background: rgba(255, 224, 90, 0.56);
  content: "";
  opacity: 0;
  animation: button-pulse 2.8s ease-in-out infinite;
}

.register-button:hover,
.register-button:focus-visible {
  filter: saturate(1.08) brightness(1.02);
  box-shadow: 0 14px 30px rgba(22, 136, 59, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.38);
  transform: translateY(-1px);
}

.register-button:focus-visible {
  outline: 3px solid rgba(37, 169, 78, 0.32);
  outline-offset: 4px;
}

.register-button:active {
  transform: translateY(1px);
}

@keyframes button-shine {
  0%,
  34% {
    background-position: 130% 0, 0 0;
  }

  72%,
  100% {
    background-position: -70% 0, 0 0;
  }
}

@keyframes button-pulse {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.95);
  }

  50% {
    opacity: 0.42;
    transform: scale(1.12);
  }
}

@keyframes logo-hover {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@keyframes slow-spin {
  to {
    transform: translateX(-50%) rotate(1turn);
  }
}

@keyframes float-spark {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.55;
  }

  50% {
    transform: translateY(-14px) scale(1.18);
    opacity: 1;
  }
}

@keyframes loader-logo-pop {
  0%,
  100% {
    transform: translate(3%, 1%) scale(1);
  }

  50% {
    transform: translate(3%, 1%) scale(1.045);
  }
}

@keyframes loader-breathe {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.82;
  }

  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

@keyframes loader-spin {
  to {
    transform: rotate(1turn);
  }
}

@keyframes loader-bars {
  0%,
  100% {
    transform: scaleY(0.45);
    opacity: 0.72;
  }

  50% {
    transform: scaleY(1.8);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .background-art *,
  .brand-logo,
  .loader-mark::before,
  .loader-logo,
  .loader-ring,
  .loader-orbit,
  .loader-equalizer span,
  .register-button {
    animation: none;
  }
}

.questions {
  margin: clamp(12px, 1.9vh, 18px) 0 0;
  font-size: clamp(15px, 3vw, 17px);
  line-height: 1.5;
  letter-spacing: 2px;
}

.questions a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (max-width: 480px) {
  .page {
    padding-inline: 18px;
  }

  .event-image {
    max-height: calc(100svh - 222px);
  }

  .register-button {
    width: min(100%, 220px);
  }

  .questions {
    letter-spacing: 1px;
  }
}
