/* ═══════════════════════════════════════════════════════════════
   DATIFY — Design System
   Dark/Pink Mobile-First UI
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ─── CSS Variables ─────────────────────────────────────────── */
:root {
  /* Colors */
  --bg-primary: #0D0D12;
  --bg-secondary: #13131A;
  --bg-card: #1A1A24;
  --bg-card-hover: #20202C;
  --surface: #222233;
  --surface-2: #2A2A3E;

  /* Pink/Magenta Brand */
  --pink: #FF2D7C;
  --pink-light: #FF5FA0;
  --pink-dark: #CC1A5E;
  --magenta: #FF006E;
  --coral: #FF6B35;

  /* Gradient */
  --gradient-pink: linear-gradient(135deg, #FF2D7C 0%, #FF6B35 100%);
  --gradient-dark: linear-gradient(180deg, #1A1A24 0%, #0D0D12 100%);
  --gradient-card: linear-gradient(135deg, rgba(255,45,124,0.08) 0%, rgba(255,107,53,0.04) 100%);

  /* Text */
  --text-primary: #FFFFFF;
  --text-secondary: #B0B0CC;
  --text-muted: #6A6A8A;
  --text-pink: #FF2D7C;

  /* Status */
  --online: #00E676;
  --offline: #444466;
  --warning: #FFB300;
  --error: #FF3D71;
  --success: #00E676;

  /* Spacing */
  --nav-height: 86px;
  --header-height: 60px;
  --border-radius: 16px;
  --border-radius-sm: 10px;
  --border-radius-lg: 24px;
  --border-radius-pill: 100px;

  /* Glass effect */
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-pink: rgba(255, 45, 124, 0.12);
}

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

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  overscroll-behavior-y: none;
  -webkit-font-smoothing: antialiased;
}

/* ─── App Shell (Mobile) ────────────────────────────────────── */
.app-shell {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
}

/* ─── Header — Fixed on Scroll ──────────────────────────────── */
.app-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(13, 13, 22, 0.82);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
  overflow: hidden;
}

.header-ambient-glow {
  position: absolute;
  top: -30px;
  left: 10px;
  width: 140px;
  height: 70px;
  background: radial-gradient(circle, rgba(255, 45, 124, 0.28) 0%, rgba(255, 107, 53, 0) 70%);
  pointer-events: none;
  filter: blur(16px);
  z-index: 0;
}

.header-left {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.header-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.header-brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(255, 45, 124, 0.22), rgba(255, 107, 53, 0.15));
  border: 1px solid rgba(255, 45, 124, 0.4);
  box-shadow: 0 0 16px rgba(255, 45, 124, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF2D7C;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.header-logo-link:hover .header-brand-mark,
.header-logo-link:active .header-brand-mark {
  transform: scale(1.08);
  box-shadow: 0 0 22px rgba(255, 45, 124, 0.5);
}

.header-brand-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.6px;
  background: linear-gradient(135deg, #FFFFFF 40%, #FFA8C5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

/* Wallet Chip — Premium Glass Capsule */
.app-header .wallet-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  padding: 4px 6px 4px 10px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 10px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.08);
}

.app-header .wallet-chip:hover,
.app-header .wallet-chip:active {
  background: rgba(255, 45, 124, 0.12);
  border-color: rgba(255, 45, 124, 0.38);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 45, 124, 0.25);
}

.wallet-icon-wrap {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 45, 124, 0.3), rgba(255, 107, 53, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF4D8D;
}

.wallet-val {
  font-size: 13px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.2px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.wallet-add-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gradient-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(255, 45, 124, 0.4);
  line-height: 1;
}

/* Header Avatar */
.header-avatar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
}

.header-avatar-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: all 0.2s ease;
}

.header-avatar-btn:hover .header-avatar-img,
.header-avatar-btn:active .header-avatar-img {
  border-color: var(--pink);
  transform: scale(1.06);
  box-shadow: 0 0 12px rgba(255, 45, 124, 0.4);
}

.header-avatar-letter {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF2D7C 0%, #FF6B35 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.3px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 2px 10px rgba(255, 45, 124, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
}

.header-avatar-btn:hover .header-avatar-letter,
.header-avatar-btn:active .header-avatar-letter {
  transform: scale(1.08);
  box-shadow: 0 0 16px rgba(255, 45, 124, 0.6);
  border-color: #FFFFFF;
}

