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

:root {
  --bg-deep: #040711;
  --bg-surface: #080d1a;
  --bg-card: rgba(8, 13, 24, 0.82);
  --bg-card-hover: rgba(13, 22, 38, 0.92);
  --border-subtle: rgba(0, 240, 255, 0.12);
  --border-glow: rgba(0, 240, 255, 0.38);

    /* Primary Logo Palette - Neon Electric Cyan */
  --cyan-primary: #00f0ff;
  --cyan-bright: #38bdf8;
  --cyan-deep: #0284c7;
  --cyan-glow: rgba(0, 240, 255, 0.45);
  --cyan-subtle: rgba(0, 240, 255, 0.08);
  --cyan-border: rgba(0, 240, 255, 0.28);
  --cyan-border-hover: rgba(0, 240, 255, 0.65);
  --cyan-gradient: linear-gradient(135deg, #38bdf8 0%, #00f0ff 50%, #0284c7 100%);

  /* Unified Theme Mapping (Primary Accent is the Logo's Electric Cyan) */
  --gold-primary: #00f0ff;
  --gold-glow: #38bdf8;
  --gold-gradient: linear-gradient(135deg, #ffffff 0%, #00f0ff 50%, #0284c7 100%);

  --emerald-primary: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  --ruby-primary: #ef4444;
  --ruby-glow: rgba(239, 68, 68, 0.25);
  --sapphire-primary: #3b82f6;
  --sapphire-glow: rgba(59, 130, 246, 0.25);
  --purple-ai: #8b5cf6;
  --purple-ai-glow: rgba(139, 92, 246, 0.35);

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

  --shadow-card: 0 12px 32px 0 rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 25px rgba(0, 240, 255, 0.15);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Readex Pro', 'Outfit', sans-serif;
  background-color: #07090e;
  color: var(--text-main);
  min-height: 100vh;
  direction: rtl;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(0, 240, 255, 0.07) 0%, transparent 70%),
    radial-gradient(circle at 85% 90%, rgba(14, 165, 233, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, #07090e 0%, #0a0d15 50%, #06080d 100%);
  background-attachment: fixed;
}

/* Glassmorphism Effect */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.glass-glow {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

/* Header & Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  background: rgba(11, 15, 25, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #07090e;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(0, 240, 255, 0.35);
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #ffffff 0%, #00f0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-primary);
}

/* User Badge & Profile Info */
.user-badge {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 2px solid var(--gold-primary);
  object-fit: cover;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  font-family: inherit;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #07090e;
  box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 240, 255, 0.45);
}

.btn-discord {
  background: #5865F2;
  color: #fff;
  box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.btn-discord:hover {
  background: #4752C4;
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-emerald {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
}

/* Container & Layout */
.container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 2rem;
}

/* Hero Section (Landing Page) */
.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 3rem 0;
}

.hero-content {
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid var(--border-glow);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  color: var(--gold-primary);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1.2rem;
}

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

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2.2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* 3D Bank Virtual Card */
.card-wrapper {
  perspective: 1000px;
  width: 100%;
  max-width: 410px;
  min-height: 220px;
  aspect-ratio: 1.6 / 1;
  margin: 0 auto;
}

.bank-card {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  position: relative;
  background: linear-gradient(135deg, #181f33 0%, #0d1220 50%, #151c2e 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 240, 255, 0.15);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bank-card:hover {
  transform: translateY(-6px) rotateX(4deg) rotateY(-4deg);
}

.bank-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chip {
  width: 45px;
  height: 34px;
  background: linear-gradient(135deg, #38bdf8 0%, #00f0ff 100%);
  border-radius: 6px;
  position: relative;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}

.chip::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.2);
}

.card-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold-primary);
  letter-spacing: 2px;
}

.card-number {
  font-family: 'Outfit', monospace;
  font-size: 1.45rem;
  letter-spacing: 3px;
  color: #f1f5f9;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  direction: ltr;
  text-align: left;
}

.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.card-holder-label {
  font-size: 0.65rem;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.card-holder-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1px;
}

.card-expiry {
  font-family: 'Outfit', monospace;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.stat-card {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.icon-gold {
  background: rgba(0, 240, 255, 0.15);
  color: var(--gold-primary);
}

.icon-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-primary);
}

.icon-sapphire {
  background: rgba(59, 130, 246, 0.15);
  color: var(--sapphire-primary);
}

.icon-purple {
  background: rgba(139, 92, 246, 0.15);
  color: var(--purple-ai);
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.stat-subtext {
  font-size: 0.8rem;
  color: var(--emerald-primary);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Action Center */
.action-buttons {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

/* Tables */
.table-card {
  padding: 1.6rem;
  margin-bottom: 2rem;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bank-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
}

.bank-table th {
  padding: 0.85rem 1rem;
  color: var(--text-dim);
  font-size: 0.82rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border-subtle);
}

.bank-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
}

.bank-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-primary);
}

