/* ══════════════════════════════════════════════════════════════════════════════
   SNAP+ REWARDS HUB — STYLESHEET
   Aesthetics: Modern Snapchat Yellow (#FFFC00), Onyx Dark Glass, Neon Highlights
   ══════════════════════════════════════════════════════════════════════════════ */

:root {
  --snap-yellow: #FFFC00;
  --snap-yellow-glow: rgba(255, 252, 0, 0.4);
  --snap-yellow-dark: #d9d600;
  
  --bg-dark: #0A0A0E;
  --bg-surface: #12121A;
  --bg-surface-elevated: #1A1A26;
  
  --glass-bg: rgba(20, 20, 30, 0.75);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-border-hover: rgba(255, 252, 0, 0.4);
  
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  
  --accent-green: #10B981;
  --accent-red: #FF4757;
  --accent-blue: #3B82F6;
  --accent-purple: #8B5CF6;
  
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-glow: 0 0 35px rgba(255, 252, 0, 0.15);
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset & Base ───────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Particle Background Canvas ────────────────────────────────────────────── */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}

/* ── Typography & Accents ─────────────────────────────────────────────────── */
.plus-accent {
  color: var(--snap-yellow);
  font-weight: 800;
  text-shadow: 0 0 12px var(--snap-yellow-glow);
}

.mono {
  font-family: var(--font-mono);
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

/* ── Navbar Header ────────────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 14, 0.85);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
  padding: 14px 24px;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.snap-logo-icon {
  position: relative;
  width: 42px;
  height: 42px;
  background: #000;
  border: 2px solid var(--snap-yellow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--snap-yellow-glow);
}

.ghost-logo-img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
}

.ghost-logo-img-large {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}

.star-badge-mini {
  position: absolute;
  top: -4px;
  right: -4px;
  color: var(--snap-yellow);
  font-size: 14px;
  line-height: 1;
  filter: drop-shadow(0 0 6px var(--snap-yellow));
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.nav-stats {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
}

.lang-switcher {
  display: flex;
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  padding: 2px;
  gap: 2px;
}

.btn-lang {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-lang.active, .btn-lang:hover {
  background: var(--snap-yellow);
  color: #000;
  box-shadow: 0 0 10px var(--snap-yellow-glow);
}

.status-pill.verified {
  color: var(--accent-green);
  border-color: rgba(16, 185, 129, 0.3);
}

.dot-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ── Screen Controller ────────────────────────────────────────────────────── */
.main-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}

.screen {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.screen.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ── Screen 1: Scanning / Gate ────────────────────────────────────────────── */
#screen-scanning {
  max-width: 540px;
  margin: 40px auto 0;
  text-align: center;
}

.scan-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.snap-ring-wrapper {
  position: relative;
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid transparent;
  animation: spin-ring 3s linear infinite;
}

.ring-1 {
  width: 130px;
  height: 130px;
  border-top-color: var(--snap-yellow);
  border-right-color: var(--snap-yellow);
  box-shadow: 0 0 20px var(--snap-yellow-glow);
}

.ring-2 {
  width: 105px;
  height: 105px;
  border-bottom-color: var(--accent-green);
  border-left-color: var(--accent-green);
  animation-direction: reverse;
  animation-duration: 2.2s;
}

.ring-3 {
  width: 80px;
  height: 80px;
  border-top-color: var(--accent-purple);
  animation-duration: 4s;
}

.snap-icon-center {
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 0 10px var(--snap-yellow));
}

@keyframes spin-ring {
  100% { transform: rotate(360deg); }
}

.scan-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.scan-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.scan-steps {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.step.active {
  border-color: var(--snap-yellow);
  color: var(--text-primary);
  background: rgba(255, 252, 0, 0.05);
}

.step.done {
  border-color: var(--accent-green);
  color: var(--text-primary);
}

.step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-muted);
}

.step.active .step-dot {
  background: var(--snap-yellow);
  box-shadow: 0 0 8px var(--snap-yellow);
}

.step.done .step-dot {
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
}

.step-label {
  flex: 1;
  text-align: left;
  font-weight: 500;
}

.scan-progress-bar {
  width: 100%;
  height: 8px;
  background: var(--bg-surface);
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.scan-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--snap-yellow), var(--accent-green));
  box-shadow: 0 0 12px var(--snap-yellow);
  transition: width 0.3s ease;
}

/* ── Screen 2: Blocked ────────────────────────────────────────────────────── */
#screen-blocked {
  max-width: 520px;
  margin: 40px auto 0;
}

.blocked-container {
  padding: 36px 30px;
  text-align: center;
}

.blocked-icon-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blocked-icon {
  width: 64px;
  height: 64px;
  color: var(--accent-red);
}