/* Host status chip */
.host-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.host-status-chip.online {
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid rgba(0, 230, 118, 0.3);
  color: var(--success);
}

.host-status-chip.offline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

.host-status-chip .status-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  animation: pulse-dot 1.8s infinite;
}

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

/* ─── Page Content ──────────────────────────────────────────── */
.page-content {
  flex: 1;
  padding: calc(var(--header-height) + 16px) 16px calc(68px + 36px);
  min-height: calc(100vh - var(--header-height));
  display: flex;
  flex-direction: column;
}

.page-content.has-no-header {
  padding-top: 24px;
  min-height: 100vh;
}

.page-content.has-no-nav {
  padding-bottom: 24px;
}

.page-content.p-0 {
  padding: calc(var(--header-height) + 12px) 0 0 0;
}

.page-content.p-0.has-no-header {
  padding-top: 0;
}

.page-content.p-0.has-no-nav {
  padding-bottom: 0;
}

/* ─── Bottom Nav ────────────────────────────────────────────── */
/* ─── Bottom Nav — Floating Pill ───────────────────────────── */
.bottom-nav {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 400px;
  height: 68px;
  background: rgba(18, 18, 28, 0.72);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 6px 8px;
  border-radius: 100px;
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.06) inset;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 16px;
  border-radius: 100px;
  text-decoration: none;
  color: rgba(255,255,255,0.35);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex: 1;
  position: relative;
  min-width: 0;
}

.nav-item.active {
  color: #fff;
  background: var(--gradient-pink);
  box-shadow: 0 4px 16px rgba(255, 45, 124, 0.4);
}

.nav-item svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.nav-item.active svg {
  transform: scale(1.1);
  stroke-width: 2.2;
}

.nav-item span.nav-label {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  line-height: 1;
  white-space: nowrap;
}

/* ─── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: 16px;
  transition: all 0.3s;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 45, 124, 0.2);
}

.card-glass {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
}

/* ─── Host Cards ─────────────────────────────────────────────── */
.host-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: slideUp 0.4s ease both;
}

.host-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.host-card:active {
  transform: scale(0.98);
}

.host-card:hover::before { opacity: 1; }

.host-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.host-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--glass-border);
}

.online-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background: var(--online);
  border-radius: 50%;
  border: 2px solid var(--bg-card);
  animation: pulse-green 2s infinite;
}

.busy-dot {
  background: #FF9800 !important;
  animation: pulse-orange 2s infinite !important;
}

@keyframes pulse-orange {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(255, 152, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 152, 0, 0);
  }
}

.busy-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 100px;
  background: rgba(255, 152, 0, 0.15);
  color: #FFA726;
  border: 1px solid rgba(255, 152, 0, 0.35);
  letter-spacing: 0.2px;
  text-transform: uppercase;
  vertical-align: middle;
}

.busy-action-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 100px;
  background: rgba(255, 152, 0, 0.12);
  border: 1px solid rgba(255, 152, 0, 0.3);
  color: #FFA726;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.host-info { flex: 1; min-width: 0; }

.host-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.host-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.host-rates {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.rate-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--border-radius-pill);
  border: 1px solid;
}

