:root {
  --ink-navy: #0A0E27;
  --patch-yellow: #FFD400;
  --patch-pink: #FF3283;
  --patch-teal: #14C4C4;
  --patch-purple: #8B3AC7;
  --paper-white: #FFFFFF;
  --cloud-grey: #E9E9EE;

  --team-a: #FFD400;
  --team-b: #FF3283;
  --team-c: #14C4C4;
  --team-d: #8B3AC7;
  --team-e: #FF8A00;
  --team-f: #3AA8FF;
  --team-g: #7ED957;
  --team-h: #C4348B;

  --sticker-shadow: 5px 6px 0 rgba(10, 14, 39, 0.14);
  --sticker-shadow-sm: 3px 4px 0 rgba(10, 14, 39, 0.12);
  --page-wash: #FFFDF5;
  --radius-lg: 24px;
  --radius-md: 18px;
}

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

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 212, 0, 0.24) 0 7%, transparent 7.2%),
    radial-gradient(circle at 92% 18%, rgba(255, 50, 131, 0.15) 0 9%, transparent 9.2%),
    radial-gradient(circle at 82% 92%, rgba(20, 196, 196, 0.17) 0 12%, transparent 12.2%),
    radial-gradient(circle at 12% 88%, rgba(139, 58, 199, 0.12) 0 10%, transparent 10.2%),
    var(--page-wash);
  color: var(--ink-navy);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Fredoka', 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible {
  outline: 3px solid var(--patch-yellow);
  outline-offset: 2px;
}

::selection {
  color: var(--ink-navy);
  background: var(--patch-yellow);
}

@keyframes sticker-place {
  from {
    opacity: 0;
    transform: translateY(12px) rotate(-1.5deg) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0) scale(1);
  }
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0) rotate(-0.4deg); }
  50% { transform: translateY(-7px) rotate(0.5deg); }
}

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