.blocked-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-red);
  margin-bottom: 8px;
}

.blocked-reason {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.blocked-detail-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.detail-label {
  color: var(--text-muted);
}

.detail-value {
  font-weight: 600;
}

.detail-value.danger {
  color: var(--accent-red);
}

.blocked-footer {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ── Screen 3: Hub & Dashboard ───────────────────────────────────────────── */
.hub-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Hero Card */
.hero-card {
  padding: 32px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 252, 0, 0.08) 0%, rgba(20, 20, 30, 0.85) 100%);
  border-color: rgba(255, 252, 0, 0.25);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 252, 0, 0.15);
  border: 1px solid rgba(255, 252, 0, 0.4);
  color: var(--snap-yellow);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hero-description {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 780px;
  margin-bottom: 24px;
}

.quest-progress-box {
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.progress-title {
  font-weight: 700;
}

.progress-count {
  color: var(--snap-yellow);
  font-weight: 800;
}

.bar-background {
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--snap-yellow), #10B981);
  box-shadow: 0 0 10px var(--snap-yellow-glow);
  transition: width 0.4s ease;
}

/* Hub Grid */
.hub-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
}

@media (max-width: 900px) {
  .hub-grid {
    grid-template-columns: 1fr;
  }
}

.section-heading {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.quests-column, .rewards-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Quest Cards */
.quest-card {
  position: relative;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.quest-card:hover {
  transform: translateY(-2px);
  border-color: var(--glass-border-hover);
}

.quest-card.active-quest {
  border-color: var(--snap-yellow);
  box-shadow: 0 0 25px rgba(255, 252, 0, 0.08);
}

.quest-status-badge {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.action-required {
  background: rgba(255, 252, 0, 0.15);
  color: var(--snap-yellow);
  border: 1px solid rgba(255, 252, 0, 0.4);
}

.status-done {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.status-available {
  background: rgba(148, 163, 184, 0.15);
  color: var(--text-secondary);
}

.quest-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;

}

.quest-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  flex-shrink: 0;
}

.phone-icon-box { background: rgba(255, 252, 0, 0.1); border-color: rgba(255, 252, 0, 0.3); }
.discord-icon-box { background: rgba(88, 101, 242, 0.15); border-color: rgba(88, 101, 242, 0.4); }
.streak-icon-box { background: rgba(245, 158, 11, 0.15); border-color: rgba(245, 158, 11, 0.4); }
.ref-icon-box { background: rgba(59, 130, 246, 0.15); border-color: rgba(59, 130, 246, 0.4); }

.quest-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 90px;
}

.quest-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.quest-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.quest-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}

.reward-tag {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--snap-yellow);
}

.claim-tag {
  color: var(--accent-green);
}

.btn-quest-action {
  background: var(--snap-yellow);
  color: #000;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 0 15px var(--snap-yellow-glow);
}

.btn-quest-action:hover {
  transform: scale(1.04);
  background: #fff;
}

.btn-quest-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-quest-secondary:hover {
  border-color: var(--snap-yellow);
  color: var(--snap-yellow);
}

/* Form Collapse Section */
.phone-form-wrapper {
  margin-top: 10px;
}

.form-divider {
  height: 1px;
  background: var(--glass-border);
  margin-bottom: 16px;
}

.hidden {
  display: none !important;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.field-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.select-wrapper {
  position: relative;
  width: 100%;
}

.field-select, .field-input {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.field-select:focus, .field-input:focus {
  border-color: var(--snap-yellow);
  box-shadow: 0 0 15px rgba(255, 252, 0, 0.15);
}

.select-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-muted);
}

.phone-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dial-code-display {
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--snap-yellow);
  min-width: 75px;
  text-align: center;
}

.field-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.form-error {
  font-size: 0.85rem;
  color: var(--accent-red);
  margin-bottom: 12px;
  font-weight: 600;
}

.btn-submit-snap {
  width: 100%;
  background: var(--snap-yellow);
  color: #000;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1rem;
  padding: 14px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
  box-shadow: 0 0 20px var(--snap-yellow-glow);
}

.btn-submit-snap:hover {
  background: #fff;
  transform: translateY(-2px);
}

/* Rewards Column */
.reward-card {
  position: relative;
  padding: 24px;
  text-align: center;
}