.rate-voice { color: #7C4DFF; border-color: rgba(124, 77, 255, 0.3); background: rgba(124, 77, 255, 0.1); }
.rate-video { color: #00BCD4; border-color: rgba(0, 188, 212, 0.3); background: rgba(0, 188, 212, 0.1); }
.rate-chat { color: #FF2D7C; border-color: rgba(255, 45, 124, 0.3); background: rgba(255, 45, 124, 0.1); }

.host-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: var(--border-radius-pill);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.2s;
  pointer-events: none;
}

.btn:active::after { background: rgba(0, 0, 0, 0.15); }
.btn:active { transform: scale(0.96); }

.btn-primary {
  background: var(--gradient-pink);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 45, 124, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(255, 45, 124, 0.5);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.btn-ghost {
  background: transparent;
  color: var(--pink);
  border: 1px solid rgba(255, 45, 124, 0.3);
}

.btn-ghost:hover {
  background: var(--glass-pink);
}

.btn-success {
  background: linear-gradient(135deg, #00C853, #00E676);
  color: #000;
  box-shadow: 0 4px 20px rgba(0, 200, 83, 0.3);
}

.btn-danger {
  background: linear-gradient(135deg, #FF1744, #FF5252);
  color: #fff;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 12px;
}

.btn-block { width: 100%; }

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
}

/* Call action buttons on host card */
.call-btn {
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--border-radius-pill);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  z-index: 11;
  pointer-events: auto;
}

.call-btn-voice { background: rgba(124, 77, 255, 0.2); color: #B39DDB; border: 1px solid rgba(124,77,255,0.3); }
.call-btn-video { background: rgba(0, 188, 212, 0.2); color: #80DEEA; border: 1px solid rgba(0,188,212,0.3); }
.call-btn-chat  { background: rgba(255, 45, 124, 0.2); color: #FF80AB; border: 1px solid rgba(255,45,124,0.3); }

.call-btn:hover {
  filter: brightness(1.2);
  transform: translateY(-1px);
}

.call-btn:active { transform: scale(0.95); }

/* ─── Forms ──────────────────────────────────────────────────── */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-sm);
  padding: 14px 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: var(--text-primary);
  outline: none;
  transition: all 0.3s;
  -webkit-appearance: none;
  appearance: none;
}

.form-control::placeholder { color: var(--text-muted); }

.form-control:focus {
  border-color: var(--pink);
  background: var(--surface-2);
  box-shadow: 0 0 0 3px rgba(255, 45, 124, 0.12);
}

.form-control.error { border-color: var(--error); }

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23FF2D7C' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-error {
  color: var(--error);
  font-size: 12px;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-file-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  border: 2px dashed var(--glass-border);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

.form-file-label:hover {
  border-color: var(--pink);
  background: var(--glass-pink);
  color: var(--pink-light);
}

.form-file-label .upload-icon { font-size: 28px; }

input[type="file"] { display: none; }

/* ─── Auth Pages ─────────────────────────────────────────────── */
.auth-page {
  flex: 1;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.auth-page::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 45, 124, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.auth-page::after {
  content: '';
  position: absolute;
  bottom: 100px;
  right: -60px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.auth-top {
  padding: 40px 24px 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.auth-logo {
  font-size: 36px;
  font-weight: 800;
  background: var(--gradient-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.auth-tagline {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 400;
}

.auth-form-wrap {
  flex: 1;
  background: var(--bg-secondary);
  border-radius: 28px 28px 0 0;
  padding: 28px 20px 40px;
  position: relative;
  z-index: 1;
  animation: slideUp 0.35s ease;
  display: flex;
  flex-direction: column;
}

/* ─── Multi-step Auth Wizard ─────────────────────────────────── */
.wizard-steps-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  position: relative;
  padding: 0 8px;
}

.wizard-steps-track::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 24px;
  right: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 0;
}

.wizard-progress-bar {
  position: absolute;
  top: 15px;
  left: 24px;
  height: 2px;
  background: linear-gradient(90deg, #7C4DFF, #FF2D7C);
  z-index: 0;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
}

.wizard-step-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
}

.wizard-step-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wizard-step-node.active .wizard-step-circle {
  background: linear-gradient(135deg, #7C4DFF 0%, #FF2D7C 100%);
  border-color: #FF2D7C;
  color: #fff;
  box-shadow: 0 0 16px rgba(255, 45, 124, 0.45);
  transform: scale(1.08);
}

.wizard-step-node.completed .wizard-step-circle {
  background: rgba(0, 230, 118, 0.18);
  border-color: var(--success);
  color: var(--success);
}

.wizard-step-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s;
  white-space: nowrap;
}

.wizard-step-node.active .wizard-step-label {
  color: #FFFFFF;
}

.wizard-step-node.completed .wizard-step-label {
  color: var(--text-secondary);
}

.wizard-pane {
  display: none;
  animation: wizardFade 0.3s ease;
}

.wizard-pane.active {
  display: block;
}

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

.wizard-nav-btns {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.wizard-nav-btns .btn {
  flex: 1;
}

.auth-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.auth-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 12px;
}

.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--glass-border);
}

.auth-link-text {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 20px;
}

.auth-link-text a {
  color: var(--pink);
  font-weight: 600;
  text-decoration: none;
}

/* ─── Toggle Switch ──────────────────────────────────────────── */
.toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--surface);
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--glass-border);
  margin-bottom: 10px;
}

.toggle-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.toggle-label small { display: block; font-size: 11px; color: var(--text-muted); font-weight: 400; }

.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
}

.toggle-switch input { opacity: 0; width: 0; height: 0; }

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--surface-2);
  border-radius: var(--border-radius-pill);
  cursor: pointer;
  transition: 0.3s;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toggle-switch input:checked + .toggle-slider {
  background: linear-gradient(135deg, #FF2D7C, #FF6B35);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(22px);
  background: #fff;
}

/* ─── Stats Cards ─────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-pink);
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  background: var(--gradient-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ─── Section Title ──────────────────────────────────────────── */
.section-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
}

