/* ───── MISSION: DEEPWOOD — Classified Operations CSS ───── */
:root {
  --bg:         #050b18;
  --bg2:        #0a1628;
  --bg3:        #0f1f3d;
  --card:       #0d1a2e;
  --card-hover: #122040;
  --border:     rgba(0, 229, 255, 0.12);
  --border-hot: rgba(0, 229, 255, 0.4);
  --cyan:       #00e5ff;
  --cyan-dim:   rgba(0, 229, 255, 0.15);
  --green:      #00ff88;
  --green-dim:  rgba(0, 255, 136, 0.15);
  --amber:      #f59e0b;
  --amber-dim:  rgba(245, 158, 11, 0.15);
  --red:        #ef4444;
  --red-dim:    rgba(239, 68, 68, 0.15);
  --purple:     #a855f7;
  --purple-dim: rgba(168, 85, 247, 0.15);
  --text:       #e2e8f0;
  --text-dim:   #64748b;
  --text-mid:   #94a3b8;
  --radius:     10px;
  --radius-lg:  16px;
  --font:       'Courier New', 'Courier', monospace;
  --font-ui:    -apple-system, 'SF Pro Display', 'Segoe UI', sans-serif;
}

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

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ── Scanlines overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.03) 2px,
    rgba(0,0,0,0.03) 4px
  );
  pointer-events: none;
  z-index: 9999;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-hot); border-radius: 4px; }

/* ───── TOPBAR ───── */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  background: rgba(5,11,24,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 16px;
  z-index: 100;
}

.topbar-logo {
  font-family: var(--font);
  font-size: 13px;
  color: var(--cyan);
  font-weight: bold;
  letter-spacing: 2px;
  white-space: nowrap;
}

.topbar-logo span { color: var(--text-dim); font-size: 10px; display: block; letter-spacing: 3px; }

.topbar-nav {
  display: flex;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-btn {
  background: none;
  border: none;
  color: var(--text-mid);
  font-size: 13px;
  padding: 6px 14px;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-ui);
  letter-spacing: 0.5px;
  transition: all 0.15s;
}
.nav-btn:hover, .nav-btn.active {
  background: var(--cyan-dim);
  color: var(--cyan);
}

.topbar-agent {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.agent-pip {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 12px;
  font-family: var(--font);
  border: 2px solid rgba(255,255,255,0.15);
}

.credits-badge {
  background: var(--amber-dim);
  border: 1px solid var(--amber);
  color: var(--amber);
  font-size: 11px;
  font-weight: bold;
  padding: 3px 10px;
  border-radius: 20px;
  font-family: var(--font);
}

/* ───── PAGE WRAPPER ───── */
.page {
  padding-top: 72px;
  padding-bottom: 40px;
  max-width: 960px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ───── SECTION HEADER ───── */
.section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.section-header h2 {
  font-family: var(--font);
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--cyan);
  text-transform: uppercase;
}
.section-header .badge {
  background: var(--cyan-dim);
  color: var(--cyan);
  font-size: 12px;
  font-family: var(--font);
  padding: 2px 8px;
  border-radius: 20px;
}

/* ───── MISSION CARDS ───── */
.missions-grid {
  display: grid;
  gap: 10px;
}

.mission-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.2s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.mission-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  border-radius: 3px 0 0 3px;
}

.mission-card.diff-ALPHA::before  { background: var(--green); }
.mission-card.diff-BRAVO::before  { background: var(--amber); }
.mission-card.diff-CHARLIE::before { background: var(--red); }
.mission-card.diff-DELTA::before  { background: var(--purple); }

.mission-card:hover:not(.completed) { border-color: var(--border-hot); background: var(--card-hover); }

.mission-card.completed {
  opacity: 0.5;
  background: rgba(0,255,136,0.03);
  border-color: rgba(0,255,136,0.15);
}
.mission-card.completed::before { background: var(--green); }

.mission-icon {
  font-size: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg2);
  border-radius: var(--radius);
  flex-shrink: 0;
}

.mission-info { flex: 1; min-width: 0; }
.mission-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mission-card.completed .mission-title { text-decoration: line-through; color: var(--text-dim); }
.mission-meta {
  display: flex;
  gap: 8px;
  align-items: center;
}
.mission-subject {
  font-size: 11px;
  color: var(--text-mid);
  font-family: var(--font);
  letter-spacing: 1px;
}

