/* ==========================================================================
   SYNAPSE AI DATING — DESIGN SYSTEM & STYLES (DARK MODE & GLASSMORPHISM)
   ========================================================================== */

:root {
  /* Color Tokens */
  --bg-main: #090a0f;
  --bg-card: rgba(22, 24, 38, 0.75);
  --bg-card-border: rgba(124, 58, 237, 0.25);
  --bg-glass: rgba(255, 255, 255, 0.04);
  
  --accent-purple: #7c3aed;
  --accent-purple-glow: rgba(124, 58, 237, 0.4);
  --accent-cyan: #06b6d4;
  --accent-pink: #ec4899;
  --accent-gold: #f59e0b;
  --accent-green: #10b981;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;

  --shadow-glow: 0 10px 30px -10px rgba(124, 58, 237, 0.35);
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.5);

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: #030407;
  color: var(--text-main);
  font-family: var(--font-main);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
}

/* App Outer Shell (Simulates Phone Frame on Desktop, 100% viewport on mobile) */
.app-shell {
  width: 100%;
  max-width: 440px;
  height: 100vh;
  max-height: 900px;
  background: var(--bg-main);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 80px rgba(124, 58, 237, 0.15);
  overflow: hidden;
}

@media (min-width: 480px) {
  .app-shell {
    height: 92vh;
    border-radius: 36px;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
}

/* --------------------------------------------------------------------------
   TOP NAVIGATION BAR
   -------------------------------------------------------------------------- */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: rgba(9, 10, 15, 0.8);
  backdrop-filter: blur(12px);
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.brand-sunrise {
  height: 38px;
  max-width: 170px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 8px;
}

.brand-sunrise-svg {
  height: 100%;
  width: auto;
  display: block;
}

.brand-mylove {
  height: 42px;
  max-width: 210px;
  display: flex;
  align-items: center;
  overflow: visible;
}

.brand-mylove-svg {
  height: 100%;
  width: auto;
  display: block;
}

.brand-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  box-shadow: 0 4px 12px var(--accent-purple-glow);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.5px;
}

.brand-badge {
  font-size: 10px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  padding: 2px 5px;
  border-radius: 6px;
  margin-left: 3px;
  vertical-align: super;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 480px) {
  #qr-btn {
    display: none !important;
  }
  .city-selector {
    padding: 4px 8px;
    font-size: 11px;
  }
  .header-icon-btn {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
}

.city-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  background: var(--bg-glass);
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.city-selector i {
  color: var(--accent-pink);
}

.header-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg-glass);
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.header-icon-btn:hover {
  background: var(--accent-purple);
  border-color: var(--accent-purple);
}

/* --------------------------------------------------------------------------
   VIEW CONTAINER & VIEWS
   -------------------------------------------------------------------------- */
.view-container {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.view {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 16px 20px;
  overflow-y: auto;
  overflow-x: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.view.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   VIEW 1: ONBOARDING WITH EVA
   -------------------------------------------------------------------------- */
#view-onboarding {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.onboarding-header {
  text-align: center;
  margin-bottom: 12px;
}

.eva-avatar-container {
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0 auto 10px;
}

.eva-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  box-shadow: 0 0 24px var(--accent-purple-glow);
  position: relative;
  z-index: 2;
}

.eva-pulse {
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 2px solid var(--accent-cyan);
  animation: pulse-ring 2s infinite ease-out;
  opacity: 0.6;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.3); opacity: 0; }
}

.onboarding-header h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}

.subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.chat-box {
  flex: 1;
  background: rgba(15, 17, 26, 0.6);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}

.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.45;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-msg.eva {
  background: rgba(30, 27, 75, 0.7);
  border: 1px solid rgba(124, 58, 237, 0.3);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  color: #f1f5f9;
}

.chat-msg.user {
  background: linear-gradient(135deg, var(--accent-purple), #6d28d9);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  color: #fff;
}

.chat-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.liveness-badge {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  align-self: center;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.liveness-badge.active .status-val {
  color: var(--accent-green);
  font-weight: 600;
}

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

#chat-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 12px 18px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

#chat-input:focus {
  border-color: var(--accent-purple);
}

.voice-btn, .send-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease;
}

.voice-btn {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-cyan);
}

.voice-btn.recording {
  background: var(--accent-pink);
  color: #fff;
  animation: pulse-mic 1s infinite alternate;
}

