/* ==========================================================================
   লেনদেন (LENDEN) SUPER APP - FLAGSHIP STYLESHEET
   Aesthetics: Deep Crimson MFS, Glassmorphism, Fluid Micro-interactions
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --primary: #D41E2B;
  --primary-hover: #b81420;
  --primary-dark: #960c16;
  --primary-light: #ff4d5a;
  --primary-soft: rgba(212, 30, 43, 0.08);
  --primary-gradient: linear-gradient(135deg, #e52432 0%, #c4121e 60%, #9e0813 100%);
  --primary-gradient-card: linear-gradient(135deg, #d41e2b 0%, #a80f1a 100%);
  --accent-gold: #f59e0b;
  --accent-gold-gradient: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  --accent-emerald: #10b981;
  --accent-blue: #0ea5e9;
  --accent-purple: #8b5cf6;

  /* Surfaces & Backgrounds */
  --bg-app: #f4f6fa;
  --bg-card: #ffffff;
  --bg-card-hover: #fafbff;
  --bg-input: #f8fafc;
  --border-light: rgba(226, 232, 240, 0.8);
  --border-focus: rgba(212, 30, 43, 0.4);

  /* Typography */
  --font-bn: 'Noto Sans Bengali', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-en: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  /* Elevation & Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.1);
  --shadow-glow: 0 10px 30px rgba(212, 30, 43, 0.25);
  --shadow-floating: 0 12px 30px rgba(212, 30, 43, 0.35);

  /* Layout Tokens */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Dark Theme Variables */
body.dark-mode {
  --bg-app: #0b1120;
  --bg-card: #151f33;
  --bg-card-hover: #1c2942;
  --bg-input: #1e293b;
  --border-light: rgba(51, 65, 85, 0.7);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.5);
  --primary-soft: rgba(212, 30, 43, 0.15);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: var(--font-bn);
  background-color: #0b0f19;
  background-image: 
    radial-gradient(at 0% 0%, rgba(212, 30, 43, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(14, 165, 233, 0.12) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(245, 158, 11, 0.05) 0px, transparent 50%);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
  user-select: none;
  -webkit-font-smoothing: antialiased;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
  transition: all var(--transition-fast);
}

button:active {
  transform: scale(0.96);
}

input, textarea, select {
  font-family: inherit;
  outline: none;
}

/* ==========================================================================
   DESKTOP DEVICE WRAPPER & FRAME TOGGLE
   ========================================================================== */
.device-viewport-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  position: relative;
}

/* Desktop Top Utility Bar */
.desktop-controls {
  position: fixed;
  top: 16px;
  right: 20px;
  z-index: 9999;
  display: flex;
  gap: 12px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.desktop-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  transition: all var(--transition-fast);
}

.desktop-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

.desktop-btn.active {
  background: var(--primary);
}

