/* =====================================================
   NEXPAY MFS SUPER APP - PREMIUM DESIGN SYSTEM
   Glassmorphism + Neumorphism + Fintech Gradients
   ===================================================== */

:root {
  /* Primary Fintech Palette */
  --deep-magenta: #8B0A50;
  --neon-pink: #FF2D92;
  --royal-purple: #6B21A8;
  --electric-violet: #8B5CF6;

  /* Secondary */
  --matte-white: #FAFAFA;
  --soft-silver: #E5E7EB;
  --charcoal: #1A1A2E;
  --frosted-dark: rgba(26, 26, 46, 0.85);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--deep-magenta) 0%, var(--neon-pink) 50%, var(--royal-purple) 100%);
  --gradient-aurora: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  --gradient-dark: linear-gradient(180deg, #0f0c29 0%, #302b63 50%, #24243e 100%);

  /* Effects */
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-blur: blur(20px) saturate(180%);
  --neu-shadow-light: 8px 8px 16px rgba(174, 174, 192, 0.4), -8px -8px 16px rgba(255, 255, 255, 0.8);
  --neu-shadow-dark: inset 4px 4px 8px rgba(0,0,0,0.3), inset -4px -4px 8px rgba(255,255,255,0.05);
  --glow-pink: 0 0 20px rgba(255, 45, 146, 0.4), 0 0 40px rgba(255, 45, 146, 0.2);
  --glow-violet: 0 0 20px rgba(139, 92, 246, 0.4), 0 0 40px rgba(139, 92, 246, 0.2);

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', monospace;

  /* Spacing */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-primary);
  background: var(--gradient-dark);
  color: var(--matte-white);
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  position: fixed;
}

/* Scrollbar */
::-webkit-scrollbar { width: 0px; background: transparent; }

/* =====================================================
   ANIMATIONS
   ===================================================== */

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.98); }
}

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

@keyframes ripple {
  0% { transform: scale(0); opacity: 0.5; }
  100% { transform: scale(4); opacity: 0; }
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

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

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

@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

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

@keyframes confetti {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

@keyframes wave {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(-5px); }
  75% { transform: translateY(5px); }
}

@keyframes glow {
  0%, 100% { box-shadow: var(--glow-pink); }
  50% { box-shadow: 0 0 30px rgba(255, 45, 146, 0.6), 0 0 60px rgba(255, 45, 146, 0.3); }
}

@keyframes skeleton {
  0% { background-position: -200px 0; }
  100% { background-position: calc(200px + 100%) 0; }
}

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

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.1); }
  28% { transform: scale(1); }
  42% { transform: scale(1.1); }
  70% { transform: scale(1); }
}

/* =====================================================
   GLASSMORPHISM UTILITIES
   ===================================================== */

.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.glass-strong {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(30px) saturate(200%);
  -webkit-backdrop-filter: blur(30px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.glass-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255,255,255,0.1);
}

/* =====================================================
   NEUMORPHISM UTILITIES
   ===================================================== */

.neu-btn {
  background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  border: none;
  border-radius: var(--radius-md);
  box-shadow: 6px 6px 12px rgba(0,0,0,0.3), -6px -6px 12px rgba(255,255,255,0.05);
  transition: all var(--transition-fast);
}

.neu-btn:active {
  box-shadow: inset 4px 4px 8px rgba(0,0,0,0.3), inset -4px -4px 8px rgba(255,255,255,0.05);
  transform: scale(0.98);
}

.neu-inset {
  background: rgba(0,0,0,0.2);
  border-radius: var(--radius-md);
  box-shadow: inset 4px 4px 8px rgba(0,0,0,0.4), inset -4px -4px 8px rgba(255,255,255,0.05);
}

/* =====================================================
   APP SHELL
   ===================================================== */

#app {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth), transform var(--transition-smooth);
  transform: scale(0.95);
  padding-bottom: calc(80px + var(--safe-bottom));
}

.screen.active {
  opacity: 1;
  pointer-events: all;
  transform: scale(1);
  z-index: 10;
}

.screen.slide-up {
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* =====================================================
   SPLASH SCREEN
   ===================================================== */

#splash-screen {
  background: var(--gradient-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

#splash-screen .logo-container {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 32px;
}

#splash-screen .logo-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--neon-pink);
  border-right-color: var(--electric-violet);
  animation: spin 2s linear infinite;
}