.section-title .badge {
  font-size: 11px;
  background: var(--glass-pink);
  color: var(--pink);
  padding: 2px 8px;
  border-radius: var(--border-radius-pill);
  border: 1px solid rgba(255,45,124,0.2);
}

/* ─── Filter Tabs ────────────────────────────────────────────── */
.filter-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 16px;
  scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar { display: none; }

.filter-tab {
  flex-shrink: 0;
  padding: 7px 16px;
  border-radius: var(--border-radius-pill);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--glass-border);
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.filter-tab.active {
  background: var(--gradient-pink);
  color: #fff;
  border-color: transparent;
}

/* ─── Greeting ────────────────────────────────────────────────── */
.greeting-block {
  padding: 16px 4px;
  margin-bottom: 8px;
}

.greeting-text {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

.greeting-text span {
  background: var(--gradient-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* ─── Transaction Items ──────────────────────────────────────── */
.txn-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-card);
  border-radius: var(--border-radius-sm);
  margin-bottom: 8px;
  border: 1px solid var(--glass-border);
}

.txn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.txn-credit .txn-icon { background: rgba(0, 230, 118, 0.15); }
.txn-debit .txn-icon { background: rgba(255, 45, 124, 0.15); }

.txn-details { flex: 1; }
.txn-desc { font-size: 13px; font-weight: 500; }
.txn-date { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

.txn-amount { font-size: 15px; font-weight: 700; }
.txn-credit .txn-amount { color: var(--success); }
.txn-debit .txn-amount { color: var(--error); }

/* ─── Wallet Card ────────────────────────────────────────────── */
.wallet-card {
  background: var(--gradient-pink);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.wallet-card::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.wallet-card::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -20px;
  width: 110px;
  height: 110px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.wallet-label { font-size: 12px; font-weight: 500; opacity: 0.8; text-transform: uppercase; letter-spacing: 1px; }
.wallet-amount { font-size: 36px; font-weight: 800; margin: 8px 0 4px; }
.wallet-sub { font-size: 12px; opacity: 0.7; }

/* ─── Package Cards ──────────────────────────────────────────── */
.packages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.package-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.package-card.popular {
  border-color: var(--pink);
  background: linear-gradient(135deg, rgba(255,45,124,0.1), rgba(255,107,53,0.05));
}

.popular-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-pink);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--border-radius-pill);
  white-space: nowrap;
}

.package-card:active { transform: scale(0.96); }

.package-coins { font-size: 24px; font-weight: 800; color: var(--pink); }
.package-coins-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }
.package-price { font-size: 18px; font-weight: 700; margin-top: 8px; }
.package-desc { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* ─── Status Badge ───────────────────────────────────────────── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--border-radius-pill);
  font-size: 11px;
  font-weight: 600;
}

.status-badge.approved { background: rgba(0, 230, 118, 0.15); color: var(--success); }
.status-badge.pending  { background: rgba(255, 179, 0, 0.15); color: var(--warning); }
.status-badge.rejected { background: rgba(255, 61, 113, 0.15); color: var(--error); }

/* ─── Admin Table ────────────────────────────────────────────── */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-table th {
  text-align: left;
  padding: 12px 14px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--glass-border);
}

.admin-table td {
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  vertical-align: middle;
}

.admin-table tr:hover td { background: var(--glass); }

