/* ===== MineFlow Design System ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ===== Variables (Premium Dark Theme) ===== */
:root {
  --bg-main: #0b0e11;
  --bg-secondary: #181a20;
  --bg-card: rgba(24, 26, 32, 0.85);
  --bg-card-solid: #181a20;
  --text-main: #eaecef;
  --text-muted: #848e9c;
  --text-secondary: #b7bdc6;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.03);
  --nav-bg: rgba(11, 14, 17, 0.95);
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --success: #0ecb81;
  --danger: #f6465d;
  --warning: #fcd535;
}

/* ===== CSS Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: #818cf8; text-decoration: none; transition: color 0.3s; }
a:hover { color: #a78bfa; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }
ul { list-style: none; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-main); }
::-webkit-scrollbar-thumb { background: #1e1e2e; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #2a2a3e; }

/* ===== Typography ===== */
h1 { font-size: 2.75rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.04em; }
h2 { font-size: 2.25rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.03em; }
h3 { font-size: 1.5rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; }
h4 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
h5 { font-size: 1.1rem; font-weight: 500; }
h6 { font-size: 1rem; font-weight: 500; }
.text-gradient {
  background: linear-gradient(135deg, #818cf8, #a78bfa, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

/* ===== Layout ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.grid { display: grid; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); }
.w-full { width: 100%; }
.hidden { display: none !important; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* Spacing */
.gap-1 { gap: 0.25rem; } .gap-2 { gap: 0.5rem; } .gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; } .gap-5 { gap: 1.25rem; } .gap-6 { gap: 1.5rem; } .gap-8 { gap: 2rem; }
.mt-1 { margin-top: 0.25rem; } .mt-2 { margin-top: 0.5rem; } .mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; } .mt-5 { margin-top: 1.25rem; } .mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.25rem; } .mb-2 { margin-bottom: 0.5rem; } .mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; } .mb-5 { margin-bottom: 1.25rem; } .mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.p-2 { padding: 0.5rem; } .p-3 { padding: 0.75rem; } .p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; } .p-6 { padding: 1.5rem; } .p-8 { padding: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }

/* ===== Buttons (Aave Style) ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.875rem 1.75rem; border-radius: 100px; font-weight: 600;
  font-size: 0.9375rem; border: none; transition: all 0.2s ease;
  white-space: nowrap; position: relative; overflow: hidden;
  letter-spacing: -0.01em;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.15);
}
.btn-primary:hover {
  background: #f1f1f1;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.08); 
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.1);
}
.btn-danger {
  background: rgba(246, 70, 93, 0.1);
  color: var(--danger);
  border: 1px solid rgba(246, 70, 93, 0.2);
}
.btn-danger:hover { background: rgba(246, 70, 93, 0.15); }
.btn-success {
  background: rgba(14, 203, 129, 0.1);
  color: var(--success);
  border: 1px solid rgba(14, 203, 129, 0.2);
}
.btn-success:hover { background: rgba(14, 203, 129, 0.15); }
.btn-outline {
  background: transparent; color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.8125rem; min-height: 40px; }
.btn-lg { padding: 1.125rem 2.25rem; font-size: 1.0625rem; }
.btn-icon {
  width: 44px; height: 44px; padding: 0; border-radius: 100px;
  display: inline-flex; align-items: center; justify-content: center;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ===== Cards ===== */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(99, 102, 241, 0.08);
  border-radius: 12px;
  transition: all 0.3s ease;
}
.card:hover {
  border-color: rgba(99, 102, 241, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(99, 102, 241, 0.08);
  display: flex; align-items: center; justify-content: space-between;
}
.card-body { padding: 1.5rem; }
.card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(99, 102, 241, 0.08);
}