@keyframes pulse-mic {
  from { transform: scale(1); }
  to { transform: scale(1.15); box-shadow: 0 0 15px var(--accent-pink); }
}

.send-btn {
  background: var(--accent-purple);
  color: #fff;
}

.send-btn:hover {
  transform: scale(1.05);
}

.waveform-indicator {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 12px;
  color: var(--accent-pink);
  padding: 4px;
}

.waveform-indicator.active {
  display: flex;
}

.waveform-indicator .bar {
  width: 3px;
  height: 14px;
  background: var(--accent-pink);
  border-radius: 2px;
  animation: wave 0.5s infinite alternate ease-in-out;
}

.waveform-indicator .bar:nth-child(2) { animation-delay: 0.1s; }
.waveform-indicator .bar:nth-child(3) { animation-delay: 0.2s; }
.waveform-indicator .bar:nth-child(4) { animation-delay: 0.3s; }
.waveform-indicator .bar:nth-child(5) { animation-delay: 0.4s; }

@keyframes wave {
  from { height: 6px; }
  to { height: 20px; }
}

.user-photos-strip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  margin-bottom: 8px;
}

.strip-header {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
}

.photos-grid {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.photo-thumb-item {
  position: relative;
  width: 54px;
  height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.4);
}

.photo-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-delete-btn {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.9);
  color: #fff;
  border: none;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.thumb-add-btn {
  width: 54px;
  height: 64px;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(6, 182, 212, 0.4);
  background: rgba(6, 182, 212, 0.08);
  color: var(--accent-cyan);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 10px;
  cursor: pointer;
  flex-shrink: 0;
}

.thumb-add-btn i {
  font-size: 14px;
}

.main-badge-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(124, 58, 237, 0.85);
  color: #fff;
  font-size: 8px;
  text-align: center;
  padding: 1px 0;
  font-weight: 700;
}

.pill-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pill-btn:hover {
  background: rgba(124, 58, 237, 0.2);
  border-color: var(--accent-purple);
}

#complete-onboarding-btn {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  border: none;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   VIEW 2: DAILY DROP 18:00 (ACTION CARDS)
   -------------------------------------------------------------------------- */
.drop-banner {
  text-align: center;
  margin-bottom: 16px;
}

.drop-timer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}

.drop-timer i {
  color: var(--accent-gold);
}

.timer-badge {
  font-size: 11px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: 500;
}

#view-daily-drop {
  padding-bottom: 90px;
}

.cards-deck {
  position: relative;
  height: 480px;
  width: 100%;
  margin-bottom: 16px;
}

.action-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.action-card.bg-stack-1 {
  transform: translateY(12px) scale(0.95);
  opacity: 0.7;
  z-index: 1;
}

.action-card.bg-stack-2 {
  transform: translateY(24px) scale(0.9);
  opacity: 0.4;
  z-index: 0;
}

.action-card.active-card {
  z-index: 3;
}

.card-image-wrap {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 200px;
  overflow: hidden;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.card-header-bar {
  position: relative;
  width: 100%;
  padding: 10px 14px;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
  flex-shrink: 0;
}

.person-meta {
  display: flex;
  flex-direction: column;
}

.person-meta .person-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.person-meta .person-tag-mini {
  font-size: 11px;
  color: var(--text-muted);
}

.compatibility-badge {
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.4);
  padding: 4px 10px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-info {
  position: relative;
  width: 100%;
  padding: 12px 14px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  background: rgba(15, 23, 42, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.person-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.person-header h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.person-tag {
  font-size: 11px;
  color: var(--text-muted);
}

.event-box {
  background: rgba(15, 17, 26, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  margin-top: 4px;
}

.event-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-pink);
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.event-desc {
  font-size: 11px;
  line-height: 1.3;
  color: #f1f5f9;
}

.venue-tag {
  font-size: 10px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

.view:not(.active) .deck-controls {
  display: none !important;
  pointer-events: none !important;
}

.deck-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 12px 0;
  position: relative;
  z-index: 2500;
  pointer-events: auto;
  touch-action: manipulation;
}

.action-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  position: relative;
  z-index: 2501;
  pointer-events: auto;
  touch-action: manipulation;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.action-btn.pass {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.action-btn.refresh {
  width: 46px;
  height: 46px;
  font-size: 18px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.action-btn.like {
  width: 64px;
  height: 64px;
  font-size: 26px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  color: #fff;
  box-shadow: 0 10px 25px var(--accent-purple-glow);
}

.action-btn:hover {
  transform: scale(1.1);
}

/* --------------------------------------------------------------------------
   VIEW 3: LIKES QUEUE
   -------------------------------------------------------------------------- */
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.section-title h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}

.likes-count-badge {
  background: var(--accent-pink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
}

.likes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.like-card-item {
  position: relative;
  height: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg-card);
  cursor: pointer;
}

.like-card-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(14px) brightness(0.7);
  transition: filter 0.3s ease;
}

.like-card-item.unlocked img {
  filter: blur(0) brightness(1);
}

.like-overlay-blur {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  text-align: center;
  background: rgba(15, 23, 42, 0.4);
}

.blur-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  margin-bottom: 8px;
  box-shadow: 0 4px 14px var(--accent-purple-glow);
}

.blur-text {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
}

.unlock-price-tag {
  font-size: 11px;
  color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.15);
  padding: 2px 8px;
  border-radius: 10px;
}

/* --------------------------------------------------------------------------
   VIEW 4: VOICE VIBE CHECK & SAFETY
   -------------------------------------------------------------------------- */
.voice-check-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-xl);
  padding: 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vibe-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}