/* ─── Alert/Toast ────────────────────────────────────────────── */
.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  z-index: 9999;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-width: 280px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  max-width: calc(100vw - 40px);
}

.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { border-color: rgba(0, 230, 118, 0.4); color: var(--success); }
.toast.error { border-color: rgba(255, 61, 113, 0.4); color: var(--error); }
.toast.info { border-color: rgba(255, 45, 124, 0.3); color: var(--pink-light); }

/* ─── Call Screen (Authentic Mobile Phone Call UI) ───────────── */
.call-screen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 50% 18%, rgba(255, 45, 124, 0.22) 0%, rgba(124, 77, 255, 0.12) 38%, #0A0A12 70%, #050508 100%);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: calc(env(safe-area-inset-top, 24px) + 28px) 24px calc(env(safe-area-inset-bottom, 24px) + 36px);
  overflow: hidden;
  user-select: none;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Background Ambient Glows */
.call-ambient-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255, 45, 124, 0.25) 0%, rgba(124, 77, 255, 0.15) 50%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}

/* Call Top Bar */
.call-top-bar {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.call-security-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.3px;
  backdrop-filter: blur(12px);
}

.call-security-badge svg {
  color: #00E676;
}

.call-type-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Hero Caller / Callee */
.call-hero {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: auto;
  margin-bottom: auto;
  width: 100%;
}

/* Avatar with Ringing Ripples */
.call-avatar-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.call-ripple {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 45, 124, 0.45);
  pointer-events: none;
  animation: callRipple 2.4s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

.call-ripple.r1 { width: 140px; height: 140px; animation-delay: 0s; }
.call-ripple.r2 { width: 140px; height: 140px; animation-delay: 0.8s; }
.call-ripple.r3 { width: 140px; height: 140px; animation-delay: 1.6s; }

@keyframes callRipple {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.call-avatar-disc {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 0 3px rgba(255, 255, 255, 0.18), 0 0 45px rgba(255, 45, 124, 0.35);
  background: #181824;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.4s ease;
}

.call-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Name Initial Fallback (When No Profile Pic Given) */
.call-avatar-initial {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FF2D7C 0%, #D81B60 45%, #7C4DFF 100%);
  color: #ffffff;
  font-size: 60px;
  font-weight: 800;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  letter-spacing: -1px;
}

/* Call Info Typography */
.call-callee-name {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  margin-top: 24px;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.call-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.call-status-pill.active {
  background: rgba(0, 230, 118, 0.12);
  border-color: rgba(0, 230, 118, 0.35);
  color: #00E676;
}

.call-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF2D7C;
  animation: dotPulse 1.2s infinite alternate;
}

.call-pulse-dot.active {
  background: #00E676;
}

@keyframes dotPulse {
  0% { transform: scale(0.8); opacity: 0.5; }
  100% { transform: scale(1.3); opacity: 1; }
}

.call-timer {
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.5px;
}

/* Audio Sound Waves Animation */
.call-sound-wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  margin-top: 14px;
}

.call-sound-wave span {
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #00E676, #00B0FF);
  border-radius: 10px;
  animation: waveBar 1.2s ease-in-out infinite alternate;
}

.call-sound-wave span:nth-child(1) { animation-duration: 0.8s; height: 35%; }
.call-sound-wave span:nth-child(2) { animation-duration: 1.1s; height: 75%; }
.call-sound-wave span:nth-child(3) { animation-duration: 0.9s; height: 100%; }
.call-sound-wave span:nth-child(4) { animation-duration: 1.3s; height: 60%; }
.call-sound-wave span:nth-child(5) { animation-duration: 0.7s; height: 40%; }

@keyframes waveBar {
  0% { transform: scaleY(0.3); opacity: 0.5; }
  100% { transform: scaleY(1); opacity: 1; }
}