/* ===== Stat Cards ===== */
.stat-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(99, 102, 241, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
  position: relative; overflow: hidden;
  transition: all 0.3s ease;
}
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), #8b5cf6);
  opacity: 0; transition: opacity 0.3s ease;
}
.stat-card:hover::before { opacity: 1; }
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.stat-card .stat-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--border-color); color: #818cf8;
  margin-bottom: 1rem;
}
.stat-card .stat-icon.green { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.stat-card .stat-icon.amber { background: rgba(245, 158, 11, 0.1); color: var(--warning); }
.stat-card .stat-icon.red { background: rgba(239, 68, 68, 0.1); color: var(--danger); }
.stat-card .stat-value { font-size: 1.75rem; font-weight: 800; margin-bottom: 0.25rem; }
.stat-card .stat-label { color: var(--text-muted); font-size: 0.875rem; font-weight: 500; }
.stat-card .stat-trend { font-size: 0.8125rem; font-weight: 600; margin-top: 0.5rem; display: flex; align-items: center; gap: 0.25rem; }
.stat-card .stat-trend.up { color: var(--success); }
.stat-card .stat-trend.down { color: var(--danger); }

/* ===== Forms ===== */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block; margin-bottom: 0.5rem; font-size: 0.875rem;
  font-weight: 500; color: var(--text-secondary);
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 0.75rem 1rem; font-size: 0.875rem;
  background: rgba(15, 15, 25, 0.8); color: var(--text-main);
  border: 1px solid rgba(99, 102, 241, 0.15); border-radius: 10px;
  transition: all 0.3s ease; outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--border-color);
}
.form-input::placeholder { color: #475569; }
.form-input.error { border-color: var(--danger); }
.form-textarea { resize: vertical; min-height: 80px; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-select option { background: var(--bg-card-solid); color: var(--text-main); }
.input-icon-wrapper { position: relative; }
.input-icon-wrapper .form-input { padding-left: 2.75rem; }
.input-icon-wrapper .input-icon {
  position: absolute; left: 0.875rem; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); pointer-events: none;
}
.input-icon-wrapper .input-icon svg { width: 18px; height: 18px; }
.password-toggle-btn { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); background: none; border: none; color: #64748b; cursor: pointer; padding: 0; display: flex; align-items: center; justify-content: center; z-index: 2; }
.password-toggle-btn:hover { color: #94a3b8; }
.input-icon-wrapper .form-input[type="password"], .input-icon-wrapper .form-input[type="text"] { padding-right: 2.75rem; }
.password-strength { height: 4px; border-radius: 2px; margin-top: 0.5rem; background: #1e1e2e; overflow: hidden; }
.password-strength .bar { height: 100%; border-radius: 2px; transition: width 0.3s, background 0.3s; }

/* ===== Tables ===== */
.table-wrapper { overflow-x: auto; border-radius: 12px; }
.table {
  width: 100%; border-collapse: collapse; font-size: 0.875rem;
}
.table th {
  padding: 0.875rem 1rem; text-align: left; font-weight: 600;
  color: var(--text-muted); font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.05em; border-bottom: 1px solid rgba(99, 102, 241, 0.08);
  white-space: nowrap; background: rgba(10, 10, 15, 0.5);
}
.table td {
  padding: 0.875rem 1rem; border-bottom: 1px solid rgba(99, 102, 241, 0.05);
  white-space: nowrap;
}
.table tr { transition: background 0.2s; }
.table tbody tr:hover { background: rgba(99, 102, 241, 0.03); }

/* ===== Badges ===== */
.badge {
  display: inline-flex; align-items: center; gap: 0.25rem;
  padding: 0.25rem 0.75rem; border-radius: 20px; font-size: 0.75rem;
  font-weight: 600; white-space: nowrap;
}
.badge-success { background: rgba(16, 185, 129, 0.15); color: var(--success); box-shadow: 0 0 10px rgba(16, 185, 129, 0.2); border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-warning { background: rgba(245, 158, 11, 0.15); color: var(--warning); box-shadow: 0 0 10px rgba(245, 158, 11, 0.2); border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-danger { background: rgba(239, 68, 68, 0.15); color: var(--danger); box-shadow: 0 0 10px rgba(239, 68, 68, 0.2); border: 1px solid rgba(239, 68, 68, 0.3); }
.badge-info { background: rgba(129, 140, 248, 0.15); color: #818cf8; box-shadow: 0 0 10px rgba(129, 140, 248, 0.2); border: 1px solid rgba(129, 140, 248, 0.3); }
.badge-neutral { background: rgba(100, 116, 139, 0.15); color: var(--text-secondary); border: 1px solid rgba(100, 116, 139, 0.3); }

/* ===== Navbar ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 1.5rem; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(99, 102, 241, 0.08);
  transition: all 0.3s ease;
}
.navbar.scrolled { background: var(--nav-bg); box-shadow: 0 4px 24px rgba(0,0,0,0.3); }
.navbar .logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 1.375rem; font-weight: 800; color: #fff;
}
.navbar .logo svg { color: #818cf8; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-link {
  color: var(--text-secondary); font-weight: 500; font-size: 0.875rem;
  transition: color 0.3s; position: relative;
}
.nav-link:hover { color: var(--text-main); }
.nav-link.active { color: #818cf8; }
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), #8b5cf6);
  transition: width 0.3s;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.mobile-menu-btn { display: none; background: none; border: none; color: var(--text-main); padding: 0.5rem; }

@media (min-width: 993px) {
  .mobile-only-icon { display: none !important; }
}

/* ===== Auth Pages ===== */
.auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 2rem;
  background: radial-gradient(ellipse at top, rgba(99, 102, 241, 0.08), transparent 50%),
              radial-gradient(ellipse at bottom right, rgba(139, 92, 246, 0.05), transparent 50%),
              var(--bg-main);
}
.auth-card {
  width: 100%; max-width: 440px;
  background: rgba(18, 18, 26, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 20px; padding: 2.5rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 0.5s ease;
}
.auth-header { text-align: center; margin-bottom: 2rem; }
.auth-header .logo-lg {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-size: 1.75rem; font-weight: 800; color: #fff; margin-bottom: 0.75rem;
}
.auth-header .logo-lg svg { color: #818cf8; }
.auth-header p { color: var(--text-muted); font-size: 0.875rem; }
.auth-footer { text-align: center; margin-top: 1.5rem; color: var(--text-muted); font-size: 0.875rem; }
.auth-divider {
  display: flex; align-items: center; gap: 1rem;
  margin: 1.5rem 0; color: #475569; font-size: 0.8125rem;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border-color);
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 6rem 0 4rem;
  background: radial-gradient(ellipse at top center, rgba(99, 102, 241, 0.12), transparent 60%),
              radial-gradient(ellipse at bottom right, rgba(139, 92, 246, 0.08), transparent 50%),
              var(--bg-main);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(99, 102, 241, 0.03), transparent 40%),
              radial-gradient(circle at 70% 60%, rgba(139, 92, 246, 0.03), transparent 40%);
  animation: rotate 60s linear infinite;
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 1.5rem; }
.hero p { font-size: 1.25rem; color: var(--text-secondary); margin-bottom: 2rem; line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats {
  display: flex; gap: 2.5rem; flex-wrap: wrap;
  padding: 1.5rem 2rem; border-radius: 12px;
  background: rgba(18, 18, 26, 0.6);
  border: 1px solid rgba(99, 102, 241, 0.08);
  backdrop-filter: blur(10px);
}
.hero-stat { text-align: center; }
.hero-stat .value { font-size: 1.5rem; font-weight: 800; color: #fff; }
.hero-stat .label { font-size: 0.8125rem; color: var(--text-muted); margin-top: 0.25rem; }

/* ===== Sections ===== */
.section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--text-muted); font-size: 1.0625rem; max-width: 600px; margin: 0 auto; }

/* How It Works */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.step-card {
  text-align: center; padding: 2rem;
  background: rgba(18, 18, 26, 0.6);
  border: 1px solid rgba(99, 102, 241, 0.08);
  border-radius: 12px; position: relative;
  transition: all 0.3s ease;
}
.step-card:hover { transform: translateY(-4px); border-color: rgba(99, 102, 241, 0.2); }
.step-number {
  width: 56px; height: 56px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 800; color: #fff;
  margin: 0 auto 1.25rem;
}
.step-card h3 { margin-bottom: 0.75rem; font-size: 1.125rem; }
.step-card p { color: var(--text-muted); font-size: 0.875rem; }

/* Features Grid */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature-card {
  padding: 2rem;
  background: rgba(18, 18, 26, 0.6);
  border: 1px solid rgba(99, 102, 241, 0.08);
  border-radius: 12px;
  transition: all 0.3s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(99, 102, 241, 0.2); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--border-color); color: #818cf8;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-card h3 { margin-bottom: 0.5rem; font-size: 1.0625rem; }
.feature-card p { color: var(--text-muted); font-size: 0.875rem; line-height: 1.6; }

/* ASIC Cards (Catalog) */
.asic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.asic-card {
  background: var(--bg-card);
  border: 1px solid rgba(99, 102, 241, 0.08);
  border-radius: 12px; overflow: hidden;
  transition: all 0.4s ease; position: relative;
}
.asic-card::before {
  content: ''; position: absolute; inset: 0; border-radius: 12px;
  padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(99, 102, 241, 0.3), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.4s;
}
.asic-card:hover::before { opacity: 1; }
.asic-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.asic-card-header {
  padding: 1.5rem 1.5rem 1rem;
  display: flex; align-items: center; gap: 1rem;
}
.asic-card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
  display: flex; align-items: center; justify-content: center;
  color: #818cf8; flex-shrink: 0;
}
.asic-card-title h3 { font-size: 1.0625rem; margin-bottom: 0.25rem; }
.asic-card-title span { color: var(--text-muted); font-size: 0.8125rem; }
.asic-card-body { padding: 0 1.5rem; }
.asic-card-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.asic-spec { padding: 0.75rem; background: rgba(10, 10, 15, 0.5); border-radius: 10px; }
.asic-spec .spec-label { font-size: 0.6875rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.25rem; }
.asic-spec .spec-value { font-size: 0.875rem; font-weight: 700; }
.asic-spec .spec-value.profit { color: var(--success); }
.asic-card-footer {
  padding: 1.25rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 1rem;
}
.asic-price { font-size: 1.375rem; font-weight: 800; }
.asic-price span { font-size: 0.8125rem; color: var(--text-muted); font-weight: 400; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card {
  padding: 2rem;
  background: rgba(18, 18, 26, 0.6);
  border: 1px solid rgba(99, 102, 241, 0.08);
  border-radius: 12px;
}
.testimonial-stars { color: var(--warning); margin-bottom: 1rem; font-size: 1.125rem; }
.testimonial-text { color: var(--text-secondary); font-size: 0.875rem; margin-bottom: 1.5rem; line-height: 1.7; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: 1rem;
}
.testimonial-author .name { font-weight: 600; font-size: 0.875rem; }
.testimonial-author .role { color: var(--text-muted); font-size: 0.8125rem; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid rgba(99, 102, 241, 0.08);
  border-radius: 12px; margin-bottom: 0.75rem;
  overflow: hidden; background: var(--bg-card);
}
.faq-question {
  width: 100%; padding: 1.25rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  background: none; border: none; color: var(--text-main);
  font-size: 1rem; font-weight: 600; text-align: left;
  cursor: pointer; transition: color 0.3s;
}
.faq-question:hover { color: #818cf8; }
.faq-question .faq-toggle { transition: transform 0.3s; color: var(--text-muted); }
.faq-item.active .faq-toggle { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer { max-height: 600px; }
.faq-answer p { padding: 0 1.5rem 1.25rem; color: var(--text-secondary); font-size: 0.875rem; line-height: 1.7; }

/* Footer */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(99, 102, 241, 0.08);
  background: rgba(8, 8, 12, 0.8);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo { display: flex; align-items: center; gap: 0.5rem; font-size: 1.25rem; font-weight: 800; color: #fff; margin-bottom: 1rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.875rem; line-height: 1.7; max-width: 300px; }
.footer-col h4 { color: var(--text-secondary); font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1.25rem; }
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col ul a { color: var(--text-muted); font-size: 0.875rem; transition: color 0.3s; }
.footer-col ul a:hover { color: #818cf8; }
.footer-bottom { padding-top: 2rem; border-top: 1px solid rgba(99, 102, 241, 0.08); display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { color: #475569; font-size: 0.8125rem; }

/* ===== Dashboard Layout ===== */
.dashboard { display: flex; min-height: 100vh; padding-top: 0; }
.sidebar {
  width: 230px; min-height: 100vh; position: fixed; top: 0; left: 0;
  background: rgba(12, 12, 18, 0.95);
  backdrop-filter: blur(20px);
  border-right: 1px solid rgba(99, 102, 241, 0.08);
  z-index: 50; display: flex; flex-direction: column;
  transition: transform 0.3s ease;
}
.sidebar-header {
  padding: 1.25rem 1.5rem; height: 72px;
  display: flex; align-items: center;
  border-bottom: 1px solid rgba(99, 102, 241, 0.08);
}
.sidebar-header .logo { display: flex; align-items: center; gap: 0.5rem; font-size: 1.25rem; font-weight: 800; color: #fff; }
.sidebar-header .logo svg { color: #818cf8; }
.sidebar-nav { padding: 1rem 0.75rem; flex: 1; overflow-y: auto; overflow-x: hidden; }
.sidebar-group-title { font-size: 0.65rem; color: #64748b; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin: 1.5rem 1rem 0.5rem; transition: opacity 0.3s; }
.sidebar-link {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; border-radius: 8px; color: var(--text-muted); transition: all 0.2s ease; border: none; background: transparent; width: 100%; text-align: left; font-size: 0.9rem; text-decoration: none; overflow: hidden;
}
.sidebar-link span { white-space: nowrap; transition: opacity 0.3s; }
.sidebar-link:hover { color: var(--text-main); background: rgba(99, 102, 241, 0.08); transform: translateX(2px); }
.sidebar-link.active { color: #fff; background: linear-gradient(90deg, rgba(99,102,241,0.2) 0%, rgba(99,102,241,0) 100%); border-left: 3px solid var(--primary); font-weight: 600; }
.sidebar-link.active svg { color: var(--primary); }
.sidebar-link svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.2s; }
.sidebar-link:hover svg { transform: scale(1.1); }
.sidebar-footer { padding: 1rem; border-top: 1px solid var(--border-color); transition: all 0.3s; }

/* Collapsed Sidebar State */
.sidebar { transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1); width: 260px; overflow: hidden; }
.sidebar.collapsed { width: 70px; }
.sidebar.collapsed .logo { font-size: 0; }
.sidebar.collapsed .sidebar-group-title { opacity: 0; height: 0; margin: 0; }
.sidebar.collapsed .sidebar-link span { opacity: 0; display: none; }
.sidebar.collapsed .sidebar-link { justify-content: center; padding: 0.75rem 0; }
.sidebar.collapsed .sidebar-footer { padding: 1rem 0; display: flex; flex-direction: column; align-items: center; }
.sidebar.collapsed .sidebar-user .user-info { display: none; }
.sidebar.collapsed #adminLogout span { display: none; }
.sidebar-user {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem;
}
.sidebar-user .avatar {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: 0.875rem; flex-shrink: 0;
}
.sidebar-user .user-info { flex: 1; overflow: hidden; }
.sidebar-user .user-name { font-weight: 600; font-size: 0.875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user .user-email { color: var(--text-muted); font-size: 0.75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.dashboard-main {
  flex: 1; margin-left: 230px; min-height: 100vh;
  background: var(--bg-main);
}
.dashboard-topbar {
  height: 72px; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(99, 102, 241, 0.08);
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  position: sticky; top: 0; z-index: 40;
}
.topbar-left { display: flex; align-items: center; gap: 1rem; }
.topbar-left h2 { font-size: 1.25rem; font-weight: 700; }
.topbar-right { display: flex; align-items: center; gap: 1rem; }
.balance-display {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; border-radius: 10px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
  color: var(--success); font-weight: 700; font-size: 0.875rem;
}
.dashboard-content { padding: 2rem; }
.dashboard-page { display: none; animation: fadeIn 0.3s ease; }
.dashboard-page.active { display: block; }

/* Stats Grid in Dashboard */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-bottom: 2rem; }

/* ===== Chart Container ===== */
.chart-container { position: relative; height: 300px; }
.chart-container canvas { width: 100% !important; }

/* ===== Calculator ===== */
.calculator-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.calculator-results .result-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(99, 102, 241, 0.05);
}
.calculator-results .result-item:last-child { border-bottom: none; }
.calculator-results .result-label { color: var(--text-secondary); font-size: 0.875rem; }
.calculator-results .result-value { font-size: 1.125rem; font-weight: 700; }
.calculator-results .result-value.highlight { color: var(--success); font-size: 1.375rem; }

/* ===== Referral ===== */
.referral-link-box {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 1rem; border-radius: 12px;
  background: rgba(10, 10, 15, 0.8);
  border: 1px solid rgba(99, 102, 241, 0.15);
}
.referral-link-box input {
  flex: 1; background: none; border: none; color: #818cf8;
  font-size: 0.875rem; font-weight: 500; outline: none;
  min-width: 0;
}
.referral-link-box button {
  flex-shrink: 0;
}

/* ===== Modal ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center;
  padding: 1.5rem;
  animation: fadeIn 0.2s ease;
}
.modal-overlay.active { display: flex; }
.modal {
  width: 100%; max-width: 480px;
  background: rgba(18, 18, 26, 0.98);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s ease;
}
.modal-header {
  padding: 1.5rem; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(99, 102, 241, 0.08);
}
.modal-header h3 { font-size: 1.125rem; }
.modal-close {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(99, 102, 241, 0.05); border: none;
  color: var(--text-muted); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s;
}
.modal-close:hover { background: rgba(239, 68, 68, 0.1); color: var(--danger); }
.modal-body { padding: 1.5rem; }
.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(99, 102, 241, 0.08);
  display: flex; justify-content: flex-end; gap: 0.75rem;
}

/* ===== Toast ===== */
.toast-container {
  position: fixed; top: 1.5rem; right: 1.5rem; z-index: 999;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.toast {
  padding: 1rem 1.5rem; border-radius: 12px; min-width: 320px;
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.875rem; font-weight: 500;
  animation: slideInRight 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.toast-success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3); color: var(--success);
}
.toast-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3); color: var(--danger);
}
.toast-info {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3); color: #818cf8;
}

/* ===== Loading ===== */
.spinner {
  width: 32px; height: 32px;
  border: 3px solid rgba(99, 102, 241, 0.15);
  border-top-color: var(--primary); border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.spinner-sm { width: 16px; height: 16px; border-width: 2px; }
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, rgba(30,30,50,0.8) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease infinite;
  border-radius: 8px;
}
.loading-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(10, 10, 15, 0.8); z-index: 10; border-radius: inherit;
}
.page-loader {
  position: fixed; inset: 0; display: flex; align-items: center; justify-content: center;
  background: var(--bg-main); z-index: 9999;
}

/* ===== Empty State ===== */
.empty-state {
  text-align: center; padding: 4rem 2rem;
}
.empty-state svg { color: #2a2a3e; margin-bottom: 1.5rem; }
.empty-state h3 { color: var(--text-muted); margin-bottom: 0.5rem; font-size: 1.125rem; }
.empty-state p { color: #475569; font-size: 0.875rem; margin-bottom: 1.5rem; }

/* ===== Pagination ===== */
.pagination { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; }
.pagination .page-btn {
  width: 36px; height: 36px; border-radius: 8px; border: 1px solid rgba(99, 102, 241, 0.15);
  background: transparent; color: var(--text-secondary); display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; cursor: pointer; transition: all 0.2s;
}
.pagination .page-btn:hover { background: var(--border-color); color: #818cf8; }
.pagination .page-btn.active { background: rgba(99, 102, 241, 0.2); color: #818cf8; border-color: rgba(99, 102, 241, 0.3); }

/* ===== Mobile sidebar toggle ===== */
.sidebar-toggle {
  display: none; position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 60;
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  color: #fff; border: none; box-shadow: 0 4px 24px rgba(99, 102, 241, 0.4);
  align-items: center; justify-content: center;
}

/* ===== Animations ===== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(100px); } to { opacity: 1; transform: translateX(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes glow {
  0%, 100% { box-shadow: 0 0 15px rgba(99, 102, 241, 0.2); }
  50% { box-shadow: 0 0 30px rgba(99, 102, 241, 0.4); }
}
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ===== GSAP & Lenis Animations ===== */
html.lenis {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

.gsap-stagger-text {
  opacity: 0;
  transform: translateY(50px);
}
.gsap-fade-up {
  opacity: 0;
  transform: translateY(30px);
}

.magnetic-btn {
  display: inline-block;
  transform-style: preserve-3d;
  will-change: transform;
}

/* ===== Responsive ===== */
@media (max-width: 1280px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.75rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: minmax(0, 1fr); }
  .calculator-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .sidebar-toggle { display: flex; }
  .dashboard-main { margin-left: 0; }
  .dashboard-topbar { padding: 0 1rem; }
  .dashboard-content { padding: 1rem; }
  .stats-grid { grid-template-columns: minmax(0, 1fr); }
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .hero h1 { font-size: 2rem; }
  .hero-stats { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .steps-grid { grid-template-columns: minmax(0, 1fr); }
  .features-grid { grid-template-columns: minmax(0, 1fr); }
  .asic-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .modal { margin: 1rem; }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  .auth-card { padding: 1.5rem; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.75rem; }
  .hero p { font-size: 1rem; }
  .btn-lg { padding: 0.875rem 1.5rem; }
  .topbar-right 
}

/* ===== Hero Slider ===== */
.hero-slider-section {
  position: relative;
  width: 100%;
  padding-top: 72px; /* For navbar */
  background: var(--bg-main);
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 700px;
  overflow: hidden;
}

.slider-container {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slider-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slider-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--nav-bg) 0%, rgba(10,10,15,0.7) 40%, rgba(10,10,15,0.2) 100%);
  z-index: 1;
}

.slider-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.slider-slide.active .slider-content {
  opacity: 1;
  transform: translateY(0);
}

.slider-subtitle {
  color: var(--success);
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.slider-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 800px;
  background: linear-gradient(135deg, #ffffff, var(--text-main));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.slider-desc {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 10;
  pointer-events: none;
}

.slider-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(18, 18, 26, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s;
}

.slider-arrow:hover {
  background: rgba(99, 102, 241, 0.8);
  border-color: rgba(99, 102, 241, 1);
  transform: scale(1.1);
}

.slider-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s;
}

.slider-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 6px;
}

/* Responsive Hero Slider */
@media (max-width: 1024px) {
  .hero-slider { height: 550px; }
  .slider-title { font-size: 2.5rem; }
  .slider-desc { font-size: 1.125rem; }
}

@media (max-width: 768px) {
  .hero-slider { height: 420px; }
  .slider-slide::before {
    background: linear-gradient(0deg, var(--nav-bg) 0%, rgba(10,10,15,0.6) 100%);
  }
  .slider-arrow.prev { left: 1rem; }
  .slider-arrow.next { right: 1rem; }
  .slider-indicators { bottom: 1rem; }
}

/* ===== How It Works Steps ===== */
.steps-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.step-card {
  flex: 1;
  position: relative;
  padding: 2.5rem 2rem;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 2;
}
.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.4);
}
.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--bg-card-solid);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}
.step-icon {
  margin: 1.5rem auto 1rem;
  width: 64px;
  height: 64px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.step-title {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}
.step-desc {
  font-size: 0.875rem;
  line-height: 1.5;
}
.step-connector {
  flex-shrink: 0;
  color: var(--text-muted);
  opacity: 0.5;
}
.step-connector svg {
  width: 32px;
  height: 32px;
}

@media (max-width: 900px) {
  .steps-container {
    flex-direction: column;
    gap: 3rem;
  }
  .step-connector {
    transform: rotate(90deg);
  }
}

/* ===== Referral Promo Modern Styling ===== */
.hover-glow:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px -10px rgba(99,102,241,0.2) !important;
}
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}
@media (max-width: 992px) {
  .referral-hero-layout {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
    text-align: center;
  }
  .referral-text-content {
    margin-bottom: 2rem;
  }
  .referral-text-content p {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ===== Partners Strip ===== */
.partners-strip {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid rgba(99, 102, 241, 0.06);
}
.partners-header {
  text-align: center;
  margin-bottom: 2rem;
}
.partners-header h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
.partners-header p {
  font-size: 0.8125rem;
  max-width: 520px;
  margin: 0 auto;
}
.partners-carousel {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.partners-track {
  display: flex;
  gap: 2rem;
  animation: partners-scroll 35s linear infinite;
  width: max-content;
}
.partners-track:hover {
  animation-play-state: paused;
}
.partner-card {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 64px;
  padding: 0.75rem 1.5rem;
  background: rgba(18, 18, 26, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}
.partner-card:hover {
  border-color: rgba(99, 102, 241, 0.25);
  background: rgba(99, 102, 241, 0.06);
  transform: scale(1.08);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.12);
}
.partner-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(0.3) brightness(0.9);
  transition: filter 0.3s ease;
}
.partner-card:hover img {
  filter: grayscale(0) brightness(1.1);
}
@keyframes partners-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 640px) {
  .partner-card {
    width: 140px;
    height: 52px;
    padding: 0.5rem 1rem;
  }
  .partners-track {
    gap: 1.25rem;
  }
}

/* ===== Investment Plans ===== */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.plan-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(20px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}
.plan-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(99, 102, 241, 0.1);
}
.plan-card.recommended {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.1);
}
.plan-card.recommended:hover {
  border-color: rgba(245, 158, 11, 0.7);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(245, 158, 11, 0.2);
}
.plan-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}
.plan-header {
  margin-bottom: 1.5rem;
  text-align: center;
}
.plan-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #fff, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.plan-card.recommended .plan-title {
  background: linear-gradient(135deg, #fff, #fcd34d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.plan-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  min-height: 42px;
}
.plan-investment {
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 1.5rem;
}
.plan-investment-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}
.plan-investment-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
}
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  flex-grow: 1;
}
.plan-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.plan-feature svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
}
.plan-asics-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.plan-asic-tag {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  color: var(--text-muted);
}
.plan-btn-wrapper {
  margin-top: auto;
}
.plan-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
}
.plan-card.recommended .plan-btn {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border: none;
  color: white;
}

