:root {
  --bg: #0a0e1a;
  --surface: #121829;
  --surface-2: #1a2238;
  --text: #f0f4ff;
  --muted: #8b95b0;
  --accent: #4ade80;
  --accent-2: #22c55e;
  --att-blue: #fbbf24;
  --att-red: #e4002b;
  --success: #22c55e;
  --radius: 16px;
  --font: "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  line-height: 1.5;
  overflow-x: hidden;
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 102, 255, 0.25), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(228, 0, 43, 0.12), transparent),
    radial-gradient(ellipse 50% 30% at 0% 80%, rgba(0, 194, 255, 0.15), transparent);
  z-index: 0;
}

.screen {
  display: none;
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 2.5rem;
  min-height: 100dvh;
  animation: fadeIn 0.4s ease;
}

.screen.active {
  display: flex;
  flex-direction: column;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Landing */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.badge {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(228, 0, 43, 0.2);
  color: #ff6b8a;
  border: 1px solid rgba(228, 0, 43, 0.35);
}

.logo-pair {
  font-size: 1rem;
  font-weight: 700;
}

.logo-pair .x {
  margin: 0 0.35rem;
  color: var(--muted);
  font-weight: 400;
}

.logo-pair .store {
  color: #4ade80;
}

.hero-image {
  margin: 0 0 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(0, 157, 219, 0.15);
}

.hero-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  vertical-align: middle;
}

.hero-cta {
  margin: 0 0 1.5rem;
  width: 100%;
}

.hero {
  margin-bottom: 2rem;
}

.ref-join-card {
  margin: 0 0 1.25rem;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1rem;
}

.ref-join-card h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-2), var(--att-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.perks {
  list-style: none;
  margin-bottom: 1.5rem;
}

.perks li {
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: #c8d0e8;
}

/* Testimonials */
.testimonials h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comments-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.comment-card {
  display: flex;
  gap: 0.85rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
}

.avatar {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  background: hsl(var(--hue, 200) 60% 45% / 0.35);
  color: hsl(var(--hue, 200) 80% 85%);
}

.comment-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.comment-head strong {
  font-size: 0.9rem;
}

.stars {
  color: #fbbf24;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

.comment-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.mini-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  text-align: center;
}

/* Buttons */
a.btn {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  line-height: 1.2;
}

.btn {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  padding: 0.85rem 1.5rem;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}

.btn:active:not(:disabled) {
  transform: scale(0.98);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
  box-shadow: 0 4px 24px rgba(34, 197, 94, 0.35);
}

.btn-primary:hover:not(:disabled) {
  box-shadow: 0 6px 32px rgba(34, 197, 94, 0.5);
}

.btn-lg {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1.05rem;
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Forms */
.progress {
  height: 4px;
  background: var(--surface-2);
  border-radius: 999px;
  margin-bottom: 2rem;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--att-red), var(--att-blue));
  border-radius: 999px;
  transition: width 0.4s ease;
}

.form-shell,
.wheel-shell {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.step-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.form-shell h2,
.wheel-shell h2 {
  font-size: 1.65rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.form-hint {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: #c8d0e8;
}

form input {
  width: 100%;
  padding: 1rem 1.1rem;
  font-family: inherit;
  font-size: 1.05rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 194, 255, 0.2);
}

form input.invalid {
  border-color: var(--att-red);
}

.error-msg {
  color: #ff6b8a;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.form-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 2rem;
}

.form-actions .btn-primary {
  flex: 1;
}

/* Mystery boxes */
.pick-count {
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 0.75rem;
}

.mystery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(90px, 1fr));
  gap: 0.8rem;
  margin: 0.25rem 0 1rem;
}

.mystery-box {
  background: linear-gradient(140deg, #172036, #24385f);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-size: 1.8rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  animation: boxFloat 2.2s ease-in-out infinite;
  will-change: transform;
}

.mystery-box:nth-child(2n) {
  animation-delay: 0.3s;
}

.mystery-box:nth-child(3n) {
  animation-delay: 0.6s;
}

.mystery-box span {
  font-size: 0.85rem;
  font-weight: 600;
}

.mystery-box:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  border-color: rgba(251, 191, 36, 0.45);
}