/* ─── Call Control Deck ───────────────────────────────────────── */
.call-deck {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 360px;
  background: rgba(22, 22, 34, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 36px;
  padding: 16px 20px;
  backdrop-filter: blur(24px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 12px;
}

.call-control-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.call-deck-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.call-deck-btn:active {
  transform: scale(0.92);
}

.call-deck-btn.active {
  background: rgba(255, 61, 113, 0.2);
  border-color: rgba(255, 61, 113, 0.5);
  color: #FF3D71;
}

.call-deck-btn.call-deck-end {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #FF1744 0%, #D50000 100%);
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  box-shadow: 0 8px 30px rgba(255, 23, 68, 0.6);
}

.call-deck-btn.call-deck-end:active {
  transform: scale(0.9);
}

.call-deck-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.2px;
}

/* Incoming Call Dual Buttons (Host View) */
.call-incoming-deck {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 320px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.call-incoming-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.call-incoming-btn {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.call-incoming-btn.decline {
  background: linear-gradient(135deg, #FF1744 0%, #C62828 100%);
  color: #ffffff;
  box-shadow: 0 8px 28px rgba(255, 23, 68, 0.45);
}

.call-incoming-btn.accept {
  background: linear-gradient(135deg, #00E676 0%, #00B0FF 100%);
  color: #000000;
  box-shadow: 0 8px 32px rgba(0, 230, 118, 0.55);
  animation: pulseAccept 1.6s infinite;
}

@keyframes pulseAccept {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.6); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 16px rgba(0, 230, 118, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

.call-incoming-btn:active {
  transform: scale(0.92);
}

.call-incoming-label {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}

/* ─── Generic Avatar Initial Circles (Cards & Lists) ─────────── */
.avatar-initial {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF2D7C 0%, #7C4DFF 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 22px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  user-select: none;
}

.avatar-initial.lg {
  font-size: 32px;
}

.avatar-initial.xl {
  font-size: 56px;
}

/* ─── Pending Screen ─────────────────────────────────────────── */
.pending-screen {
  text-align: center;
  padding: 60px 24px;
}

.pending-icon {
  font-size: 64px;
  margin-bottom: 20px;
  animation: float 3s ease-in-out infinite;
}

.pending-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.pending-sub {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── Animations ─────────────────────────────────────────────── */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.5); }
  50% { box-shadow: 0 0 0 5px rgba(0, 230, 118, 0); }
}

@keyframes pulseBorder {
  0%, 100% { box-shadow: 0 0 0 12px rgba(255, 45, 124, 0.1); }
  50% { box-shadow: 0 0 0 20px rgba(255, 45, 124, 0); }
}

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

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* ─── Landing Page ───────────────────────────────────────────── */
.landing-body {
  max-width: 100%;
  background: var(--bg-primary);
}

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13, 13, 22, 0.72);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
  overflow: hidden;
}

.landing-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 60px;
  position: relative;
  overflow: hidden;
}

.landing-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,45,124,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-tag {
  display: inline-block;
  background: var(--glass-pink);
  border: 1px solid rgba(255,45,124,0.2);
  color: var(--pink-light);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: var(--border-radius-pill);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(36px, 8vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-title .gradient-text {
  background: var(--gradient-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(15px, 3vw, 18px);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.features-section {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 32px 24px;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: rgba(255,45,124,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(255,45,124,0.1);
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

/* ─── Admin Layout ───────────────────────────────────────────── */
.admin-layout {
  max-width: 430px;
  margin: 0 auto;
}

.admin-header {
  background: rgba(13, 13, 22, 0.78);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.admin-nav {
  display: flex;
  overflow-x: auto;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--glass-border);
  scrollbar-width: none;
}

.admin-nav::-webkit-scrollbar { display: none; }

.admin-nav-item {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: var(--border-radius-pill);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--glass-border);
  transition: all 0.2s;
  white-space: nowrap;
}

.admin-nav-item.active {
  background: var(--gradient-pink);
  color: #fff;
  border-color: transparent;
}

/* ─── Empty State ────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 60px 24px;
  color: var(--text-muted);
}

.empty-state .empty-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.5; }
.empty-state h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: var(--text-secondary); }
.empty-state p { font-size: 13px; }

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

/* ─── Utility ────────────────────────────────────────────────── */
.text-pink { color: var(--pink) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-success { color: var(--success) !important; }
.text-danger { color: var(--error) !important; }
.text-warning { color: var(--warning) !important; }
.fw-700 { font-weight: 700; }
.fw-600 { font-weight: 600; }
.text-center { text-align: center; }
.mt-auto { margin-top: auto; }
.mb-0 { margin-bottom: 0 !important; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.gap-8 { gap: 8px; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.w-full { width: 100%; }
.hidden { display: none !important; }

/* ─── Global App Loader Overlay ──────────────────────────────── */
#datify-global-loader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(7, 7, 13, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

#datify-global-loader.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.datify-loader-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 36px;
  background: rgba(22, 22, 34, 0.92);
  border: 1px solid rgba(255, 45, 124, 0.25);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 35px rgba(255, 45, 124, 0.2);
  transform: scale(0.92);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-width: 170px;
}

#datify-global-loader.active .datify-loader-card {
  transform: scale(1);
}

.datify-loader-spinner-wrap {
  position: relative;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.datify-loader-spinner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.08);
  border-top-color: #FF2D7C;
  border-right-color: #A07BFF;
  animation: datifySpin 0.8s linear infinite;
}

.datify-loader-spinner-outer {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 45, 124, 0.25);
  animation: datifySpinReverse 3s linear infinite;
}

.datify-loader-icon {
  width: 22px;
  height: 22px;
  color: #FF2D7C;
  animation: datifyPulse 1.4s ease-in-out infinite;
}

.datify-loader-text {
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-align: center;
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

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

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

@keyframes datifyPulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.18); opacity: 1; }
}

/* Button loading state */
button.btn-loading, a.btn.btn-loading {
  position: relative !important;
  pointer-events: none !important;
  opacity: 0.82 !important;
}

button.btn-loading::after, a.btn.btn-loading::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  vertical-align: middle;
  animation: datifySpin 0.7s linear infinite;
}

/* ═══════════════════════════════════════════════════════════════
   DATIFY — Animated SVG Splashscreen
   ═══════════════════════════════════════════════════════════════ */
.datify-splash-screen {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  background: #07070D;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1), transform 0.55s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.55s;
  user-select: none;
  -webkit-user-select: none;
}

.datify-splash-screen.dismissed {
  opacity: 0;
  transform: scale(1.08);
  visibility: hidden;
  pointer-events: none;
}

/* Ambient Radial Mesh */
.splash-ambient-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.splash-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  -webkit-filter: blur(70px);
  opacity: 0.38;
  animation: splashOrbFloat 8s ease-in-out infinite alternate;
}

.splash-orb-1 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 45, 124, 0.9) 0%, transparent 70%);
  top: 15%;
  left: 8%;
}

