/* =============================================
   Allin1Pay — Cyber Blue Glass UI
   ============================================= */
:root {
  --bg:          #030B1A;
  --bg2:         #060F22;
  --bg3:         #0A1628;
  --surface:     rgba(0,212,255,0.04);
  --surface-h:   rgba(0,212,255,0.08);
  --glass:       rgba(255,255,255,0.025);
  --glass-b:     rgba(0,212,255,0.12);
  --glass-bh:    rgba(0,212,255,0.28);
  --primary:     #00D4FF;
  --primary-d:   #00A8CC;
  --blue:        #2563EB;
  --blue-glow:   rgba(37,99,235,0.4);
  --cyan-glow:   rgba(0,212,255,0.25);
  --text:        #E0F4FF;
  --text-m:      #7B9BB5;
  --text-d:      #3D5A72;
  --success:     #00FF9D;
  --warning:     #FFB800;
  --danger:      #FF3D71;
  --r:           14px;
  --r-sm:        8px;
  --r-lg:        22px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(0,212,255,0.3); border-radius: 3px; }

/* =============================================
   LANDING PAGE
   ============================================= */
.landing-body {
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(37,99,235,0.18) 0%, transparent 70%),
              radial-gradient(ellipse 60% 40% at 80% 80%, rgba(0,212,255,0.08) 0%, transparent 60%),
              var(--bg);
}

/* Animated grid */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}
@keyframes gridMove { to { background-position: 60px 60px; } }