.diff-badge {
  font-size: 9px;
  font-family: var(--font);
  font-weight: bold;
  padding: 2px 7px;
  border-radius: 20px;
  letter-spacing: 1px;
}
.diff-ALPHA  { background: var(--green-dim);  color: var(--green);  border: 1px solid rgba(0,255,136,0.3); }
.diff-BRAVO  { background: var(--amber-dim);  color: var(--amber);  border: 1px solid rgba(245,158,11,0.3); }
.diff-CHARLIE{ background: var(--red-dim);    color: var(--red);    border: 1px solid rgba(239,68,68,0.3); }
.diff-DELTA  { background: var(--purple-dim); color: var(--purple); border: 1px solid rgba(168,85,247,0.3); }

.mission-credits {
  font-family: var(--font);
  font-size: 14px;
  font-weight: bold;
  color: var(--amber);
  white-space: nowrap;
}
.mission-card.completed .mission-credits { color: var(--green); }

.complete-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border-hot);
  background: none;
  color: var(--cyan);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  flex-shrink: 0;
}
.complete-btn:hover { background: var(--cyan-dim); transform: scale(1.1); }
.complete-btn.done { border-color: var(--green); color: var(--green); background: var(--green-dim); }

/* ───── STATS ROW ───── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 12px 8px;
  text-align: center;
}
.stat-value {
  font-family: var(--font);
  font-size: 22px;
  font-weight: bold;
  color: var(--cyan);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--text-dim);
  text-transform: uppercase;
  font-family: var(--font);
}

/* ───── PROGRESS BAR ───── */
.progress-wrap { margin-bottom: 28px; }
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-family: var(--font);
  color: var(--text-dim);
  margin-bottom: 6px;
  letter-spacing: 1px;
}
.progress-bar {
  height: 6px;
  background: var(--bg3);
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  border-radius: 4px;
  transition: width 0.5s ease;
}

/* ───── LEADERBOARD ───── */
.leaderboard-list { display: grid; gap: 10px; }

.lb-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.2s;
}
.lb-card:hover { border-color: var(--border-hot); }
.lb-card.rank-1 { border-color: rgba(245,158,11,0.4); background: rgba(245,158,11,0.04); }
.lb-card.rank-2 { border-color: rgba(148,163,184,0.4); }
.lb-card.rank-3 { border-color: rgba(180,120,60,0.3); }

.rank-badge {
  font-family: var(--font);
  font-size: 22px;
  font-weight: bold;
  width: 36px;
  text-align: center;
  flex-shrink: 0;
}
.rank-1 .rank-badge { color: var(--amber); }
.rank-2 .rank-badge { color: #94a3b8; }
.rank-3 .rank-badge { color: #b47c3c; }

.lb-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 16px;
  font-weight: bold;
  border: 2px solid rgba(255,255,255,0.15);
  flex-shrink: 0;
}

.lb-info { flex: 1; }
.lb-name { font-size: 16px; font-weight: 600; }
.lb-codename { font-family: var(--font); font-size: 10px; letter-spacing: 2px; color: var(--text-dim); }

.lb-stats { display: flex; gap: 20px; align-items: center; }
.lb-stat { text-align: center; }
.lb-stat-value { font-family: var(--font); font-size: 18px; font-weight: bold; display: block; color: var(--cyan); }
.lb-stat-label { font-size: 9px; letter-spacing: 1px; color: var(--text-dim); text-transform: uppercase; }

.streak-flame { font-size: 18px; }

/* ───── SHOP ───── */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.reward-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.2s;
}
.reward-card:hover { border-color: var(--border-hot); background: var(--card-hover); }

.reward-icon { font-size: 36px; text-align: center; }
.reward-title { font-size: 15px; font-weight: 600; text-align: center; }
.reward-desc { font-size: 12px; color: var(--text-dim); text-align: center; }
.reward-cost {
  font-family: var(--font);
  font-size: 20px;
  font-weight: bold;
  color: var(--amber);
  text-align: center;
}
.reward-cost span { font-size: 11px; color: var(--text-dim); letter-spacing: 1px; }

.redeem-btn {
  width: 100%;
  padding: 10px;
  border-radius: var(--radius);
  border: 1px solid var(--cyan);
  background: var(--cyan-dim);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--font-ui);
  letter-spacing: 0.5px;
}
.redeem-btn:hover { background: var(--cyan); color: var(--bg); }
.redeem-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.redeem-btn.insufficient { border-color: var(--text-dim); background: none; color: var(--text-dim); }