/* ===== Infrastructure Block ===== */
.infra-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.infra-hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.infra-hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, rgba(10, 10, 15, 0.95) 0%, rgba(10, 10, 15, 0.7) 50%, rgba(10, 10, 15, 0.3) 100%);
  z-index: 1;
}
.infra-hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 4rem 0;
}
.infra-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: -3rem;
  position: relative;
  z-index: 3;
}
.infra-stat-card {
  background: rgba(20, 20, 28, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}
.infra-stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 102, 241, 0.3);
}
.infra-stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.infra-stat-label {
  color: var(--text-muted);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.infra-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 5rem 0;
}
.infra-feature-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}
.infra-feature-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(99, 102, 241, 0.2);
}
.infra-feature-icon {
  width: 56px; height: 56px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.infra-feature-title {
  font-size: 1.25rem; font-weight: 600; margin-bottom: 1rem;
}
.infra-feature-desc {
  color: var(--text-muted); line-height: 1.6;
}
.infra-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  padding-bottom: 5rem;
}
.infra-gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.infra-gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.infra-gallery-item:hover img {
  transform: scale(1.05);
}
.infra-gallery-overlay {
  position: absolute;
  bottom: 0; left: 0; width: 100%;
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
  color: white; font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.infra-gallery-item:hover .infra-gallery-overlay {
  opacity: 1;
}

/* ===== Geography Map ===== */
.infra-map-section {
  padding: 4rem 0;
  text-align: center;
}
.infra-map-section h3 {
  font-size: 2rem;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, #fff, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.infra-map-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  aspect-ratio: 2/1;
  background: url('/images/world-map.svg') no-repeat center center;
  background-size: 100% 100%;
}
.infra-map-svg {
  display: none;
}
.infra-map-dot {
  position: absolute;
  width: 12px; height: 12px;
  background: var(--primary);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  box-shadow: 0 0 10px var(--primary);
  transition: all 0.3s ease;
  z-index: 10;
}
.infra-map-dot::after {
  content: '';
  position: absolute;
  top: -4px; left: -4px; right: -4px; bottom: -4px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  animation: pulse-dot 2s infinite;
  opacity: 0.5;
}
.infra-map-dot.primary {
  width: 16px; height: 16px;
  background: #fff;
  box-shadow: 0 0 20px #fff, 0 0 40px var(--primary);
}
.infra-map-dot.primary::after {
  border-color: #fff;
  animation: pulse-dot-primary 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.5); opacity: 0; }
}
@keyframes pulse-dot-primary {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(3); opacity: 0; }
}

.infra-map-tooltip {
  position: absolute;
  bottom: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(20, 20, 28, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1rem;
  border-radius: 12px;
  width: max-content;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 20;
  pointer-events: none;
  text-align: left;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}
.infra-map-dot:hover .infra-map-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.infra-map-tooltip::after {
  content: '';
  position: absolute;
  top: 100%; left: 50%;
  margin-left: -6px;
  border-width: 6px;
  border-style: solid;
  border-color: rgba(20, 20, 28, 0.9) transparent transparent transparent;
}
.tooltip-title {
  font-weight: 700; color: #fff; margin-bottom: 0.5rem; font-size: 1.1rem;
}
.tooltip-stat {
  display: flex; justify-content: space-between; font-size: 0.85rem; margin-bottom: 0.25rem;
}
.tooltip-stat-label { color: var(--text-muted); }
.tooltip-stat-val { color: #10b981; font-weight: 600; }

.plan-card.recommended .plan-btn:hover {
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

/* Final CTA Section */
#final-cta {
  border-top: 1px solid rgba(255,255,255,0.05);
}
.cta-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(10,10,15,1) 0%, rgba(8,8,12,1) 100%);
}
.cta-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
}
.cta-bg-glow-1 {
  top: -100px; left: -100px;
  width: 400px; height: 400px;
  background: rgba(99, 102, 241, 0.2);
}
.cta-bg-glow-2 {
  bottom: -150px; right: 10%;
  width: 500px; height: 500px;
  background: rgba(139, 92, 246, 0.15);
}
.cta-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  mix-blend-mode: overlay;
}
.cta-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 3rem;
  border-radius: 24px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(18, 18, 26, 0.6);
  backdrop-filter: blur(24px);
  box-shadow: 0 30px 60px -15px rgba(0,0,0,0.5);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}
.cta-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 40px 80px -20px rgba(99,102,241,0.25);
  border-color: rgba(99,102,241,0.2);
}
.cta-title {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.cta-subtitle {
  max-width: 600px;
  margin: 0 auto 3rem;
}
.cta-features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3.5rem;
}
.cta-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-main);
  padding: 0.75rem 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  transition: all 0.3s ease;
}
.cta-feature-item:hover {
  transform: scale(1.05);
  background: rgba(255,255,255,0.06);
  border-color: rgba(99,102,241,0.3);
  box-shadow: 0 10px 20px -5px rgba(99,102,241,0.15);
}
.cta-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-check svg {
  width: 14px;
  height: 14px;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.cta-actions .btn {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  transition: all 0.3s ease;
}
.cta-actions .btn-primary:hover {
  box-shadow: 0 0 25px rgba(99,102,241,0.6);
}
.cta-actions .btn-outline:hover {
  box-shadow: 0 0 25px rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
}
.cta-disclaimer {
  font-size: 0.875rem;
  color: var(--text-muted);
  opacity: 0.7;
}

@media (max-width: 768px) {
  #final-cta {
    padding: 4rem 0 2rem 0 !important;
  }
  .footer {
    padding-bottom: 2rem !important;
  }
  .cta-title {
    font-size: 2.25rem;
  }
  .cta-content {
    padding: 2.5rem 1.25rem;
  }
  .cta-features {
    display: inline-flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
    margin: 0 auto;
    max-width: 100%;
  }
  .cta-feature-item {
    width: 100%;
    justify-content: flex-start;
  }
  .cta-feature-item span {
    white-space: nowrap;
  }
  .cta-actions {
    flex-direction: column;
    gap: 1rem;
  }
  .cta-actions .btn {
    width: 100%;
  }
}

/* ==========================================================================
   INVESTMENT PLANS 2.0 (PREMIUM)
   ========================================================================== */
.plans2-section {
  position: relative;
  background: radial-gradient(circle at center, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.plans2-layout {
  display: block;
  margin-top: 3rem;
}

/* Vertical Tabs (Categories) */
.plans2-tabs {
  flex: 0 0 240px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: sticky;
  top: 100px;
}

.plans2-tab {
  padding: 1.25rem 1.5rem;
  background: rgba(24, 26, 32, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  color: var(--text-muted);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.plans2-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.plans2-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  transform: translateX(5px);
}

.plans2-tab.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(16, 185, 129, 0.05));
  border-color: rgba(99, 102, 241, 0.3);
  color: white;
  box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.2);
}

.plans2-tab.active::before {
  opacity: 1;
}

.plans2-tab-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.plans2-tab-desc {
  font-size: 0.8125rem;
  opacity: 0.8;
  line-height: 1.4;
}

/* Cards Area — Grid */
.plans2-content {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 1.5rem;
  width: 100%;
}


/* Premium Card Design */
.plan2-card {
  background: rgba(24, 26, 32, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.plan2-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 20px 40px -12px rgba(99, 102, 241, 0.25);
  background: rgba(24, 26, 32, 0.8);
}

/* Glow Effect */
.plan2-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(30%, -30%);
  pointer-events: none;
}

.plan2-card-header {
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 1.25rem;
}

.plan2-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.plan2-card-yield {
  font-size: 2.25rem;
  font-weight: 800;
  color: #10b981;
  line-height: 1.2;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  flex-wrap: wrap;
  word-break: break-word;
}

.plan2-card-yield span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.plan2-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1.25rem;
}

.plan2-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.plan2-meta-label {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.plan2-meta-value {
  font-weight: 600;
  font-size: 1.1rem;
  color: white;
  word-break: break-word;
}

.plan2-card-features {
  flex: 1;
  margin-bottom: 1.5rem;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.plan2-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.5;
}

.plan2-card-features li svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
  width: 14px;
  height: 14px;
}

.plan2-card-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(99, 102, 241, 0.05));
  border: 1px solid rgba(99, 102, 241, 0.5);
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s;
  display: block;
  text-align: center;
}

.plan2-card:hover .plan2-card-btn {
  background: var(--primary);
  box-shadow: 0 8px 20px -5px rgba(99, 102, 241, 0.5);
}

/* Fade In Animation */
@keyframes fadeInSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.plans2-content > div {
  animation: fadeInSlideUp 0.5s ease forwards;
}

/* Badge */
.plan2-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 0.6875rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
  z-index: 10;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* Highlighted card */
.plan2-card.highlight-glow {
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.15);
}
.plan2-card.highlight-glow:hover {
  box-shadow: 0 0 35px rgba(99, 102, 241, 0.25);
}

/* Responsive Plans 2.0 */
@media (max-width: 1200px) {
  .plans2-tabs {
    flex: 0 0 200px;
  }
  .plans2-tab-title {
    font-size: 1rem;
  }
  .plan2-card-title {
    font-size: 1rem;
  }
  .plan2-card-yield {
    font-size: 1.5rem;
  }
  .plan2-card {
    padding: 1.5rem 1.25rem;
  }
}

@media (max-width: 992px) {
  .plans2-layout {
    flex-direction: column;
  }
  
  .plans2-tabs {
    flex: none;
    flex-direction: row;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 1rem;
    position: static;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .plans2-tabs::-webkit-scrollbar {
    display: none;
  }
  
  .plans2-tab {
    flex: 0 0 auto;
    min-width: 180px;
  }
  
  .plans2-tab::before {
    width: 100%;
    height: 4px;
    top: auto;
    bottom: 0;
    left: 0;
  }
  
  .plans2-tab:hover {
    transform: translateY(-3px);
  }

  .plans2-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .plan2-card {
    padding: 2.5rem 2rem;
  }
  .plan2-card-title {
    font-size: 1.125rem;
  }
  .plan2-card-yield {
    font-size: 1.75rem;
  }
}

@media (max-width: 640px) {
  .plans2-content {
    grid-template-columns: minmax(0, 1fr);
  }
  .plan2-card {
    padding: 2rem 1.5rem;
  }
  .plan2-card-title {
    font-size: 1.25rem;
  }
  .plan2-card-yield {
    font-size: 2rem;
  }
  .plan2-meta-item {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}


/* ===== Success Stories ===== */
.success-stories-section {
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.06) 0%, transparent 60%);
  padding: 6rem 0;
  overflow: hidden;
}

.stories-carousel {
  position: relative;
  overflow: hidden;
  margin-top: 3rem;
  padding: 1rem 0;
}

.stories-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: grab;
  user-select: none;
}

.stories-track:active {
  cursor: grabbing;
}

.story-card {
  flex: 0 0 340px;
  background: rgba(24, 26, 32, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 2rem 1.75rem;
  position: relative;
  overflow: visible;
  backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.story-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}

.story-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.story-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.story-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(99, 102, 241, 0.4);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.story-card:hover .story-avatar {
  transform: scale(1.1);
}

.story-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.125rem;
}

