/* ============================================================
   SWEEPSTAKES LANDING PAGE — Enhanced Design System
   ============================================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Palette */
  --bg-deep:        #0b0712;
  --bg-elevated:     #120c1f;
  --red:             #dc2626;
  --red-bright:      #ef4444;
  --red-dark:        #991b1b;
  --red-glow:        rgba(220, 38, 38, 0.35);
  --gold:            #f59e0b;
  --gold-light:      #fbbf24;
  --gold-pale:       #fef3c7;
  --gold-glow:       rgba(245, 158, 11, 0.35);
  --green:           #26de81;
  --green-glow:      rgba(38, 222, 129, 0.3);
  --text-primary:    #faf9fc;
  --text-secondary:  #b0adba;
  --text-tertiary:   #7a758a;
  --border-subtle:   rgba(255, 255, 255, 0.07);

  /* Typography */
  --font-display:    'Bungee', cursive, sans-serif;
  --font-body:       'Nunito', 'Inter', system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth:    cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(220, 38, 38, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(245, 158, 11, 0.04) 0%, transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(40, 20, 60, 0.5) 0%, transparent 100%);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  line-height: 1.5;
}

::selection {
  background: rgba(220, 38, 38, 0.3);
  color: var(--text-primary);
}

/* ---------- BACKGROUND ORBS ---------- */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.bg-orb--1 {
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.05) 0%, transparent 70%);
  top: -20%; left: -15%;
  filter: blur(100px);
  animation: orbDrift 18s ease-in-out infinite;
}
.bg-orb--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.04) 0%, transparent 70%);
  bottom: -15%; right: -12%;
  filter: blur(100px);
  animation: orbDrift 20s ease-in-out infinite reverse;
}
.bg-orb--3 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.03) 0%, transparent 70%);
  top: 45%; left: 55%;
  filter: blur(80px);
  animation: orbDrift 16s ease-in-out infinite;
  animation-delay: -8s;
}
@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(50px, -40px) scale(1.1); }
  50%  { transform: translate(-30px, 25px) scale(0.9); }
  75%  { transform: translate(-40px, -15px) scale(1.07); }
}

/* ---------- CLOUDS ---------- */
.cloud {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  width: 120px;
  height: 50px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 60px;
  animation: cloudDrift linear infinite;
}
.cloud::before,
.cloud::after {
  content: '';
  position: absolute;
  background: inherit;
  border-radius: 50%;
}
.cloud::before {
  width: 60px; height: 60px;
  top: -30px; left: 25px;
}
.cloud::after {
  width: 45px; height: 45px;
  top: -15px; right: 20px;
}
#cloud1 { top: 5%; animation-duration: 35s; }
#cloud2 { top: 15%; animation-duration: 42s; animation-delay: -8s; }
#cloud3 { top: 25%; animation-duration: 38s; animation-delay: -17s; }
#cloud4 { top: 8%; animation-duration: 45s; animation-delay: -26s; }
#cloud5 { top: 20%; animation-duration: 40s; animation-delay: -12s; }

@keyframes cloudDrift {
  0%   { left: -160px; opacity: 0; }
  5%   { opacity: 1; }
  85%  { opacity: 1; }
  100% { left: 110vw; opacity: 0; }
}

/* ---------- FLOATING STARS ---------- */
.fl-star {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  font-size: 22px;
  animation: starFloat 6s ease-in-out infinite;
  opacity: 0.5;
}
.fl-star:nth-child(6)  { top: 10%; left: 5%; animation-delay: 0s; font-size: 18px; }
.fl-star:nth-child(7)  { top: 25%; left: 90%; animation-delay: -1.5s; font-size: 24px; }
.fl-star:nth-child(8)  { top: 60%; left: 8%; animation-delay: -3s; font-size: 16px; }
.fl-star:nth-child(9)  { top: 70%; left: 85%; animation-delay: -4.5s; font-size: 20px; }
.fl-star:nth-child(10) { top: 35%; left: 12%; animation-delay: -2s; font-size: 22px; }
.fl-star:nth-child(11) { top: 50%; left: 92%; animation-delay: -0.8s; font-size: 15px; }
.fl-star:nth-child(12) { top: 80%; left: 15%; animation-delay: -3.5s; font-size: 19px; }
.fl-star:nth-child(13) { top: 15%; left: 45%; animation-delay: -5s; font-size: 21px; }
.fl-star:nth-child(14) { top: 85%; left: 75%; animation-delay: -2.2s; font-size: 17px; }