.badge-red {
  background: rgba(239, 68, 68, 0.15);
  color: var(--ruby-primary);
}

.badge-gold {
  background: rgba(0, 240, 255, 0.15);
  color: var(--gold-primary);
}

/* Gemini AI Financial Assistant Drawer */
.ai-box {
  background: linear-gradient(135deg, rgba(30, 20, 50, 0.7) 0%, rgba(14, 19, 31, 0.8) 100%);
  border: 1px solid rgba(139, 92, 246, 0.25);
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  height: 480px;
}

.ai-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-chat-messages {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 0.5rem 0;
}

.chat-bubble {
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 88%;
}

.bubble-ai {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  align-self: flex-start;
  color: #e2e8f0;
}

.bubble-user {
  background: rgba(0, 240, 255, 0.2);
  border: 1px solid var(--border-glow);
  align-self: flex-end;
  color: #fff;
}

.ai-input-wrapper {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.input-field {
  flex: 1;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem;
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.input-field:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

/* Modals */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  width: 92%;
  max-width: 480px;
  max-height: 88vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-backdrop.open .modal-box {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dim);
  cursor: pointer;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

/* Table Responsive Wrapper for Mobile */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
}

.table-responsive::-webkit-scrollbar {
  height: 6px;
}

.table-responsive::-webkit-scrollbar-thumb {
  background: rgba(0, 240, 255, 0.3);
  border-radius: 10px;
}

/* Luxury Toast Notifications */
#toastContainer {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 380px;
  width: calc(100% - 48px);
  pointer-events: none;
}

.toast {
  background: rgba(14, 19, 31, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  pointer-events: auto;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-success {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.15);
}

.toast-error {
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 10px 25px rgba(239, 68, 68, 0.15);
}

.toast-info {
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 10px 25px rgba(0, 240, 255, 0.15);
}

.toast-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.toast-content {
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ==========================================================================
   Mobile Navigation Components (Drawer & Bottom App Bar)
   ========================================================================== */

/* Hamburger Button (Hidden on Desktop) */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--gold-primary);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu-btn:active {
  transform: scale(0.92);
  background: rgba(0, 240, 255, 0.15);
}

/* Mobile Navigation Backdrop */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* Mobile Slide-out Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 290px;
  max-width: 85vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(11, 15, 25, 0.96);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-left: 1px solid var(--border-glow);
  z-index: 1999;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.25rem;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.85);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
}

.mobile-drawer-link:hover,
.mobile-drawer-link.active {
  background: rgba(0, 240, 255, 0.12);
  border-color: rgba(0, 240, 255, 0.3);
  color: var(--gold-primary);
  font-weight: 600;
}

.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* Native App-like Mobile Bottom Navigation Bar (Hidden on Desktop) */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(10, 14, 25, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.7);
  z-index: 1500;
  padding: 0 0.5rem;
  justify-content: space-around;
  align-items: center;
}