/* Navbar */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 40px;
  background: rgba(3,11,26,0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-b);
}
.navbar-brand {
  font-size: 24px; font-weight: 800; letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.navbar-links { display: flex; gap: 32px; list-style: none; }
.navbar-links a { color: var(--text-m); text-decoration: none; font-size: 14px; transition: color .2s; }
.navbar-links a:hover { color: var(--primary); }
.navbar-btns { display: flex; gap: 12px; }

/* HERO */
.hero {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 40px 60px;
  gap: 60px;
}
.hero-left { flex: 1; max-width: 560px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 50px;
  padding: 6px 16px; font-size: 13px; color: var(--primary);
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary);
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}
.hero h1 {
  font-size: clamp(36px, 5vw, 64px); font-weight: 900;
  line-height: 1.1; letter-spacing: -2px; margin-bottom: 20px;
}
.hero h1 .grad {
  background: linear-gradient(135deg, #00D4FF 0%, #2563EB 50%, #8B5CF6 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p { font-size: 18px; color: var(--text-m); line-height: 1.7; margin-bottom: 36px; }
.hero-stats {
  display: flex; gap: 32px; margin-top: 48px; flex-wrap: wrap;
}
.hero-stat .num {
  font-size: 28px; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat .lbl { font-size: 13px; color: var(--text-m); margin-top: 2px; }

/* 3D Scene */
.hero-right {
  flex: 1; display: flex; justify-content: center; align-items: center;
  perspective: 1000px;
}
.scene-3d {
  position: relative; width: 420px; height: 420px;
  transform-style: preserve-3d;
}
.dashboard-card-3d {
  position: absolute; inset: 0;
  background: rgba(3,11,26,0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 20px;
  padding: 28px;
  transform: rotateY(-18deg) rotateX(8deg);
  box-shadow:
    0 40px 80px rgba(0,0,0,0.5),
    0 0 60px rgba(0,212,255,0.1),
    inset 0 1px 0 rgba(0,212,255,0.1);
  animation: float3d 4s ease-in-out infinite;
}
@keyframes float3d {
  0%,100% { transform: rotateY(-18deg) rotateX(8deg) translateY(0); }
  50%      { transform: rotateY(-18deg) rotateX(8deg) translateY(-12px); }
}
.dc-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
}
.dc-logo { font-size: 15px; font-weight: 700; color: var(--primary); }
.dc-badge {
  font-size: 11px; padding: 3px 10px;
  background: rgba(0,255,157,0.1); color: var(--success);
  border-radius: 50px; border: 1px solid rgba(0,255,157,0.2);
}
.dc-balance { margin-bottom: 24px; }
.dc-balance .label { font-size: 12px; color: var(--text-m); margin-bottom: 4px; }
.dc-balance .amount {
  font-size: 36px; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.dc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.dc-stat {
  background: rgba(0,212,255,0.06);
  border: 1px solid rgba(0,212,255,0.1);
  border-radius: 10px; padding: 12px;
}
.dc-stat .s-num { font-size: 18px; font-weight: 700; color: var(--text); }
.dc-stat .s-lbl { font-size: 11px; color: var(--text-m); margin-top: 2px; }
.dc-txns { display: flex; flex-direction: column; gap: 8px; }
.dc-txn {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px;
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
  font-size: 12px;
}
.dc-txn .name { color: var(--text-m); }
.dc-txn .amt { color: var(--success); font-weight: 600; }

/* Floating mini cards */
.float-card {
  position: absolute;
  background: rgba(3,11,26,0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  white-space: nowrap;
}
.float-card-1 {
  top: -20px; left: -60px;
  animation: float1 3.5s ease-in-out infinite;
}
.float-card-2 {
  bottom: 20px; right: -60px;
  animation: float2 4s ease-in-out infinite;
}
@keyframes float1 {
  0%,100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-10px) rotate(-3deg); }
}
@keyframes float2 {
  0%,100% { transform: translateY(0) rotate(2deg); }
  50%      { transform: translateY(-8px) rotate(2deg); }
}
.fc-ico { font-size: 20px; margin-bottom: 4px; }
.fc-num { font-size: 16px; font-weight: 700; color: var(--primary); }
.fc-lbl { font-size: 11px; color: var(--text-m); }

/* Glow orbs */
.orb {
  position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none;
}
.orb-1 { width: 300px; height: 300px; background: rgba(37,99,235,0.15); top: -80px; right: -80px; }
.orb-2 { width: 200px; height: 200px; background: rgba(0,212,255,0.1); bottom: -40px; left: -40px; }

/* FEATURES SECTION */
.section { padding: 80px 40px; position: relative; z-index: 1; }
.section-title { text-align: center; margin-bottom: 56px; }
.section-title h2 {
  font-size: 40px; font-weight: 800; margin-bottom: 12px;
  background: linear-gradient(135deg, var(--text), var(--primary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-title p { color: var(--text-m); font-size: 17px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; max-width: 1100px; margin: 0 auto; }
.feature-card {
  background: var(--surface);
  border: 1px solid var(--glass-b);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: all .3s;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0; transition: opacity .3s;
}
.feature-card:hover { border-color: var(--glass-bh); transform: translateY(-4px); background: var(--surface-h); }
.feature-card:hover::before { opacity: 1; }
.feature-card:hover .f-icon { box-shadow: 0 0 30px var(--cyan-glow); }
.f-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 20px;
  transition: box-shadow .3s;
}
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-m); font-size: 14px; line-height: 1.6; }

/* HOW IT WORKS */
.steps { display: flex; gap: 0; max-width: 900px; margin: 0 auto; flex-wrap: wrap; }
.step { flex: 1; min-width: 200px; text-align: center; padding: 24px; position: relative; }
.step:not(:last-child)::after {
  content: '→'; position: absolute; right: -12px; top: 40px;
  color: var(--primary); font-size: 20px;
}
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(0,212,255,0.1);
  border: 2px solid rgba(0,212,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; color: var(--primary);
  margin: 0 auto 16px;
}
.step h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-m); }

/* PRICING */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; max-width: 900px; margin: 0 auto; }
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--glass-b);
  border-radius: var(--r-lg); padding: 36px 28px;
  position: relative; transition: all .3s;
}
.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: 0 0 40px var(--cyan-glow);
}
.popular-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--blue));
  color: #000; font-size: 11px; font-weight: 700;
  padding: 4px 16px; border-radius: 50px;
}
.plan-name { font-size: 14px; font-weight: 600; color: var(--text-m); margin-bottom: 8px; letter-spacing: 2px; text-transform: uppercase; }
.plan-price { font-size: 48px; font-weight: 900; margin-bottom: 4px; color: var(--text); }
.plan-price span { font-size: 20px; color: var(--text-m); }
.plan-period { font-size: 13px; color: var(--text-m); margin-bottom: 28px; }
.plan-features { list-style: none; margin-bottom: 32px; display: flex; flex-direction: column; gap: 12px; }
.plan-features li { font-size: 14px; color: var(--text-m); display: flex; gap: 10px; align-items: center; }
.plan-features li::before { content: '✓'; color: var(--success); font-weight: 700; }