.story-country {
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.story-country-flag {
  font-size: 1.125rem;
  line-height: 1;
}

.story-text {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  min-height: 60px;
}

.story-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.story-stat-label {
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 0.25rem;
}

.story-stat-value {
  font-size: 1rem;
  font-weight: 700;
  color: white;
}

.story-stat-value.profit {
  color: #10b981;
}

.stories-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(24, 26, 32, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.stories-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.stories-prev { left: 0; }
.stories-next { right: 0; }

.stories-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.stories-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s;
}

.stories-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--primary);
}

@media (max-width: 768px) {
  .story-card {
    flex: 0 0 calc(100vw - 4rem);
  }
  .stories-arrow {
    display: none;
  }
}

@keyframes scan { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* ===== Landing Redesign V2 ===== */
.fullscreen-hero {
  padding-top: 0;
}
.fullscreen-hero .hero-slider {
  height: 100vh;
  height: 100svh;
}
.fullscreen-hero .slider-slide::before {
  background: linear-gradient(to right, rgba(11, 14, 20, 0.9) 0%, rgba(11, 14, 20, 0.4) 50%, rgba(11, 14, 20, 0.8) 100%),
              radial-gradient(circle at center, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
}
.hero-glass-stats {
  position: absolute;
  bottom: 100px;
  left: 0;
  width: 100%;
  z-index: 20;
}
.glass-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: rgba(15, 15, 25, 0.5);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 1.5rem 2rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
}
.glass-stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.glass-stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}
.glass-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}
.glass-stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}
@media (max-width: 992px) {
  .glass-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-glass-stats { bottom: 100px; }
}
@media (max-width: 576px) {
  .glass-stats-grid { grid-template-columns: minmax(0, 1fr); padding: 1.5rem; }
  .hero-glass-stats { position: relative; bottom: 0; margin-top: -2rem; padding: 0 1rem; margin-bottom: 80px; }
}

/* Features V2 */
.features-v2 {
  background: var(--bg-main);
  position: relative;
}
.feature-card-v2 {
  padding: 2.5rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(20, 20, 30, 0.6) 0%, rgba(15, 15, 25, 0.8) 100%);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}
.feature-card-v2::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.feature-card-v2:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px -15px rgba(0,0,0,0.5);
  border-color: rgba(99, 102, 241, 0.3);
}
.feature-card-v2:hover::before {
  opacity: 1;
}
.feature-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.feature-card-v2 h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

/* ===== How To Start Timeline V2 ===== */
.how-to-start-v2 {
  position: relative;
  background: var(--bg-main);
  overflow: hidden;
}
.glow-orb {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  animation: orb-float 15s ease-in-out infinite alternate;
}
@keyframes orb-float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -50px) scale(1.1); }
  100% { transform: translate(-30px, 30px) scale(0.9); }
}

.steps-timeline-container {
  position: relative;
  padding: 2rem 0;
}
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 10;
}
.timeline-line {
  position: absolute;
  top: 40px; /* Aligned with circles */
  left: 10%;
  width: 80%;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  z-index: 1;
}
.timeline-line-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,0.8), transparent);
  animation: line-flow 3s linear infinite;
}
@keyframes line-flow {
  0% { left: -50%; width: 50%; }
  100% { left: 100%; width: 50%; }
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.timeline-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(15,15,25,0.9);
  border: 2px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
.timeline-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: #6366f1; /* default */
  text-shadow: 0 0 10px currentColor;
}
.timeline-card {
  width: 100%;
  padding: 2rem 1.5rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(20,20,30,0.8) 0%, rgba(15,15,25,0.9) 100%);
  border: 1px solid rgba(255,255,255,0.05);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-step:hover .timeline-card {
  transform: translateY(-10px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.timeline-step:hover .timeline-circle {
  transform: scale(1.15);
  border-color: rgba(255,255,255,0.3);
}

.timeline-icon {
  margin-bottom: 1rem;
}
.timeline-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

@media (max-width: 1024px) {
  .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
  .timeline-line { display: none; }
}

@media (max-width: 640px) {
  .timeline-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
  }
}

/* ===== Slider Split Layout (Text + Image) ===== */
.slider-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  gap: 3rem;
  padding: 0 2rem;
}
.slider-content {
  flex: 1;
  text-align: left;
  max-width: 600px;
}
.slider-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.slider-image {
  max-width: 100%;
  max-height: 450px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(99, 102, 241, 0.4));
  border-radius: 24px;
  animation: float-img 6s ease-in-out infinite;
}
@keyframes float-img {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* Fix overlaps */
.fullscreen-hero .slider-indicators {
  bottom: 180px;
}

@media (max-width: 992px) {
  .slider-content-wrapper {
    flex-direction: column;
    text-align: center;
    padding-top: 4rem;
  }
  .slider-content {
    text-align: center;
    margin: 0 auto;
  }
  .slider-image-wrapper {
    display: none;
  }
  .fullscreen-hero .slider-indicators {
    bottom: 230px;
  }
}



/* ===== Hero Reference Adaptations ===== */
.hero-slider-section .slider-content {
  max-width: 1200px;
  margin: 0 auto; /* Restore centered container */
  align-items: flex-start;
  text-align: left;
}
.hero-slider-section .slider-title,
.hero-slider-section .slider-desc,
.hero-slider-section .slider-subtitle {
  max-width: 60%;
}
@media (max-width: 992px) {
  .hero-slider-section .slider-content {
    max-width: 100%;
    align-items: center;
    text-align: center;
  }
  .hero-slider-section .slider-title,
  .hero-slider-section .slider-desc,
  .hero-slider-section .slider-subtitle {
    max-width: 100%;
  }
}

/* Reference Button */
.ref-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: #ffffff;
  color: #000000;
  padding: 0.5rem 0.5rem 0.5rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
  transition: all 0.3s ease;
}
.ref-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.6);
}
.ref-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #a855f7;
  color: #ffffff;
  border-radius: 50%;
  transition: transform 0.3s ease;
}
.ref-btn:hover .ref-btn-icon {
  transform: rotate(45deg);
}

/* Floating Badges */
.hero-floating-badges {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 350px;
}
@media (min-width: 1400px) {
  .hero-floating-badges {
    right: calc(50% - 600px + 2rem);
  }
}
.floating-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(15, 15, 25, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem;
  border-radius: 50px;
  color: #e2e8f0;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: float-badge 6s ease-in-out infinite;
}
.floating-badge.badge-1 {
  align-self: flex-start;
  animation-delay: 0s;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}
.floating-badge.badge-2 {
  align-self: flex-end;
  animation-delay: 2s;
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.2);
}
.floating-badge.badge-3 {
  align-self: center;
  margin-left: -50px;
  animation-delay: 4s;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.badge-icon {
  font-size: 1.25rem;
}

@keyframes float-badge {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@media (max-width: 1200px) {
  .hero-floating-badges {
    right: 5%;
    width: 300px;
  }
}
@media (max-width: 992px) {
  .hero-floating-badges {
    display: none;
  }
}

/* ===== Reference Overlap Effect ===== */
.how-to-start-v2 {
  position: relative;
  z-index: 15;
  background: #0a0a0f;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 60px;
}

/* ===== Radar / Concentric Circles Effect ===== */
.radar-bg {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 1000px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.05; /* Toned down per user request */
}
.radar-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px dashed var(--primary);
  border-radius: 50%;
}
.radar-circle-1 { width: 300px; height: 300px; animation: spin-slow 60s linear infinite; }
.radar-circle-2 { width: 600px; height: 600px; animation: spin-slow 90s linear infinite reverse; }
.radar-circle-3 { width: 900px; height: 900px; animation: spin-slow 120s linear infinite; }

.radar-icon {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
.radar-circle-1 .radar-icon { top: 0; left: 50%; transform: translate(-50%, -50%); }
.radar-circle-2 .radar-icon { top: 50%; left: 100%; transform: translate(-50%, -50%); }
.radar-circle-3 .radar-icon { top: 100%; left: 50%; transform: translate(-50%, -50%); }

@keyframes spin-slow {
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Override existing how-to-start container z-index */
.how-to-start-v2 .container {
  position: relative;
  z-index: 2;
}

/* Make stats bar higher z-index to stay on top if needed, or we let the new section overlap it? 
Let's let stats bar be above it. */
.hero-slider-section {
  z-index: 10;
}
.stats-bar-v2 {
  position: relative;
  z-index: 30;
}

#tsparticles canvas { pointer-events: none !important; }

/* HERO ENTRY ANIMATION */
@keyframes slideUpFade {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideRightFade {
  0% { opacity: 0; transform: translateX(-30px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideLeftFade {
  0% { opacity: 0; transform: translateX(30px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes zoomInFade {
  0% { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

/* Base slider active slide animations */
.slider-slide.active .slider-subtitle { animation: slideUpFade 0.6s ease forwards 0.2s; opacity: 0; }
.slider-slide.active .slider-title { animation: slideUpFade 0.6s ease forwards 0.4s; opacity: 0; }
.slider-slide.active .slider-desc { animation: slideUpFade 0.6s ease forwards 0.6s; opacity: 0; }
.slider-slide.active .hero-tags { animation: slideUpFade 0.6s ease forwards 0.8s; opacity: 0; }
.slider-slide.active .mt-6 { animation: zoomInFade 0.6s ease forwards 1s; opacity: 0; }

/* Floating badges animations on load */
.hero-floating-badges .badge-1 { animation: slideRightFade 0.8s ease forwards 0.3s, float-badge 6s ease-in-out infinite 1.1s; opacity: 0; }
.hero-floating-badges .badge-2 { animation: slideLeftFade 0.8s ease forwards 0.6s, float-badge 6s ease-in-out infinite 1.4s; opacity: 0; }
.hero-floating-badges .badge-3 { animation: slideRightFade 0.8s ease forwards 0.9s, float-badge 6s ease-in-out infinite 1.7s; opacity: 0; }

/* Stats Bar */
.hero-glass-stats.animate-on-scroll.visible { animation: slideUpFade 0.8s ease forwards 0.5s; opacity: 0; }

/* MARQUEE SUCCESS STORIES */
@keyframes storyTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.stories-track.marquee-mode {
  display: flex !important;
  width: max-content !important;
  animation: storyTicker 40s linear infinite !important;
  transition: none !important;
  gap: 1.5rem;
}
.stories-track.marquee-mode:hover {
  animation-play-state: paused !important;
}

#tsparticles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}


th { position: relative; }
.resizer { position: absolute; right: 0; top: 0; bottom: 0; width: 8px; cursor: col-resize; background: rgba(255,255,255,0.05); z-index: 10; border-right: 1px solid rgba(255,255,255,0.1); }
.resizer:hover, .resizer.resizing { background: var(--primary-color); opacity: 1; }


/* Added column resize */


/* =======================================================
   PREMIUM UX/UI OVERRIDES
   ======================================================= */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Richer, deeper dark colors */
  --bg-main: #06090e; 
  --bg-secondary: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.6);
  --bg-card-solid: #0f172a;
  
  /* Vibrant accents */
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --primary-glow: rgba(99, 102, 241, 0.4);
  
  --success: #10b981;
  --success-glow: rgba(16, 185, 129, 0.4);
  
  --border-color: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.02);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-secondary: #cbd5e1;
}

body {
  font-family: 'Outfit', 'Inter', system-ui, sans-serif;
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(99, 102, 241, 0.05), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(16, 185, 129, 0.05), transparent 25%);
  background-attachment: fixed;
}

/* Glassmorphism Cards */
.bulk-actions-floating {
  position: fixed !important;
  bottom: 2rem !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(100px);
  background: rgba(15, 23, 42, 0.95) !important;
  backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(99, 102, 241, 0.3) !important;
  border-radius: 100px !important;
  padding: 0.75rem 1.5rem !important;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05) inset !important;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 1000;
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease !important;
  pointer-events: none;
}
.bulk-actions-floating.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.bulk-actions-floating .btn {
  border-radius: 100px !important;
}

.card, .stat-card {
  background: var(--bg-card) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid var(--border-color) !important;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  border-radius: 20px !important;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, border-color 0.3s ease !important;
  position: relative;
  overflow: hidden;
}

.card:hover, .stat-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(99, 102, 241, 0.3) !important;
}

.stat-card { padding: 1.5rem !important; display: flex !important; flex-direction: column !important; justify-content: center !important; }
.stat-card .stat-icon {
  width: 48px !important; height: 48px !important; border-radius: 14px !important; 
  display: flex !important; align-items: center !important; justify-content: center !important;
  background: rgba(99,102,241,0.1) !important; color: #818cf8 !important;
  margin-bottom: 1rem !important;
  box-shadow: 0 4px 15px rgba(99,102,241,0.2) !important;
  transition: all 0.3s ease !important;
}
.stat-card:hover .stat-icon { transform: scale(1.1) rotate(5deg) !important; box-shadow: 0 8px 25px rgba(99,102,241,0.4) !important; }
.stat-card .stat-icon.green { background: rgba(16, 185, 129, 0.1) !important; color: var(--success) !important; box-shadow: 0 4px 15px rgba(16,185,129,0.2) !important; }
.stat-card:hover .stat-icon.green { box-shadow: 0 8px 25px rgba(16,185,129,0.4) !important; }
.stat-card .stat-icon.amber { background: rgba(245, 158, 11, 0.1) !important; color: var(--warning) !important; box-shadow: 0 4px 15px rgba(245,158,11,0.2) !important; }
.stat-card:hover .stat-icon.amber { box-shadow: 0 8px 25px rgba(245,158,11,0.4) !important; }
.stat-card .stat-icon.red { background: rgba(239, 68, 68, 0.1) !important; color: var(--danger) !important; box-shadow: 0 4px 15px rgba(239,68,68,0.2) !important; }
.stat-card:hover .stat-icon.red { box-shadow: 0 8px 25px rgba(239,68,68,0.4) !important; }
.stat-card .stat-value { font-size: 2rem !important; font-weight: 800 !important; letter-spacing: -0.02em !important; margin-bottom: 0.25rem !important; }
.stat-card .stat-label { font-size: 0.85rem !important; color: var(--text-muted) !important; text-transform: uppercase !important; letter-spacing: 0.05em !important; font-weight: 600 !important; }

/* Sidebar Enhancements */
.sidebar {
  background: rgba(6, 9, 14, 0.7) !important;
  backdrop-filter: blur(24px) !important;
  border-right: 1px solid var(--border-color) !important;
}
.sidebar-link {
  border-radius: 12px !important;
  transition: all 0.3s ease !important;
  margin-bottom: 0.25rem !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
}
.sidebar-link span { transition: opacity 0.3s; }
.sidebar-link:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  transform: translateX(4px) !important;
}
.sidebar-link.active {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.2) 0%, rgba(99, 102, 241, 0.05) 100%) !important;
  color: #a5b4fc !important;
  border-left: 3px solid #818cf8 !important;
}
.sidebar-link.active svg {
  color: #a5b4fc !important;
  filter: drop-shadow(0 0 8px rgba(129, 140, 248, 0.6)) !important;
}
.sidebar-group-title { font-size: 0.65rem; color: rgba(255,255,255,0.4); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin: 1.5rem 1rem 0.5rem; transition: opacity 0.3s; }

/* Collapsed Sidebar Logic */
.sidebar { transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important; width: 260px !important; overflow: hidden !important; }
.sidebar.collapsed { width: 75px !important; }
.sidebar.collapsed .logo { font-size: 0 !important; }
.sidebar.collapsed .sidebar-group-title { opacity: 0 !important; height: 0 !important; margin: 0 !important; }
.sidebar.collapsed .sidebar-link span { opacity: 0 !important; display: none !important; }
.sidebar.collapsed .sidebar-link { justify-content: center !important; padding: 0.75rem 0 !important; }
.sidebar.collapsed .sidebar-footer { padding: 1rem 0 !important; display: flex !important; flex-direction: column !important; align-items: center !important; }
.sidebar.collapsed .sidebar-user .user-info { display: none !important; }
.sidebar.collapsed #adminLogout span { display: none !important; }
.sidebar.collapsed #adminLogout { justify-content: center !important; padding-left: 0 !important; padding-right: 0 !important; }
.sidebar.collapsed .sidebar-admin-badge { display: none !important; }
.sidebar.collapsed .sidebar-badge-container { justify-content: center !important; padding: 0.5rem 0 !important; }
.sidebar.collapsed .collapse-icon { transform: rotate(180deg) !important; }

/* Modals */
.modal-overlay {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  background: rgba(6, 9, 14, 0.75) !important;
  transition: opacity 0.3s ease !important;
}
.modal {
  background: rgba(15, 23, 42, 0.9) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 24px !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(99,102,241,0.1), inset 0 1px 0 rgba(255,255,255,0.1) !important;
  transform: translateY(30px) scale(0.98);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1) !important;
}
.modal-overlay.active .modal {
  transform: translateY(0) scale(1) !important;
  opacity: 1 !important;
}
.modal-header { border-bottom: 1px solid rgba(255,255,255,0.05) !important; }
.modal-footer { border-top: 1px solid rgba(255,255,255,0.05) !important; background: rgba(0,0,0,0.2) !important; border-bottom-left-radius: 24px !important; border-bottom-right-radius: 24px !important; }

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover)) !important;
  border: none !important;
  box-shadow: 0 4px 15px var(--primary-glow) !important;
  transition: all 0.3s ease !important;
}
.btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px var(--primary-glow) !important;
  filter: brightness(1.1) !important;
}