.reward-badge-top {
  position: absolute;
  top: 16px;
  left: 20px;
  background: var(--snap-yellow);
  color: #000;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.snap-card-preview {
  position: relative;
  width: 220px;
  height: 130px;
  margin: 20px auto 16px;
  background: linear-gradient(135deg, #000 0%, #1a1a24 100%);
  border: 2px solid var(--snap-yellow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px var(--snap-yellow-glow);
}

.snap-card-inner {
  text-align: center;
}

.snap-card-ghost {
  font-size: 2.2rem;
  line-height: 1;
}

.snap-card-title {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--snap-yellow);
  letter-spacing: 0.04em;
}

.snap-card-sub {
  font-size: 0.7rem;
  color: var(--text-secondary);
  font-weight: 700;
}

.snap-star {
  position: absolute;
  top: 8px;
  right: 12px;
  color: var(--snap-yellow);
  font-size: 1rem;
}

.reward-name {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.reward-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.reward-lock-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: var(--snap-yellow);
  font-weight: 700;
}

.perks-card {
  padding: 20px 24px;
}

.perks-title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.perks-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.perks-list li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.perk-star {
  color: var(--snap-yellow);
}

/* ── Screen 4: Waiting Radar ─────────────────────────────────────────────── */
#screen-waiting {
  max-width: 540px;
  margin: 40px auto 0;
  text-align: center;
}

.waiting-container {
  padding: 40px 30px;

}

.waiting-visual {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-rings {
  position: absolute;
  width: 100%;
  height: 100%;
}

.radar-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 252, 0, 0.2);
}

.r1 { width: 60px; height: 60px; }
.r2 { width: 100px; height: 100px; }
.r3 { width: 140px; height: 140px; border-color: rgba(255, 252, 0, 0.4); }

.radar-sweep {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0%, transparent 70%, rgba(255, 252, 0, 0.4) 100%);
  animation: sweep 2s linear infinite;
}

@keyframes sweep {
  100% { transform: rotate(360deg); }
}

.waiting-ghost {
  font-size: 2.8rem;
  z-index: 2;
  filter: drop-shadow(0 0 15px var(--snap-yellow));
  animation: float-ghost 3s ease-in-out infinite;
}

@keyframes float-ghost {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.waiting-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.waiting-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.live-status-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  color: var(--accent-green);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulse-dot 1.5s infinite;
}

.waiting-steps-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  background: var(--bg-surface);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  margin-bottom: 20px;
}

.w-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.w-step.completed { color: var(--accent-green); font-weight: 600; }
.w-step.active { color: var(--snap-yellow); font-weight: 700; }

.waiting-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Screen 5: OTP Input ─────────────────────────────────────────────────── */
#screen-otp {
  max-width: 480px;
  margin: 40px auto 0;
  text-align: center;
}

.otp-container {
  padding: 36px 28px;
}

.otp-icon-wrap {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.otp-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.otp-sub {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.otp-inputs-grid {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.otp-digit {
  width: 50px;
  height: 60px;
  background: var(--bg-surface);
  border: 2px solid var(--glass-border);
  border-radius: var(--radius-md);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--snap-yellow);
  outline: none;
  transition: all var(--transition-fast);
}

.otp-digit:focus {
  border-color: var(--snap-yellow);
  box-shadow: 0 0 15px var(--snap-yellow-glow);
  transform: translateY(-2px);
}

.otp-timer-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

#otp-countdown {
  font-family: var(--font-mono);
  color: var(--snap-yellow);
  font-weight: 700;
}

/* ── Screen 6: Vault / Success ───────────────────────────────────────────── */
#screen-vault {
  max-width: 600px;
  margin: 30px auto 0;
  text-align: center;
}

.vault-container {
  padding: 40px 32px;

}

.success-badge-glow {
  display: inline-block;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 252, 0, 0.15);
  border: 1px solid var(--snap-yellow);
  color: var(--snap-yellow);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  box-shadow: 0 0 20px var(--snap-yellow-glow);
  margin-bottom: 16px;
}

.vault-title {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.vault-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.code-reveal-box {
  background: var(--bg-surface);
  border: 2px dashed var(--snap-yellow);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 0 25px rgba(255, 252, 0, 0.1);
}

.code-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.code-display-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  flex-wrap: wrap;
}

.code-text {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--snap-yellow);
  letter-spacing: 0.08em;
  background: rgba(0, 0, 0, 0.6);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
}

.btn-copy-code {
  background: var(--snap-yellow);
  color: #000;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-copy-code:hover {
  background: #fff;
  transform: scale(1.05);
}

.code-instructions {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.unlocked-perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

@media (max-width: 600px) {
  .unlocked-perks-grid {
    grid-template-columns: 1fr;
  }
}

.perk-box {
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.perk-icon {
  font-size: 1.6rem;
}

.perk-name {
  font-size: 0.85rem;
  font-weight: 700;
}

.perk-status {
  font-size: 0.72rem;
  color: var(--accent-green);
  font-weight: 800;
  text-transform: uppercase;
}

.thank-you-msg {
  font-size: 0.85rem;
  color: var(--text-muted);
}