@keyframes starFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.4; }
  50%      { transform: translateY(-20px) rotate(15deg); opacity: 0.7; }
}

/* ---------- PARTICLE CANVAS ---------- */
#particleCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ---------- COINS LAYER ---------- */
.coins-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.coin {
  position: absolute;
  font-size: 28px;
  opacity: 0;
  animation: coinFloat linear infinite;
  filter: drop-shadow(0 4px 12px rgba(245, 158, 11, 0.3));
}
@keyframes coinFloat {
  0%   { opacity: 0; transform: translateY(105vh) rotate(0deg) scale(0.8); }
  10%  { opacity: 0.45; }
  85%  { opacity: 0.45; }
  100% { opacity: 0; transform: translateY(-10vh) rotate(720deg) scale(1.1); }
}

/* ---------- COIN POP (click feedback) ---------- */
.fl-coin {
  position: fixed;
  z-index: 70;
  pointer-events: none;
  font-size: 20px;
  font-weight: 800;
  animation: coinPop 1s var(--ease-out-expo) forwards;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}
@keyframes coinPop {
  0%   { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-100px) scale(0.4); }
}

/* ---------- URGENCY BANNER ---------- */
.urgency-banner {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  background: linear-gradient(90deg, rgba(220,38,38,0.2), rgba(220,38,38,0.35), rgba(220,38,38,0.2));
  border-bottom: 1px solid rgba(220,38,38,0.3);
  padding: 10px 16px;
  text-align: center;
  animation: bannerPulse 2s ease-in-out infinite;
}
@keyframes bannerPulse {
  0%, 100% { background: linear-gradient(90deg, rgba(220,38,38,0.2), rgba(220,38,38,0.35), rgba(220,38,38,0.2)); }
  50%      { background: linear-gradient(90deg, rgba(220,38,38,0.3), rgba(220,38,38,0.5), rgba(220,38,38,0.3)); }
}
.urgency-banner-text {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.urgency-banner-text strong {
  color: var(--gold-light);
  font-size: 16px;
}

/* ---------- LAYOUT ---------- */
.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 20px 20px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/* ---------- HEADER ---------- */
.header { text-align: center; width: 100%; }
.header h1 {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.heading-line {
  font-family: var(--font-display);
  font-size: clamp(22px, 5vw, 32px);
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  letter-spacing: 0.02em;
}
.heading-line--gold {
  color: var(--gold-light);
  text-shadow: 0 2px 16px var(--gold-glow);
}

/* ---------- TAPS NEEDED ---------- */
.taps-needed {
  text-align: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-full);
  padding: 8px 24px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-secondary);
}
.taps-needed span:first-child {
  color: var(--gold-light);
  font-size: 20px;
  font-weight: 900;
}

/* ---------- GIFT BOX ---------- */
.gift-wrapper {
  position: relative;
  cursor: pointer;
  padding: 28px;
  transition: transform 0.12s var(--ease-smooth);
}
.gift-wrapper:active { transform: scale(0.94); }
.gift-wrapper.disabled { pointer-events: none; opacity: 0.4; filter: grayscale(0.5); }
.gift-wrapper.disabled .gift-glow { opacity: 0 !important; }

.gift-glow {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220,38,38,0.4) 0%, rgba(245,158,11,0.15) 40%, transparent 65%);
  opacity: 0;
  transition: opacity 0.35s var(--ease-smooth);
  pointer-events: none;
  filter: blur(6px);
}
.gift-wrapper:hover .gift-glow { opacity: 1; }
.gift-wrapper.glowing .gift-glow {
  opacity: 1 !important;
  animation: glowBreathing 1.2s ease-in-out infinite;
}
@keyframes glowBreathing {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.15); }
}