/* ───── DIRECTOR CARDS ───── */
.agents-overview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 32px;
}

.agent-overview-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  transition: border-color 0.2s;
}
.agent-overview-card.complete { border-color: rgba(0,255,136,0.4); }
.agent-overview-card.partial  { border-color: rgba(245,158,11,0.3); }

.agent-overview-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 20px;
  font-weight: bold;
  margin: 0 auto 10px;
  border: 2px solid rgba(255,255,255,0.15);
}
.agent-overview-name { font-size: 16px; font-weight: 600; margin-bottom: 2px; }
.agent-overview-codename { font-family: var(--font); font-size: 9px; letter-spacing: 2px; color: var(--text-dim); margin-bottom: 12px; }

.mini-progress-bar {
  height: 4px;
  background: var(--bg3);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}
.mini-progress-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s;
}

.mission-count { font-family: var(--font); font-size: 11px; color: var(--text-dim); }
.mission-count span { color: var(--cyan); }

/* ───── REDEMPTIONS ───── */
.redemptions-list { display: grid; gap: 10px; }

.redemption-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.rdm-status {
  font-size: 10px;
  font-family: var(--font);
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 20px;
  flex-shrink: 0;
}
.rdm-status.pending  { background: var(--amber-dim);  color: var(--amber);  border: 1px solid rgba(245,158,11,0.3); }
.rdm-status.approved { background: var(--green-dim);  color: var(--green);  border: 1px solid rgba(0,255,136,0.3); }
.rdm-status.denied   { background: var(--red-dim);    color: var(--red);    border: 1px solid rgba(239,68,68,0.3); }

.resolve-btns { display: flex; gap: 6px; margin-left: auto; }
.btn-approve {
  padding: 6px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--green);
  background: var(--green-dim);
  color: var(--green);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-approve:hover { background: var(--green); color: var(--bg); }
.btn-deny {
  padding: 6px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--red);
  background: var(--red-dim);
  color: var(--red);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-deny:hover { background: var(--red); color: var(--bg); }

/* ───── BADGES ───── */
.badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}
.badge-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 10px;
  text-align: center;
}
.badge-icon { font-size: 28px; margin-bottom: 6px; }
.badge-name { font-size: 11px; font-weight: 600; margin-bottom: 3px; }
.badge-date { font-size: 10px; color: var(--text-dim); font-family: var(--font); }

/* ───── LOGIN ───── */
.login-bg {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0,229,255,0.05) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(168,85,247,0.05) 0%, transparent 60%),
    var(--bg);
}

.login-logo {
  text-align: center;
  margin-bottom: 40px;
}
.login-logo h1 {
  font-family: var(--font);
  font-size: 28px;
  color: var(--cyan);
  letter-spacing: 6px;
  font-weight: bold;
  margin-bottom: 4px;
}
.login-logo .subtitle {
  font-family: var(--font);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 4px;
  text-transform: uppercase;
}
.login-logo .classified {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font);
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 2px 10px;
  border-radius: 4px;
  opacity: 0.6;
}

.login-section-label {
  font-family: var(--font);
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.agent-selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
  width: 100%;
  max-width: 400px;
}

.agent-select-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 14px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}
.agent-select-card:hover { border-color: var(--border-hot); background: var(--card-hover); transform: translateY(-2px); }
.agent-select-card:active { transform: translateY(0); }