/* FOOTER */
.footer {
  background: var(--bg2); border-top: 1px solid var(--glass-b);
  padding: 48px 40px; text-align: center;
  color: var(--text-m); font-size: 14px;
}
.footer-brand {
  font-size: 22px; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 12px;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--r);
  font-size: 15px; font-weight: 600; cursor: pointer;
  border: none; text-decoration: none; transition: all .25s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--blue));
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,212,255,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,212,255,0.4); filter: brightness(1.1); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--glass-b);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: rgba(0,212,255,0.05); }
.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: var(--r-sm); }
.btn-danger { background: rgba(255,61,113,0.15); border: 1px solid rgba(255,61,113,0.3); color: var(--danger); }
.btn-danger:hover { background: rgba(255,61,113,0.25); }
.btn-success { background: rgba(0,255,157,0.1); border: 1px solid rgba(0,255,157,0.3); color: var(--success); }
.btn-full { width: 100%; justify-content: center; }

/* =============================================
   FORMS / AUTH
   ============================================= */
.auth-body {
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37,99,235,0.15) 0%, transparent 60%), var(--bg);
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.auth-card {
  width: 100%; max-width: 420px;
  background: rgba(6,15,34,0.8);
  backdrop-filter: blur(30px);
  border: 1px solid var(--glass-b);
  border-radius: var(--r-lg); padding: 40px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 0 60px rgba(0,212,255,0.05);
}
.auth-logo {
  font-size: 28px; font-weight: 900; text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 8px;
}
.auth-sub { text-align: center; color: var(--text-m); font-size: 14px; margin-bottom: 32px; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-m); margin-bottom: 8px; }
.form-control {
  width: 100%; padding: 13px 16px;
  background: rgba(0,212,255,0.04);
  border: 1px solid var(--glass-b);
  border-radius: var(--r); color: var(--text);
  font-size: 15px; outline: none; transition: all .2s;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,212,255,0.1); background: rgba(0,212,255,0.06); }
.form-control::placeholder { color: var(--text-d); }
.form-hint { font-size: 12px; color: var(--text-m); margin-top: 6px; }

.alert { padding: 12px 16px; border-radius: var(--r); font-size: 14px; margin-bottom: 16px; }
.alert-error { background: rgba(255,61,113,0.1); border: 1px solid rgba(255,61,113,0.2); color: var(--danger); }
.alert-success { background: rgba(0,255,157,0.08); border: 1px solid rgba(0,255,157,0.2); color: var(--success); }
.alert-info { background: rgba(0,212,255,0.08); border: 1px solid rgba(0,212,255,0.2); color: var(--primary); }

.auth-switch { text-align: center; margin-top: 20px; font-size: 14px; color: var(--text-m); }
.auth-switch a { color: var(--primary); text-decoration: none; font-weight: 600; }

/* =============================================
   PANEL LAYOUT
   ============================================= */
.panel-body { background: var(--bg); }
.panel-wrap { display: flex; min-height: 100vh; }