/* Gift Box — CSS drawn */
.gift {
  position: relative;
  width: 150px;
  height: 150px;
  perspective: 400px;
}
.gift-body {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 124px;
  height: 96px;
  background: linear-gradient(175deg, #ef4444 0%, #dc2626 35%, #b91c1c 100%);
  border-radius: 10px;
  box-shadow:
    0 8px 40px var(--red-glow),
    0 2px 8px rgba(0,0,0,0.3),
    inset 0 2px 0 rgba(255,255,255,0.12),
    inset 0 -6px 16px rgba(0,0,0,0.25);
  z-index: 1;
}
.gift-ribbon-v {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 16px; height: 96px;
  background: linear-gradient(180deg, #fcd34d 0%, #f59e0b 40%, #b45309 100%);
  border-radius: 4px;
  z-index: 2;
  box-shadow: 0 4px 16px var(--gold-glow), inset 0 1px 0 rgba(255,255,255,0.35);
}
.gift-ribbon-h {
  position: absolute;
  bottom: 38px; left: 50%;
  transform: translateX(-50%);
  width: 124px; height: 14px;
  background: linear-gradient(90deg, #b45309 0%, #f59e0b 25%, #fcd34d 50%, #f59e0b 75%, #b45309 100%);
  border-radius: 3px;
  z-index: 2;
  box-shadow: 0 2px 10px var(--gold-glow);
}
.gift-bow {
  position: absolute;
  bottom: 86px; left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 22px;
  background: radial-gradient(circle at 40% 40%, #fcd34d, #f59e0b 50%, #b45309 100%);
  border-radius: 50%;
  z-index: 3;
  box-shadow: 0 4px 14px var(--gold-glow);
}
.gift-bow-loop {
  position: absolute;
  bottom: 88px; z-index: 3;
  width: 22px; height: 28px;
  background: linear-gradient(145deg, #fcd34d 0%, #f59e0b 55%, #b45309 100%);
  border-radius: 50% 50% 45% 45% / 60% 60% 35% 35%;
  box-shadow: 0 2px 10px rgba(245,158,11,0.45);
}
.gift-bow-loop--left  { left: 50%; transform: translateX(-24px) rotate(-38deg); }
.gift-bow-loop--right { left: 50%; transform: translateX(2px) rotate(38deg); }
.gift-lid {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 136px; height: 44px;
  background: linear-gradient(180deg, #f87171 0%, #ef4444 50%, #dc2626 100%);
  border-radius: 14px 14px 5px 5px;
  z-index: 4;
  transform-origin: left bottom;
  box-shadow: 0 -2px 10px var(--red-glow), inset 0 2px 0 rgba(255,255,255,0.1);
  transition: transform 1s var(--ease-out-back);
}
.gift-lid.open {
  transform: translateX(-50%) rotateX(-125deg);
}
.gift-lid-ribbon {
  position: absolute;
  top: 5px; left: 50%;
  transform: translateX(-50%);
  width: 13px; height: 34px;
  background: linear-gradient(180deg, #fcd34d, #f59e0b);
  border-radius: 3px;
  z-index: 5;
  box-shadow: 0 2px 8px var(--gold-glow);
}

/* ---------- TAP HINT ---------- */
.tap-hint {
  text-align: center;
  font-size: 14px;
  color: var(--text-tertiary);
  font-weight: 600;
  animation: hintBounce 1.5s ease-in-out infinite;
}
@keyframes hintBounce {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50%      { transform: translateY(-6px); opacity: 1; }
}

/* ---------- PROGRESS BAR ---------- */
.progress-wrapper { width: 100%; max-width: 420px; }
.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-tertiary);
}
.progress-header span:last-child {
  color: var(--gold-light);
}
.progress-track {
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, #dc2626, #ef4444, #f59e0b, #fbbf24);
  background-size: 200% 100%;
  animation: progressShimmer 2s linear infinite;
  transition: width 0.35s var(--ease-out-back);
  box-shadow: 0 0 14px var(--red-glow);
}
@keyframes progressShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---------- CLICKS REMAINING ---------- */
.clicks-remaining {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 4px;
}
.clicks-remaining-num {
  font-family: var(--font-display);
  font-size: clamp(48px, 12vw, 72px);
  color: #fff;
  text-shadow: 0 0 30px var(--red-glow);
  line-height: 1;
}
.clicks-remaining-label {
  font-family: var(--font-display);
  font-size: clamp(16px, 4vw, 22px);
  color: var(--text-tertiary);
  line-height: 1.2;
}

/* ---------- CTA BUTTONS ---------- */
.cta-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 800;
  font-family: var(--font-body);
  text-decoration: none;
  transition: all 0.25s var(--ease-smooth);
  cursor: pointer;
}
.cta-btn--main {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #1a1000;
  box-shadow: 0 6px 28px rgba(245, 158, 11, 0.35);
  animation: ctaPulse 2s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 6px 28px rgba(245, 158, 11, 0.35); }
  50%      { box-shadow: 0 8px 40px rgba(245, 158, 11, 0.55); }
}
.cta-btn--main:hover { transform: translateY(-2px); }
.cta-btn--main:active { transform: scale(0.96); }
.cta-btn--secondary {
  background: rgba(255,255,255,0.06);
  color: var(--text-secondary);
  border: 1px solid rgba(255,255,255,0.1);
  font-weight: 600;
}
.cta-btn--secondary:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ---------- SOCIAL PROOF ---------- */
.social-proof {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 4px;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  width: 100%;
}
.proof-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}
.proof-emoji { font-size: 18px; }
.proof-text strong {
  color: var(--gold-light);
  font-weight: 800;
}

/* ---------- LIVE URGENCY ---------- */
.live-urgency {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-tertiary);
  padding: 8px 0;
}
.live-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green-glow);
  animation: livePulse 1.5s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(1.6); }
}
.live-urgency strong {
  color: #fff;
  font-weight: 800;
}