/* Tables */
table {
  border-collapse: separate !important;
  border-spacing: 0 8px !important;
}
tr {
  background: rgba(255, 255, 255, 0.02) !important;
  transition: all 0.2s ease !important;
}
tr:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  transform: scale(1.01) !important;
}
td:first-child { border-top-left-radius: 12px; border-bottom-left-radius: 12px; }
td:last-child { border-top-right-radius: 12px; border-bottom-right-radius: 12px; }

/* Inputs */
.form-control {
  background: rgba(0, 0, 0, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  transition: all 0.3s ease !important;
}
.form-control:focus {
  background: rgba(0, 0, 0, 0.3) !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2) !important;
}

/* Topbar */
.dashboard-topbar {
  background: rgba(6, 9, 14, 0.5) !important;
  backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid var(--border-color) !important;
}

/* ===== COMPREHENSIVE MOBILE REDESIGN (<=768px & <=480px) ===== */

@media (max-width: 768px) {
  /* --- 1. GLOBAL TYPOGRAPHY & OVERRIDES --- */
  .section, section {
    padding: 3rem 0 !important;
  }
  h1, .hero h1, .slider-title {
    font-size: 1.6rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.75rem !important;
  }
  h2, h2[style*="font-size: 3rem"], h2[style*="font-size: 2.5rem"], .cta-title {
    font-size: 1.35rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.75rem !important;
  }
  h3, h3[style*="font-size: 1.5rem"] {
    font-size: 1.05rem !important;
    line-height: 1.3 !important;
  }
  p, .text-sm, .cta-subtitle {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
  }
  .text-muted {
    color: #cbd5e1 !important;
  }

  /* --- 2. CARDS, BUTTONS & CONTAINERS --- */
  .card, .stat-card, .auth-card, .premium-glass-card {
    padding: 1rem !important;
    border-radius: 14px !important;
  }
  .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .btn-lg {
    padding: 0.65rem 1.25rem !important;
    font-size: 0.95rem !important;
  }
  .btn-block {
    width: 100% !important;
  }

  /* --- 3. MODALS & TOASTS --- */
  .modal-overlay {
    padding: 0.75rem !important;
    z-index: 10000 !important;
  }
  .modal {
    width: calc(100vw - 1.5rem) !important;
    max-width: 100% !important;
    margin: 0.75rem auto !important;
    padding: 1.25rem !important;
    border-radius: 16px !important;
    max-height: 85vh !important;
    overflow-y: auto !important;
  }
  .modal img[src*="qr"], #setup2faModal img {
    width: 150px !important;
    height: 150px !important;
  }
  .toast {
    min-width: auto !important;
    width: calc(100vw - 2rem) !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.85rem !important;
  }

  /* --- 4. LANDING NAVBAR --- */
  .navbar {
    height: 56px !important;
    padding: 0 1rem !important;
  }
  .nav-actions {
    gap: 0.5rem !important;
  }
  .nav-actions .btn {
    padding: 0.35rem 0.65rem !important;
    font-size: 0.75rem !important;
    min-height: 36px;
  }

  /* --- 5. LANDING HERO & SLIDER --- */
  .hero-slider-section {
    padding-top: 56px !important;
  }
  .hero-slider {
    height: auto !important;
    min-height: 580px !important;
    max-height: none !important;
    padding-bottom: 3rem !important;
  }
  .slider-arrow {
    display: none !important;
  }
  .slider-indicators {
    bottom: 1rem !important;
    gap: 0.4rem !important;
  }
  .slider-indicators .indicator {
    width: 8px !important;
    height: 8px !important;
  }

  /* --- 6. GLASS STATS BAR --- */
  .hero-glass-stats {
    position: relative !important;
    bottom: auto !important;
    margin-top: 1.5rem !important;
    margin-bottom: 2rem !important;
    padding: 0 1rem !important;
  }
  .glass-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
    padding: 1rem !important;
  }
  .glass-stat-item {
    flex-direction: column !important;
    text-align: center !important;
    gap: 0.5rem !important;
    padding: 0.5rem !important;
  }
  .glass-stat-item svg {
    width: 28px !important;
    height: 28px !important;
    flex-shrink: 0 !important;
    margin: 0 auto !important;
  }
  .glass-stat-value {
    font-size: 1.15rem !important;
    white-space: nowrap !important;
  }
  .glass-stat-label {
    font-size: 0.75rem !important;
  }

  /* --- 7. TIMELINE & STEPS --- */
  .timeline-grid, .steps-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .timeline-card {
    padding: 1.5rem 1rem !important;
  }
  .timeline-icon svg {
    width: 32px !important;
    height: 32px !important;
  }
  .timeline-circle {
    width: 48px !important;
    height: 48px !important;
    font-size: 1.1rem !important;
  }
  .timeline-line {
    display: none !important;
  }
  .radar-bg {
    opacity: 0.2 !important;
    transform: scale(0.5) !important;
  }

  /* --- 8. REFERRAL PROMO SECTION --- */
  .referral-hero-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
  }
  
  .referral-tree-container .hero-v3__title { text-align: left; }
  .referral-tree-container .badge { margin-left: 0; }

  @media (max-width: 992px) {
    .referral-hero-layout {
      grid-template-columns: 1fr !important;
      gap: 3rem !important;
    }
    .referral-tree-container .hero-v3__title { text-align: center; }
    .referral-tree-container { display: flex; flex-direction: column; align-items: center; }
  }

  div[style*="grid-template-columns: 1.2fr 0.8fr"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .ref-tree {
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 1.25rem !important;
    padding: 1rem 0 !important;
  }
  .ref-lines {
    display: none !important;
  }
  .ref-node {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    width: 100% !important;
    max-width: 280px !important;
    margin: 0 auto !important;
    padding: 0.75rem 1rem !important;
    box-sizing: border-box !important;
  }
  .ref-node.top-node {
    width: 72px !important;
    height: 72px !important;
    border-radius: 50% !important;
    margin: 0 auto !important;
  }
  .referral-dashboard-mockup .card {
    padding: 1.25rem !important;
    border-radius: 16px !important;
  }

  /* --- 9. MILESTONE CARDS (BONUSES) --- */
  div[style*="grid-template-columns: repeat(auto-fit, minmax(220px, 1fr))"],
  #bonusMilestonesContainer {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    gap: 1rem !important;
    margin-top: 2rem !important;
    padding-bottom: 1rem !important;
    scrollbar-width: none !important; /* Firefox */
  }
  div[style*="grid-template-columns: repeat(auto-fit, minmax(220px, 1fr))"]::-webkit-scrollbar,
  #bonusMilestonesContainer::-webkit-scrollbar {
    display: none !important; /* Chrome/Safari */
  }
  div[style*="grid-template-columns: repeat(auto-fit, minmax(220px, 1fr))"] > div,
  #bonusMilestonesContainer > div {
    flex: 0 0 85% !important;
    min-width: 250px !important;
    scroll-snap-align: center !important;
  }
  div[style*="border-top: 4px solid"] {
    padding: 1.25rem !important;
    transform: none !important;
  }
  div[style*="font-size: 2.5rem"] {
    font-size: 1.5rem !important;
  }
  div[style*="font-size: 3rem"] {
    font-size: 1.75rem !important;
  }

  /* --- 10. INFRASTRUCTURE & PLANS --- */
  .infra-stats-grid, .infra-features-grid, .infra-gallery,
  .plans-grid, .plans2-content {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .plans2-tabs {
    flex: none !important;
    width: 100% !important;
    display: flex !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    padding-bottom: 0.5rem !important;
  }
  .plan-card, .plan2-card {
    padding: 1.25rem !important;
  }

  /* --- 11. CTA SECTION --- */
  .cta-bg-glow-1, .cta-bg-glow-2, div[style*="filter: blur"] {
    max-width: 180px !important;
    max-height: 180px !important;
  }
  .cta-features {
    gap: 0.75rem !important;
  }

  /* --- 12. DASHBOARD TOPBAR & SIDEBAR --- */
  .dashboard-topbar {
    height: 56px !important;
    padding: 0 0.75rem !important;
  }
  .topbar-left {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
  }
  .dashboard-topbar .sidebar-toggle {
    display: flex !important;
    position: static !important;
    width: 38px !important;
    height: 38px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--text-main) !important;
    border-radius: 8px !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .topbar-right {
    gap: 0.35rem !important;
  }
  .balance-display {
    padding: 0.35rem 0.65rem !important;
    font-size: 0.75rem !important;
    gap: 0.25rem !important;
  }
  
  #notificationsPanel {
    width: calc(100vw - 1.5rem) !important;
    max-width: 310px !important;
    right: -0.5rem !important;
    top: 48px !important;
  }

  /* --- 13. DASHBOARD OVERVIEW & CARDS --- */
  .dashboard-content {
    padding: 0.75rem !important;
  }
  .stats-grid,
  div[style*="grid-template-columns: repeat(3, 1fr)"],
  div[style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
    margin-bottom: 1rem !important;
  }
  .stat-card {
    padding: 0.85rem !important;
    border-radius: 14px !important;
  }
  .stat-value {
    font-size: 1.2rem !important;
  }
  .stat-label {
    font-size: 0.7rem !important;
  }
  .stat-icon {
    width: 34px !important;
    height: 34px !important;
  }
  .chart-container {
    height: 200px !important;
  }

  /* --- 14. MY PLANS & BALANCE TABLES --- */
  #activeNodesContainer {
    grid-template-columns: 1fr !important;
  }
  .table-responsive, .table-wrapper {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    width: 100% !important;
  }
  .table {
    min-width: 600px !important;
    font-size: 0.8rem !important;
  }
  .table th, .table td {
    padding: 0.65rem 0.5rem !important;
  }

  /* --- 15. REFERRALS IN DASHBOARD --- */
  #refCalcGrid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  #calcResult {
    font-size: 2rem !important;
  }
  #passivePulseBanner {
    flex-direction: column !important;
    padding: 1.25rem !important;
  }
  .pulse-stat-cell {
    min-width: auto !important;
    width: 100% !important;
    margin-bottom: 0.5rem !important;
  }

  /* --- 16. BOUNTY: FORTUNE WHEEL & CRASH GAME --- */
  #wheelContainer {
    width: 320px !important;
    max-width: 84vw !important;
    height: 320px !important;
    max-height: 84vw !important;
    margin: 1rem auto !important;
  }
  #wheelCanvas {
    width: 100% !important;
    height: 100% !important;
  }
  #wheelCenterOrb {
    width: 84px !important;
    height: 84px !important;
    font-size: 0.75rem !important;
  }
  #spinWheelBtn {
    padding: 0.75rem 1.75rem !important;
    font-size: 0.95rem !important;
    width: 100% !important;
    max-width: 260px !important;
  }
  
  /* Crash Game Stack */
  div[style*="display: flex; gap: 1.5rem; flex-wrap: wrap"] {
    flex-direction: column !important;
    gap: 1rem !important;
  }
  .crash-main-col {
    width: 100% !important;
    min-width: auto !important;
  }
  .crash-side-col {
    width: 100% !important;
    flex-shrink: 1 !important;
  }
  div[style*="height: 400px"]#crashCanvasWrapper,
  #crashCanvasWrapper,
  .crash-screen {
    height: 240px !important;
  }
  #crashStatusOverlay {
    font-size: 1.8rem !important;
  }
  #crashCountdownOverlay {
    font-size: 2.8rem !important;
  }
  #crashResultPopup {
    padding: 1.25rem !important;
    max-width: 90% !important;
  }
  #crashMultiplier {
    font-size: 2rem !important;
  }

  /* --- 17. SUPPORT & SETTINGS --- */
  #chatCard {
    height: calc(100vh - 180px) !important;
    min-height: 380px !important;
  }
  div[style*="display:flex; gap:2rem; flex-wrap:wrap"] {
    flex-direction: column !important;
    gap: 1rem !important;
  }
  div[style*="min-width: 200px"], div[style*="min-width: 280px"] {
    min-width: auto !important;
    width: 100% !important;
  }
  #settingsAvatar {
    width: 60px !important;
    height: 60px !important;
  }
  div[style*="max-width: 500px"] {
    max-width: 100% !important;
  }

  /* --- 18. MOBILE BOTTOM NAV & MOBILE CARDS --- */
  .dashboard-content {
    padding-bottom: 80px !important;
  }

  .mobile-bottom-nav {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 60px !important;
    background: rgba(10, 14, 23, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    z-index: 1000 !important;
    justify-content: space-around !important;
    align-items: center !important;
    padding: 0 0.25rem !important;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5) !important;
  }

  .mobile-nav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: none !important;
    border: none !important;
    color: #94a3b8 !important;
    font-size: 0.65rem !important;
    gap: 3px !important;
    cursor: pointer !important;
    flex: 1 !important;
    padding: 6px 0 !important;
    transition: all 0.2s ease !important;
  }

  .mobile-nav-item svg {
    color: #94a3b8 !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
  }

  .mobile-nav-item.active {
    color: #818cf8 !important;
    font-weight: 600 !important;
  }

  .mobile-nav-item.active svg {
    color: #818cf8 !important;
    transform: translateY(-2px) !important;
  }

  .mobile-quick-actions {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.5rem !important;
    margin-bottom: 1rem !important;
  }

  .quick-action-btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    padding: 0.65rem 0.25rem !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    color: var(--text-main) !important;
    font-size: 0.7rem !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
  }

  .quick-action-btn:hover, .quick-action-btn:active {
    background: rgba(255, 255, 255, 0.08) !important;
  }

  .quick-action-btn.primary {
    background: rgba(99, 102, 241, 0.15) !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
    color: #818cf8 !important;
  }

  /* Table to Mobile Cards Conversion */
  .table-responsive, .table-wrapper {
    display: none !important;
  }

  .mobile-card-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
  }

  .mobile-card-item {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    padding: 0.875rem 1rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
  }

  .mobile-card-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .mobile-card-title {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #fff !important;
  }

  .mobile-card-sub {
    font-size: 0.75rem !important;
    color: #94a3b8 !important;
  }

  .mobile-card-val {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
  }
}