.mystery-box:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.mystery-box.opened-lost {
  background: linear-gradient(140deg, #3a1420, #5c1a2f);
  border-color: rgba(228, 0, 43, 0.4);
  animation: revealLose 0.45s ease;
}

.mystery-box.opened-win {
  background: linear-gradient(140deg, #14532d, #15803d);
  border-color: rgba(74, 222, 128, 0.65);
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.35);
  animation: revealWin 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.box-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.invite-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.invite-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.invite-stats strong {
  font-size: 1rem;
}

.invite-stats span {
  font-size: 0.8rem;
  color: var(--muted);
}

.invite-progress {
  height: 12px;
  background: #0f1628;
  border-radius: 999px;
  overflow: hidden;
}

.invite-progress-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #f59e0b, #22c55e);
  transition: width 0.35s ease;
}

.invite-actions {
  display: grid;
  gap: 0.7rem;
}

.invite-pair {
  margin-top: 0.25rem;
}

.invite-inline {
  grid-template-columns: 1fr 1fr;
  margin-top: 0.7rem;
}

#ref-link {
  width: 100%;
  background: #0f1628;
  color: #e6ecff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
  font-size: 0.85rem;
}

body.invite-complete .invite-progress-fill {
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.65);
}

/* Final verification */
.verify-shell {
  align-items: center;
  text-align: center;
}

.verify-shell h2 {
  margin-bottom: 0.5rem;
}

.verify-shell .form-hint {
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
}

.verify-cta-wrap {
  width: 100%;
  margin: 2rem 0 1rem;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  background: linear-gradient(135deg, #16a34a, #22c55e, #4ade80);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 4px 24px rgba(34, 197, 94, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-whatsapp:hover {
  color: #fff;
  box-shadow:
    0 8px 32px rgba(34, 197, 94, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-whatsapp-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.btn-join-animate {
  animation: whatsappPulse 1.8s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.btn-join-animate::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 65%
  );
  transform: translateX(-120%);
  animation: whatsappShine 2.4s ease-in-out infinite;
}

@keyframes whatsappPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 4px 24px rgba(34, 197, 94, 0.45),
      0 0 0 0 rgba(74, 222, 128, 0.5);
  }
  50% {
    transform: scale(1.03);
    box-shadow:
      0 8px 36px rgba(34, 197, 94, 0.65),
      0 0 0 10px rgba(74, 222, 128, 0);
  }
}

@keyframes whatsappShine {
  0% {
    transform: translateX(-120%);
  }
  45%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes boxFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes revealLose {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(0.93);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes revealWin {
  0% {
    transform: scale(0.9);
  }
  60% {
    transform: scale(1.09);
  }
  100% {
    transform: scale(1);
  }
}

/* Modal */
.modal {
  border: none;
  padding: 0;
  max-width: 420px;
  width: calc(100% - 2rem);
  background: transparent;
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
}

.modal[open] .modal-inner.win-panel {
  animation: modalPop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-inner {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  overflow: hidden;
}

.win-emoji {
  font-size: 3rem;
  display: block;
  margin-bottom: 0.5rem;
}

.modal-inner h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.win-prize {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--success);
  margin-bottom: 0.75rem;
  animation: prizePulse 1.2s ease-in-out infinite;
}

.win-sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.claim-note {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

.confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

body.is-celebrating .bg-glow {
  animation: celebrateFlash 0.6s ease 3;
}

@keyframes celebrateFlash {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.35);
  }
}

.modal-inner.celebrate-panel {
  animation: modalPop 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-color: rgba(74, 222, 128, 0.45);
  box-shadow:
    0 0 0 1px rgba(74, 222, 128, 0.2),
    0 0 60px rgba(34, 197, 94, 0.35),
    0 24px 48px rgba(0, 0, 0, 0.5);
}

@keyframes modalPop {
  0% {
    opacity: 0;
    transform: scale(0.6) rotate(-4deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

.celebrate-pop {
  animation: emojiBounce 0.9s ease infinite;
}

@keyframes emojiBounce {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  25% {
    transform: scale(1.2) rotate(-8deg);
  }
  50% {
    transform: scale(1.05) rotate(8deg);
  }
  75% {
    transform: scale(1.15) rotate(-4deg);
  }
}

.celebrate-shimmer {
  animation: shimmerText 1.5s ease-in-out infinite;
}

@keyframes shimmerText {
  0%,
  100% {
    text-shadow: 0 0 12px rgba(74, 222, 128, 0.4);
  }
  50% {
    text-shadow: 0 0 24px rgba(251, 191, 36, 0.7);
  }
}

@keyframes prizePulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

.celebrate-rays {
  position: absolute;
  inset: -50%;
  pointer-events: none;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(251, 191, 36, 0.12) 20deg,
    transparent 40deg,
    rgba(74, 222, 128, 0.1) 60deg,
    transparent 80deg,
    rgba(228, 0, 43, 0.08) 100deg,
    transparent 120deg
  );
  animation: raysSpin 8s linear infinite;
}

@keyframes raysSpin {
  to {
    transform: rotate(360deg);
  }
}

.confetti-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 30% 20%, rgba(74, 222, 128, 0.25), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(251, 191, 36, 0.2), transparent 50%);
  animation: burstPulse 1s ease-in-out infinite;
}

@keyframes burstPulse {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

/* Win celebration panel */
.win-panel {
  position: relative;
  padding: 2.25rem 1.5rem 1.75rem;
}

.win-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fef3c7;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.35), rgba(34, 197, 94, 0.25));
  border: 1px solid rgba(251, 191, 36, 0.55);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1rem;
  animation: badgeGlow 1.8s ease-in-out infinite;
}