/* Smartphone Mockup Frame for Desktop */
.phone-mockup-frame {
  width: 100%;
  max-width: 440px;
  height: 900px;
  max-height: calc(100vh - 40px);
  background: #000000;
  border-radius: 54px;
  padding: 12px;
  box-shadow: 
    0 0 0 4px #262930,
    0 0 0 8px #131418,
    0 25px 60px -15px rgba(0, 0, 0, 0.7),
    0 0 80px rgba(212, 30, 43, 0.18);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

/* Dynamic Island */
.dynamic-island {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 115px;
  height: 28px;
  background: #000000;
  border-radius: 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.island-camera {
  width: 11px;
  height: 11px;
  background: #091322;
  border-radius: 50%;
  border: 2px solid #050a12;
  margin-left: auto;
}

.island-sensor {
  width: 8px;
  height: 8px;
  background: #0d192c;
  border-radius: 50%;
}

/* Expanded Fullscreen Mode */
body.fullscreen-mode .phone-mockup-frame {
  max-width: 100%;
  height: 100vh;
  max-height: 100vh;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

body.fullscreen-mode .dynamic-island {
  display: none;
}

/* ==========================================================================
   APP CONTAINER
   ========================================================================== */
.app-container {
  width: 100%;
  height: 100%;
  background: var(--bg-app);
  border-radius: 44px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

body.fullscreen-mode .app-container {
  border-radius: 0;
}

/* ==========================================================================
   STATUS BAR
   ========================================================================== */
.status-bar {
  height: 48px;
  padding: 12px 24px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-white);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-en);
  z-index: 800;
  background: transparent;
  position: relative;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.battery-icon {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
}

/* ==========================================================================
   SPLASH SCREEN
   ========================================================================== */
.splash-screen {
  position: fixed;
  inset: 0;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.splash-screen.fade-out {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.06);
}

.splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px;
}

.splash-logo {
  background: #ffffff;
  padding: 16px 36px;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  margin-bottom: 20px;
  animation: splashPulse 2s infinite ease-in-out;
}

.splash-logo-text {
  font-size: 46px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.5px;
  line-height: 1.1;
  display: block;
}

.splash-tagline {
  color: rgba(255, 255, 255, 0.95);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 36px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.splash-loader {
  width: 140px;
  height: 5px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.splash-loader-bar {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: var(--radius-full);
  animation: loaderAnimation 1.6s infinite ease-in-out;
}

@keyframes splashPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

@keyframes loaderAnimation {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(0%); }
  100% { transform: translateX(100%); }
}

/* ==========================================================================
   PAGES SYSTEM & SCROLL CONTAINER
   ========================================================================== */
.page {
  flex: 1;
  display: none;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  animation: pageSlideIn 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.page.active {
  display: flex;
}

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

/* Custom Scrollbar */
.page::-webkit-scrollbar {
  width: 4px;
}
.page::-webkit-scrollbar-track {
  background: transparent;
}
.page::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.3);
  border-radius: 4px;
}

/* ==========================================================================
   HOME HEADER & HERO
   ========================================================================== */
.home-header {
  background: var(--primary-gradient);
  padding: 10px 20px 28px 20px;
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
  position: relative;
  box-shadow: var(--shadow-glow);
  z-index: 10;
}

.home-header::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  padding: 2px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform var(--transition-bounce);
}

.user-avatar:hover {
  transform: scale(1.08);
}

.user-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.user-greeting {
  display: flex;
  flex-direction: column;
}

.greeting-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.user-name {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.2px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  position: relative;
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.header-icon-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.notif-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--accent-gold);
  color: #000;
  font-size: 10px;
  font-weight: 900;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary);
  animation: bounceDot 2s infinite ease;
}

@keyframes bounceDot {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* ==========================================================================
   BALANCE CARD
   ========================================================================== */
.balance-card {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-normal);
}

.balance-card:hover {
  background: rgba(255, 255, 255, 0.22);
}

.balance-card-bg {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.balance-card-content {
  position: relative;
  z-index: 2;
}

.balance-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.balance-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.balance-eye {
  color: #ffffff;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.18);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.balance-eye:hover {
  background: rgba(255, 255, 255, 0.32);
}

.balance-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 14px;
}

.balance-amount .currency {
  font-size: 26px;
  font-weight: 800;
  color: var(--accent-gold);
}

.balance-amount .amount {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.5px;
  font-family: var(--font-bn);
  transition: all var(--transition-fast);
}

.balance-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.balance-info {
  display: flex;
  flex-direction: column;
}

.balance-acc-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
}

.balance-acc-num {
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-en);
}

.add-money-btn {
  background: #ffffff;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-fast);
}

.add-money-btn:hover {
  background: #fff8f8;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   QUICK ACTIONS (TOP ROW)
   ========================================================================== */
.quick-actions {
  margin: -16px 16px 20px 16px;
  position: relative;
  z-index: 20;
}

.quick-action-grid {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 18px 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.quick-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.qa-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #ffffff;
  transition: all var(--transition-bounce);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.quick-action-item:hover .qa-icon {
  transform: translateY(-4px) scale(1.05);
}

.qa-send {
  background: linear-gradient(135deg, #e52432, #c4121e);
  box-shadow: 0 6px 16px rgba(212, 30, 43, 0.3);
}

.qa-cashout {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.3);
}

.qa-payment {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.3);
}

.qa-recharge {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  box-shadow: 0 6px 16px rgba(14, 165, 233, 0.3);
}

.quick-action-item span {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
}

/* ==========================================================================
   SERVICES GRID (12 ICONS)
   ========================================================================== */
.services-section {
  padding: 0 16px 24px 16px;
}

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

.section-header h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.see-all-btn {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition-fast);
}

