:root {
  --brand: #7739fb;
  --brand-lift: #5a0ffa;
  --accent: #fec431;
  --accent-lift: #e9a41c;
  --canvas: #333333;
  --text-on-dark: #ffffff;
  --text-on-light: #333333;
  --radius: 12px;
  --lift-depth: 4px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  min-height: 100dvh;
  font-family: "Lexend", system-ui, sans-serif;
  color: var(--text-on-dark);
  background-color: var(--canvas);
  background-image:
    radial-gradient(
      ellipse 80% 60% at 50% 18%,
      rgba(119, 57, 251, 0.28) 0%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 70% 50% at 50% 100%,
      rgba(254, 196, 49, 0.08) 0%,
      transparent 55%
    );
  background-attachment: fixed;
}

.hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem;
  text-align: center;
}

.hero__mascot {
  width: min(42vw, 220px);
  height: auto;
  border-radius: 28%;
  margin-bottom: 1.5rem;
  animation: rise-in 700ms ease-out both;
}

.hero__brand {
  margin: 0 0 0.5rem;
  font-family: "Fredoka One", "Fredoka", sans-serif;
  font-size: clamp(2rem, 6vw, 2.5rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.2;
  color: var(--text-on-dark);
  animation: rise-in 700ms ease-out 80ms both;
}

.hero__tagline {
  margin: 0 0 2rem;
  max-width: 22rem;
  font-family: "Lexend", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--accent);
  animation: rise-in 700ms ease-out 160ms both;
}

.lift-btn {
  --face: var(--accent);
  --ledge: var(--accent-lift);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 12.5rem;
  min-height: 3.25rem;
  padding: 0.75rem 1.5rem;
  margin-bottom: var(--lift-depth);
  border: 0;
  border-radius: var(--radius);
  background: var(--face);
  color: var(--text-on-light);
  font-family: "Fredoka", sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: default;
  pointer-events: none;
  box-shadow: 0 var(--lift-depth) 0 var(--ledge);
  animation: rise-in 700ms ease-out 240ms both;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.lift-btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__mascot,
  .hero__brand,
  .hero__tagline,
  .lift-btn {
    animation: none;
  }
}