.agent-select-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 18px;
  font-weight: bold;
  margin: 0 auto 10px;
  border: 2px solid rgba(255,255,255,0.2);
}
.agent-select-name { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.agent-select-codename { font-family: var(--font); font-size: 9px; letter-spacing: 2px; color: var(--text-dim); }

.director-row {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 400px;
}
.director-btn {
  flex: 1;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
}
.director-btn:hover { border-color: var(--border-hot); }
.director-btn-name { font-size: 13px; font-weight: 600; }
.director-btn-role { font-family: var(--font); font-size: 9px; letter-spacing: 2px; color: var(--text-dim); }

/* ───── TOAST ───── */
.toast-wrap {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast {
  background: var(--card);
  border: 1px solid var(--cyan);
  border-radius: var(--radius);
  padding: 12px 20px;
  font-family: var(--font);
  font-size: 13px;
  color: var(--cyan);
  white-space: nowrap;
  animation: toastIn 0.25s ease, toastOut 0.25s ease 2.75s forwards;
  pointer-events: auto;
}
.toast.success { border-color: var(--green); color: var(--green); }
.toast.error   { border-color: var(--red);   color: var(--red); }
.toast.amber   { border-color: var(--amber);  color: var(--amber); }

@keyframes toastIn  { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
@keyframes toastOut { from { opacity:1; } to { opacity:0; } }

/* ───── MISSION COMPLETE ANIMATION ───── */
@keyframes missionComplete {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.04); background: rgba(0,255,136,0.08); }
  100% { transform: scale(1); }
}
.mission-card.just-completed { animation: missionComplete 0.4s ease; }

/* ───── GLITCH EFFECT ───── */
@keyframes glitch {
  0%, 100% { clip-path: inset(0 0 98% 0); transform: translate(-2px, 0); }
  25%       { clip-path: inset(30% 0 60% 0); transform: translate(2px, 0); }
  50%       { clip-path: inset(60% 0 20% 0); transform: translate(-1px, 0); }
  75%       { clip-path: inset(80% 0 5% 0);  transform: translate(1px, 0); }
}

/* ───── RESPONSIVE ───── */
@media (max-width: 768px) {
  /* Topbar: stack logo row + scrollable nav row */
  .topbar {
    height: auto;
    flex-wrap: wrap;
    padding: 8px 12px 0;
    gap: 0;
  }
  .topbar-logo {
    flex: 1;
    font-size: 12px;
  }
  .topbar-logo span { display: none; }
  .topbar-agent { margin-bottom: 6px; }
  .topbar-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 6px 0 8px;
    gap: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .topbar-nav::-webkit-scrollbar { display: none; }
  .nav-btn {
    white-space: nowrap;
    font-size: 11px;
    padding: 6px 10px;
    min-height: 32px;
  }
  /* Page padding accounts for taller topbar */
  .page { padding-top: 90px; }

  /* Stats */
  .stats-row { gap: 6px; }
  .stat-value { font-size: 20px; }
  .stat-card { padding: 10px 6px; }

  /* Shop */
  .shop-grid { grid-template-columns: repeat(2, 1fr); }

  /* Leaderboard */
  .lb-stats { gap: 12px; }

  /* Login */
  .agent-selector { grid-template-columns: repeat(2, 1fr); }

  /* Mission cards */
  .missions-grid { grid-template-columns: 1fr; }
  .mission-card { padding: 12px; }
}

@media (max-width: 480px) {
  /* Tighter padding on very small phones */
  .page { padding-left: 12px; padding-right: 12px; }
  .stat-card { min-width: 60px; padding: 8px 4px; }
  .stat-value { font-size: 18px; }
  .stat-label { font-size: 9px; }
  .credits-badge { display: none; }
  /* Ensure tap targets are at least 44px */
  .btn, .nav-btn, .complete-btn { min-height: 40px; }
}

/* ───── EMPTY STATE ───── */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-dim);
  font-family: var(--font);
  font-size: 13px;
  letter-spacing: 1px;
}
.empty-state .empty-icon { font-size: 40px; margin-bottom: 12px; opacity: 0.4; }

/* ───── MISC ───── */
.section-gap { margin-top: 32px; }
.text-cyan { color: var(--cyan); }
.text-green { color: var(--green); }
.text-amber { color: var(--amber); }
.text-red { color: var(--red); }
.mono { font-family: var(--font); }

.btn {
  padding: 10px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border-hot);
  background: var(--cyan-dim);
  color: var(--cyan);
  font-size: 13px;
  cursor: pointer;
  font-family: var(--font-ui);
  transition: all 0.15s;
}
.btn:hover { background: var(--cyan); color: var(--bg); }
.btn.danger { border-color: var(--red); background: var(--red-dim); color: var(--red); }
.btn.danger:hover { background: var(--red); color: white; }

/* pending redemption indicator */
.pending-dot {
  width: 8px; height: 8px;
  background: var(--amber);
  border-radius: 50%;
  display: inline-block;
  margin-left: 6px;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.5; transform:scale(0.8); }
}

/* ───── CELEBRATION OVERLAY ───── */
@keyframes fadeInCelebration {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes popInCelebration {
  from { opacity: 0; transform: scale(0.7); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes bounceCelebration {
  0%   { transform: scale(0); }
  60%  { transform: scale(1.3); }
  80%  { transform: scale(0.9); }
  100% { transform: scale(1); }
}
@keyframes confettiFall {
  0%   { transform: translateY(0) rotate(0deg) scale(1); opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(400px) rotate(720deg) scale(0.5); opacity: 0; }
}