.match-mini-profiles {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 10px 0;
}

.mini-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.mini-profile img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-purple);
}

.mini-profile span {
  font-size: 12px;
  color: var(--text-muted);
}

.vibe-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--accent-pink);
  font-size: 12px;
  font-weight: 700;
}

.vibe-connector i {
  font-size: 20px;
  animation: pulse-bolt 1.5s infinite alternate;
}

@keyframes pulse-bolt {
  from { transform: scale(1); }
  to { transform: scale(1.3); }
}

.audio-player-sim {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.audio-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-purple);
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

.audio-track {
  flex: 1;
  text-align: left;
}

.track-title {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.progress-bar-wrap {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 35%;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-pink));
}

.audio-time {
  font-size: 11px;
  color: var(--text-dim);
}

.call-controls {
  display: flex;
  gap: 12px;
}

.call-btn {
  flex: 1;
  padding: 14px;
  border-radius: var(--radius-md);
  border: none;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.call-btn.end {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.call-btn.accept {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  color: #fff;
}

/* --------------------------------------------------------------------------
   BOTTOM NAVIGATION BAR
   -------------------------------------------------------------------------- */
.bottom-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 12px 10px;
  background: rgba(9, 10, 15, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 20;
}

.nav-item {
  background: none;
  border: none;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}

.nav-item i {
  font-size: 18px;
}

.nav-item.active {
  color: var(--accent-purple);
  font-weight: 600;
}

.badge-dot {
  position: absolute;
  top: 0;
  right: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-pink);
}

/* --------------------------------------------------------------------------
   MODALS & TOASTS
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  background: #0f111a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 24px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
}

.modal-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.modal-icon.safety {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
}

.modal-icon.gold {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
}

.modal-card h3 {
  text-align: center;
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 6px;
}

.modal-text {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.safety-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.safety-item {
  display: flex;
  gap: 12px;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  padding: 10px 14px;
  border-radius: var(--radius-md);
}

.safety-item i {
  font-size: 20px;
  color: var(--accent-cyan);
}

.safety-item strong {
  display: block;
  font-size: 13px;
}

.safety-item span {
  font-size: 11px;
  color: var(--text-muted);
}

.primary-btn {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-md);
  border: none;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.primary-btn:hover {
  transform: scale(1.02);
}

.gold-btn {
  background: linear-gradient(135deg, var(--accent-gold), #d97706);
}

.promo-pill {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
}

.pricing-options {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.price-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
  cursor: pointer;
}

.price-card.active {
  border-color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.08);
}

.plan-name { font-size: 12px; font-weight: 600; }
.plan-price { font-size: 16px; font-weight: 700; color: var(--accent-gold); margin: 4px 0; }
.plan-price span { font-size: 11px; font-weight: 400; color: var(--text-muted); }
.plan-sub { font-size: 10px; color: var(--text-dim); }

.fake-door-banner {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-green);
  padding: 10px;
  border-radius: var(--radius-md);
  font-size: 12px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Toast Container */
.toast-container {
  position: absolute;
  top: 70px;
  left: 20px;
  right: 20px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(124, 58, 237, 0.4);
  color: #fff;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  animation: slideDown 0.3s ease;
}

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