#splash-screen .logo-inner {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: 800;
  color: white;
  box-shadow: var(--glow-pink);
  animation: pulse 2s ease-in-out infinite;
}

#splash-screen .app-name {
  font-size: 32px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 4px;
  margin-bottom: 8px;
}

#splash-screen .app-tagline {
  font-size: 14px;
  color: var(--soft-silver);
  opacity: 0.8;
  letter-spacing: 2px;
  text-transform: uppercase;
}

#splash-screen .loading-bar {
  width: 200px;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  margin-top: 40px;
  overflow: hidden;
}

#splash-screen .loading-progress {
  height: 100%;
  width: 0%;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width 0.3s ease;
  box-shadow: var(--glow-pink);
}

#splash-screen .version-text {
  position: absolute;
  bottom: 40px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-mono);
}

#splash-screen .particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

#splash-screen .particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--neon-pink);
  border-radius: 50%;
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}

/* =====================================================
   ONBOARDING
   ===================================================== */

#onboarding-screen {
  background: var(--gradient-dark);
}

.onboarding-container {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.onboarding-slides {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.onboarding-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.onboarding-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.onboarding-slide.prev {
  transform: translateX(-100%);
}

.slide-illustration {
  width: 240px;
  height: 240px;
  margin-bottom: 32px;
  position: relative;
}

.slide-illustration .glass-orb {
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  background: var(--gradient-primary);
  opacity: 0.2;
  filter: blur(40px);
}

.slide-illustration .icon-container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  z-index: 2;
}

.slide-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff 0%, var(--soft-silver) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.slide-desc {
  font-size: 15px;
  text-align: center;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  max-width: 300px;
}

.onboarding-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 24px 0;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: all var(--transition-smooth);
}

.dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--neon-pink);
  box-shadow: var(--glow-pink);
}

.onboarding-actions {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* =====================================================
   AUTH SCREENS
   ===================================================== */

.auth-screen {
  background: var(--gradient-dark);
  display: flex;
  flex-direction: column;
}

.auth-header {
  padding: 24px;
  padding-top: calc(24px + var(--safe-top));
}

.auth-header h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.auth-header p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.auth-body {
  flex: 1;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.input-field {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 16px;
  color: white;
  font-size: 16px;
  font-family: var(--font-primary);
  transition: all var(--transition-fast);
  outline: none;
}

.input-field:focus {
  border-color: var(--neon-pink);
  box-shadow: 0 0 0 3px rgba(255, 45, 146, 0.2);
  background: rgba(255,255,255,0.08);
}

.input-field::placeholder {
  color: rgba(255,255,255,0.3);
}

.phone-input-wrapper {
  display: flex;
  gap: 12px;
  align-items: center;
}

.country-code {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 16px;
  font-weight: 600;
  color: var(--neon-pink);
  min-width: 60px;
  text-align: center;
}

/* PIN Pad */
.pin-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 40px 24px;
}

.pin-dots {
  display: flex;
  gap: 16px;
}

.pin-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  transition: all var(--transition-fast);
}

.pin-dot.filled {
  background: var(--neon-pink);
  border-color: var(--neon-pink);
  box-shadow: var(--glow-pink);
}

.pin-pad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 320px;
}

.pin-key {
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
  font-size: 24px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.pin-key:active {
  background: rgba(255,45,146,0.2);
  border-color: var(--neon-pink);
  transform: scale(0.92);
}

.pin-key .ripple {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255,45,146,0.3) 0%, transparent 70%);
  transform: scale(0);
  opacity: 0;
}

.pin-key:active .ripple {
  animation: ripple 0.4s ease-out;
}

.pin-key.delete {
  font-size: 20px;
}

/* =====================================================
   HOME DASHBOARD
   ===================================================== */

#home-screen {
  background: var(--gradient-dark);
}

.home-header {
  padding: 24px;
  padding-top: calc(16px + var(--safe-top));
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.home-header .greeting {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 4px;
}

.home-header .user-name {
  font-size: 20px;
  font-weight: 700;
}

.home-header .header-actions {
  display: flex;
  gap: 12px;
}

.header-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  position: relative;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.header-btn:active {
  background: rgba(255,45,146,0.2);
  transform: scale(0.92);
}

.header-btn .badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  background: var(--neon-pink);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-pink);
}