.splash-orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(124, 77, 255, 0.85) 0%, transparent 70%);
  bottom: 18%;
  right: 8%;
  animation-delay: -3.5s;
}

.splash-orb-3 {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.6) 0%, transparent 70%);
  top: 45%;
  right: 25%;
  animation-delay: -5s;
}

@keyframes splashOrbFloat {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-25px) scale(1.1); }
  100% { transform: translateY(20px) scale(0.95); }
}

/* Content Container */
.splash-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

/* SVG Container */
.splash-svg-container {
  width: 165px;
  height: 165px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  animation: splashPopIn 1s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.splash-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 12px 30px rgba(255, 45, 124, 0.35));
}

@keyframes splashPopIn {
  0% { opacity: 0; transform: scale(0.65) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* SVG Elements & Micro-Animations */
.splash-ring-outer {
  animation: splashRotateRing 16s linear infinite;
  transform-origin: 120px 120px;
}

.splash-ring-inner {
  animation: splashPulseRing 2.4s ease-in-out infinite;
  transform-origin: 120px 120px;
}

@keyframes splashRotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes splashPulseRing {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.05); opacity: 0.7; }
}

/* Drawing the D and Ribbon Paths */
.splash-d-stroke {
  stroke-dasharray: 450;
  stroke-dashoffset: 450;
  animation: splashDrawPath 1.2s cubic-bezier(0.65, 0, 0.35, 1) forwards 0.25s;
}

.splash-swoosh-ribbon {
  stroke-dasharray: 480;
  stroke-dashoffset: 480;
  animation: splashDrawPath 1.3s cubic-bezier(0.65, 0, 0.35, 1) forwards 0.35s;
}

@keyframes splashDrawPath {
  to {
    stroke-dashoffset: 0;
  }
}

.splash-glow-ribbon {
  animation: splashGlowPulse 2s ease-in-out infinite alternate 0.5s;
}

@keyframes splashGlowPulse {
  0% { opacity: 0.25; stroke-width: 10; }
  100% { opacity: 0.55; stroke-width: 16; }
}