.mobile-bottom-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 500;
  gap: 4px;
  transition: all 0.2s ease;
  position: relative;
  padding: 4px 0;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.mobile-bottom-tab .icon-svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  transition: transform 0.2s ease, stroke 0.2s ease;
}

.mobile-bottom-tab.active {
  color: var(--gold-primary);
  font-weight: 700;
}

.mobile-bottom-tab.active .icon-svg {
  transform: translateY(-2px);
  stroke: var(--gold-primary);
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.5));
}

.mobile-bottom-tab.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--gold-gradient);
  box-shadow: 0 0 10px var(--gold-primary);
}

/* ==========================================================================
   Responsive Breakpoints for All Devices
   ========================================================================== */

@media (max-width: 1200px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .ai-box {
    height: 420px;
  }
}

@media (max-width: 1024px) {
  .navbar {
    padding: 1rem 1.8rem;
  }
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 0;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-description {
    margin: 0 auto 2rem;
  }
}

/* Mobile Devices (Tablets and Phones: <= 768px) */
@media (max-width: 768px) {
  /* Layout & Spacing */
  .container {
    padding: 1rem 0.85rem;
    padding-bottom: 5.5rem !important; /* Prevents content overlap with bottom nav bar */
  }

  /* Top Navbar */
  .navbar {
    padding: 0.75rem 1rem;
  }
  .nav-links {
    display: none !important; /* Hide desktop horizontal links */
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .mobile-bottom-nav {
    display: flex;
  }
  .brand-title {
    font-size: 1.1rem;
  }
  .brand-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  /* Prevent Safari/Chrome Auto-zoom on inputs */
  input, select, textarea, .input-field {
    font-size: 16px !important;
    padding: 0.75rem 0.9rem;
  }

  /* Hero Section */
  .hero {
    padding: 2rem 0;
  }
  .hero-title {
    font-size: clamp(1.9rem, 7vw, 2.4rem);
  }
  .hero-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Net Worth Banner */
  .net-worth-banner {
    padding: 1.25rem 1rem;
    gap: 1.1rem;
    flex-direction: column;
    align-items: stretch;
  }
  .net-worth-amount {
    font-size: clamp(1.85rem, 7vw, 2.5rem);
  }
  .net-worth-protection {
    font-size: 0.75rem;
    padding: 0.35rem 0.65rem;
    line-height: 1.4;
  }

  /* 2x2 Compact Core Stats Grid */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }
  .stat-card {
    padding: 0.9rem 0.75rem;
    gap: 0.35rem;
  }
  .stat-header {
    font-size: 0.78rem;
  }
  .stat-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  .stat-value {
    font-size: clamp(1.2rem, 4.5vw, 1.6rem);
  }
  .stat-subtext {
    font-size: 0.72rem;
    line-height: 1.3;
  }

  /* 2-Column Action Buttons Grid */
  .action-buttons {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.6rem !important;
    margin-bottom: 1.5rem;
  }
  .action-buttons .btn {
    width: 100%;
    padding: 0.75rem 0.5rem;
    font-size: 0.82rem;
    gap: 0.4rem;
  }

  /* Virtual 3D Bank Card Showcase */
  .card-wrapper {
    max-width: 330px;
    min-height: 190px;
    margin: 0 auto 1.5rem;
  }
  .bank-card {
    padding: 1.15rem;
    border-radius: 16px;
  }
  .card-number {
    font-size: clamp(1.1rem, 4.2vw, 1.35rem);
    letter-spacing: 2px;
  }
  .vip-card-panel {
    padding: 1.2rem;
    min-width: 100%;
  }

  /* Modals & Popups */
  .modal-box {
    width: 94% !important;
    max-width: 440px;
    max-height: 88vh;
    padding: 1.25rem 1rem;
    border-radius: var(--radius-lg);
  }

  /* Official Bank Digital Receipt */
  .receipt-paper {
    padding: 1.5rem 1.1rem;
    max-width: 95%;
  }
  .receipt-watermark {
    font-size: 2.8rem;
  }
  .receipt-stamp {
    font-size: 0.7rem;
  }

  /* Tables & Table Cards */
  .table-card {
    padding: 1.1rem 0.85rem;
  }
  .card-title {
    font-size: 1.05rem;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .bank-table th, .bank-table td {
    padding: 0.75rem 0.65rem;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  /* VIP Progression Roadmap */
  .vip-roadmap-card {
    padding: 1.1rem 0.9rem;
  }
  .vip-perks-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.5rem;
  }

  /* Toast Notifications */
  #toastContainer {
    bottom: 74px; /* Sits cleanly above the bottom navigation bar */
    left: 12px;
    width: calc(100% - 24px);
  }
}