/* Default Desktop Styles for Mobile Elements */
.mobile-bottom-nav {
  display: none;
}
.mobile-quick-actions {
  display: none;
}
.mobile-card-list {
  display: none;
}

/* --- SMALL PHONES (<=480px) --- */
@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr !important;
  }
  .glass-stats-grid {
  }
  .topbar-right 
}


/* ===== ENHANCED MOBILE RESPONSIVE RULES ===== */
@media (max-width: 768px) {
  /* Global Layout Guards */
  body { max-width: 100vw; overflow-x: hidden; }
  .dashboard-main { max-width: 100vw !important; overflow-x: hidden !important; }
  .dashboard-page, .dashboard-content { width: 100%; max-width: 100vw; box-sizing: border-box; }
  .bulk-actions-floating { bottom: 85px !important; }
  .mobile-card-sub { white-space: normal !important; word-break: break-word !important; }

  /* Navbar Mobile Menu Drawer */
  .navbar .nav-links, 
  .navbar .nav-actions {
    display: none;
  }
  .navbar.mobile-active {
    height: auto !important;
    padding-bottom: 1.5rem !important;
    flex-wrap: wrap !important;
    background: rgba(11, 14, 17, 0.98) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8) !important;
  }
  .navbar.mobile-active .nav-links {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin-top: 1rem !important;
    gap: 1rem !important;
    align-items: flex-start !important;
  }
  .navbar.mobile-active .nav-actions {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin-top: 1rem !important;
    gap: 0.75rem !important;
  }
  .navbar.mobile-active .nav-actions .btn {
    width: 100% !important;
  }

  /* Hero Section & Slider Mobile Adjustments */
  .hero-floating-badges {
    display: none !important;
  }
  .hero-slider {
    height: auto !important;
    min-height: 480px !important;
  }
  .slider-content {
    padding: 2rem 1rem !important;
    text-align: center !important;
  }
  .slider-title {
    font-size: 1.75rem !important;
    line-height: 1.25 !important;
  }
  .slider-desc {
    font-size: 0.9rem !important;
  }
  .hero-tags {
    justify-content: center !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.75rem !important;
  }

  /* Sidebar Mobile Drawer & Backdrop */
  .sidebar {
    position: fixed !important;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1000 !important;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.8) !important;
    transform: translateX(-100%) !important;
    transition: transform 0.3s ease !important;
  }
  .sidebar.open {
    transform: translateX(0) !important;
  }
  .sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 999;
    display: none;
  }
  .sidebar-backdrop.active {
    display: block;
  }

  /* Responsive Table Wrapper */
  .table-responsive, .table-wrapper {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* Modal Mobile Responsiveness */
  .modal {
    width: 92% !important;
    max-width: 480px !important;
    margin: 1rem auto !important;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 0.625rem 1rem !important;
    font-size: 0.8125rem !important;
  }
  .card-body, .card-header, .card-footer {
    padding: 1rem !important;
  }
}