@keyframes badgeGlow {
  0%,
  100% {
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.35);
  }
  50% {
    box-shadow: 0 0 22px rgba(74, 222, 128, 0.55);
  }
}

.win-hero {
  position: relative;
  width: 7.5rem;
  height: 5.5rem;
  margin: 0 auto 0.75rem;
}

.win-hero .win-emoji {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 3.5rem;
  margin: 0;
  z-index: 2;
  animation: trophyBounce 0.9s ease infinite;
}

@keyframes trophyBounce {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }
  25% {
    transform: translate(-50%, -50%) scale(1.15) rotate(-8deg);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05) rotate(8deg);
  }
  75% {
    transform: translate(-50%, -50%) scale(1.12) rotate(-4deg);
  }
}

.win-coin {
  position: absolute;
  font-size: 1.35rem;
  animation: coinFloat 2.4s ease-in-out infinite;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.coin-1 {
  left: 0;
  top: 0.5rem;
  animation-delay: 0s;
}

.coin-2 {
  right: 0;
  top: 0;
  animation-delay: 0.4s;
}

.coin-3 {
  left: 0.25rem;
  bottom: 0;
  animation-delay: 0.8s;
}

.coin-4 {
  right: 0.25rem;
  bottom: 0.25rem;
  animation-delay: 1.2s;
}

@keyframes coinFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  50% {
    transform: translateY(-8px) rotate(12deg) scale(1.1);
  }
}

.win-trophy-ring {
  position: absolute;
  top: 3.5rem;
  left: 50%;
  width: 6.5rem;
  height: 6.5rem;
  margin-left: -3.25rem;
  border-radius: 50%;
  border: 2px solid rgba(251, 191, 36, 0.35);
  box-shadow:
    0 0 0 8px rgba(251, 191, 36, 0.08),
    0 0 40px rgba(74, 222, 128, 0.25);
  animation: ringPulse 2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ringPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

.win-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.win-sparkles span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fde047;
  box-shadow: 0 0 8px #fbbf24;
  animation: sparkle 2.2s ease-in-out infinite;
}

.win-sparkles span:nth-child(1) {
  top: 12%;
  left: 15%;
  animation-delay: 0s;
}

.win-sparkles span:nth-child(2) {
  top: 22%;
  right: 18%;
  animation-delay: 0.3s;
}

.win-sparkles span:nth-child(3) {
  top: 45%;
  left: 8%;
  animation-delay: 0.6s;
}

.win-sparkles span:nth-child(4) {
  top: 38%;
  right: 10%;
  animation-delay: 0.9s;
}

.win-sparkles span:nth-child(5) {
  bottom: 28%;
  left: 22%;
  animation-delay: 1.2s;
}

.win-sparkles span:nth-child(6) {
  bottom: 20%;
  right: 20%;
  animation-delay: 1.5s;
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.4);
  }
  50% {
    opacity: 1;
    transform: scale(1.4);
  }
}

.win-amount-card {
  background: linear-gradient(145deg, rgba(20, 83, 45, 0.55), rgba(21, 128, 61, 0.35));
  border: 1px solid rgba(74, 222, 128, 0.45);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  margin: 0 0 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.win-amount-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #86efac;
  margin-bottom: 0.25rem;
}

.win-amount {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, #fde047, #4ade80);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: amountShine 2s ease-in-out infinite;
}

@keyframes amountShine {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.25);
  }
}

.win-cta-pulse {
  animation: ctaPulse 2s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%,
  100% {
    box-shadow: 0 4px 24px rgba(34, 197, 94, 0.35);
  }
  50% {
    box-shadow: 0 6px 36px rgba(251, 191, 36, 0.45);
  }
}

body.is-celebrating .modal::backdrop {
  animation: celebrateFlash 0.5s ease 6;
}

@media (min-width: 480px) {
  .screen {
    padding: 2rem;
  }

  .mystery-box {
    min-height: 112px;
  }
}