/* Small Smart Phones (<= 480px) */
@media (max-width: 480px) {
  .user-badge {
    padding: 0.25rem 0.5rem;
  }
  #userVipTier {
    display: none;
  }
  .rewards-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .reward-card {
    padding: 1.15rem 1rem;
  }
}

/* Ultra Small Phones (<= 360px) */
@media (max-width: 360px) {
  .stats-grid {
    grid-template-columns: 1fr !important;
  }
  .action-buttons {
    grid-template-columns: 1fr !important;
  }
  .mobile-bottom-tab span {
    font-size: 0.62rem;
  }
}

/* ==========================================================================
   Luxury Range Sliders (Interactive Calculators)
   ========================================================================== */
.range-slider-wrap {
  margin: 1.5rem 0;
}

.range-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.range-slider-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.range-slider-val {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-primary);
  font-family: 'Outfit', sans-serif;
}

input[type="range"].luxury-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  transition: var(--transition);
}

input[type="range"].luxury-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold-gradient);
  cursor: pointer;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.6);
  border: 2px solid #fff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

input[type="range"].luxury-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.9);
}

input[type="range"].luxury-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold-gradient);
  cursor: pointer;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.6);
  border: 2px solid #fff;
  transition: transform 0.15s ease;
}

/* Calculator Visual Grid */
.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

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

.calc-breakdown-card {
  background: linear-gradient(145deg, rgba(20, 26, 40, 0.8), rgba(12, 16, 26, 0.9));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.calc-breakdown-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.calc-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.calc-stat-row:last-child {
  border-bottom: none;
  padding-top: 1.25rem;
}

/* ==========================================================================
   AI Advisor Chat System (Gemini AI Workspace)
   ========================================================================== */
.advisor-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  height: calc(100vh - 160px);
  min-height: 600px;
}

@media (max-width: 1024px) {
  .advisor-layout {
    grid-template-columns: 1fr;
    height: auto;
  }
}