/* Sidebar */
.sidebar {
  width: 240px; min-height: 100vh;
  background: rgba(6,15,34,0.95);
  border-right: 1px solid var(--glass-b);
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; bottom: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
}
.sidebar-logo {
  padding: 24px 20px 16px;
  font-size: 22px; font-weight: 900; letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  border-bottom: 1px solid var(--glass-b);
}
.sidebar-user {
  padding: 16px 20px;
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--glass-b);
}
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.sidebar-user .info .name { font-size: 13px; font-weight: 600; color: var(--text); }
.sidebar-user .info .plan {
  font-size: 11px; padding: 1px 7px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.2);
  color: var(--primary); border-radius: 50px;
  display: inline-block; margin-top: 2px; text-transform: uppercase;
}
.sidebar-wallet {
  margin: 14px 14px 6px;
  background: rgba(0,212,255,0.06);
  border: 1px solid rgba(0,212,255,0.12);
  border-radius: 10px; padding: 12px 14px;
}
.sidebar-wallet .w-label { font-size: 11px; color: var(--text-m); }
.sidebar-wallet .w-amount { font-size: 20px; font-weight: 800; color: var(--primary); }
.sidebar-nav { flex: 1; padding: 8px 10px; overflow-y: auto; }
.nav-section-label { font-size: 10px; letter-spacing: 2px; color: var(--text-d); text-transform: uppercase; padding: 12px 10px 6px; font-weight: 600; }
.nav-link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: var(--r-sm);
  color: var(--text-m); text-decoration: none;
  font-size: 14px; font-weight: 500; transition: all .2s;
  margin-bottom: 2px; position: relative;
}
.nav-link i { width: 18px; text-align: center; font-size: 15px; }
.nav-link:hover { background: var(--surface); color: var(--text); }
.nav-link.active { background: rgba(0,212,255,0.1); color: var(--primary); border: 1px solid rgba(0,212,255,0.15); }
.nav-link .badge-count {
  margin-left: auto; background: var(--danger); color: #fff;
  border-radius: 50px; font-size: 10px; padding: 2px 6px; font-weight: 700;
}
.sidebar-bottom { padding: 12px 10px; border-top: 1px solid var(--glass-b); }

/* Main Content */
.main-content {
  flex: 1; margin-left: 240px; min-height: 100vh;
  display: flex; flex-direction: column;
}
.topbar {
  background: rgba(3,11,26,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-b);
  padding: 16px 28px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 40;
}
.topbar-title { font-size: 20px; font-weight: 700; }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.notif-btn {
  position: relative; width: 40px; height: 40px;
  background: var(--surface); border: 1px solid var(--glass-b);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-m); text-decoration: none; transition: all .2s;
}
.notif-btn:hover { border-color: var(--primary); color: var(--primary); }
.notif-dot {
  position: absolute; top: 8px; right: 8px; width: 8px; height: 8px;
  background: var(--danger); border-radius: 50%;
}
.page-content { padding: 28px; flex: 1; }

/* STAT CARDS */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-bottom: 24px; }
.stat-card {
  background: var(--surface);
  border: 1px solid var(--glass-b);
  border-radius: var(--r-lg); padding: 24px;
  transition: all .3s; position: relative; overflow: hidden;
}
.stat-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0; transition: opacity .3s;
}
.stat-card:hover { border-color: var(--glass-bh); transform: translateY(-2px); }
.stat-card:hover::after { opacity: 1; }
.stat-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; margin-bottom: 16px;
}
.stat-icon.cyan { background: rgba(0,212,255,0.1); color: var(--primary); border: 1px solid rgba(0,212,255,0.2); }
.stat-icon.green { background: rgba(0,255,157,0.1); color: var(--success); border: 1px solid rgba(0,255,157,0.2); }
.stat-icon.orange { background: rgba(255,184,0,0.1); color: var(--warning); border: 1px solid rgba(255,184,0,0.2); }
.stat-icon.red { background: rgba(255,61,113,0.1); color: var(--danger); border: 1px solid rgba(255,61,113,0.2); }
.stat-label { font-size: 13px; color: var(--text-m); margin-bottom: 6px; }
.stat-value { font-size: 28px; font-weight: 800; color: var(--text); }
.stat-sub { font-size: 12px; color: var(--text-d); margin-top: 4px; }

/* CARDS / PANELS */
.card {
  background: var(--surface);
  border: 1px solid var(--glass-b);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.card-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--glass-b);
  display: flex; align-items: center; justify-content: space-between;
}
.card-header h3 { font-size: 16px; font-weight: 700; }
.card-body { padding: 24px; }

/* TABLE */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th {
  padding: 12px 16px; text-align: left;
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--text-m); border-bottom: 1px solid var(--glass-b);
  white-space: nowrap;
}
td {
  padding: 14px 16px; border-bottom: 1px solid rgba(0,212,255,0.05);
  font-size: 14px; color: var(--text);
}
tr:hover td { background: rgba(0,212,255,0.02); }
tr:last-child td { border-bottom: none; }