/* Balance Card */
.balance-card {
  margin: 0 24px 24px;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
  box-shadow: var(--glow-pink), 0 20px 40px rgba(139, 10, 80, 0.3);
}

.balance-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  animation: gradientShift 8s ease infinite;
}

.balance-card .card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.balance-card .card-label {
  font-size: 13px;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.balance-card .hide-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.balance-card .balance-amount {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  letter-spacing: -1px;
}

.balance-card .balance-currency {
  font-size: 16px;
  opacity: 0.8;
  margin-left: 4px;
}

.balance-card .balance-hidden {
  font-size: 36px;
  letter-spacing: 8px;
}

.balance-card .card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

.balance-card .reward-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.2);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

/* Quick Actions */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 0 24px;
  margin-bottom: 24px;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

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

.action-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255,45,146,0.2) 0%, rgba(139,92,246,0.2) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  position: relative;
  overflow: hidden;
}

.action-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.1) 100%);
}

.action-label {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  text-align: center;
}

/* Services Grid */
.services-section {
  padding: 0 24px;
  margin-bottom: 24px;
}

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

.section-title {
  font-size: 18px;
  font-weight: 700;
}

.section-link {
  font-size: 13px;
  color: var(--neon-pink);
  font-weight: 600;
  cursor: pointer;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.service-item:active {
  background: rgba(255,255,255,0.08);
  transform: scale(0.95);
}

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

.service-name {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  text-align: center;
}

/* Promo Banner */
.promo-banner {
  margin: 0 24px 24px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(107, 33, 168, 0.6) 0%, rgba(139, 92, 246, 0.4) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}

.promo-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255,45,146,0.3) 0%, transparent 70%);
}

.promo-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}

.promo-desc {
  font-size: 13px;
  opacity: 0.8;
  position: relative;
  z-index: 1;
}

/* Recent Activity */
.activity-section {
  padding: 0 24px;
  margin-bottom: 24px;
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.activity-item:active {
  background: rgba(255,255,255,0.06);
}

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

.activity-icon.send { background: rgba(255,45,146,0.15); }
.activity-icon.receive { background: rgba(34,197,94,0.15); }
.activity-icon.recharge { background: rgba(59,130,246,0.15); }
.activity-icon.bill { background: rgba(245,158,11,0.15); }

.activity-details {
  flex: 1;
  min-width: 0;
}

.activity-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.activity-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

.activity-amount {
  text-align: right;
  flex-shrink: 0;
}

.activity-amount .amount {
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-mono);
}

.activity-amount .amount.positive { color: #4ade80; }
.activity-amount .amount.negative { color: #fb7185; }

.activity-amount .status {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

/* =====================================================
   SEND MONEY SCREEN
   ===================================================== */

.send-screen {
  background: var(--gradient-dark);
}

.amount-display {
  padding: 40px 24px;
  text-align: center;
}

.amount-display .currency-label {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}

.amount-display .amount-value {
  font-size: 48px;
  font-weight: 800;
  font-family: var(--font-mono);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  min-height: 60px;
}

.amount-keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0 24px;
}

.keypad-btn {
  padding: 24px;
  background: transparent;
  border: none;
  color: white;
  font-size: 24px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.keypad-btn:active {
  background: rgba(255,45,146,0.1);
}

.keypad-btn.action {
  color: var(--neon-pink);
  font-size: 20px;
}

/* =====================================================
   QR SCANNER
   ===================================================== */

.qr-scanner {
  position: relative;
  width: 100%;
  height: 400px;
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-scanner .scanner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.6) 100%);
}

.qr-frame {
  width: 250px;
  height: 250px;
  border: 2px solid var(--neon-pink);
  border-radius: 24px;
  position: relative;
  box-shadow: var(--glow-pink);
}

.qr-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--neon-pink);
  box-shadow: 0 0 10px var(--neon-pink);
  animation: scanLine 2s linear infinite;
}

@keyframes scanLine {
  0% { top: 0; opacity: 1; }
  50% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.qr-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--neon-pink);
  border-style: solid;
}