@media (max-width: 768px) {
  .chat-box {
    height: calc(100vh - 200px);
    min-height: 480px;
  }
  .chat-header {
    padding: 0.9rem 1rem;
  }
  .chat-messages {
    padding: 1rem 0.85rem;
    gap: 1rem;
  }
  .message-row {
    max-width: 92%;
    gap: 0.6rem;
  }
  .message-avatar {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  .message-bubble {
    padding: 0.8rem 0.95rem;
    font-size: 0.88rem;
  }
  .prompt-suggestions {
    padding: 0.5rem 0.85rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.5rem;
  }
  .prompt-suggestions::-webkit-scrollbar {
    display: none;
  }
  .prompt-pill {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.78rem;
    padding: 0.35rem 0.75rem;
  }
  .chat-input-bar {
    padding: 0.75rem 0.85rem;
    gap: 0.5rem;
  }
  .chat-input {
    font-size: 16px !important;
    padding: 0.7rem 0.9rem;
  }
}

.chat-box {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(13, 18, 30, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
}

.chat-header {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(18, 24, 38, 0.6);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  scroll-behavior: smooth;
}

.message-row {
  display: flex;
  gap: 1rem;
  max-width: 82%;
  animation: fadeIn 0.3s ease;
}

.message-row.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.message-row.ai {
  align-self: flex-start;
}

.message-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.message-avatar.ai {
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  border: 2px solid rgba(139, 92, 246, 0.5);
}

.message-avatar.user {
  background: var(--gold-gradient);
  border: 2px solid rgba(0, 240, 255, 0.5);
}

.message-bubble {
  padding: 1rem 1.35rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  line-height: 1.65;
  word-break: break-word;
}

.message-bubble.ai {
  background: rgba(26, 35, 55, 0.85);
  border: 1px solid rgba(139, 92, 246, 0.25);
  color: #f1f5f9;
  border-top-right-radius: 2px;
}

.message-bubble.user {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1px solid rgba(0, 240, 255, 0.35);
  color: #fff;
  border-top-left-radius: 2px;
}

.message-bubble strong {
  color: var(--gold-primary);
}

.message-bubble ul {
  margin: 0.5rem 1.2rem;
}

.message-bubble li {
  margin-bottom: 0.35rem;
}

.typing-indicator {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.75rem 1.2rem;
}

.typing-indicator .dot {
  width: 7px;
  height: 7px;
  background: #8b5cf6;
  border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out both;
}

.typing-indicator .dot:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator .dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

.prompt-suggestions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding: 0.75rem 1.5rem;
  background: rgba(10, 14, 23, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.prompt-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.prompt-pill:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: var(--purple-ai);
  color: #fff;
  transform: translateY(-2px);
}

.chat-input-bar {
  padding: 1rem 1.5rem;
  display: flex;
  gap: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  background: rgba(14, 19, 31, 0.9);
}

.chat-input {
  flex: 1;
  background: rgba(7, 9, 14, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.chat-input:focus {
  border-color: var(--purple-ai);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.25);
}

/* Advisor Sidebar */
.advisor-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.advisor-info-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: rgba(18, 24, 38, 0.65);
}

.credit-meter-bar {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
  margin: 0.75rem 0;
}

.credit-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, #ef4444 0%, #f59e0b 50%, #10b981 100%);
  border-radius: 999px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================================
   Modern SVG Icons & Enhanced Neo-Bank Dashboard
   =================================================== */
.icon-svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.icon-svg-lg {
  width: 1.6rem;
  height: 1.6rem;
}

.icon-svg-sm {
  width: 1rem;
  height: 1rem;
}

/* Net Worth Banner */
.net-worth-banner {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.12) 0%, rgba(14, 19, 31, 0.9) 50%, rgba(16, 185, 129, 0.08) 100%);
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2.2rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 25px rgba(0, 240, 255, 0.1);
}

.net-worth-banner::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  height: 100%;
  background: radial-gradient(circle at 100% 50%, rgba(0, 240, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.net-worth-label {
  font-size: 0.85rem;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.net-worth-amount {
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 0%, #38bdf8 60%, #00f0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.net-worth-currency {
  font-size: 1.2rem;
  color: var(--text-dim);
  font-weight: 600;
  -webkit-text-fill-color: var(--text-dim);
}

.net-worth-protection {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--emerald-primary);
  background: rgba(16, 185, 129, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.25);
  margin-top: 0.6rem;
}

/* VIP Card Details Container */
.vip-card-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(18, 24, 38, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  flex: 1;
  min-width: 280px;
  gap: 1.1rem;
}

.vip-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.vip-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.vip-label {
  color: var(--text-dim);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.vip-val {
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
}

.pulse-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--emerald-primary);
  display: inline-block;
  box-shadow: 0 0 10px var(--emerald-primary);
  animation: pulse-aura 2s infinite;
}

@keyframes pulse-aura {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* ==========================================
   VIP Progression Roadmap & Perks
   ========================================== */
.vip-roadmap-card {
  padding: 1.5rem 1.8rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.08) 0%, rgba(18, 24, 38, 0.7) 100%);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: var(--radius-lg);
}