.see-all-btn:hover {
  gap: 7px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 10px;
  background: var(--bg-card);
  padding: 20px 14px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 6px 2px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.service-item:hover {
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  color: #ffffff;
  transition: all var(--transition-bounce);
}

.service-item:hover .service-icon {
  transform: scale(1.08);
}

.si-send { background: linear-gradient(135deg, #FF4B5C, #D41E2B); }
.si-cashout { background: linear-gradient(135deg, #FBBF24, #D97706); }
.si-payment { background: linear-gradient(135deg, #34D399, #059669); }
.si-recharge { background: linear-gradient(135deg, #38BDF8, #0284C7); }
.si-bill { background: linear-gradient(135deg, #818CF8, #4F46E5); }
.si-shop { background: linear-gradient(135deg, #F472B6, #DB2777); }
.si-loan { background: linear-gradient(135deg, #FB923C, #EA580C); }
.si-offer { background: linear-gradient(135deg, #A78BFA, #7C3AED); }
.si-savings { background: linear-gradient(135deg, #2DD4BF, #0D9488); }
.si-insurance { background: linear-gradient(135deg, #60A5FA, #2563EB); }
.si-ticket { background: linear-gradient(135deg, #F87171, #DC2626); }
.si-donation { background: linear-gradient(135deg, #4ADE80, #16A34A); }

.service-item span {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
}

/* ==========================================================================
   OFFERS CAROUSEL
   ========================================================================== */
.offers-carousel-section {
  padding: 0 16px 24px 16px;
}

.offers-carousel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}

.offers-carousel::-webkit-scrollbar {
  display: none;
}

.offer-card {
  min-width: 280px;
  flex: 0 0 280px;
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  padding: 20px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast);
}

.offer-card:hover {
  transform: translateY(-2px);
}

.offer-card-1 {
  background: linear-gradient(135deg, #d41e2b 0%, #ff5263 100%);
}

.offer-card-2 {
  background: linear-gradient(135deg, #4f46e5 0%, #818cf8 100%);
}

.offer-card-3 {
  background: linear-gradient(135deg, #059669 0%, #34d399 100%);
}

.offer-card-content {
  flex: 1;
  z-index: 2;
}

.offer-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 8px;
}

.offer-card-content h3 {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 4px;
}

.offer-card-content p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
  line-height: 1.3;
}

.offer-btn {
  background: #ffffff;
  color: #0f172a;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.offer-illustration {
  font-size: 48px;
  color: rgba(255, 255, 255, 0.22);
  margin-left: 10px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-full);
  background: #cbd5e1;
  transition: all var(--transition-fast);
}

.dot.active {
  width: 22px;
  background: var(--primary);
}

/* ==========================================================================
   TRANSACTIONS LIST
   ========================================================================== */
.recent-transactions {
  padding: 0 16px 20px 16px;
}

.transaction-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tx-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.tx-card:hover {
  background: var(--bg-card-hover);
  transform: translateX(2px);
}

.tx-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tx-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #ffffff;
}

.tx-icon.send { background: linear-gradient(135deg, #FF6B6B, #D41E2B); }
.tx-icon.receive { background: linear-gradient(135deg, #10B981, #059669); }
.tx-icon.recharge { background: linear-gradient(135deg, #0EA5E9, #0284C7); }
.tx-icon.payment { background: linear-gradient(135deg, #F59E0B, #D97706); }
.tx-icon.bill { background: linear-gradient(135deg, #8B5CF6, #6D28D9); }

.tx-details {
  display: flex;
  flex-direction: column;
}

.tx-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

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

.tx-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.tx-amount {
  font-size: 15px;
  font-weight: 800;
  font-family: var(--font-bn);
}

.tx-amount.negative {
  color: var(--primary);
}

.tx-amount.positive {
  color: var(--accent-emerald);
}

.tx-status {
  font-size: 10px;
  font-weight: 600;
  color: var(--accent-emerald);
}

.bottom-spacer {
  height: 85px;
}

/* ==========================================================================
   PAGE HEADERS (INNER PAGES)
   ========================================================================== */
.page-header {
  height: 60px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-header h1 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  text-align: center;
  flex: 1;
}

.back-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-main);
  background: var(--bg-input);
  transition: all var(--transition-fast);
}

.back-btn:hover {
  background: var(--border-light);
}

.page-header-right {
  width: 38px;
  display: flex;
  justify-content: flex-end;
}

.page-content {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 95px;
}

/* ==========================================================================
   FORMS & INPUT GROUPS
   ========================================================================== */
.form-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.input-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.input-wrapper {
  display: flex;
  align-items: center;
  background: var(--bg-input);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0 14px;
  height: 52px;
  transition: all var(--transition-fast);
}

.input-wrapper:focus-within {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.input-icon {
  color: var(--text-light);
  font-size: 16px;
  margin-right: 12px;
}

.input-wrapper input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  width: 100%;
}

.input-wrapper input::placeholder {
  color: var(--text-light);
  font-weight: 400;
}

.input-action-btn {
  color: var(--primary);
  font-size: 18px;
  padding: 4px;
}

.amount-input {
  height: 60px;
}

.currency-symbol {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  margin-right: 10px;
}

.amount-input input {
  font-size: 26px;
  font-weight: 900;
}

.fee-info {
  background: var(--bg-input);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fee-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

.fee-row.total {
  font-weight: 800;
  color: var(--text-main);
  padding-top: 6px;
  border-top: 1px dashed var(--border-light);
}

.primary-btn {
  background: var(--primary-gradient);
  color: #ffffff;
  height: 52px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  box-shadow: var(--shadow-floating);
  transition: all var(--transition-fast);
  margin-top: 8px;
}

.primary-btn:hover {
  box-shadow: 0 14px 34px rgba(212, 30, 43, 0.45);
  transform: translateY(-1px);
}

/* Quick Amount Chips */
.quick-amounts {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0;
}

.quick-amount-chip {
  padding: 6px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.quick-amount-chip:hover, .quick-amount-chip.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* Recent Contacts */
.recent-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.recent-contacts h3 {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
}

.contacts-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.contact-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.contact-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-bounce);
}

.contact-chip:hover .contact-avatar {
  transform: scale(1.1);
}

.contact-chip span {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
}

/* ==========================================================================
   SEARCH BOX & FILTERS
   ========================================================================== */
.search-box {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 0 16px;
  height: 48px;
  box-shadow: var(--shadow-sm);
}

.search-box i {
  color: var(--text-light);
  font-size: 15px;
  margin-right: 10px;
}

.search-box input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}

.merchant-categories, .shop-categories-scroll, .offers-filter-scroll, .history-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.merchant-categories::-webkit-scrollbar, .shop-categories-scroll::-webkit-scrollbar {
  display: none;
}

.merchant-cat, .shop-cat, .offers-filter, .history-filter {
  padding: 7px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.merchant-cat.active, .shop-cat.active, .offers-filter.active, .history-filter.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* ==========================================================================
   MERCHANTS LIST
   ========================================================================== */
.merchant-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.merchant-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.merchant-item:hover {
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.merchant-logo {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
  margin-right: 12px;
}

.merchant-info {
  flex: 1;
}

.merchant-info h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
}

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

.merchant-pay-btn {
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.merchant-pay-btn:hover {
  background: var(--primary);
  color: #ffffff;
}

/* ==========================================================================
   RECHARGE OPERATORS & OFFERS
   ========================================================================== */
.toggle-group {
  display: flex;
  background: var(--bg-input);
  border-radius: var(--radius-full);
  padding: 4px;
  border: 1px solid var(--border-light);
}

.toggle-btn {
  flex: 1;
  height: 38px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.toggle-btn.active {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.operator-selection {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.operator-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.operator-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 4px;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  transition: all var(--transition-fast);
}

.operator-item.active {
  background: var(--primary-soft);
  border-color: var(--primary);
}

.op-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  font-family: var(--font-en);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.operator-item span {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-main);
}

.recharge-offers {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.recharge-offers h3 {
  font-size: 14px;
  font-weight: 800;
}

.recharge-offer-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--bg-input);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.ro-left {
  display: flex;
  flex-direction: column;
}

.ro-amount {
  font-size: 16px;
  font-weight: 900;
  color: var(--primary);
}

.ro-details {
  font-size: 12px;
  color: var(--text-muted);
}

.ro-buy-btn {
  background: var(--primary);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   BILL PAY CATEGORIES
   ========================================================================== */
.bill-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.bill-cat-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.bill-cat-item:hover, .bill-cat-item.active {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.bill-cat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #ffffff;
}

.bill-cat-item span {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

/* ==========================================================================
   SHOPPING PRODUCTS
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.product-image {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  position: relative;
}

.product-discount {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.product-details {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-details h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  color: var(--accent-gold);
}

.product-rating span {
  color: var(--text-muted);
  font-weight: 600;
  margin-left: 4px;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 4px;
}

.price-current {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
}

.price-old {
  font-size: 12px;
  color: var(--text-light);
  text-decoration: line-through;
}

/* ==========================================================================
   LOAN SECTION
   ========================================================================== */
.loan-hero {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #ffffff;
  padding: 24px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
}

.loan-hero-content h2 {
  font-size: 20px;
  font-weight: 900;
  color: var(--accent-gold);
}

.loan-hero-content p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 4px;
}

.loan-hero-icon {
  color: var(--accent-gold);
}

.loan-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.loan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.loan-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.loan-type-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
}

.loan-card-header h4 {
  font-size: 16px;
  font-weight: 800;
}

.loan-card-header span {
  font-size: 12px;
  color: var(--text-muted);
}

.loan-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--bg-input);
  padding: 12px;
  border-radius: var(--radius-md);
  text-align: center;
}

.loan-detail-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

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

.loan-detail-item strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
}

.loan-apply-btn {
  background: var(--primary-soft);
  color: var(--primary);
  height: 42px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 14px;
  transition: all var(--transition-fast);
}

.loan-apply-btn:hover {
  background: var(--primary);
  color: #ffffff;
}

/* ==========================================================================
   OFFERS LIST
   ========================================================================== */
.offers-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.offer-list-card {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  gap: 14px;
}

.olc-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
}

.olc-content {
  flex: 1;
}

.olc-content h4 {
  font-size: 15px;
  font-weight: 800;
}

.olc-content p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 2px 0 6px 0;
}

.olc-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--text-light);
}

.olc-claim-btn {
  padding: 8px 16px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 800;
  transition: all var(--transition-fast);
}

.olc-claim-btn:hover, .olc-claim-btn.active-claim {
  background: var(--primary);
  color: #ffffff;
}

/* ==========================================================================
   HISTORY & SAVINGS
   ========================================================================== */
.history-summary {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.hs-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hs-item i {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.hs-income i { background: rgba(16, 185, 129, 0.15); color: var(--accent-emerald); }
.hs-expense i { background: rgba(212, 30, 43, 0.15); color: var(--primary); }

.hs-item div {
  display: flex;
  flex-direction: column;
}

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

.hs-item strong {
  font-size: 16px;
  font-weight: 900;
}

.hs-divider {
  width: 1px;
  background: var(--border-light);
  margin: 0 14px;
}

.savings-hero {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}

.savings-progress-ring {
  width: 100px;
  height: 100px;
  position: relative;
}

.savings-ring-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.srt-percent {
  font-size: 20px;
  font-weight: 900;
  color: var(--primary);
}

.srt-label {
  font-size: 10px;
  color: var(--text-muted);
}

.savings-info h3 {
  font-size: 16px;
  font-weight: 800;
}

.savings-amount-display {
  font-size: 24px;
  font-weight: 900;
  color: var(--text-main);
  margin-top: 4px;
}

.savings-amount-display span {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}

.savings-goals {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.savings-goal-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}

.sgc-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
}

.sgc-info {
  flex: 1;
}

.sgc-progress-bar {
  height: 6px;
  background: var(--bg-input);
  border-radius: var(--radius-full);
  margin: 6px 0;
  overflow: hidden;
}

.sgc-fill {
  height: 100%;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
}

.sgc-info span {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   INSURANCE, TICKETS, DONATION
   ========================================================================== */
.insurance-list, .donation-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.insurance-card, .donation-card {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.ins-icon, .don-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
}

.ins-info, .don-info {
  flex: 1;
}

.ins-info h4, .don-info h4 {
  font-size: 15px;
  font-weight: 800;
}

.ins-info p, .don-info p {
  font-size: 12px;
  color: var(--text-muted);
}

.ins-price {
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
  display: block;
  margin-top: 4px;
}

.ins-btn, .don-btn {
  padding: 8px 16px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 800;
  transition: all var(--transition-fast);
}

.ins-btn:hover, .don-btn:hover {
  background: var(--primary);
  color: #ffffff;
}

.ticket-types {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.ticket-type-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.ticket-type-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.tt-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.ticket-type-card h4 {
  font-size: 15px;
  font-weight: 800;
}

.ticket-type-card p {
  font-size: 11px;
  color: var(--text-muted);
}

/* ==========================================================================
   PROFILE PAGE
   ========================================================================== */
.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.profile-avatar-large {
  width: 86px;
  height: 86px;
  position: relative;
  margin-bottom: 12px;
}

.profile-avatar-large img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid var(--primary);
}

.profile-edit-avatar {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--primary);
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

.profile-card h2 {
  font-size: 20px;
  font-weight: 900;
}

.profile-phone {
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-en);
  margin-top: 2px;
}

.profile-tier {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-gold-gradient);
  color: #ffffff;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 800;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.ps-item {
  display: flex;
  flex-direction: column;
}

.ps-item strong {
  font-size: 16px;
  font-weight: 900;
  color: var(--primary);
}

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

.profile-menu {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.pm-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.pm-item:last-child {
  border-bottom: none;
}

.pm-item:hover {
  background: var(--bg-card-hover);
}

.pm-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pm-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.pm-left span {
  font-size: 14px;
  font-weight: 700;
}

.pm-arrow {
  color: var(--text-light);
  font-size: 13px;
}

.logout-btn {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  height: 48px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.logout-btn:hover {
  background: #ef4444;
  color: #ffffff;
}

/* ==========================================================================
   BOTTOM NAVIGATION
   ========================================================================== */
.bottom-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 10px;
  z-index: 500;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  padding: 6px 0;
}

.nav-icon-wrapper {
  font-size: 19px;
  transition: transform var(--transition-bounce);
}

.nav-item span {
  font-size: 11px;
  font-weight: 700;
}

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

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

.nav-center {
  position: relative;
  top: -16px;
}

.nav-center-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: var(--shadow-floating);
  border: 4px solid var(--bg-card);
  transition: all var(--transition-bounce);
}

.nav-center:hover .nav-center-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 14px 34px rgba(212, 30, 43, 0.5);
}

/* ==========================================================================
   MODALS & OVERLAYS
   ========================================================================== */
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: modalFadeIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.modal-content {
  width: 100%;
  background: var(--bg-card);
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  padding: 28px 24px;
  box-shadow: var(--shadow-lg);
  animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

@keyframes modalSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* Success Modal */
.success-modal-content {
  align-items: center;
  text-align: center;
  padding-bottom: 34px;
}

.success-animation {
  margin-bottom: 16px;
}

.success-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--accent-emerald);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.35);
  animation: successBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes successBounce {
  0% { transform: scale(0); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.success-modal-content h2 {
  font-size: 22px;
  font-weight: 900;
  color: var(--text-main);
}

.success-modal-content p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
  margin-bottom: 16px;
}

.success-details {
  width: 100%;
  background: var(--bg-input);
  border-radius: var(--radius-md);
  padding: 14px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  text-align: left;
}

/* PIN Modal */
.pin-modal-content {
  align-items: center;
  text-align: center;
  padding-bottom: 30px;
}

.pin-header h2 {
  font-size: 20px;
  font-weight: 900;
}

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

.pin-dots {
  display: flex;
  gap: 16px;
  margin: 24px 0 28px 0;
}

.pin-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: transparent;
  transition: all var(--transition-fast);
}

.pin-dot.filled {
  background: var(--primary);
  transform: scale(1.15);
  box-shadow: 0 0 10px rgba(212, 30, 43, 0.4);
}

.pin-keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
  max-width: 280px;
  margin-bottom: 16px;
}

.pin-key {
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--bg-input);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.pin-key:hover {
  background: var(--border-light);
}

.pin-key:active {
  background: var(--primary);
  color: #ffffff;
  transform: scale(0.92);
}

.pin-key-empty {
  visibility: hidden;
}

.pin-key-delete {
  font-size: 18px;
  color: var(--text-muted);
}

.pin-cancel {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  padding: 8px 16px;
}

/* ==========================================================================
   NOTIFICATIONS PANEL
   ========================================================================== */
.notification-panel {
  position: absolute;
  inset: 0;
  background: var(--bg-card);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  animation: pageSlideIn 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.notif-header {
  height: 60px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
}

.notif-header h2 {
  font-size: 18px;
  font-weight: 800;
}

.notif-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-input);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-main);
}

.notif-list {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: var(--bg-input);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  position: relative;
}

.notif-item.unread {
  background: rgba(212, 30, 43, 0.04);
  border-color: rgba(212, 30, 43, 0.2);
}

.notif-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #ffffff;
  flex-shrink: 0;
}

.ni-success { background: var(--accent-emerald); }
.ni-info { background: var(--accent-blue); }
.ni-money { background: var(--accent-gold); }

.notif-content {
  flex: 1;
}

.notif-content h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
}

.notif-content p {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.notif-time {
  font-size: 10px;
  color: var(--text-light);
  margin-top: 4px;
  display: block;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-banner {
  position: absolute;
  top: 60px;
  left: 20px;
  right: 20px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  z-index: 3000;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================================================
   QR SCANNER MODAL & SIMULATOR
   ========================================================================== */
.qr-modal-content {
  align-items: center;
  text-align: center;
  padding: 24px 20px 32px 20px;
}

.qr-scanner-box {
  width: 250px;
  height: 250px;
  background: #0f172a;
  border-radius: var(--radius-lg);
  margin: 16px auto;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.qr-top-left { top: 12px; left: 12px; border-width: 4px 0 0 4px; border-top-left-radius: 8px; }
.qr-top-right { top: 12px; right: 12px; border-width: 4px 4px 0 0; border-top-right-radius: 8px; }
.qr-bottom-left { bottom: 12px; left: 12px; border-width: 0 0 4px 4px; border-bottom-left-radius: 8px; }
.qr-bottom-right { bottom: 12px; right: 12px; border-width: 0 4px 4px 0; border-bottom-right-radius: 8px; }

.qr-laser {
  position: absolute;
  left: 20px;
  right: 20px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ff3b4e, transparent);
  box-shadow: 0 0 12px #ff3b4e;
  animation: laserScan 2s infinite ease-in-out;
}

@keyframes laserScan {
  0% { top: 20px; opacity: 0.8; }
  50% { top: 220px; opacity: 1; }
  100% { top: 20px; opacity: 0.8; }
}

.qr-sim-code {
  font-size: 110px;
  color: rgba(255, 255, 255, 0.15);
}

.qr-flash-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-input);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-main);
  margin-top: 10px;
}

/* ==========================================================================
   ADD MONEY MODAL
   ========================================================================== */
.add-money-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0;
}

.add-method-card {
  padding: 14px 10px;
  background: var(--bg-input);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.add-method-card:hover, .add-method-card.active {
  background: var(--primary-soft);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.add-method-card i {
  font-size: 22px;
  color: var(--primary);
}

.add-method-card span {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
}

/* ==========================================================================
   MEGA SUPER APP - EXPANDED ECOSYSTEM STYLES
   ========================================================================== */

/* Super Search Bar */
.super-search-container {
  padding: 0 16px 14px 16px;
  position: relative;
  z-index: 15;
}

.super-search-wrapper {
  background: var(--bg-card);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  padding: 6px 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1.5px solid var(--border-light);
  gap: 10px;
  transition: all var(--transition-fast);
}

.super-search-wrapper:focus-within {
  border-color: var(--primary);
  box-shadow: 0 6px 24px rgba(212, 30, 43, 0.15);
}

.super-search-wrapper i.fa-search {
  color: var(--primary);
  font-size: 16px;
}

.super-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  outline: none;
}

.super-voice-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-input);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  transition: all var(--transition-fast);
}

.super-voice-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* Super Category Tabs Carousel */
.super-categories-section {
  padding: 0 16px 16px 16px;
}

.super-cat-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}

.super-cat-scroll::-webkit-scrollbar {
  display: none;
}

.super-cat-pill {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.super-cat-pill:hover, .super-cat-pill.active {
  background: var(--primary-gradient);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(212, 30, 43, 0.25);
}

.super-cat-pill i {
  font-size: 14px;
}

/* Featured Super-App Banner / Spin Wheel Teaser */
.spin-wheel-banner {
  margin: 0 16px 20px 16px;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 25px rgba(49, 46, 129, 0.3);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.spin-wheel-banner:hover {
  transform: translateY(-2px);
}

.spin-wheel-banner::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.3) 0%, transparent 70%);
  border-radius: 50%;
}

.swb-content h3 {
  font-size: 16px;
  font-weight: 900;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  gap: 6px;
}

.swb-content p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 4px;
}

.swb-btn {
  background: var(--accent-gold-gradient);
  color: #0f172a;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

.swb-wheel-icon {
  font-size: 38px;
  color: var(--accent-gold);
  animation: spinIcon 10s infinite linear;
}

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

/* Islamic Prayer Widget */
.islamic-widget-bar {
  margin: 0 16px 20px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.iwb-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.iwb-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.iwb-text h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
}

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

.iwb-btn {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   RIDE HAILING & PARCEL STYLES
   ========================================================================== */
.ride-map-sim {
  height: 160px;
  background: linear-gradient(135deg, #1e293b, #334155);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.ride-map-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}

.ride-marker {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 0 16px rgba(212, 30, 43, 0.8);
  animation: pulsePin 2s infinite ease-in-out;
}

.ride-marker.pickup { top: 40px; left: 60px; background: #10b981; box-shadow: 0 0 16px rgba(16, 185, 129, 0.8); }
.ride-marker.dropoff { bottom: 40px; right: 70px; background: #ef4444; }

.ride-route-line {
  position: absolute;
  top: 58px;
  left: 80px;
  width: 170px;
  height: 2px;
  background: dashed rgba(255, 255, 255, 0.4);
  transform: rotate(24deg);
}

.ride-vehicle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0;
}

.vehicle-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.vehicle-card:hover, .vehicle-card.active {
  border-color: var(--primary);
  background: var(--primary-soft);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.vehicle-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-input);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
}

.vehicle-card h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
}

.vehicle-fare {
  font-size: 14px;
  font-weight: 900;
  color: var(--primary);
}

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

/* ==========================================================================
   FOOD DELIVERY & RESTAURANTS
   ========================================================================== */
.restaurant-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.restaurant-card {
  min-width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.restaurant-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.restaurant-banner {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 32px;
  position: relative;
}

.restaurant-discount-tag {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.restaurant-info {
  padding: 10px 12px;
}

.restaurant-info h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
}

.restaurant-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 11px;
  color: var(--text-muted);
}

.restaurant-rating {
  color: var(--accent-gold);
  font-weight: 700;
}

/* Food Items Grid */
.food-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.food-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 14px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  gap: 6px;
}

.food-item-img {
  height: 80px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #ffffff;
}

.food-item-card h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
}

.food-item-price {
  font-size: 15px;
  font-weight: 900;
  color: var(--primary);
  margin-top: auto;
}

.food-add-btn {
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  padding: 6px;
  border-radius: var(--radius-full);
  margin-top: 6px;
  transition: all var(--transition-fast);
}

.food-add-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* ==========================================================================
   10-MINUTE QUICK GROCERY (কাঁচাবাজার)
   ========================================================================== */
.grocery-delivery-timer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

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

.grocery-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.grocery-card:hover {
  transform: translateY(-2px);
}

.grocery-icon-wrap {
  height: 70px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.grocery-card h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
}

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

.grocery-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.grocery-price {
  font-size: 15px;
  font-weight: 900;
  color: var(--primary);
}

.grocery-buy-btn {
  background: var(--primary);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* ==========================================================================
   DOCTOR & HEALTHCARE
   ========================================================================== */
.doctor-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.doctor-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.doctor-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
}

.doctor-info {
  flex: 1;
}

.doctor-info h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
}

.doctor-specialty {
  font-size: 12px;
  color: var(--primary);
  font-weight: 700;
}

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

.doctor-call-btn {
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Prescription Upload Card */
.prescription-upload-card {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.3);
}

.puc-left h4 {
  font-size: 16px;
  font-weight: 900;
}

.puc-left p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 4px;
}

.puc-btn {
  background: #ffffff;
  color: #0369a1;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   GOVT & CITIZEN SERVICES
   ========================================================================== */
.govt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.govt-service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.govt-service-card:hover {
  border-color: #10b981;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.govt-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
}

.govt-service-card h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
}

.govt-service-card span {
  font-size: 11px;
  color: var(--text-muted);
}

/* ==========================================================================
   ENTERTAINMENT, OTT & GAMES
   ========================================================================== */
.stream-live-card {
  background: linear-gradient(135deg, #7c2d12 0%, #991b1b 100%);
  border-radius: var(--radius-lg);
  padding: 18px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  margin-bottom: 14px;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 6px;
  animation: pulsePin 1.5s infinite;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

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

.drama-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.drama-card:hover {
  transform: translateY(-2px);
}

.drama-poster {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
  position: relative;
}

.drama-play-icon {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.drama-info {
  padding: 10px;
}

.drama-info h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

/* ==========================================================================
   SPIN WHEEL MODAL
   ========================================================================== */
.spin-modal-content {
  align-items: center;
  text-align: center;
  padding: 28px 20px 36px 20px;
}

.wheel-wrapper {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 20px auto;
}

.wheel-canvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 8px solid #ffffff;
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.5);
  transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}

.wheel-pointer {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 24px solid var(--primary);
  z-index: 10;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.spin-action-btn {
  background: var(--accent-gold-gradient);
  color: #0f172a;
  font-size: 17px;
  font-weight: 900;
  padding: 14px 36px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
  margin-top: 14px;
  transition: all var(--transition-fast);
}

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

/* ==========================================================================
   ISLAMIC FEATURES PAGE
   ========================================================================== */
.prayer-times-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.pt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
  font-weight: 700;
}

.pt-row:last-child {
  border-bottom: none;
}

.pt-row.active {
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

/* ==========================================================================
   RESPONSIVENESS (MOBILE PHONE REAL SCREEN)

   ========================================================================== */
@media (max-width: 600px) {
  .device-viewport-wrapper {
    padding: 0;
  }

  .desktop-controls {
    display: none;
  }

  .phone-mockup-frame {
    max-width: 100%;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
  }

  .dynamic-island {
    display: none;
  }

  .app-container {
    border-radius: 0;
  }
}