/* BADGES */
.badge { display: inline-block; padding: 4px 10px; border-radius: 50px; font-size: 12px; font-weight: 600; }
.badge-success { background: rgba(0,255,157,0.1); color: var(--success); border: 1px solid rgba(0,255,157,0.2); }
.badge-warning { background: rgba(255,184,0,0.1); color: var(--warning); border: 1px solid rgba(255,184,0,0.2); }
.badge-danger  { background: rgba(255,61,113,0.1);  color: var(--danger);  border: 1px solid rgba(255,61,113,0.2); }
.badge-dark    { background: rgba(255,255,255,0.06); color: var(--text-m); border: 1px solid rgba(255,255,255,0.1); }
.badge-primary { background: rgba(0,212,255,0.1); color: var(--primary); border: 1px solid rgba(0,212,255,0.2); }

/* GRID LAYOUTS */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }

/* PAYMENT PAGE */
.pay-body {
  background: radial-gradient(ellipse 80% 80% at 50% 0%, rgba(37,99,235,0.12) 0%, transparent 70%), var(--bg);
  min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px;
}
.pay-card {
  width: 100%; max-width: 440px;
  background: rgba(6,15,34,0.85);
  backdrop-filter: blur(30px);
  border: 1px solid var(--glass-b);
  border-radius: 24px; padding: 40px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 0 60px rgba(0,212,255,0.05);
}
.pay-brand { font-size: 20px; font-weight: 800; text-align: center; margin-bottom: 24px;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.pay-merchant { text-align: center; margin-bottom: 24px; }
.pay-merchant .merchant-name { font-size: 18px; font-weight: 700; }
.pay-merchant .merchant-sub { font-size: 13px; color: var(--text-m); margin-top: 4px; }
.pay-amount { text-align: center; margin-bottom: 28px; }
.pay-amount .amount-label { font-size: 13px; color: var(--text-m); margin-bottom: 4px; }
.pay-amount .amount-value { font-size: 44px; font-weight: 900; color: var(--primary); }
.qr-box {
  background: #fff; border-radius: 16px; padding: 16px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.qr-box img { width: 200px; height: 200px; }
.upi-id-box {
  background: rgba(0,212,255,0.05);
  border: 1px solid rgba(0,212,255,0.15);
  border-radius: 10px; padding: 14px 16px; text-align: center;
  font-size: 14px; color: var(--primary); font-weight: 600;
  cursor: pointer; transition: all .2s; margin-bottom: 20px;
}
.upi-id-box:hover { background: rgba(0,212,255,0.1); }
.pay-apps { display: flex; gap: 10px; justify-content: center; margin-bottom: 20px; flex-wrap: wrap; }
.pay-app-btn {
  padding: 10px 20px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--glass-b);
  color: var(--text); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .2s; text-decoration: none;
  display: flex; align-items: center; gap: 6px;
}
.pay-app-btn:hover { border-color: var(--primary); color: var(--primary); }
.pay-status {
  text-align: center; padding: 16px;
  background: rgba(0,212,255,0.05);
  border: 1px solid rgba(0,212,255,0.1);
  border-radius: 10px; font-size: 14px; color: var(--text-m);
}
.pay-status .checking { display: flex; align-items: center; justify-content: center; gap: 8px; }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(0,212,255,0.2); border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* SUCCESS PAGE */
.success-icon { text-align: center; font-size: 64px; margin-bottom: 16px; }
.success-title { text-align: center; font-size: 24px; font-weight: 800; color: var(--success); margin-bottom: 8px; }
.success-sub { text-align: center; font-size: 15px; color: var(--text-m); }

/* MISC */
.text-primary { color: var(--primary) !important; }
.text-success { color: var(--success) !important; }
.text-warning { color: var(--warning) !important; }
.text-danger  { color: var(--danger) !important; }
.text-muted   { color: var(--text-m) !important; }
.text-center  { text-align: center; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
.fw-700 { font-weight: 700; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-m); }
.empty-state .ico { font-size: 48px; margin-bottom: 16px; opacity: .4; }
.divider { border: none; border-top: 1px solid var(--glass-b); margin: 24px 0; }
.copy-btn { cursor: pointer; }

/* LINK CARD */
.link-card {
  background: var(--surface);
  border: 1px solid var(--glass-b);
  border-radius: var(--r-lg); padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  transition: all .2s; margin-bottom: 12px;
}
.link-card:hover { border-color: var(--glass-bh); }
.link-info .link-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.link-info .link-url { font-size: 12px; color: var(--primary); font-family: monospace; }
.link-info .link-meta { font-size: 12px; color: var(--text-m); margin-top: 4px; }
.link-amount { font-size: 20px; font-weight: 800; color: var(--text); text-align: right; }
.link-amount small { font-size: 12px; color: var(--text-m); display: block; font-weight: 400; }

@media (max-width: 768px) {
  .hero { flex-direction: column; padding: 100px 20px 40px; }
  .hero-right { display: none; }
  .sidebar { transform: translateX(-100%); }
  .main-content { margin-left: 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .navbar { padding: 14px 20px; }
  .navbar-links { display: none; }
}

/* =============================================
   MOBILE DRAWER + 3D UPGRADE — v2
   ============================================= */

/* ── Hamburger Button ─────────────────────── */
.mob-ham {
  display: none;
  width: 42px; height: 42px;
  background: rgba(0,212,255,0.06);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px; padding: 0;
  transition: background .2s, border-color .2s;
  flex-shrink: 0;
}
.mob-ham:hover { background: rgba(0,212,255,0.14); border-color: rgba(0,212,255,0.4); }
.mob-ham span {
  display: block; width: 18px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all .3s cubic-bezier(0.23,1,0.32,1);
}
.mob-ham.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.mob-ham.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mob-ham.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── Overlay ──────────────────────────────── */
#mob-overlay, #landing-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 45;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
#mob-overlay.active, #landing-overlay.active { display: block; animation: fadeOverlay .25s ease; }
@keyframes fadeOverlay { from { opacity:0 } to { opacity:1 } }

/* ── Sidebar transition for mobile ────────── */
.sidebar { transition: transform .32s cubic-bezier(0.23,1,0.32,1); }

/* ── Landing page mobile drawer ───────────── */
.landing-drawer {
  position: fixed; top: 0; right: -280px; bottom: 0; z-index: 200;
  width: 270px;
  background: rgba(3,11,26,0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-left: 1px solid rgba(0,212,255,0.18);
  padding: 20px 16px;
  display: flex; flex-direction: column;
  transition: right .32s cubic-bezier(0.23,1,0.32,1);
  box-shadow: -20px 0 60px rgba(0,0,0,0.5);
}
.landing-drawer.open { right: 0; }
.drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px; padding-bottom: 16px;
  border-bottom: 1px solid rgba(0,212,255,0.12);
}
.drawer-logo {
  font-size: 18px; font-weight: 800;
  background: linear-gradient(135deg,#00D4FF,#2563EB);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.drawer-close-btn {
  width: 34px; height: 34px;
  background: rgba(0,212,255,0.08); border: 1px solid rgba(0,212,255,0.2);
  border-radius: 8px; cursor: pointer; font-size: 16px; color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.drawer-close-btn:hover { background: rgba(0,212,255,0.18); }
.drawer-link {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px; border-radius: 10px;
  color: var(--text-m); text-decoration: none;
  font-size: 15px; font-weight: 500;
  transition: all .2s; margin-bottom: 4px;
  border: 1px solid transparent;
}
.drawer-link:hover, .drawer-link:focus {
  background: rgba(0,212,255,0.08);
  color: var(--primary);
  border-color: rgba(0,212,255,0.15);
}
.drawer-link .di { font-size: 18px; width: 22px; text-align: center; }
.drawer-footer { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 1px solid rgba(0,212,255,0.1); }
.drawer-footer .btn { width: 100%; justify-content: center; }

/* ── Landing Nav hamburger ────────────────── */
.nav-ham-wrap { display: none; margin-left: auto; }

/* ── Panel topbar hamburger ───────────────── */
.topbar-ham { display: none !important; margin-right: 12px; }

/* ── 3D Effects ───────────────────────────── */
.stat-card {
  transform-style: preserve-3d;
  will-change: transform;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3), 0 0 0 0 rgba(0,212,255,0);
}
.stat-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 30px rgba(0,212,255,0.1);
  border-color: var(--glass-bh) !important;
}
.card {
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transition: box-shadow .3s, border-color .3s;
}
.card:hover { box-shadow: 0 8px 40px rgba(0,0,0,0.35), 0 0 20px rgba(0,212,255,0.06); }
.feat { will-change: transform; }

/* Gradient top line on cards */
.card-top-glow::before {
  content: ''; position: absolute; top:0; left:0; right:0; height:2px;
  background: linear-gradient(90deg,transparent,var(--primary),transparent);
  border-radius: inherit;
}

/* 3D floating badge on hero */
@keyframes float3d {
  0%,100% { transform: rotateY(-15deg) rotateX(6deg) translateY(0); }
  50%      { transform: rotateY(-15deg) rotateX(6deg) translateY(-14px); }
}
.scene-3d { animation: float3d 5s ease-in-out infinite; }

/* Neon glow pulse */
@keyframes neonPulse {
  0%,100% { box-shadow: 0 0 12px rgba(0,212,255,0.3); }
  50%      { box-shadow: 0 0 28px rgba(0,212,255,0.7), 0 0 50px rgba(0,212,255,0.2); }
}
.neon-pulse { animation: neonPulse 2.5s ease-in-out infinite; }

/* Animated gradient border */
@keyframes borderSpin {
  to { --angle: 360deg; }
}
@property --angle {
  syntax: '<angle>'; initial-value: 0deg; inherits: false;
}
.anim-border {
  border: 1px solid transparent;
  background: linear-gradient(var(--bg),var(--bg)) padding-box,
              conic-gradient(from var(--angle), rgba(0,212,255,.6), rgba(37,99,235,.6), rgba(0,212,255,.6)) border-box;
  animation: borderSpin 4s linear infinite;
}

/* ── Responsive overrides ─────────────────── */
@media (max-width: 900px) {
  /* Panel */
  .mob-ham { display: flex; }
  .topbar-ham { display: flex !important; }
  .sidebar { transform: translateX(-100%); z-index: 50; }
  .sidebar.mob-open { transform: translateX(0); }
  .main-content { margin-left: 0 !important; }
  .topbar { padding: 14px 16px; }
  .page-content { padding: 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr !important; gap: 12px; }
  /* Landing */
  .nav-ham-wrap { display: flex; }
  .navbar-links, .navbar-btns { display: none !important; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr !important; }
  .stat-grid  { grid-template-columns: 1fr !important; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .page-content { padding: 12px; }
  .hero { padding: 90px 16px 40px !important; }
  .hero h1 { font-size: clamp(28px,8vw,48px) !important; }
}

/* ── Admin badge / misc ───────────────────── */
.badge-admin { background:rgba(255,184,0,.12); color:var(--warning); border:1px solid rgba(255,184,0,.25); }
.status-dot { display:inline-block; width:8px; height:8px; border-radius:50%; margin-right:6px; }
.dot-green { background:#00FF9D; box-shadow:0 0 6px rgba(0,255,157,.6); animation: pulse 1.5s ease-in-out infinite; }
.dot-red   { background:#FF3D71; box-shadow:0 0 6px rgba(255,61,113,.6); }
.dot-orange{ background:#FFB800; }

/* action buttons */
.btn-xs { padding:4px 10px; font-size:11px; border-radius:6px; }
.btn-sm { padding:7px 14px; font-size:13px; border-radius:8px; }
.btn-danger { background:rgba(255,61,113,.12); border:1px solid rgba(255,61,113,.25); color:var(--danger); }
.btn-danger:hover { background:rgba(255,61,113,.22); }
.btn-success-soft { background:rgba(0,255,157,.1); border:1px solid rgba(0,255,157,.25); color:var(--success); }
.btn-success-soft:hover { background:rgba(0,255,157,.2); }
.btn-warning-soft { background:rgba(255,184,0,.1); border:1px solid rgba(255,184,0,.25); color:var(--warning); }
.btn-warning-soft:hover { background:rgba(255,184,0,.2); }