.vip-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.vip-progress-bar-wrap {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.vip-progress-fill {
  height: 100%;
  background: var(--gold-gradient);
  border-radius: var(--radius-full);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.6);
}

.vip-perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.vip-perk-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.vip-perk-pill.active {
  background: rgba(0, 240, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.3);
  color: #fff;
}

/* ==========================================
   Rewards & Career Hub (Daily & Work)
   ========================================== */
.rewards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.reward-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.reward-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-card), 0 0 20px rgba(0, 240, 255, 0.1);
}

.reward-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.reward-icon-circle {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.countdown-timer {
  font-family: monospace;
  font-weight: 700;
  letter-spacing: 1px;
}

/* ==========================================
   Security & Rob & Protect Hub
   ========================================== */
.security-hub-card {
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(18, 24, 38, 0.8) 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.cash-risk-banner {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================
   Official Bank Digital Receipt Modal
   ========================================== */
.receipt-paper {
  background: #0d121d;
  border: 1px solid rgba(0, 240, 255, 0.4);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 240, 255, 0.15);
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
}

.receipt-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-25deg);
  font-size: 4.5rem;
  font-weight: 900;
  color: rgba(0, 240, 255, 0.04);
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: 6px;
  text-transform: uppercase;
}

.receipt-header {
  text-align: center;
  padding-bottom: 1.25rem;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.15);
  margin-bottom: 1.25rem;
}

.receipt-stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--emerald-primary);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.receipt-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.88rem;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.receipt-row-label {
  color: var(--text-dim);
}

.receipt-row-val {
  font-weight: 600;
  color: #fff;
  text-align: left;
}

.receipt-divider {
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  margin: 0.5rem 0;
}

.receipt-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 2px dashed rgba(255, 255, 255, 0.15);
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.receipt-dm-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  margin-top: 0.5rem;
}

/* Leaderboard Elements */
.leaderboard-badge-gold {
  background: rgba(255, 215, 0, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(255, 215, 0, 0.4);
}
.leaderboard-badge-silver {
  background: rgba(226, 232, 240, 0.15);
  color: #cbd5e1;
  border: 1px solid rgba(226, 232, 240, 0.4);
}
.leaderboard-badge-bronze {
  background: rgba(205, 127, 50, 0.15);
  color: #d97706;
  border: 1px solid rgba(205, 127, 50, 0.4);
}
/* Cyber Cyan Logo Utilities */
.brand-icon-cyan, .brand-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 240, 255, 0.08) !important;
  border: 1.5px solid var(--cyan-border) !important;
  border-radius: var(--radius-md) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px !important;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.25) !important;
  transition: var(--transition) !important;
}

.brand:hover .brand-icon-cyan, .brand:hover .brand-icon {
  border-color: var(--cyan-primary) !important;
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.6) !important;
  transform: scale(1.08) rotate(2deg) !important;
}

.brand-icon img, .brand-icon-cyan img, .brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 6px var(--cyan-glow));
}

.brand-accent-cyan {
  color: var(--cyan-primary) !important;
  text-shadow: 0 0 14px rgba(0, 240, 255, 0.6);
}

.brand-subtitle-cyan {
  font-size: 0.65rem;
  color: var(--cyan-bright) !important;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
}

.btn-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #00f0ff 50%, #0284c7 100%) !important;
  color: #040711 !important;
  font-weight: 700 !important;
  border: none !important;
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.35) !important;
}

.btn-cyan:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 28px rgba(0, 240, 255, 0.6) !important;
  color: #040711 !important;
}

.btn-cyber-outline {
  background: rgba(0, 240, 255, 0.06) !important;
  border: 1px solid var(--cyan-border) !important;
  color: #fff !important;
}

.btn-cyber-outline:hover {
  background: rgba(0, 240, 255, 0.15) !important;
  border-color: var(--cyan-primary) !important;
  color: var(--cyan-primary) !important;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.35) !important;
  transform: translateY(-2px) !important;
}