/* Center Romance Heart */
.splash-center-heart {
  animation: splashHeartBeat 1.4s ease-in-out infinite 0.8s, splashFadeIn 0.6s ease forwards 0.6s;
  transform-origin: 120px 145px;
  opacity: 0;
}

@keyframes splashHeartBeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.22); }
  28% { transform: scale(1); }
  42% { transform: scale(1.15); }
  70% { transform: scale(1); }
}

@keyframes splashFadeIn {
  to { opacity: 1; }
}

/* Floating Heart Particles */
.splash-particle {
  animation: splashFloatParticle 2.4s ease-in-out infinite alternate;
  transform-origin: center;
}

.splash-particle.p1 { animation-delay: 0.2s; }
.splash-particle.p2 { animation-delay: 0.7s; }
.splash-particle.p3 { animation-delay: 1.2s; }

@keyframes splashFloatParticle {
  0% { transform: translateY(0) scale(0.9); opacity: 0.6; }
  100% { transform: translateY(-14px) scale(1.15); opacity: 1; }
}

/* Typography Branding */
.splash-brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: splashTextUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both 0.6s;
}

.splash-title {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin: 0;
  line-height: 1;
  background: linear-gradient(135deg, #FFFFFF 30%, #FF80AB 70%, #FF2D7C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(255, 45, 124, 0.45));
}

.splash-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.splash-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00E676;
  box-shadow: 0 0 10px #00E676;
  animation: splashBlinkDot 1.4s ease-in-out infinite;
}

@keyframes splashBlinkDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.splash-badge-text {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: #B0B0CC;
}

@keyframes splashTextUp {
  0% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Progress Track & Bar */
.splash-progress-track {
  width: 140px;
  height: 3.5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 26px;
  animation: splashFadeIn 0.5s ease 0.8s both;
}

.splash-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #FF2D7C, #A07BFF, #FF6B35);
  border-radius: 6px;
  box-shadow: 0 0 12px rgba(255, 45, 124, 0.8);
  animation: splashFillProgress 1.4s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.8s;
}

@keyframes splashFillProgress {
  0% { width: 0%; }
  35% { width: 45%; }
  75% { width: 85%; }
  100% { width: 100%; }
}

/* ─── Stylish In-App Modal Dialogs ────────────────────────────── */
.datify-dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(6, 6, 12, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.datify-dialog-overlay.active {
  opacity: 1;
}

.datify-dialog-card {
  width: 100%;
  max-width: 350px;
  background: #141420;
  border: 1px solid rgba(255, 45, 124, 0.28);
  border-radius: 26px;
  padding: 26px 20px 22px;
  text-align: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.85), 0 0 35px rgba(255, 45, 124, 0.15);
  transform: scale(0.92) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.datify-dialog-overlay.active .datify-dialog-card {
  transform: scale(1) translateY(0);
}

.datify-dialog-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: rgba(255, 45, 124, 0.12);
  border: 1px solid rgba(255, 45, 124, 0.3);
  box-shadow: 0 0 20px rgba(255, 45, 124, 0.25);
}

.datify-dialog-icon.danger {
  background: rgba(255, 61, 113, 0.14);
  border-color: rgba(255, 61, 113, 0.35);
  box-shadow: 0 0 20px rgba(255, 61, 113, 0.25);
}

.datify-dialog-title {
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}

.datify-dialog-message {
  font-size: 13.5px;
  color: #A0A0C0;
  line-height: 1.5;
  margin-bottom: 22px;
  padding: 0 4px;
}

.datify-dialog-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.datify-dialog-actions.single {
  grid-template-columns: 1fr;
}

.datify-dialog-btn {
  padding: 13px 16px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.datify-dialog-btn:active {
  transform: scale(0.96);
}

.datify-dialog-btn-cancel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #C0C0D8;
}

.datify-dialog-btn-cancel:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}

.datify-dialog-btn-confirm {
  background: linear-gradient(135deg, #FF2D7C 0%, #FF6B35 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(255, 45, 124, 0.4);
}

.datify-dialog-btn-danger {
  background: linear-gradient(135deg, #FF3D71 0%, #FF2D7C 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(255, 61, 113, 0.4);
}