/* ========== REVEAL OVERLAY ========== */
.reveal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-smooth);
}
.reveal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.reveal-inner {
  background: linear-gradient(170deg, #1c1530 0%, #130e22 50%, #0c0818 100%);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-lg);
  padding: 40px 28px 32px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
  transform: scale(0.8) translateY(50px);
  transition: transform 0.55s var(--ease-out-expo);
  box-shadow:
    0 0 0 1px rgba(245, 158, 11, 0.06),
    0 28px 80px -24px rgba(245, 158, 11, 0.2),
    0 0 160px rgba(220, 38, 38, 0.06);
}
.reveal-overlay.active .reveal-inner {
  transform: scale(1) translateY(0);
}

.reveal-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(245, 158, 11, 0.4),
    rgba(220, 38, 38, 0.3),
    rgba(245, 158, 11, 0.4)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.reveal-emoji {
  font-size: 52px;
  margin-bottom: 6px;
  animation: revealFade 0.6s var(--ease-out-expo) 0.1s both;
}
.reveal-label {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--gold-light);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
  animation: revealFade 0.6s var(--ease-out-expo) 0.2s both;
}
.reveal-amount {
  font-family: var(--font-display);
  font-size: clamp(44px, 12vw, 64px);
  color: #fff;
  text-shadow: 0 0 40px var(--gold-glow), 0 4px 16px rgba(0,0,0,0.5);
  line-height: 1.1;
  margin-bottom: 4px;
  animation: revealFade 0.6s var(--ease-out-expo) 0.3s both;
}
.reveal-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  animation: revealFade 0.6s var(--ease-out-expo) 0.35s both;
}
@keyframes revealFade {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Gift Card in reveal */
.gift-card {
  margin: 0 auto 20px;
  border-radius: 14px;
  overflow: hidden;
  max-width: 300px;
  animation: revealFade 0.6s var(--ease-out-expo) 0.45s both;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.gift-card-top {
  background: linear-gradient(135deg, #1a1530 0%, #2d1f50 100%);
  padding: 16px 20px 10px;
  border-bottom: 1px dashed rgba(245, 158, 11, 0.3);
}
.gift-card-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--gold-light);
}
.gift-card-bottom {
  background: linear-gradient(135deg, #120e1c 0%, #1a1430 100%);
  padding: 18px 20px 20px;
}
.gift-card-value {
  font-family: var(--font-display);
  font-size: 40px;
  display: block;
  background: linear-gradient(135deg, #fcd34d, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}
.gift-card-dots {
  font-size: 13px;
  color: var(--text-tertiary);
  letter-spacing: 0.2em;
}

/* Claim button */
.claim-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 320px;
  height: 56px;
  border: none;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #1a1000;
  font-size: 17px;
  font-weight: 800;
  font-family: var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
  box-shadow: 0 8px 36px rgba(245, 158, 11, 0.35);
  animation: revealFade 0.6s var(--ease-out-expo) 0.55s both;
}
.claim-btn:hover  { transform: translateY(-3px); box-shadow: 0 14px 44px rgba(245, 158, 11, 0.5); }
.claim-btn:active { transform: scale(0.96); }
.claim-arrow { transition: transform 0.3s var(--ease-smooth); }
.claim-btn:hover .claim-arrow { transform: translateX(4px); }

.reveal-footer {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-tertiary);
  animation: revealFade 0.6s var(--ease-out-expo) 0.65s both;
}

/* ========== GIFT ANIMATIONS ========== */
.gift-wrapper.bouncing .gift { animation: giftBounce 0.42s var(--ease-out-expo); }
.gift-wrapper.shaking  .gift { animation: giftShake  0.36s ease-in-out; }
.gift-wrapper.pulsing  .gift { animation: giftPulse  0.28s var(--ease-out-back); }

@keyframes giftBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  25%  { transform: translateY(-18px) scale(1.12); }
  45%  { transform: translateY(-8px) scale(1.06); }
  65%  { transform: translateY(-3px) scale(1.02); }
}
@keyframes giftShake {
  0%, 100% { transform: rotate(0deg) scale(1); }
  12%  { transform: rotate(-8deg) scale(1.03); }
  25%  { transform: rotate(7deg); }
  38%  { transform: rotate(-5deg); }
  50%  { transform: rotate(4deg); }
  62%  { transform: rotate(-3deg); }
  75%  { transform: rotate(2deg); }
}
@keyframes giftPulse {
  0%, 100% { transform: scale(1); }
  40%  { transform: scale(1.08); }
}

/* ========== MILESTONE BURST ========== */
.milestone-burst {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.milestone-text {
  font-family: var(--font-display);
  font-size: 100px;
  background: linear-gradient(135deg, #fcd34d, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: milestonePop 1.5s var(--ease-out-expo) forwards;
  filter: drop-shadow(0 0 40px rgba(245,158,11,0.5));
}
@keyframes milestonePop {
  0%   { opacity: 0; transform: scale(0.3); }
  30%  { opacity: 1; transform: scale(1.15); }
  60%  { opacity: 1; transform: scale(0.95); }
  100% { opacity: 0; transform: scale(1.3); }
}

/* ========== SPARKLE & RIPPLE ========== */
.sparkle {
  position: fixed;
  border-radius: 50%;
  background: var(--gold-light);
  pointer-events: none;
  z-index: 60;
  animation: sparklePop 0.7s var(--ease-out-expo) forwards;
  box-shadow: 0 0 8px 3px var(--gold-glow);
}
@keyframes sparklePop {
  0%   { opacity: 1; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(var(--sx), var(--sy)) scale(0); }
}
.click-ripple {
  position: fixed;
  border-radius: 50%;
  border: 1px solid var(--red-bright);
  pointer-events: none;
  z-index: 55;
  animation: rippleExpand 0.65s var(--ease-out-expo) forwards;
}
@keyframes rippleExpand {
  0%   { width: 8px; height: 8px; opacity: 0.7; }
  100% { width: 220px; height: 220px; opacity: 0; }
}
.float-plus {
  position: fixed;
  z-index: 65;
  pointer-events: none;
  font-size: 16px;
  font-weight: 800;
  color: var(--red-bright);
  animation: plusRise 0.9s var(--ease-out-expo) forwards;
  text-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
}
@keyframes plusRise {
  0%   { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-90px) scale(0.5); }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 480px) {
  .container { padding: 16px 16px 40px; gap: 14px; }
  .gift { width: 120px; height: 120px; }
  .gift-body { width: 100px; height: 78px; }
  .gift-ribbon-v { width: 13px; height: 78px; }
  .gift-ribbon-h { width: 100px; height: 11px; bottom: 30px; }
  .gift-bow { width: 18px; height: 18px; bottom: 70px; }
  .gift-bow-loop { width: 18px; height: 22px; bottom: 72px; }
  .gift-bow-loop--left  { transform: translateX(-20px) rotate(-38deg); }
  .gift-bow-loop--right { transform: translateX(2px) rotate(38deg); }
  .gift-lid { width: 110px; height: 36px; }
  .gift-lid-ribbon { width: 11px; height: 28px; }
  .reveal-inner { padding: 32px 18px 24px; }
  .reveal-amount { font-size: 44px; }
  .clicks-remaining-num { font-size: 52px; }
  .social-proof { gap: 16px; }
}

@media (max-width: 360px) {
  .gift { width: 100px; height: 100px; }
  .gift-body { width: 82px; height: 64px; }
  .gift-ribbon-v { width: 10px; height: 64px; }
  .gift-ribbon-h { width: 82px; height: 9px; bottom: 24px; }
  .gift-bow { width: 15px; height: 15px; bottom: 58px; }
  .gift-bow-loop { width: 15px; height: 19px; bottom: 60px; }
  .gift-bow-loop--left  { transform: translateX(-17px) rotate(-38deg); }
  .gift-bow-loop--right { transform: translateX(2px) rotate(38deg); }
  .gift-lid { width: 92px; height: 30px; }
  .gift-lid-ribbon { width: 9px; height: 24px; }
  .reveal-inner { padding: 24px 14px 18px; }
  .reveal-amount { font-size: 36px; }
  .claim-btn { height: 48px; font-size: 15px; }
  .clicks-remaining-num { font-size: 42px; }
  .social-proof { gap: 10px; font-size: 12px; }
}