/* ===== FINAL MOBILE POLISH & TOUCH INTERACTION RULES ===== */
@media (max-width: 768px) {
  /* Floating Toasts Above Bottom Nav */
  #livePassiveIncomeContainer {
    bottom: 75px !important;
    right: 12px !important;
    max-width: calc(100vw - 24px) !important;
    z-index: 990 !important;
  }

  /* Active Tap Ripple/Scale Animations */
  .quick-action-btn:active,
  .mobile-nav-item:active,
  .btn:active,
  .sidebar-bounty-btn:active {
    transform: scale(0.95) !important;
    transition: transform 0.1s ease !important;
  }

  /* Referral Calculator Range Sliders Touch Styling */
  input[type="range"] {
    height: 8px !important;
    border-radius: 4px !important;
    background: rgba(255, 255, 255, 0.1) !important;
  }
  input[type="range"]::-webkit-slider-thumb {
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    background: #818cf8 !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5) !important;
  }

  /* CSGORUN / Aviator-Style Mobile Crash Game Overhaul */
  .crash-game-wrapper {
    flex-direction: column !important;
    gap: 1rem !important;
  }
  .crash-main-col {
    width: 100% !important;
    min-width: auto !important;
    order: 1 !important;
  }
  .crash-side-col {
    width: 100% !important;
    flex-shrink: 1 !important;
    order: 2 !important;
  }
  .crash-screen {
    height: 220px !important;
    border-radius: 16px !important;
  }
  #crashStatusOverlay h2 {
    font-size: 2.2rem !important;
  }
  #crashMultiplier {
    font-size: 2.2rem !important;
  }
  #crashHistoryBar {
    padding: 0.5rem !important;
    gap: 0.35rem !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .crash-side-col > div {
    padding: 1rem !important;
    border-radius: 16px !important;
  }
  #crashBtnStart, #crashBtnCashOut {
    min-height: 52px !important;
    font-size: 1.05rem !important;
    border-radius: 12px !important;
  }
  #crashBtnCashOut {
    animation: cashout-pulse 1s infinite alternate !important;
  }
  @keyframes cashout-pulse {
    0% { box-shadow: 0 0 10px rgba(16, 185, 129, 0.5); transform: scale(1); }
    100% { box-shadow: 0 0 25px rgba(16, 185, 129, 0.9); transform: scale(1.02); }
  }

  /* FAQ Accordion Touch Targets */
  .faq-question {
    padding: 1rem 1.25rem !important;
    min-height: 52px !important;
    font-size: 0.95rem !important;
  }
  .faq-item.active .faq-toggle {
    transform: rotate(180deg) !important;
    transition: transform 0.3s ease !important;
  }

  /* ===== NEOBANK MOBILE DESIGN SYSTEM & ACTION HUB ===== */
  .mobile-neobank-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0.75rem 1rem !important;
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    margin-bottom: 1rem !important;
    border-radius: 16px !important;
  }
  .mobile-neobank-user {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
  }
  .mobile-neobank-avatar {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 800 !important;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
  }

  /* Neobank Hero Balance Card */
  .mobile-neobank-hero-card {
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.85), rgba(15, 23, 42, 0.95)) !important;
    border: 1px solid rgba(139, 92, 246, 0.25) !important;
    border-radius: 24px !important;
    padding: 1.5rem 1.25rem !important;
    margin-bottom: 1.25rem !important;
    box-shadow: 0 12px 35px -5px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    position: relative !important;
    overflow: hidden !important;
  }
  .mobile-hero-balance-val {
    font-size: 2.2rem !important;
    font-weight: 900 !important;
    letter-spacing: -0.5px !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
  }
  .mobile-hero-actions {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.5rem !important;
    margin-top: 1.25rem !important;
  }
  .mobile-hero-action-btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    padding: 0.75rem 0.25rem !important;
    color: #f8fafc !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: transform 0.15s ease, background 0.15s ease !important;
  }
  .mobile-hero-action-btn:active {
    transform: scale(0.93) !important;
    background: rgba(139, 92, 246, 0.25) !important;
  }
  .mobile-hero-action-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: rgba(139, 92, 246, 0.18) !important;
    border: 1px solid rgba(139, 92, 246, 0.3) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #a78bfa !important;
  }

  /* Shortcut Grid (Atalhos Rápido) */
  .mobile-shortcuts-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.65rem !important;
    margin-bottom: 1.5rem !important;
  }
  .mobile-shortcut-tile {
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 18px !important;
    padding: 0.85rem 0.25rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.4rem !important;
    cursor: pointer !important;
    transition: transform 0.15s ease, border-color 0.15s ease !important;
  }
  .mobile-shortcut-tile:active {
    transform: scale(0.93) !important;
    border-color: #8b5cf6 !important;
  }
  .mobile-shortcut-icon {
    width: 38px !important;
    height: 38px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.25rem !important;
  }
  .mobile-shortcut-label {
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    color: #cbd5e1 !important;
    text-align: center !important;
  }

  /* Nubank Hub Center Glowing Button in Bottom Nav */
  .mobile-nav-hub-btn {
    position: relative !important;
    top: -16px !important;
    width: 54px !important;
    height: 54px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #a855f7, #6366f1) !important;
    border: 4px solid #090d16 !important;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.6) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    font-size: 1.4rem !important;
    cursor: pointer !important;
    transition: transform 0.2s ease !important;
  }
  .mobile-nav-hub-btn:active {
    transform: scale(0.9) !important;
  }

  /* Neobank Bottom Action Sheet Modal */
  .action-sheet-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    z-index: 20000 !important;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease !important;
  }
  .action-sheet-backdrop.active {
    display: block !important;
    opacity: 1 !important;
  }
  .action-sheet-modal {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: #0f172a !important;
    border-top-left-radius: 28px !important;
    border-top-right-radius: 28px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 1.5rem 1.25rem 2.5rem !important;
    z-index: 20001 !important;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8) !important;
  }
  .action-sheet-backdrop.active .action-sheet-modal {
    transform: translateY(0) !important;
  }
  .action-sheet-handle {
    width: 44px !important;
    height: 4px !important;
    background: rgba(255, 255, 255, 0.25) !important;
    border-radius: 2px !important;
    margin: 0 auto 1.25rem !important;
  }
  .action-sheet-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.75rem !important;
  }
  .action-sheet-item {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 18px !important;
    padding: 1rem 0.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.5rem !important;
    color: #fff !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
  }
  .action-sheet-item:active {
    transform: scale(0.94) !important;
    background: rgba(139, 92, 246, 0.2) !important;
  }

  /* ===== SHORTCUT GRID FIX (4-COLUMNS ON MOBILE) ===== */
  .mobile-shortcuts-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.6rem !important;
    width: 100% !important;
    margin-bottom: 1.25rem !important;
    flex-direction: unset !important;
  }

  /* ===== HIDE ANNOYING FLOATING TOASTS ON MOBILE ===== */
  #livePassiveIncomeContainer {
    display: none !important;
  }

  /* ===== BOUNTY & SECTION FULL WIDTH MOBILE FIX ===== */
  .dashboard-page {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  .dashboard-page .card,
  .dashboard-page .premium-glass-card {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    box-sizing: border-box !important;
    margin-bottom: 1.25rem !important;
  }
  /* Bounty tasks container — force single column flex */
  #bountyTasksContainer {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    width: 100% !important;
    padding: 0 !important;
  }
  /* Bounty task cards — force full width */
  #bountyTasksContainer > div {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* ===== FORTUNE WHEEL MOBILE ADAPTATION ===== */
  #wheelContainer {
    width: 280px !important;
    max-width: 78vw !important;
    height: 280px !important;
    max-height: 78vw !important;
    margin: 1rem auto !important;
    position: relative !important;
  }
  #wheelCanvas {
    width: 100% !important;
    height: 100% !important;
  }
  #wheelCenterOrb {
    width: 86px !important;
    height: 86px !important;
    font-size: 0.7rem !important;
  }
  #wheelCenterOrb span {
    font-size: 0.7rem !important;
  }
  #wheelTimer {
    font-size: 1rem !important;
  }
  #spinWheelBtn {
    width: 100% !important;
    max-width: 280px !important;
    margin: 0 auto !important;
    display: block !important;
  }

  /* ===== CRASH GAME MOBILE ADAPTATION ===== */
  .crash-game-wrapper {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 1rem !important;
  }
  .crash-main-col {
    width: 100% !important;
    min-width: auto !important;
    order: 1 !important;
  }
  .crash-side-col {
    width: 100% !important;
    flex-shrink: 1 !important;
    order: 2 !important;
  }
  .crash-screen {
    height: 200px !important;
    border-radius: 16px !important;
  }
  #crashMultiplier {
    font-size: 2.2rem !important;
  }
  #crashHistoryBar {
    padding: 0.5rem !important;
    gap: 0.35rem !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* ====================================================================
     LANDING PAGE — REFERRAL PROMO SECTION MOBILE FIX
     ==================================================================== */

  /* Hide the floating decorative dollar icon on mobile — it overflows */
  .referral-dashboard-mockup .floating-element {
    display: none !important;
  }

  /* Background glow blobs — reduce size so they don't cause horizontal scroll */
  #referral-promo > div[style*="position: absolute"] {
    width: 150px !important;
    height: 150px !important;
  }

  /* The "Двойная выгода" card — compact padding & font sizes */
  .referral-dashboard-mockup .card {
    padding: 1.25rem !important;
    border-radius: 16px !important;
  }
  .referral-dashboard-mockup .card h4 {
    font-size: 1.2rem !important;
  }
  .referral-dashboard-mockup .card div[style*="padding: 1.5rem"] {
    padding: 1rem !important;
  }
  .referral-dashboard-mockup .card div[style*="font-size: 1.1rem"] {
    font-size: 0.95rem !important;
  }

  /* Step cards: full width, smaller padding, prevent overflow */
  .steps-container {
    flex-direction: column !important;
    gap: 1.5rem !important;
    padding: 0 !important;
    margin-top: 2rem !important;
  }
  .step-card {
    padding: 1.5rem 1.25rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .step-card .step-icon {
    width: 52px !important;
    height: 52px !important;
    margin-bottom: 1rem !important;
  }
  .step-card h3 {
    font-size: 1.05rem !important;
    margin-bottom: 0.5rem !important;
  }

  /* ====================================================================
     LANDING PAGE — INFRASTRUCTURE SECTION MOBILE FIX
     ==================================================================== */

  /* Hero: reduce min-height so it doesn't waste space on small screens */
  .infra-hero {
    min-height: 250px !important;
  }
  .infra-hero-content {
    padding: 2.5rem 0 !important;
  }
  .infra-hero-content h2 {
    font-size: 1.5rem !important;
    margin-bottom: 0.75rem !important;
  }
  .infra-hero-content .btn-lg {
    padding: 0.65rem 1.25rem !important;
    font-size: 0.9rem !important;
  }
  /* Overlay gradient: cover fully on mobile so text is readable */
  .infra-hero-overlay {
    background: linear-gradient(180deg, rgba(10,10,15,0.92) 0%, rgba(10,10,15,0.75) 100%) !important;
  }

  /* Stat cards: single column, smaller font, no overflow */
  .infra-stats-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    margin-top: 1.5rem !important;
    padding: 0 1rem !important;
  }
  .infra-stat-card {
    padding: 1.25rem !important;
    border-radius: 12px !important;
  }
  .infra-stat-value {
    font-size: 1.75rem !important;
    word-break: break-word !important;
  }
  .infra-stat-label {
    font-size: 0.75rem !important;
    letter-spacing: 0.5px !important;
  }

  /* Feature cards: single column */
  .infra-features-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .infra-feature-card {
    padding: 1.25rem !important;
  }

  /* Map container: constrain and scroll */
  .infra-map-container {
    height: auto !important;
    aspect-ratio: 2/1 !important;
    margin-bottom: 0 !important;
  }
  .infra-map-section {
    padding: 3rem 0 1rem 0 !important;
  }

  /* ====================================================================
     DASHBOARD — CRASH GAME STATUS TEXT OVERFLOW FIX
     ==================================================================== */

  /* The "💥 УПАЛ НА X.XXX" text overflows on mobile, constrain it */
  #crashStatusOverlay {
    padding: 0.5rem !important;
    box-sizing: border-box !important;
  }
  #crashStatusOverlay h2,
  #crashStatusText {
    font-size: 1.4rem !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
    padding: 0 0.5rem !important;
    letter-spacing: 0.5px !important;
    text-align: center !important;
    line-height: 1.3 !important;
  }

  /* Result popup constrained to viewport */
  #crashResultPopup {
    padding: 1.25rem 1.5rem !important;
    max-width: 85vw !important;
    border-radius: 20px !important;
    box-sizing: border-box !important;
  }
  #crashResultPopup #crashResultIcon {
    font-size: 2.5rem !important;
  }
  #crashResultPopup #crashResultTitle {
    font-size: 1.1rem !important;
    letter-spacing: 1px !important;
  }
  #crashResultPopup #crashResultAmount {
    font-size: 1.8rem !important;
  }

  /* Top-right info box: smaller on mobile */
  .crash-screen > div[style*="position: absolute; top: 1.5rem; right: 1.5rem"] {
    top: 0.75rem !important;
    right: 0.75rem !important;
    padding: 0.5rem !important;
    min-width: 80px !important;
    border-radius: 8px !important;
  }
  .crash-screen > div[style*="position: absolute; top: 1.5rem; right: 1.5rem"] #crashCurrentProfit {
    font-size: 0.95rem !important;
  }

  /* Countdown overlay: smaller on mobile */
  #crashCountdownText {
    font-size: 3rem !important;
  }

  /* Crash side column: bet panel compact */
  .crash-side-col > div {
    padding: 1rem !important;
    border-radius: 14px !important;
  }
  .crash-side-col input[type="number"] {
    font-size: 1rem !important;
    padding: 0.6rem !important;
    min-height: 44px !important;
  }
  #crashBtnStart,
  #crashBtnCashOut {
    min-height: 48px !important;
    font-size: 1rem !important;
    border-radius: 12px !important;
  }

  /* ====================================================================
     GLOBAL — PREVENT ANY HORIZONTAL OVERFLOW
     ==================================================================== */
  body { overflow-x: hidden !important; }
  .section, section {
    overflow-x: hidden !important;
  }
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    box-sizing: border-box !important;
  }

  /* ====================================================================
     LANDING PAGE — BONUS MILESTONES CARDS
     ==================================================================== */
  div[style*="grid-template-columns: repeat(auto-fit, minmax(220px, 1fr))"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }

  /* ====================================================================
     GLOBAL — OVERFLOW PROTECTION FOR ALL ABSOLUTE POSITIONED ELEMENTS
     ==================================================================== */
  /* ====================================================================
     ULTRA-HIGH PRIORITY MOBILE LAYOUT FIX (REFERRAL & BOUNTY)
     ==================================================================== */
  .referral-hero-layout,
  .referral-tree-container,
  .referral-dashboard-mockup,
  .referral-dashboard-mockup .card {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    position: relative !important;
  }

  .referral-hero-layout {
    gap: 2rem !important;
    margin-bottom: 3rem !important;
  }
  
  .referral-dashboard-mockup .card {
    padding: 1.25rem !important;
  }

  .ref-tree {
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.5rem 0 !important;
    overflow: visible !important;
  }

  .ref-lines {
    display: none !important;
  }

  /* ===== DASHBOARD BOUNTY & WHEEL FULL WIDTH FIX ===== */
  #page-bounty,
  #page-bounty > div,
  #page-bounty .card,
  #page-bounty .premium-glass-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #bountyTasksContainer {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 1rem !important;
  }

  /* CRASH GAME MOBILE LAYOUT ORDER */
  .crash-game-wrapper {
    display: flex !important;
    flex-direction: column !important;
  }
  .crash-main-col {
    display: contents !important;
  }
  .crash-screen {
    order: 1 !important;
  }
  .crash-stats-history {
    order: 2 !important;
  }
  .crash-side-col {
    order: 3 !important;
    width: 100% !important;
  }
  .crash-users-bets {
    order: 4 !important;
  }
}


/* ===== BOUNTY SHIMMER ANIMATION ===== */
@keyframes bountyShimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes bountyFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes bountyGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(139, 92, 246, 0.3), 0 10px 30px rgba(0, 0, 0, 0.4); }
  50% { box-shadow: 0 0 25px rgba(139, 92, 246, 0.5), 0 15px 40px rgba(0, 0, 0, 0.3); }
}

/* ===== MOBILE BOUNTY VISUAL OVERHAUL ===== */
@media (max-width: 768px) {

  /* --- Sidebar Bounty CTA Card --- */
  .sidebar-bounty-btn {
    background: linear-gradient(145deg, rgba(30, 27, 75, 0.95) 0%, rgba(88, 28, 135, 0.9) 50%, rgba(49, 46, 129, 0.95) 100%) !important;
    border: 1px solid rgba(168, 85, 247, 0.5) !important;
    border-bottom: 3px solid rgba(168, 85, 247, 0.7) !important;
    border-radius: 20px !important;
    padding: 1.5rem 1rem !important;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
    animation: bountyGlow 3s ease-in-out infinite !important;
    position: relative !important;
  }

  .sidebar-bounty-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    animation: bountyShimmer 4s ease-in-out infinite;
    border-radius: 20px;
    pointer-events: none;
  }

  /* --- Game Modes Grid (page-bounty) --- */
  .games-hub-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
    margin-bottom: 2rem !important;
    padding: 0 !important;
  }

  .game-card {
    aspect-ratio: 1 / 1.1 !important;
    padding: 1rem !important;
    border-radius: 16px !important;
    min-height: 120px !important;
  }

  .game-card h3 {
    font-size: 1.1rem !important;
    margin-bottom: 0.35rem !important;
  }

  /* --- Game Modes Header --- */
  #page-bounty h2 {
    font-size: 1.25rem !important;
  }

  /* --- Wheel Page: Prizes & Quests Grid --- */
  .wheel-extras-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    margin-bottom: 1.5rem !important;
  }

  /* --- Wheel Prizes Table --- */
  .wheel-extras-grid .premium-glass-card {
    padding: 1.25rem !important;
    border-radius: 16px !important;
  }

  .wheel-extras-grid .premium-glass-card h4 {
    font-size: 0.95rem !important;
    margin-bottom: 1rem !important;
  }

  /* --- Wheel History Feed --- */
  #wheelHistoryFeed {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
    max-height: 300px !important;
    padding-right: 0 !important;
  }

  /* --- Wheel Page Card --- */
  .wheel-card {
    padding: 0 !important;
    border-radius: 20px !important;
    min-height: 480px !important;
  }

  .wheel-card .card-body {
    padding: 1rem 0.75rem 1.5rem !important;
  }

  /* --- Wheel Page Title --- */
  .wheel-card h3 {
    font-size: 1.3rem !important;
  }

  .wheel-card p {
    font-size: 0.8rem !important;
    padding: 0 0.5rem !important;
  }

  /* --- Recent Wins Section Full Width --- */
  #page-wheel .premium-glass-card[style*="grid-column"] {
    grid-column: 1 / -1 !important;
    padding: 1.25rem !important;
    border-radius: 16px !important;
  }

  /* --- Quest Card Inner --- */
  #wheelQuestsContainer > div {
    padding: 1rem !important;
    border-radius: 14px !important;
  }

  #wheelQuestClaimBtn {
    padding: 0.75rem !important;
    border-radius: 12px !important;
    font-size: 0.85rem !important;
  }
}

/* ===== EXTRA SMALL MOBILE (iPhone SE etc.) ===== */
@media (max-width: 380px) {
  .sidebar-bounty-btn {
    padding: 1.25rem 0.75rem !important;
  }

  .games-hub-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }

  .game-card {
    padding: 0.75rem !important;
    min-height: 100px !important;
  }

  .game-card h3 {
    font-size: 0.95rem !important;
  }

  #wheelContainer {
    width: 250px !important;
    max-width: 72vw !important;
    height: 250px !important;
    max-height: 72vw !important;
  }

  #wheelCenterOrb {
    width: 72px !important;
    height: 72px !important;
  }
}






/* ===== CRASH GAME LAYOUT ===== */
.crash-layout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  grid-template-areas: 
    "game bet"
    "users bet";
  gap: 1.5rem;
  margin-bottom: 2rem;
  font-family: 'Inter', sans-serif;
}
.crash-area-game { grid-area: game; display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.crash-area-bet { grid-area: bet; min-width: 0; }
.crash-area-users { grid-area: users; min-width: 0; }

.crash-bet-panel {
  background: #11141d; 
  border-radius: 16px; 
  padding: 1.5rem; 
  box-shadow: 0 10px 30px rgba(0,0,0,0.3); 
  border: 1px solid rgba(255,255,255,0.02);
}

.crash-bet-btn-wrapper {
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .crash-layout-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 
      "game"
      "bet"
      "users";
    gap: 1rem;
  }
  .crash-screen {
    height: 250px !important; /* Compact height for mobile */
  }
  .crash-bet-btn-wrapper {
    position: sticky;
    bottom: 70px; /* Above the mobile bottom nav */
    z-index: 100;
  }
  .crash-bet-panel {
    padding: 1rem;
  }
}