.qr-corner.tl { top: -4px; left: -4px; border-width: 4px 0 0 4px; }
.qr-corner.tr { top: -4px; right: -4px; border-width: 4px 4px 0 0; }
.qr-corner.bl { bottom: -4px; left: -4px; border-width: 0 0 4px 4px; }
.qr-corner.br { bottom: -4px; right: -4px; border-width: 0 4px 4px 0; }

/* =====================================================
   BOTTOM NAVIGATION
   ===================================================== */

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(64px + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: var(--frosted-dark);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 100;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: rgba(255,255,255,0.5);
  padding: 8px 16px;
  border-radius: 12px;
}

.nav-item.active {
  color: var(--neon-pink);
}

.nav-item.active .nav-icon {
  transform: translateY(-2px);
}

.nav-icon {
  font-size: 24px;
  transition: transform var(--transition-fast);
}

.nav-label {
  font-size: 10px;
  font-weight: 600;
}

/* FAB */
.fab-container {
  position: fixed;
  bottom: calc(80px + var(--safe-bottom));
  right: 24px;
  z-index: 90;
}

.fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-primary);
  border: none;
  color: white;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--glow-pink), 0 8px 24px rgba(139, 10, 80, 0.4);
  transition: all var(--transition-fast);
}

.fab:active {
  transform: scale(0.92);
}

/* =====================================================
   MODALS & SHEETS
   ===================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

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

.bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--charcoal);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: 24px;
  padding-bottom: calc(24px + var(--safe-bottom));
  z-index: 201;
  transform: translateY(100%);
  transition: transform var(--transition-spring);
  max-height: 85vh;
  overflow-y: auto;
}

.bottom-sheet.active {
  transform: translateY(0);
}

.sheet-handle {
  width: 40px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  margin: 0 auto 24px;
}

/* =====================================================
   BUTTONS
   ===================================================== */

.btn {
  padding: 16px 24px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-primary);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--glow-pink);
}

.btn-primary:active {
  transform: scale(0.98);
  box-shadow: 0 0 10px rgba(255,45,146,0.3);
}

.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-secondary:active {
  background: rgba(255,255,255,0.15);
}

.btn-ghost {
  background: transparent;
  color: var(--neon-pink);
}

.btn-block {
  width: 100%;
}

/* =====================================================
   SKELETON LOADING
   ===================================================== */

.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
  background-size: 200px 100%;
  animation: skeleton 1.5s infinite;
  border-radius: var(--radius-sm);
}

/* =====================================================
   CONFETTI
   ===================================================== */

.confetti-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 500;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  width: 10px;
  height: 10px;
  top: 100%;
  animation: confetti 3s ease-out forwards;
}

/* =====================================================
   TOAST
   ===================================================== */

.toast-container {
  position: fixed;
  top: calc(20px + var(--safe-top));
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 90%;
  max-width: 400px;
}

.toast {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--glass-strong);
  backdrop-filter: blur(20px);
  color: white;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  animation: slideDown 0.3s ease-out;
  border: 1px solid rgba(255,255,255,0.1);
}

.toast.success { border-left: 3px solid #4ade80; }
.toast.error { border-left: 3px solid #fb7185; }
.toast.warning { border-left: 3px solid #fbbf24; }

/* =====================================================
   ADMIN DASHBOARD
   ===================================================== */

.admin-body {
  background: #0f172a;
  color: #e2e8f0;
  font-family: var(--font-primary);
  min-height: 100vh;
}

.admin-sidebar {
  width: 260px;
  background: #1e293b;
  border-right: 1px solid #334155;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  overflow-y: auto;
}

.admin-main {
  margin-left: 260px;
  padding: 24px;
}

.admin-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 20px;
}

.admin-stat {
  font-size: 32px;
  font-weight: 700;
  color: var(--neon-pink);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (min-width: 768px) {
  body {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
  }

  #app {
    width: 414px;
    height: 896px;
    border-radius: 40px;
    box-shadow: 0 0 60px rgba(139, 10, 80, 0.3);
    border: 8px solid #1a1a2e;
  }

  .bottom-nav {
    border-radius: 0 0 32px 32px;
  }
}

@media (max-width: 767px) {
  #app {
    width: 100%;
    height: 100%;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