/* Player Item Styling CSGORUN Style */
.crash-player-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(30, 41, 59, 0.4);
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.02);
}
.crash-player-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.crash-player-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}
.crash-player-amount {
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
}
.crash-player-status {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  letter-spacing: 0.5px;
}
.status-ingame {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}
.status-win {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}
.status-lose {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
}

@media (max-width: 768px) { .topbar-right { gap: 0.5rem !important; } .topbar-left { gap: 0.5rem !important; } .dashboard-topbar { padding: 0 0.5rem !important; } .topbar-brand-logo span { display: none !important; }  }
@media (max-width: 768px) {
  .topbar-right .balance-display:first-child span:last-child { display: none !important; }
  .topbar-right .balance-display { padding: 0.35rem 0.65rem !important; font-size: 0.8rem !important; }
}

@media (max-width: 768px) { #pageTitle, .topbar-divider { display: none !important; } .dashboard-topbar { height: 60px !important; } }

/* Desktop hide for mobile neobank UI */
@media (min-width: 769px) {
  .mobile-neobank-hero-card, .mobile-shortcuts-grid {
    display: none !important;
  }
}

/* ===== LANDING PAGE MOBILE OPTIMIZATION ===== */
@media (max-width: 768px) {
  /* 1. Compact Sections */
  .section, section { padding: 1.5rem 0 !important; }
  .section-header { margin-bottom: 1.25rem !important; }
  .section-header h2 { font-size: 1.5rem !important; margin-bottom: 0.5rem !important; }
  .section-header p { font-size: 0.85rem !important; line-height: 1.3 !important; }
  .hero-slider-section { padding-top: 60px !important; min-height: auto !important; }

  /* 2. Responsive Tabs & Plans Grid */
  .plans2-layout { margin-top: 1rem !important; }
  .plans2-tabs {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    white-space: normal !important;
    overflow: hidden !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    padding-bottom: 0 !important;
    margin-bottom: 1rem !important;
  }
  .plan2-tab-btn {
    flex: 1 1 calc(50% - 0.35rem) !important;
    font-size: 0.8rem !important;
    padding: 0.5rem !important;
    text-align: center;
  }
  .plans2-content {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 1rem !important;
    padding-bottom: 1.5rem !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
  }
  .plans2-content::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }
  
  /* 3. Aggressive Card Compacting & Horizontal Scrolling */
  .plan2-card {
    flex: 0 0 calc(85% - 1rem) !important; /* show next card partially */
    max-width: 320px !important;
    scroll-snap-align: center !important;
    padding: 1.25rem 1rem !important;
  }
  .plan2-card-header {
    margin-bottom: 1rem !important;
  }
  .plan2-card-title {
    font-size: 1.1rem !important;
    margin-bottom: 0.25rem !important;
  }
  .plan2-card-yield {
    font-size: 1.5rem !important;
  }
  .plan2-card-meta {
    margin-bottom: 1rem !important;
    gap: 0.5rem !important;
  }
  .plan2-meta-item {
    font-size: 0.75rem !important;
    padding: 0.5rem !important;
  }
  .plan2-card-features {
    margin-bottom: 1.25rem !important;
    gap: 0.4rem !important;
  }
  .plan2-card-features li {
    font-size: 0.85rem !important;
  }
  .plan2-card-btn {
    padding: 0.75rem !important;
    font-size: 0.9rem !important;
  }
}

/* Utility Classes for JS-free animations */
.hover-scale { transition: transform 0.3s ease; }
.hover-scale:hover { transform: scale(1.05); }

.hover-translate-x { transition: transform 0.3s ease; }
.hover-translate-x:hover { transform: translateX(5px); }

.card-featured-gold {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(251,191,36,0.15);
  overflow: visible !important;
}
@media (max-width: 768px) {
  .card-featured-gold { transform: scale(1); }
}

/* A11y & Touch Targets */
*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.faq-question {
  padding: 1.25rem; /* Ensure minimum 44px touch target height */
}

/* CLS Guards */
#plans2Container {
  min-height: 400px;
}
#infrastructureContainer {
  min-height: 500px;
}

/* ===== Hero V3 — Premium Soltio-Inspired Redesign ===== */

/* Floating Pill Navbar */
.navbar.navbar--floating {
  top: 16px;
  left: 24px;
  right: 24px;
  width: auto;
  border-radius: 100px;
  padding: 0 1.25rem;
  height: 60px;
  background: rgba(10, 12, 18, 0.75);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.navbar.navbar--floating.scrolled {
  background: rgba(10, 12, 18, 0.92);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}
.nav-cta-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  border-radius: 100px !important;
  padding: 0.5rem 1.25rem !important;
  font-weight: 600 !important;
  font-size: 0.8125rem !important;
  letter-spacing: 0.01em;
}

/* Hero V3 */
.hero-v3 {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-main);
  padding-top: 100px;
}

/* Ambient Glow */
.hero-v3__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-v3__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
}
.hero-v3__glow--1 {
  width: 600px;
  height: 600px;
  top: -10%;
  left: 20%;
  background: rgba(99, 102, 241, 0.15);
  animation: hero-glow-drift 20s ease-in-out infinite alternate;
}
.hero-v3__glow--2 {
  width: 500px;
  height: 500px;
  bottom: -15%;
  right: 10%;
  background: rgba(16, 185, 129, 0.08);
  animation: hero-glow-drift 25s ease-in-out infinite alternate-reverse;
}
@keyframes hero-glow-drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.1); }
  100% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Hero Container (Split Layout) */
.hero-v3__container {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  gap: 4rem;
  flex: 1;
}

/* Hero Content (Left) */
.hero-v3__content {
  flex: 1;
  max-width: 600px;
}

.hero-v3__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 100px;
  padding: 0.4rem 1rem 0.4rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
  animation: slideUpFade 0.6s ease forwards;
}
.hero-v3__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6366f1;
  animation: badge-pulse 2s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-v3__title {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1.5rem;
  animation: slideUpFade 0.7s ease forwards 0.15s;
  opacity: 0;
}

.hero-v3__desc {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 2.5rem;
  animation: slideUpFade 0.7s ease forwards 0.3s;
  opacity: 0;
}

.hero-v3__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
  animation: slideUpFade 0.7s ease forwards 0.45s;
  opacity: 0;
}

/* Hero Markets (Aave Style Tariff Cards) */
.hero-v3__markets {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: slideUpFade 0.7s ease forwards 0.6s;
  opacity: 0;
  margin-top: 1rem;
}

.hero-market-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.25rem;
  min-width: 260px;
  flex: 1;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-market-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.hero-market-card__header {
  margin-bottom: 1rem;
}

.hero-market-card__label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.hero-market-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.hero-market-card__tokens {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.token-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
}

.token-badge img {
  border-radius: 50%;
}

.token-badge--yield {
  background: rgba(14, 203, 129, 0.15);
  color: var(--success);
}

/* Hero Visual (Right) */
.hero-v3__visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: slideUpFade 0.9s ease forwards 0.3s;
  opacity: 0;
}
.hero-v3__image {
  width: 100%;
  max-width: 580px;
  border-radius: 24px;
  object-fit: cover;
  animation: hero-float 8s ease-in-out infinite;
  filter: drop-shadow(0 20px 60px rgba(99, 102, 241, 0.15));
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* Stats Bar */
.hero-v3__stats {
  position: relative;
  z-index: 3;
  padding: 0 2.5rem;
  margin-bottom: 2rem;
}
.hero-v3__stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(15, 18, 30, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 100px;
  padding: 1.25rem 3rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.hero-v3__stat {
  flex: 1;
  text-align: center;
  padding: 0 1.5rem;
}
.hero-v3__stat-value {
  font-family: 'SF Mono', 'Roboto Mono', monospace;
  font-size: 1.625rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.hero-v3__stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}
.hero-v3__stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

/* Hero V3 Responsive */
@media (max-width: 1024px) {
  .hero-v3__container {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
    padding-top: 1rem;
  }
  .hero-v3__content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-v3__desc {
    max-width: 100%;
  }
  .hero-v3__actions {
    justify-content: center;
  }
  .hero-v3__trust {
    justify-content: center;
  }
  .hero-v3__visual {
    max-width: 420px;
  }
}

@media (max-width: 768px) {
  .navbar.navbar--floating {
    left: 12px;
    right: 12px;
    top: 10px;
    height: 56px;
    padding: 0 1rem;
  }
  /* Removed duplicated mobile hero layout block */
  .hero-v3__stats {
    padding: 0 1rem;
    margin-bottom: 1rem;
  }
  .hero-v3__stats-inner {
    border-radius: 20px;
    flex-wrap: wrap;
    padding: 1.25rem;
    gap: 0.5rem;
  }
  .hero-v3__stat {
    flex: 1 1 40%;
    padding: 0.5rem;
  }
  .hero-v3__stat-divider {
    display: none;
  }
  .hero-v3__stat-value {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .navbar.navbar--floating {
    left: 8px;
    right: 8px;
    top: 8px;
    border-radius: 20px;
  }
  .hero-v3__title {
    font-size: 1.75rem;
  }
  .hero-v3__stats-inner {
    padding: 1rem;
  }
  .hero-v3__stat {
    flex: 1 1 100%;
  }
}

/* Mobile floating navbar override */
@media (max-width: 768px) {
  .navbar.navbar--floating.mobile-active {
    border-radius: 20px !important;
    height: auto !important;
  }
}

/* Hero V3 conflict overrides */
.hero-v3 {
  padding: 0 !important;
  padding-top: 100px !important;
}

/* ===== Hero V3 Premium Card Enhancements ===== */
.hero-v3__card {
  position: relative;
  width: 100%;
  max-width: 580px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(30, 32, 45, 0.4), rgba(15, 18, 25, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: hero-float 8s ease-in-out infinite;
  overflow: hidden;
}
.hero-v3__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.15), transparent 60%);
  pointer-events: none;
}
.hero-v3__card-ring {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent 0%, transparent 80%, rgba(99, 102, 241, 0.3) 100%);
  animation: card-ring-spin 10s linear infinite;
  z-index: 0;
  opacity: 0.5;
}
@keyframes card-ring-spin {
  100% { transform: rotate(360deg); }
}
.hero-v3__card .hero-v3__image {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 16px;
  max-width: none;
  animation: none;
  filter: none;
  display: block;
}
.hero-v3__card-overlay {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.hero-v3__card-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(10, 12, 18, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.4rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
}
.hero-v3__card-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: badge-pulse 2s ease-in-out infinite;
}
.hero-v3__card-info {
  display: flex;
  gap: 1rem;
}
.hero-v3__card-metric {
  background: rgba(10, 12, 18, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 0.8rem;
  border-radius: 12px;
  text-align: left;
}
.hero-v3__card-metric-val {
  font-family: 'SF Mono', 'Roboto Mono', monospace;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.hero-v3__card-metric-lbl {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.1rem;
}

/* Mobile Alignment Overrides */
@media (max-width: 768px) {
  .hero-v3 {
    padding-top: 0 !important;
    display: block !important;
    min-height: auto !important;
  }
  .hero-v3__ambient {
    display: none !important;
  }
  .hero-v3__container {
    padding: 100px 1.25rem 2rem 1.25rem !important;
    margin-bottom: 0 !important;
    position: static !important;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100svh;
    gap: 0 !important;
  }
  .hero-v3__content {
    position: relative;
    z-index: 10;
    text-align: left;
    display: block;
    max-width: 100%;
    width: 100%;
  }
  .hero-v3__visual {
    position: absolute !important;
    top: 0; left: 0; width: 100%; height: 100svh !important;
    max-width: none !important;
    margin: 0 !important;
    z-index: 1;
    opacity: 1 !important;
    animation: none !important;
  }
  .hero-v3__card {
    padding: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    height: 100%;
    width: 100%;
    animation: none !important;
  }
  .hero-v3__card::before, .hero-v3__card-ring {
    display: none !important;
  }
  .hero-v3__card .hero-v3__image {
    height: 100%;
    border-radius: 0 !important;
    object-position: center 30%; 
    filter: none !important;
  }
  .hero-v3__card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(6,9,14,0.2) 0%, rgba(6,9,14,0.6) 60%, var(--bg-main) 95%);
    z-index: 2;
  }
  .hero-v3__card-overlay {
    display: none !important;
  }
  
  .hero-v3__badge {
    margin-bottom: 1.25rem !important;
    display: inline-flex;
  }
  .hero-v3__title {
    font-size: 2.75rem !important;
    line-height: 1.05 !important;
    margin-bottom: 1rem !important;
    text-align: left;
  }
  .hero-v3__desc {
    font-size: 1.05rem !important;
    margin-bottom: 2rem !important;
    text-align: left;
    max-width: 95%;
  }
  .hero-v3__actions {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 1.25rem !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100%;
    margin-bottom: 1.5rem !important;
  }
  .hero-v3__cta {
    width: auto !important;
  }
  .hero-v3__trust {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 1rem !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100%;
  }
  .hero-v3__trust-item {
    font-size: 0.8125rem;
  }
  .hero-v3__stats {
    position: relative;
    z-index: 10;
    padding: 2rem 1.25rem !important;
    margin-bottom: 0 !important;
    background: var(--bg-main);
  }
  .hero-v3__stats-inner {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 1rem !important;
    padding: 1.5rem !important;
  }
  .hero-v3__stat {
    padding: 0 !important;
    flex: none !important;
  }
  .hero-v3__stat-value {
    font-size: 1.25rem !important;
  }
}
@media (max-width: 480px) {
  .hero-v3__title {
    font-size: 2rem !important;
  }
}


/* Disable double-tap to zoom */
button, a, input, .btn, .game-mode-card, canvas { touch-action: manipulation !important; }
