/* =====================================================
   TopUpZone - Premium Dark Glassmorphism Theme
   ===================================================== */

:root {
  --bg-1: #0b0e1a;
  --bg-2: #12172b;
  --bg-3: #171d33;
  --accent: #7c5cff;
  --accent-2: #22d3ee;
  --accent-3: #ff5ca8;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --text-1: #f1f3fb;
  --text-2: #a6acc6;
  --text-3: #6c7290;
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-bg-strong: rgba(255, 255, 255, 0.09);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.45);

  /* Aliases for pages still using the old theme's variable names */
  --primary: var(--accent);
  --primary-dark: #5b3df0;
  --primary-light: rgba(124, 92, 255, 0.16);
  --navy: var(--text-1);
  --bg-page: var(--bg-2);
  --card-bg: var(--glass-bg);
  --border: var(--glass-border);
}

* { box-sizing: border-box; }

html {
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  width: 100%;
  max-width: 100vw;
  touch-action: pan-y;
  font-family: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 20% 0%, #1b1440 0%, transparent 45%),
              radial-gradient(circle at 90% 10%, #0d2b3e 0%, transparent 40%),
              radial-gradient(circle at 50% 100%, #24123f 0%, transparent 50%),
              var(--bg-1);
  background-attachment: fixed;
  color: var(--text-1);
  min-height: 100vh;
  line-height: 1.5;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: var(--glass-border); border-radius: 10px; }

.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  padding: 24px;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.app-layout { display: flex; min-height: 100vh; }
.main-content { flex: 1; padding: 24px; max-width: 100%; }

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(11, 14, 26, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 50;
}
/* .navbar itself is the anchor for the mobile dropdown menu (see .nav-links in the 640px media query) */

.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; }
.brand img { width: 34px; height: 34px; }
.brand span.highlight { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--text-2); font-weight: 500; font-size: 14px; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text-1); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.hamburger { display: none; background: none; border: none; color: var(--text-1); font-size: 22px; cursor: pointer; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  text-align: center;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: linear-gradient(135deg, var(--accent), #5b3df0); color: #fff; box-shadow: 0 6px 20px rgba(124, 92, 255, 0.35); }
.btn-primary:hover { box-shadow: 0 8px 26px rgba(124, 92, 255, 0.5); }
.btn-accent { background: linear-gradient(135deg, var(--accent-2), #0ea5c4); color: #062229; }
.btn-outline { background: transparent; border: 1px solid var(--glass-border); color: var(--text-1); }
.btn-outline:hover { background: var(--glass-bg); }
.btn-success { background: linear-gradient(135deg, #22c55e, #16a34a); color: #fff; }
.btn-danger { background: linear-gradient(135deg, #ef4444, #b91c1c); color: #fff; }
.btn-sm { padding: 7px 14px; font-size: 12.5px; border-radius: 9px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.form-group { margin-bottom: 18px; }
label { display: block; margin-bottom: 7px; font-size: 13.5px; color: var(--text-2); font-weight: 600; }

input[type=text], input[type=email], input[type=password], input[type=number],
input[type=tel], input[type=file], select, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-1);
  font-size: 14.5px;
  outline: none;
  transition: border-color .2s, background .2s;
}
input::placeholder, textarea::placeholder { color: var(--text-3); }
input:focus, select:focus, textarea:focus { border-color: var(--accent); background: rgba(124, 92, 255, 0.08); }
textarea { resize: vertical; min-height: 90px; font-family: inherit; }

select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a6acc6' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }

.input-hint { font-size: 12px; color: var(--text-3); margin-top: 5px; }
.input-error { color: var(--danger); font-size: 12.5px; margin-top: 5px; }

.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 30px 16px; position: relative; overflow: hidden; }

/* Rigid, app-like viewport lock for the login page: navbar pinned at top,
   card centered in the exact remaining space, footer pinned at the bottom.
   Nothing scrolls or slides, and the auth-sub text can no longer creep up
   behind the sticky navbar. */
body.auth-page-fixed {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
body.auth-page-fixed .navbar { flex-shrink: 0; }
body.auth-page-fixed .main-content {
  flex: 1;
  min-height: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
body.auth-page-fixed .main-content .container {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0 20px;
}
body.auth-page-fixed .auth-wrap {
  flex: 1;
  min-height: 0;
  height: auto;
  overflow: hidden;
}
body.auth-page-fixed .site-footer { flex-shrink: 0; }
.auth-wrap::before {
  content: ""; position: absolute; top: -10%; left: 50%; width: 480px; height: 480px;
  transform: translateX(-50%); background: radial-gradient(circle, rgba(124,92,255,.28), transparent 65%);
  pointer-events: none;
}

.auth-card {
  position: relative;
  width: 100%; max-width: 420px; padding: 40px 32px;
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015)), var(--glass-bg);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 2px 0 rgba(255, 255, 255, 0.06) inset,
    0 -1px 0 rgba(0, 0, 0, 0.4) inset;
}
.auth-card::before {
  content: ""; position: absolute; inset: 0; border-radius: 26px; padding: 1.5px;
  background: linear-gradient(135deg, rgba(139,92,246,.65), rgba(99,102,241,.35) 45%, rgba(34,211,238,.55));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}

.auth-logo { position: relative; text-align: center; margin-bottom: 22px; }
.auth-logo::before {
  content: ""; position: absolute; left: 50%; top: 4px; width: 90px; height: 90px;
  transform: translateX(-50%); background: radial-gradient(circle, rgba(124,92,255,.4), transparent 70%);
  pointer-events: none;
}
.auth-logo-badge {
  position: relative; width: 74px; height: 74px; margin: 0 auto;
  border-radius: 20px;
  background: linear-gradient(150deg, #322a68, #14102f);
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    0 14px 26px rgba(124, 92, 255, 0.4),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.18),
    inset 0 -8px 14px rgba(0, 0, 0, 0.4);
}
.auth-logo-badge img { width: 42px; height: 42px; filter: drop-shadow(0 3px 6px rgba(0,0,0,.45)); }

.auth-title { text-align: center; font-size: 23px; font-weight: 800; margin-bottom: 4px; }
.auth-sub { text-align: center; color: var(--text-2); font-size: 13.5px; margin-bottom: 28px; }
.auth-footer { text-align: center; margin-top: 18px; font-size: 13.5px; color: var(--text-2); }
.auth-footer a { color: var(--accent-2); font-weight: 600; }

.auth-card input[type=text], .auth-card input[type=email], .auth-card input[type=password], .auth-card input[type=tel] {
  background: rgba(0, 0, 0, 0.22);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.auth-card input:focus {
  border-color: var(--accent);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(124, 92, 255, 0.18);
}
.auth-card .btn-primary {
  box-shadow:
    0 12px 28px rgba(124, 92, 255, 0.45),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.25),
    inset 0 -3px 6px rgba(0, 0, 0, 0.2);
}
.auth-card .btn-primary:active { transform: scale(.97) translateY(1px); box-shadow: 0 6px 16px rgba(124, 92, 255, 0.4), inset 0 2px 6px rgba(0,0,0,.3); }

.badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; letter-spacing: .3px; }
.badge-pending { background: rgba(245, 158, 11, 0.15); color: var(--warning); border: 1px solid rgba(245, 158, 11, 0.35); }
.badge-approved { background: rgba(34, 197, 94, 0.15); color: var(--success); border: 1px solid rgba(34, 197, 94, 0.35); }
.badge-rejected { background: rgba(239, 68, 68, 0.15); color: var(--danger); border: 1px solid rgba(239, 68, 68, 0.35); }
.badge-processing { background: rgba(34, 211, 238, 0.15); color: var(--accent-2); border: 1px solid rgba(34, 211, 238, 0.35); }

.alert { padding: 13px 18px; border-radius: 12px; margin-bottom: 18px; font-size: 14px; border: 1px solid transparent; }
.alert-success { background: rgba(34, 197, 94, 0.12); border-color: rgba(34, 197, 94, 0.35); color: #86efac; }
.alert-error { background: rgba(239, 68, 68, 0.12); border-color: rgba(239, 68, 68, 0.35); color: #fca5a5; }
.alert-info { background: rgba(34, 211, 238, 0.12); border-color: rgba(34, 211, 238, 0.35); color: #a5f3fc; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.stat-card { padding: 20px; display: flex; align-items: center; gap: 16px; }
.stat-icon { width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.stat-icon.purple { background: linear-gradient(135deg, #7c5cff33, #7c5cff11); color: var(--accent); }
.stat-icon.cyan { background: linear-gradient(135deg, #22d3ee33, #22d3ee11); color: var(--accent-2); }
.stat-icon.pink { background: linear-gradient(135deg, #ff5ca833, #ff5ca811); color: var(--accent-3); }
.stat-icon.green { background: linear-gradient(135deg, #22c55e33, #22c55e11); color: var(--success); }
.stat-label { font-size: 12.5px; color: var(--text-2); margin-bottom: 4px; }
.stat-value { font-size: 22px; font-weight: 700; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 600px; }
thead th { text-align: left; padding: 12px 14px; color: var(--text-2); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .4px; border-bottom: 1px solid var(--glass-border); }
tbody td { padding: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); vertical-align: middle; }
tbody tr:hover { background: rgba(255, 255, 255, 0.03); }
tbody tr:last-child td { border-bottom: none; }

.sidebar {
  width: 250px;
  flex-shrink: 0;
  background: rgba(11, 14, 26, 0.85);
  border-right: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  padding: 20px 14px;
  min-height: 100vh;
  position: sticky;
  top: 0;
  align-self: flex-start;
}
.sidebar .brand { padding: 0 8px 22px; }
.sidebar-link { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; color: var(--text-2); font-size: 14px; font-weight: 500; margin-bottom: 4px; transition: all .15s; }
.sidebar-link:hover { background: var(--glass-bg); color: var(--text-1); }
.sidebar-link.active { background: linear-gradient(135deg, rgba(124,92,255,.25), rgba(34,211,238,.12)); color: var(--text-1); border: 1px solid rgba(124,92,255,.3); }
.sidebar-link .ic { width: 18px; text-align: center; }

.offer-card {
  padding: 20px; display: flex; flex-direction: column; gap: 12px; transition: transform .2s;
  border: 2px solid #ff5ca8 !important;
}
.offer-card:hover { transform: translateY(-4px); }
.offer-operator { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--text-2); }
.offer-name { font-size: 17px; font-weight: 700; }
.offer-desc { font-size: 13px; color: var(--text-2); flex: 1; }
.offer-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--text-3); }
.offer-price { font-size: 20px; font-weight: 800; background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.wallet-card {
  padding: 26px;
  background: linear-gradient(135deg, rgba(124,92,255,.25), rgba(34,211,238,.1));
  border: 1px solid rgba(124,92,255,.35);
  position: relative;
  overflow: hidden;
}
.wallet-card::after { content: ''; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; background: radial-gradient(circle, rgba(124,92,255,.35), transparent 70%); border-radius: 50%; }
.wallet-label { font-size: 13px; color: var(--text-2); margin-bottom: 6px; }
.wallet-amount { font-size: 34px; font-weight: 800; }

.modal-overlay { position: fixed; inset: 0; background: rgba(5, 7, 15, 0.7); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; z-index: 200; padding: 16px; }
.modal-overlay.open { display: flex; }
.modal-box { width: 100%; max-width: 440px; padding: 26px; max-height: 90vh; overflow-y: auto; }
.modal-close { float: right; cursor: pointer; color: var(--text-2); font-size: 20px; }

.loader-overlay { position: fixed; inset: 0; background: var(--bg-1); display: flex; align-items: center; justify-content: center; z-index: 999; flex-direction: column; gap: 16px; }
.loader-ring { width: 54px; height: 54px; border-radius: 50%; border: 4px solid rgba(124,92,255,.2); border-top-color: var(--accent); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.banner-slider { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--glass-border); }
.banner-slide { display: none; width: 100%; }
.banner-slide.active { display: block; }
.banner-slide img { width: 100%; height: auto; }

.page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; flex-wrap: wrap; gap: 12px; }
.page-title { font-size: 22px; font-weight: 700; }
.page-sub { color: var(--text-2); font-size: 13.5px; margin-top: 3px; }

.site-footer { text-align: center; padding: 26px 16px; color: var(--text-3); font-size: 13px; border-top: 1px solid var(--glass-border); margin-top: 40px; }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 30px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 10px; } .mb-2 { margin-bottom: 20px; } .mb-3 { margin-bottom: 30px; }
.flex { display: flex; } .items-center { align-items: center; } .justify-between { justify-content: space-between; } .gap-1 { gap: 8px; } .gap-2 { gap: 16px; }
.text-muted { color: var(--text-2); } .text-small { font-size: 12.5px; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-2); }
.empty-state .ic { font-size: 40px; margin-bottom: 12px; opacity: .6; }

.mobile-menu-btn { display: none; }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .sidebar { position: fixed; left: -270px; top: 0; height: 100vh; z-index: 150; transition: left .25s; }
  .sidebar.open { left: 0; }
  .app-layout { display: block; }
  .mobile-menu-btn { display: inline-flex; }
}
@media (max-width: 640px) {
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    width: min(78vw, 300px);
    background: rgba(15, 18, 34, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
    border-radius: 0 0 0 20px;
    display: none;
    gap: 14px;
    z-index: 60;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  .nav-actions .btn { display: none; }
  .navbar { padding: 12px 16px; }
  .brand span { font-size: 17px; }
  .brand img { width: 28px; height: 28px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .auth-card { padding: 26px 20px; }
  .main-content { padding: 16px; }
}

/* =====================================================
   Dashboard-specific components (merged to match the
   Premium Dark Glassmorphism theme above)
   ===================================================== */

.hero-banner {
  background: linear-gradient(135deg, rgba(124,92,255,0.35), rgba(34,211,238,0.18)),
              radial-gradient(circle at 15% -10%, rgba(255,255,255,0.12), transparent 45%);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--text-1);
  padding: 16px 18px 18px;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 26px 26px;
}
.hero-top { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; }
.hero-user-block { display: flex; align-items: center; gap: 10px; }
.hero-user-avatar, .hero-icon-btn {
  width: 36px; height: 36px; border-radius: 50%; background: var(--glass-bg);
  border: 1px solid var(--glass-border); display: flex; align-items: center;
  justify-content: center; font-size: 15px; flex-shrink: 0; position: relative; color: var(--text-1);
}
.hero-icon-btn .dot { position: absolute; top: 5px; right: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-3); border: 2px solid var(--bg-1); }
.hero-username { font-size: 14.5px; font-weight: 700; line-height: 1.2; }
.hero-username .hi { display: block; font-size: 10.5px; font-weight: 600; color: var(--text-2); margin-bottom: 1px; }
.hero-balance-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; position: relative; z-index: 2; }
.hero-balance-pill {
  display: inline-flex; align-items: center; gap: 9px; background: var(--glass-bg-strong);
  color: var(--text-1); font-weight: 800; font-size: 14px; padding: 10px 18px;
  border-radius: 26px; border: 1px solid var(--glass-border); cursor: pointer; user-select: none;
}
.hero-balance-pill .hb-ic { width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; }
.hero-cta-link { font-size: 11.5px; font-weight: 700; color: var(--text-1); background: var(--glass-bg); border: 1px solid var(--glass-border); padding: 8px 14px; border-radius: 20px; white-space: nowrap; }
.hero-clock { margin-top: 6px; font-size: 11px; font-weight: 600; color: var(--text-3); letter-spacing: .4px; position: relative; z-index: 2; }
.hero-stats-row { display: flex; gap: 7px; margin-top: 14px; position: relative; z-index: 2; }
.hero-stat-chip { flex: 1; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 13px; padding: 7px 4px; text-align: center; min-width: 0; }
.hero-stat-chip .hs-n { display: block; font-size: 12.5px; font-weight: 800; color: var(--text-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-stat-chip .hs-l { display: block; font-size: 8.7px; font-weight: 600; color: var(--text-2); margin-top: 2px; text-transform: uppercase; letter-spacing: .3px; }

.hero-banner-compact { padding: 14px 18px 16px; border-radius: 0 0 20px 20px; }
.hero-top-right { display: flex; align-items: center; gap: 10px; }
.hero-banner-compact .hero-clock { margin-top: 0; }
.hero-cta-row { display: flex; justify-content: flex-end; margin-top: 12px; position: relative; z-index: 2; }

.notice-ticker { display: flex; align-items: stretch; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.notice-tag { flex-shrink: 0; display: flex; align-items: center; gap: 6px; background: linear-gradient(135deg, var(--accent), var(--accent-3)); color: #fff; font-weight: 800; font-size: 12.5px; padding: 12px 18px; white-space: nowrap; }
.notice-track { flex: 1; overflow: hidden; position: relative; display: flex; align-items: center; }
.notice-content { display: inline-flex; white-space: nowrap; animation: ticker-scroll 24s linear infinite; padding-left: 2%; }
.notice-track:hover .notice-content { animation-play-state: paused; }
.notice-item { font-size: 13px; color: var(--text-1); font-weight: 600; }
.notice-sep { margin: 0 26px; color: var(--text-3); }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.gtile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 0 12px; }
.gtile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 16px; box-shadow: var(--shadow); padding: 10px 4px; text-align: center; transition: transform .15s ease; position: relative; backdrop-filter: blur(12px); }
.gtile:hover { transform: translateY(-2px); }
.gtile-icon { width: 42px; height: 42px; border-radius: 13px; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: 0 5px 12px rgba(0,0,0,.35); position: relative; overflow: hidden; background: linear-gradient(150deg, var(--accent), var(--accent-2)); }
.gtile-icon.c1  { background: linear-gradient(150deg,#60A5FA,#2563EB); }
.gtile-icon.c2  { background: linear-gradient(150deg,#22D3EE,#0891B2); }
.gtile-icon.c3  { background: linear-gradient(150deg,#C084FC,#7E22CE); }
.gtile-icon.c4  { background: linear-gradient(150deg,#FDE047,#CA8A04); }
.gtile-icon.c5  { background: linear-gradient(150deg,#34D399,#059669); }
.gtile-icon.c6  { background: linear-gradient(150deg,#FB923C,#C2410C); }
.gtile-icon.c7  { background: linear-gradient(150deg,#F472B6,#DB2777); }
.gtile-icon.c8  { background: linear-gradient(150deg,#F87171,#DC2626); }
.gtile-icon.c9  { background: linear-gradient(150deg,#818CF8,#4338CA); }
.gtile-icon.c10 { background: linear-gradient(150deg,#38BDF8,#0284C7); }
.gtile-icon.c11 { background: linear-gradient(150deg,#4ADE80,#16A34A); }
.gtile-icon.c12 { background: linear-gradient(150deg,#FB7185,#E11D48); }
.gtile-icon.c13 { background: linear-gradient(150deg,#A78BFA,#6D28D9); }
.gtile-label { font-size: 10px; font-weight: 700; color: var(--text-1); line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.gtile-badge { position: absolute; top: 4px; right: 6px; background: var(--accent-3); color: #fff; font-size: 9px; font-weight: 800; min-width: 15px; height: 15px; border-radius: 8px; padding: 0 4px; display: flex; align-items: center; justify-content: center; }

.list-panel { margin: 0 14px 18px; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 20px; box-shadow: var(--shadow); padding: 18px; backdrop-filter: blur(14px); }
.list-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.list-panel-title { font-size: 14.5px; font-weight: 800; color: var(--text-1); }
.list-panel-more { font-size: 12px; color: var(--accent-2); font-weight: 700; }
.list-row { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--glass-border); gap: 10px; }
.list-row:last-child { border-bottom: none; }
.list-row-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.list-row-ic { width: 36px; height: 36px; border-radius: 11px; background: var(--glass-bg-strong); color: var(--accent-2); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.list-row-title { font-size: 13px; font-weight: 700; color: var(--text-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-row-sub { font-size: 11px; color: var(--text-3); }

.promo-panel { margin: 0 14px 18px; }
.promo-carousel { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--glass-border); }
.promo-track { display: flex; transition: transform .5s ease; }
.promo-slide { flex: 0 0 100%; min-width: 100%; position: relative; aspect-ratio: 16/7; background: linear-gradient(120deg, var(--bg-2), var(--bg-3)); overflow: hidden; }
.promo-slide img, .promo-slide video { width: 100%; height: 100%; object-fit: cover; display: block; }
.promo-slide-link { position: absolute; inset: 0; display: block; }
.promo-slide-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; background: linear-gradient(0deg, rgba(0,0,0,.6), transparent); color: #fff; font-size: 13px; font-weight: 700; }
.promo-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.promo-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.4); }
.promo-dot.active { background: #fff; width: 16px; border-radius: 4px; }

/* ---------------- Premium Wallet Balance Card — "Neon Vault" theme ---------------- */
.wallet-card {
  position: relative;
  margin: 14px 14px 4px;
  padding: 22px 20px 18px;
  border-radius: 26px;
  overflow: hidden;
  color: #fff;
  font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
}
.wallet-card-glow {
  background: linear-gradient(160deg, #241f52 0%, #171041 45%, #0e0c2a 100%);
}
/* Gradient outline (purple → cyan) via an inset pseudo layer */
.wc-border {
  position: absolute; inset: 0; border-radius: 26px; padding: 1.5px;
  background: linear-gradient(135deg, #8b5cf6, #6366f1 45%, #22d3ee 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
  box-shadow: 0 0 24px rgba(124, 92, 255, 0.45);
}
.wc-glow-blob {
  position: absolute; top: -30%; left: 10%; width: 70%; height: 90%;
  background: radial-gradient(circle, rgba(124,92,255,.28), transparent 65%);
  pointer-events: none; z-index: 0;
}
.wallet-card-main { position: relative; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.wallet-card-left { min-width: 0; }
.wallet-card-label { font-size: 13px; font-weight: 500; color: rgba(214, 210, 250, 0.75); }
.wallet-card-amount {
  font-size: 34px; font-weight: 800; letter-spacing: .3px; margin-top: 8px;
  font-variant-numeric: tabular-nums; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.25);
}
.wc-eye-btn {
  flex-shrink: 0; margin-top: 34px;
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08); color: #fff; display: flex; align-items: center;
  justify-content: center; cursor: pointer; padding: 0; transition: background .15s ease, transform .15s ease;
  position: relative; z-index: 2;
}
.wc-eye-btn:active { transform: scale(.9); }
.wc-eye-icon svg { display: block; }
.wc-wallet-art {
  position: absolute; right: -6px; top: 4px; width: 118px; height: 118px;
  filter: drop-shadow(0 10px 26px rgba(124,92,255,.5));
  z-index: 1; pointer-events: none;
}

.wallet-card-chips {
  position: relative; z-index: 2; display: flex; align-items: center;
  margin-top: 20px; padding: 14px 14px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; backdrop-filter: blur(6px);
}
.wc-chip { flex: 1; min-width: 0; display: flex; align-items: center; gap: 9px; }
.wc-chip-divider { width: 1px; align-self: stretch; background: rgba(255,255,255,.12); margin: 0 10px; }
.wc-chip-ic {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 11px; color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.wc-ic-purple { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.wc-ic-blue   { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.wc-ic-teal   { background: linear-gradient(135deg, #22d3ee, #0e7490); }
.wc-chip-text { display: flex; flex-direction: column; min-width: 0; }
.wc-chip-l { font-size: 10.5px; font-weight: 500; color: rgba(214, 210, 250, 0.7); white-space: nowrap; }
.wc-chip-n { font-size: 14px; font-weight: 800; color: #fff; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (min-width: 480px) {
  .wc-wallet-art { width: 138px; height: 138px; right: 6px; top: 0; }
}

.bottom-navbar { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(11,14,26,.92); backdrop-filter: blur(14px); border-top: 1px solid var(--glass-border); display: flex; justify-content: space-around; padding: 8px 0 10px; z-index: 40; }
.bottom-nav-item { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; color: var(--text-2); }
.bottom-nav-item.active { color: var(--accent-2); }
.bottom-nav-item .bn-ic { font-size: 19px; }

/* ---------------- Missed dashboard bits ---------------- */
.section-title { font-size: 15.5px; font-weight: 800; color: var(--text-1); margin: 24px 20px 14px; display: flex; align-items: center; gap: 8px; }
.list-row-right { text-align: right; flex-shrink: 0; }

/* =====================================================
   Home / Landing page (index.php) — "np-" prefixed blocks
   ===================================================== */
.np-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 6px; }
.np-header-left { display: flex; align-items: center; gap: 12px; }
.np-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; flex-shrink: 0; }
.np-hello { font-size: 15px; font-weight: 700; color: var(--text-1); }
.np-sub { font-size: 12px; color: var(--text-2); }
.np-bell { position: relative; width: 38px; height: 38px; border-radius: 50%; background: var(--glass-bg); border: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.np-bell .badge { position: absolute; top: -2px; right: -2px; background: var(--accent-3); color: #fff; font-size: 10px; font-weight: 800; min-width: 17px; height: 17px; border-radius: 9px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }

.np-banner { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 14px 14px 0; padding: 22px 20px; border-radius: 22px; background: linear-gradient(135deg, rgba(124,92,255,.35), rgba(34,211,238,.15)); border: 1px solid var(--glass-border); overflow: hidden; position: relative; }
.np-banner-balance { background: linear-gradient(135deg, rgba(124,92,255,.4), rgba(255,92,168,.15)); }
.np-banner-text { position: relative; z-index: 2; }
.np-banner-tag { font-size: 11px; font-weight: 800; letter-spacing: .5px; color: var(--accent-2); }
.np-banner-amount, .np-banner-title { font-size: 26px; font-weight: 800; color: var(--text-1); margin: 4px 0; }
.np-banner-title .accent { background: linear-gradient(90deg, var(--accent), var(--accent-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.np-banner-sub { font-size: 12.5px; color: var(--text-2); margin-bottom: 12px; }
.np-banner-btn { display: inline-block; font-size: 12.5px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-3)); padding: 10px 18px; border-radius: 20px; }
.np-banner-media { flex-shrink: 0; width: 90px; opacity: .9; }
.np-banner-media img { width: 100%; }

.np-dots { display: flex; justify-content: center; gap: 6px; margin: 12px 0 4px; }
.np-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--glass-border); display: inline-block; }
.np-dots span.active { background: var(--accent-2); width: 16px; border-radius: 4px; }

.np-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 14px; }
.np-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 16px; padding: 12px 4px; text-align: center; position: relative; transition: transform .15s ease; }
.np-tile:hover { transform: translateY(-2px); }
.np-tile-icon { width: 42px; height: 42px; border-radius: 13px; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: 0 5px 12px rgba(0,0,0,.35); background: linear-gradient(150deg, var(--accent), var(--accent-2)); }
.np-tile-icon.t1 { background: linear-gradient(150deg,#60A5FA,#2563EB); }
.np-tile-icon.t2 { background: linear-gradient(150deg,#22D3EE,#0891B2); }
.np-tile-icon.t3 { background: linear-gradient(150deg,#34D399,#059669); }
.np-tile-icon.t4 { background: linear-gradient(150deg,#F472B6,#DB2777); }
.np-tile-icon.t5 { background: linear-gradient(150deg,#FDE047,#CA8A04); }
.np-tile-icon.t6 { background: linear-gradient(150deg,#C084FC,#7E22CE); }
.np-tile-icon.t7 { background: linear-gradient(150deg,#FB923C,#C2410C); }
.np-tile-icon.t8 { background: linear-gradient(150deg,#818CF8,#4338CA); }
.np-tile-label { font-size: 10.5px; font-weight: 700; color: var(--text-1); line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.np-tile-badge { position: absolute; top: 4px; right: 6px; background: var(--accent-3); color: #fff; font-size: 9px; font-weight: 800; padding: 2px 6px; border-radius: 8px; }
.np-tile-badge.blue { background: var(--accent-2); color: #062229; }
.np-tile-badge.green { background: var(--success); }

.np-section-head { display: flex; align-items: center; justify-content: space-between; margin: 24px 20px 12px; }
.np-section-title { font-size: 15.5px; font-weight: 800; color: var(--text-1); }
.np-view-all { font-size: 12px; color: var(--accent-2); font-weight: 700; }

.np-offers { display: flex; gap: 12px; padding: 0 14px; overflow-x: auto; }
.np-offer-card { flex: 0 0 200px; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 16px; padding: 16px; }
.np-offer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.np-offer-logo { font-size: 11px; font-weight: 800; color: var(--text-1); text-transform: uppercase; }
.np-offer-pill { font-size: 10px; font-weight: 800; color: #fff; padding: 3px 8px; border-radius: 10px; background: var(--accent); }
.np-offer-cash { font-size: 16px; font-weight: 800; color: var(--text-1); }
.np-offer-desc { font-size: 11.5px; color: var(--text-2); margin-bottom: 10px; }
.np-offer-code { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .5px; color: var(--accent-2); border: 1px dashed var(--glass-border); padding: 3px 10px; border-radius: 8px; margin-bottom: 10px; }
.np-offer-btn { display: block; text-align: center; font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); padding: 9px; border-radius: 10px; }
.np-offer-card.gp .gp-pill, .np-offer-card.gp .gp-logo, .np-offer-card.gp .gp-code { color: #4ade80; }
.np-offer-card.gp .gp-pill { background: #16a34a; color: #fff; }
.np-offer-card.gp .gp-btn { background: linear-gradient(135deg, #22c55e, #16a34a); }
.np-offer-card.robi .robi-pill { background: #dc2626; color: #fff; }
.np-offer-card.robi .robi-logo, .np-offer-card.robi .robi-code { color: #f87171; }
.np-offer-card.robi .robi-btn { background: linear-gradient(135deg, #f87171, #dc2626); }

.promo-strip { display: flex; gap: 12px; padding: 0 14px 4px; overflow-x: auto; }
.promo-item { flex: 0 0 260px; padding: 0; overflow: hidden; }
.promo-item img { width: 100%; display: block; border-radius: 16px; }

.np-secure { display: flex; align-items: center; gap: 14px; margin: 20px 14px; padding: 16px 18px; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 16px; }
.np-secure-ic { font-size: 22px; }
.np-secure-title { font-size: 13.5px; font-weight: 700; color: var(--text-1); }
.np-secure-sub { font-size: 11.5px; color: var(--text-2); }
.np-secure-arrow { margin-left: auto; font-size: 20px; color: var(--text-3); }

.np-bottomnav { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(11,14,26,.92); backdrop-filter: blur(14px); border-top: 1px solid var(--glass-border); display: flex; justify-content: space-around; padding: 8px 0 10px; z-index: 40; }
.np-nav-item { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; color: var(--text-2); }
.np-nav-item .ic { font-size: 19px; }
.np-nav-item.active { color: var(--accent-2); }

/* ---------------- Services page (services.php uses np-tile grid) ---------------- */
.svc-title { font-size: 19px; font-weight: 800; color: var(--text-1); margin: 4px 0 4px; }
.svc-sub { font-size: 13px; color: var(--text-3); margin-bottom: 20px; }
.svc-section { font-size: 13.5px; font-weight: 800; color: var(--text-2); text-transform: uppercase; letter-spacing: .4px; margin: 26px 0 12px; }
.svc-section:first-of-type { margin-top: 6px; }

/* =====================================================
   Premium Glowing Header (navbar / wallet-topbar / hero-banner)
   Blue -> royal blue -> sky blue -> purple, animated, mobile-first
   ===================================================== */
.glow-surface {
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, #071230 0%, #0d2a6b 16%, #1e3a8a 34%, #2563eb 54%, #38bdf8 76%, #7c3aed 100%) !important;
  background-size: 240% 240% !important;
  animation: pgFlow 16s ease-in-out infinite;
}
.glow-surface::before {
  content: '';
  position: absolute;
  inset: -50%;
  background:
    radial-gradient(circle at 18% 22%, rgba(56,189,248,.55), transparent 42%),
    radial-gradient(circle at 82% 12%, rgba(124,58,237,.55), transparent 46%),
    radial-gradient(circle at 50% 95%, rgba(37,99,235,.5), transparent 46%);
  filter: blur(26px);
  animation: pgOrbit 20s linear infinite;
  z-index: 0;
  pointer-events: none;
}
.glow-surface::after {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.24), transparent);
  transform: skewX(-16deg);
  animation: pgStreak 5.5s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}
.glow-surface > *:not(.glow-particles) { position: relative; z-index: 2; }
.glow-particles {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.95) 1px, transparent 1.6px),
    radial-gradient(circle, rgba(255,255,255,.75) 1px, transparent 1.6px),
    radial-gradient(circle, rgba(255,255,255,.6) 1px, transparent 1.6px);
  background-size: 70px 70px, 100px 100px, 46px 46px;
  background-position: 8px 16px, 55px 65px, 28px 8px;
  opacity: .55;
  animation: pgTwinkle 3.2s ease-in-out infinite alternate;
}
@keyframes pgFlow { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes pgOrbit { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes pgStreak { 0% { left: -60%; } 45% { left: 130%; } 100% { left: 130%; } }
@keyframes pgTwinkle { 0% { opacity: .28; } 100% { opacity: .68; } }

/* =====================================================
   Deposit Page - Gateway Selection Cards
   ===================================================== */
.dep-step-card { margin-bottom: 16px; }
.dep-step-head { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; color: var(--text-1); margin-bottom: 14px; }
.dep-step-num { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.pg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pg-card {
  position: relative;
  background: var(--glass-bg);
  border: 1.5px solid var(--glass-border);
  border-radius: 14px;
  padding: 16px 8px 12px;
  text-align: center;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.pg-card:active { transform: scale(.97); }
.pg-badge { width: 38px; height: 38px; margin: 0 auto 8px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; color: #fff; }
.pg-card.pg-bkash .pg-badge { background: linear-gradient(135deg, #e2136e, #b8105a); }
.pg-card.pg-nagad .pg-badge { background: linear-gradient(135deg, #f7941d, #ec6608); }
.pg-card.pg-rocket .pg-badge { background: linear-gradient(135deg, #7c3aed, #4c1d95); }
.pg-name { font-size: 12.5px; font-weight: 700; color: var(--text-1); }
.pg-check { position: absolute; top: 6px; right: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--success); color: #fff; font-size: 10px; display: none; align-items: center; justify-content: center; }
.pg-card.selected { border-color: var(--accent-2); background: var(--glass-bg-strong); box-shadow: 0 0 0 2px rgba(34,211,238,.25); }
.pg-card.selected .pg-check { display: flex; }
.pg-card.pg-disabled { opacity: .4; cursor: not-allowed; }
.pg-soon { font-size: 8.5px; color: var(--text-3); margin-top: 2px; text-transform: uppercase; letter-spacing: .3px; }

.pg-numbers-panel { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--glass-border); }
.pg-numbers-title { font-size: 12px; font-weight: 700; color: var(--text-2); text-transform: uppercase; letter-spacing: .3px; margin-bottom: 10px; }
.pg-number-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; background: var(--bg-page); border-radius: 12px; margin-bottom: 8px; border: 1px solid var(--glass-border); }
.pg-number-type { font-size: 11.5px; color: var(--text-2); font-weight: 600; }
.pg-number-value { font-size: 16px; font-weight: 800; letter-spacing: .5px; color: var(--text-1); }
.pg-copy-btn { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--glass-border); background: var(--glass-bg); color: var(--text-1); font-size: 12px; font-weight: 700; cursor: pointer; transition: background .15s ease; }
.pg-copy-btn.copied { background: var(--success); border-color: var(--success); color: #fff; }

/* ---------------- Two-Step Deposit Wizard ---------------- */
.wiz-progress { display: flex; align-items: center; gap: 10px; margin: 4px 0 18px; padding: 0 2px; }
.wiz-step { display: flex; align-items: center; gap: 8px; flex-shrink: 0; opacity: .5; transition: opacity .2s ease; }
.wiz-step.active { opacity: 1; }
.wiz-dot { width: 24px; height: 24px; border-radius: 50%; background: var(--glass-bg); border: 1.5px solid var(--glass-border); display: flex; align-items: center; justify-content: center; font-size: 11.5px; font-weight: 800; color: var(--text-2); flex-shrink: 0; }
.wiz-step.active .wiz-dot { background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-color: transparent; color: #fff; box-shadow: 0 0 0 3px rgba(124,92,255,.2); }
.wiz-label { font-size: 11.5px; font-weight: 700; color: var(--text-2); white-space: nowrap; }
.wiz-step.active .wiz-label { color: var(--text-1); }
.wiz-bar { flex: 1; height: 3px; border-radius: 3px; background: var(--glass-border); overflow: hidden; }
.wiz-bar span { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .35s ease; }

.wiz-back { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--glass-border); background: var(--glass-bg); color: var(--text-1); font-size: 13px; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }

.pay-summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(120deg, rgba(124,92,255,.18), rgba(34,211,238,.10)); border: 1px solid var(--glass-border); margin-bottom: 14px; flex-wrap: wrap; }
.pay-summary-gw { font-size: 13px; font-weight: 800; color: var(--text-1); }
.pay-summary-amt { font-size: 13px; color: var(--text-2); }
.pay-summary-amt strong { color: var(--accent-2); font-size: 15px; }
.pay-instruction { margin-top: 12px; font-size: 12.5px; color: var(--text-2); line-height: 1.5; background: var(--bg-page); border-radius: 12px; padding: 12px 14px; }

/* =====================================================
   Drag & Drop Upload
   ===================================================== */
.upload-dropzone {
  position: relative;
  border: 1.5px dashed var(--glass-border);
  border-radius: 14px;
  background: var(--bg-page);
  padding: 22px 14px;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.upload-dropzone.dragover { border-color: var(--accent-2); background: rgba(34,211,238,.08); }
.upload-dropzone.has-file { padding: 8px; }
.upload-dropzone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-dz-icon { font-size: 26px; margin-bottom: 6px; }
.upload-dz-text { font-size: 13.5px; font-weight: 700; color: var(--text-1); }
.upload-dz-sub { font-size: 11px; color: var(--text-3); margin-top: 4px; }
.upload-dropzone img#ssPreview { width: 100%; max-height: 220px; object-fit: cover; border-radius: 10px; display: block; }

/* =====================================================
   Gradient Submit Button with Loading State
   ===================================================== */
.btn-gradient-submit {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border: none;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: opacity .2s ease;
  position: relative;
  overflow: hidden;
}
.btn-gradient-submit::after {
  content: '';
  position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg);
  animation: btnShine 3.2s ease-in-out infinite;
}
@keyframes btnShine { 0% { left: -75%; } 55% { left: 130%; } 100% { left: 130%; } }
.btn-gradient-submit.is-loading { opacity: .8; cursor: not-allowed; }
.btn-spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  display: inline-block;
  animation: btnSpin .7s linear infinite;
}
@keyframes btnSpin { to { transform: rotate(360deg); } }

/* =====================================================
   Custom Flexiload — Account Type Toggle / Operator Badges / Amount Chips
   ===================================================== */
.flexi-card { position: relative; }

.acct-toggle {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 5px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
}
.acct-opt {
  padding: 10px 6px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.acct-opt.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: #fff;
  box-shadow: 0 6px 18px rgba(124, 92, 255, 0.4);
}

.op-badge-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.op-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 4px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-1);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.op-badge:hover { transform: translateY(-2px); }
.op-badge.selected {
  border-color: var(--op-color, var(--accent));
  background: color-mix(in srgb, var(--op-color, var(--accent)) 14%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--op-color, var(--accent)) 22%, transparent);
}
.op-badge-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--op-color, var(--accent)); }
.op-badge-label { font-size: 12.5px; font-weight: 700; }

/* Operator "logo" avatar (2-letter mark) used in the redesigned Flexiload grid */
.op-badge-logo {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: #fff; flex-shrink: 0;
  background: linear-gradient(135deg, var(--op-color, var(--accent)), var(--op-color2, var(--accent-2)));
  box-shadow: 0 5px 14px rgba(0,0,0,.35);
}
.op-badge.selected .op-badge-logo { box-shadow: 0 0 0 3px color-mix(in srgb, var(--op-color, var(--accent)) 30%, transparent), 0 5px 14px rgba(0,0,0,.35); }

.amt-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.amt-chip {
  padding: 7px 15px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s ease;
}
.amt-chip:hover { color: var(--text-1); border-color: rgba(255,255,255,.25); }
.amt-chip.active {
  border-color: var(--accent-2);
  background: rgba(34, 211, 238, 0.12);
  color: var(--accent-2);
}

.hint-ok { color: var(--success) !important; }
.hint-bad { color: var(--danger) !important; }

.flexi-summary {
  font-size: 13px;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
}
.flexi-summary strong { color: var(--text-1); }

/* =====================================================
   Purchase Pages — Animated Filter Transitions
   ===================================================== */
.offer-grid-wrap { position: relative; }
.offer-card,
.pack-card {
  transition: opacity .28s ease, transform .28s ease;
}
.offer-card.fx-hide,
.pack-card.fx-hide {
  opacity: 0;
  transform: scale(.94);
  position: absolute;
  pointer-events: none;
  visibility: hidden;
}
.offer-card.fx-show,
.pack-card.fx-show {
  opacity: 1;
  transform: scale(1);
}
.btn.filter-pill { transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease; }
.btn.filter-pill:active { transform: scale(.96); }

.filter-pill-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.filter-pill-grid .filter-pill {
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: 6px;
  padding-right: 6px;
}
@media (max-width: 360px) {
  .filter-pill-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =====================================================
   Add Balance — Premium single-page deposit UI
   ===================================================== */
.ab-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  overflow: hidden;
  position: relative;
}
.ab-hero-title { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.ab-hero-sub { color: var(--text-2); font-size: 13.5px; max-width: 360px; }
.ab-hero-art { flex-shrink: 0; filter: drop-shadow(0 8px 24px rgba(124, 92, 255, 0.45)); }

.ab-card { margin-bottom: 16px; }
.ab-card-label { font-size: 14px; font-weight: 700; color: var(--text-1); margin-bottom: 12px; }

.ab-amount-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 14px 16px;
}
.ab-amount-currency { font-size: 26px; color: var(--text-3); font-weight: 700; }
.ab-amount-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-1);
  font-size: 26px;
  font-weight: 700;
  min-width: 0;
}
.ab-amount-box input::placeholder { color: var(--text-3); }
.ab-amount-badge {
  background: rgba(124, 92, 255, 0.18);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 10px;
  letter-spacing: .4px;
}

/* Payment method selectable cards */
.pg-card2 {
  position: relative;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 18px 10px 14px;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease, background .15s ease;
}
.pg-card2:active { transform: scale(.97); }
.pg-radio {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--glass-border);
  background: transparent;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.pg-card2.selected .pg-radio {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.25);
}
.pg-badge2 {
  width: 46px;
  height: 46px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pg-card2.pg-bkash .pg-badge2 { background: linear-gradient(135deg, #e2136e, #b8105a); box-shadow: 0 4px 16px rgba(226, 19, 110, 0.35); }
.pg-card2.pg-nagad .pg-badge2 { background: linear-gradient(135deg, #f7941d, #ec6608); box-shadow: 0 4px 16px rgba(247, 148, 29, 0.35); }
.pg-card2.pg-rocket .pg-badge2 { background: linear-gradient(135deg, #8b5cf6, #4c1d95); box-shadow: 0 4px 16px rgba(139, 92, 246, 0.35); }
.pg-name2 { font-size: 14px; font-weight: 800; color: var(--text-1); }
.pg-sub2 { font-size: 11px; font-weight: 600; margin-top: 2px; }
.pg-card2.pg-bkash .pg-sub2 { color: #f472a8; }
.pg-card2.pg-nagad .pg-sub2 { color: #fbae42; }
.pg-card2.pg-rocket .pg-sub2 { color: #a78bfa; }
.pg-card2.selected {
  border-color: var(--accent);
  background: var(--glass-bg-strong);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 24px rgba(124, 92, 255, 0.25);
}
.pg-card2.pg-disabled { opacity: .4; cursor: not-allowed; }

@keyframes abRevealIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.pg-reveal-card {
  margin-top: 14px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(124, 92, 255, 0.08);
  border: 1px solid rgba(124, 92, 255, 0.3);
  animation: abRevealIn .35s ease;
}
.pg-reveal-title { font-size: 12px; font-weight: 800; color: var(--accent); text-transform: uppercase; letter-spacing: .4px; margin-bottom: 10px; }

.ab-input-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 12px 14px;
}
.ab-input-icon { color: var(--text-3); flex-shrink: 0; display: flex; }
.ab-input-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-1);
  font-size: 15px;
  min-width: 0;
}
.ab-input-box input::placeholder { color: var(--text-3); }
.ab-input-box + .ab-input-box { margin-top: 10px; }

.ab-warning {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(124, 92, 255, 0.1);
  border: 1px solid rgba(124, 92, 255, 0.3);
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.5;
}
.ab-warning-ic { flex-shrink: 0; }

.ab-submit {
  margin-top: 18px;
  font-size: 16px;
  padding: 15px 22px;
  background: linear-gradient(135deg, var(--accent), #5b3df0);
  box-shadow: 0 10px 30px rgba(124, 92, 255, 0.45);
}
.ab-submit-ic { font-size: 16px; }

.ab-trust {
  text-align: center;
  color: var(--text-3);
  font-size: 12px;
  margin-top: 14px;
}
.ab-trust strong { color: var(--accent); }

/* =====================================================
   Custom Flexiload — Premium 3D Redesign (clean, single card)
   ===================================================== */
.flexi3d-wrap { max-width: 480px; margin: 0 auto; padding: 8px 0 28px; }

.flexi3d-header { text-align: center; margin-bottom: 22px; }
.flexi3d-illust {
  position: relative;
  width: 88px; height: 88px;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
}
.flexi3d-illust-glow {
  position: absolute; inset: -20px;
  background: radial-gradient(circle, rgba(124,92,255,.45), transparent 70%);
  filter: blur(2px);
  pointer-events: none;
  animation: flexi3dPulse 3.2s ease-in-out infinite;
}
.flexi3d-illust-badge {
  position: relative;
  width: 84px; height: 84px;
  border-radius: 24px;
  background: linear-gradient(150deg, #372d78, #14102f);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  box-shadow:
    0 18px 34px rgba(124, 92, 255, 0.45),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.2),
    inset 0 -10px 18px rgba(0, 0, 0, 0.4);
  animation: flexi3dFloat 3.2s ease-in-out infinite;
}
.flexi3d-illust-bolt {
  position: absolute; bottom: -4px; right: -8px;
  font-size: 22px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.5));
}
@keyframes flexi3dFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes flexi3dPulse {
  0%, 100% { opacity: .7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.flexi3d-title { font-size: 24px; font-weight: 800; margin: 0 0 4px; }
.flexi3d-subtitle { font-size: 13.5px; color: var(--text-2); margin: 0; }

.flexi3d-card {
  position: relative;
  padding: 26px 22px 24px;
  border-radius: 26px;
  background: linear-gradient(165deg, rgba(255,255,255,.06), rgba(255,255,255,.015)), var(--bg-3);
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.55),
    0 2px 0 rgba(255, 255, 255, 0.06) inset,
    0 -1px 0 rgba(0, 0, 0, 0.4) inset;
  overflow: hidden;
}
.flexi3d-card::before {
  content: ""; position: absolute; inset: 0; border-radius: 26px; padding: 1.5px;
  background: linear-gradient(135deg, rgba(139,92,246,.6), rgba(99,102,241,.3) 45%, rgba(34,211,238,.5));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}

.flexi3d-field { margin-bottom: 18px; position: relative; z-index: 1; }
.flexi3d-field label { display: block; font-size: 13px; font-weight: 700; color: var(--text-2); margin-bottom: 8px; }

.flexi3d-input-wrap { position: relative; display: flex; align-items: center; }
.flexi3d-icon {
  position: absolute; left: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3); pointer-events: none;
}
.flexi3d-input-wrap input {
  width: 100%;
  padding: 14px 16px 14px 42px;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-1);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .3px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.flexi3d-input-wrap input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(124, 92, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.18);
}
.flexi3d-input-wrap input::placeholder { color: var(--text-3); font-weight: 500; }

.flexi3d-amount-wrap { position: relative; display: flex; align-items: center; }
.flexi3d-currency {
  position: absolute; left: 16px;
  font-size: 22px; font-weight: 800; color: var(--accent-2);
  pointer-events: none;
}
.flexi3d-amount-wrap input {
  width: 100%;
  padding: 16px 16px 16px 44px;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-1);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: .3px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.flexi3d-amount-wrap input:focus {
  outline: none;
  border-color: var(--accent-2);
  background: rgba(34, 211, 238, 0.08);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.16);
}
.flexi3d-amount-wrap input::placeholder { color: var(--text-3); font-weight: 700; }

.flexi3d-op-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.flexi3d-op-badge {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 13px 4px;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-1);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.flexi3d-op-badge:hover { transform: translateY(-2px); }
.flexi3d-op-badge.selected {
  border-color: var(--op-color, var(--accent));
  background: color-mix(in srgb, var(--op-color, var(--accent)) 14%, transparent);
  box-shadow:
    0 0 0 1px var(--op-color, var(--accent)),
    0 0 16px 2px color-mix(in srgb, var(--op-color, var(--accent)) 55%, transparent);
}
.flexi3d-op-logo {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; font-weight: 800; color: #fff; flex-shrink: 0;
  background: linear-gradient(135deg, var(--op-color, var(--accent)), var(--op-color2, var(--accent-2)));
  box-shadow: 0 5px 14px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.25);
}
.flexi3d-op-badge.selected .flexi3d-op-logo {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--op-color, var(--accent)) 35%, transparent), 0 5px 14px rgba(0,0,0,.4);
}
.flexi3d-op-name { font-size: 12px; font-weight: 700; color: var(--text-2); }
.flexi3d-op-badge.selected .flexi3d-op-name { color: var(--text-1); }

.flexi3d-submit {
  width: 100%;
  margin-top: 6px;
  padding: 16px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), #5b3df0 55%, var(--accent-3));
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .3px;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(124, 92, 255, 0.45), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .15s ease, box-shadow .15s ease;
}
.flexi3d-submit:hover { box-shadow: 0 18px 40px rgba(124, 92, 255, 0.6), inset 0 1px 0 rgba(255,255,255,.25); }
.flexi3d-submit:active { transform: scale(.98); }

.flexi3d-history { margin-top: 22px; }
.flexi3d-history-title { font-size: 14px; font-weight: 700; color: var(--text-2); margin-bottom: 10px; padding: 0 2px; }

@media (max-width: 380px) {
  .flexi3d-op-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .flexi3d-op-name { font-size: 11px; }
}

/* =====================================================
   Data Pack / Minute Pack — Clean Dedicated Purchase Pages
   ===================================================== */
.pack-page { max-width: 720px; margin: 0 auto; }

.pack-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.pack-title { font-size: 20px; font-weight: 800; margin-bottom: 3px; }
.pack-sub { font-size: 12.5px; color: var(--text-2); }

.pack-balance-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-1);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}
.pack-balance-ic { font-size: 13px; }

.pack-op-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 18px;
  scrollbar-width: none;
}
.pack-op-scroll::-webkit-scrollbar { display: none; }
.pack-op-pill {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s ease;
}
.pack-op-pill:hover { color: var(--text-1); }
.pack-op-pill.active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), #5b3df0);
  color: #fff;
  box-shadow: 0 6px 16px rgba(124, 92, 255, 0.4);
}

.pack-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 380px) {
  .pack-grid { grid-template-columns: 1fr; }
}

.pack-card {
  position: relative;
  padding: 12px 13px;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015)), var(--glass-bg);
  border: 2px solid #ff5ca8;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: transform .18s ease;
}
.pack-card:hover { transform: translateY(-2px); }

/* Row 1: logo + title/meta + price */
.pack-card-top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.pack-op-logo {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; color: #fff; flex-shrink: 0;
  background: linear-gradient(135deg, var(--op-color, var(--accent)), var(--op-color2, var(--accent-2)));
  box-shadow: 0 3px 8px rgba(0,0,0,.35);
}
.pack-card-idblock { min-width: 90px; flex: 1 1 90px; }
.pack-card-title {
  font-size: 13.5px; font-weight: 800; color: var(--text-1); line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pack-op-name { font-size: 10.5px; font-weight: 600; color: var(--text-3); }
.pack-card-meta {
  font-size: 10.5px; color: var(--text-3);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pack-card-price { font-size: 15px; font-weight: 800; color: var(--accent-2); flex-shrink: 0; white-space: nowrap; margin-left: auto; }

.pack-card-validity { font-size: 11.5px; color: var(--text-2); }
.pack-card-desc { display: none; }

/* Row 2: cashback badge + buy button */
.pack-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.pack-buy-btn {
  padding: 7px 14px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #5b3df0);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(124, 92, 255, 0.4);
  transition: transform .15s ease, box-shadow .15s ease;
}
.pack-buy-btn:hover { box-shadow: 0 8px 20px rgba(124, 92, 255, 0.55); }
.pack-buy-btn:active { transform: scale(.96); }

/* =====================================================
   Withdraw Commission — Premium 3D Neon Glassmorphic Form
   ===================================================== */
.wd3d-wrap { max-width: 480px; margin: 0 auto; }

.wd3d-balance-card {
  position: relative;
  padding: 22px 22px 20px;
  border-radius: 22px;
  margin-bottom: 18px;
  background: linear-gradient(160deg, rgba(124,92,255,.16), rgba(34,211,238,.06)), var(--bg-3);
  border: 1px solid rgba(124, 92, 255, 0.35);
  box-shadow:
    0 20px 46px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(124, 92, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.wd3d-balance-glow {
  position: absolute; top: -40%; right: -20%; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(124,92,255,.35), transparent 70%);
  pointer-events: none;
}
.wd3d-balance-label { position: relative; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 8px; }
.wd3d-balance-amount { position: relative; font-size: 32px; font-weight: 800; background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.wd3d-card {
  position: relative;
  padding: 24px 20px 22px;
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(255,255,255,.06), rgba(255,255,255,.015)), var(--bg-3);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.55),
    0 2px 0 rgba(255, 255, 255, 0.06) inset,
    0 -1px 0 rgba(0, 0, 0, 0.4) inset;
  overflow: hidden;
  margin-bottom: 20px;
}
.wd3d-card::before {
  content: ""; position: absolute; inset: 0; border-radius: 24px; padding: 1.5px;
  background: linear-gradient(135deg, rgba(139,92,246,.6), rgba(99,102,241,.3) 45%, rgba(34,211,238,.5));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}

.wd3d-field { margin-bottom: 18px; position: relative; z-index: 1; }
.wd3d-field label { display: block; font-size: 13px; font-weight: 700; color: var(--text-2); margin-bottom: 8px; }

.wd3d-method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wd3d-method-pill {
  padding: 12px 4px;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.wd3d-method-pill:hover { transform: translateY(-2px); }
.wd3d-method-pill.selected {
  border-color: var(--m-color, var(--accent));
  background: linear-gradient(135deg, var(--m-color, var(--accent)), var(--m-color2, var(--accent-2)));
  color: #fff;
  box-shadow:
    0 0 0 1px var(--m-color, var(--accent)),
    0 8px 20px color-mix(in srgb, var(--m-color, var(--accent)) 45%, transparent);
}

.wd3d-input-wrap { position: relative; display: flex; align-items: center; }
.wd3d-icon {
  position: absolute; left: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3); pointer-events: none;
}
.wd3d-input-wrap input {
  width: 100%;
  padding: 14px 16px 14px 42px;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.35);
  color: var(--text-1);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .3px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.wd3d-input-wrap input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.35), 0 0 0 4px rgba(124, 92, 255, 0.18);
}
.wd3d-input-wrap input::placeholder { color: var(--text-3); font-weight: 500; }

.wd3d-amount-wrap { position: relative; display: flex; align-items: center; }
.wd3d-currency {
  position: absolute; left: 16px;
  font-size: 22px; font-weight: 800; color: var(--accent-2);
  pointer-events: none;
}
.wd3d-amount-wrap input {
  width: 100%;
  padding: 16px 16px 16px 44px;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.35);
  color: var(--text-1);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: .3px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.wd3d-amount-wrap input:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.35), 0 0 0 4px rgba(34, 211, 238, 0.16);
}
.wd3d-amount-wrap input::placeholder { color: var(--text-3); font-weight: 700; }

.wd3d-submit {
  width: 100%;
  margin-top: 4px;
  padding: 16px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), #5b3df0 55%, var(--accent-3));
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .3px;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(124, 92, 255, 0.45), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.wd3d-submit:hover { box-shadow: 0 18px 40px rgba(124, 92, 255, 0.6), inset 0 1px 0 rgba(255,255,255,.25); }
.wd3d-submit:active { transform: scale(.97); }
.wd3d-submit:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }

.wd3d-history { margin-top: 4px; }
.wd3d-history-title { font-size: 14px; font-weight: 700; color: var(--text-2); margin-bottom: 10px; padding: 0 2px; }

/* ---------------------------------------------------------------
   Global tactile color flash / ripple effect (see main.js).
   .flash-host is added dynamically the first time an element is
   tapped so ANY button/link on the site gets contained ripples
   without needing to touch every existing selector.
--------------------------------------------------------------- */
.flash-host { position: relative; overflow: hidden; }

.flash-ripple {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  transform: scale(0);
  opacity: .6;
  z-index: 3;
  animation: flashPulse 1s cubic-bezier(.22, .8, .35, 1) forwards;
}

.flash-blue { background: radial-gradient(circle, rgba(124, 92, 255, .9) 0%, rgba(124, 92, 255, 0) 68%); }
.flash-gold { background: radial-gradient(circle, rgba(245, 176, 45, .9) 0%, rgba(245, 176, 45, 0) 68%); }
.flash-red  { background: radial-gradient(circle, rgba(239, 68, 68, .9) 0%, rgba(239, 68, 68, 0) 68%); }

@keyframes flashPulse {
  0%   { transform: scale(0);    opacity: .65; }
  55%  { transform: scale(.85); opacity: .45; }
  100% { transform: scale(1.05); opacity: 0; }
}

/* Recharge quick-form panel inside Buy Offer (shares .flexi3d-* card styles) */
.recharge-panel { max-width: 480px; margin: 0 auto 20px; }

/* ---------------------------------------------------------------
   Savings Plan summary card (shares .flexi3d-* form styles above)
--------------------------------------------------------------- */
.sv3d-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 18px; }
.sv3d-stat {
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
}
.sv3d-stat-label { font-size: 11.5px; color: var(--text-2); font-weight: 700; margin-bottom: 4px; }
.sv3d-stat-value { font-size: 19px; font-weight: 800; color: var(--text-1); }
.sv3d-stat.gold { border-color: rgba(245, 176, 45, .4); background: rgba(245, 176, 45, .07); }
.sv3d-stat.gold .sv3d-stat-value { color: #f5b02d; }

.sv3d-meta-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 2px; font-size: 13px; color: var(--text-2);
  border-bottom: 1px dashed var(--glass-border);
}
.sv3d-meta-row:last-child { border-bottom: none; }
.sv3d-meta-row strong { color: var(--text-1); }

.sv3d-close-btn {
  width: 100%;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(239, 68, 68, .45);
  border-radius: 14px;
  background: rgba(239, 68, 68, .1);
  color: #ff8080;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background .15s ease;
}
.sv3d-close-btn:hover { background: rgba(239, 68, 68, .18); }
.sv3d-close-btn:disabled { opacity: .45; cursor: not-allowed; }
.sv3d-lock-note { font-size: 12px; color: var(--text-3); text-align: center; margin-top: 8px; }

/* ---------------------------------------------------------------
   Gem / Diamond icon alignment (replaces plain emoji)
--------------------------------------------------------------- */
.pt-gem-ic { display: inline-flex; align-items: center; vertical-align: -4px; margin-right: 2px; }
.np-tile-icon svg, .gtile-icon svg { display: block; margin: 0 auto; }

/* ---------------------------------------------------------------
   Cashback badge shown on every offer / product card
--------------------------------------------------------------- */
.pack-cashback-badge, .offer-cashback-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 700;
  color: #0a7d42;
  background: linear-gradient(135deg, rgba(52, 211, 153, .18), rgba(16, 185, 129, .1));
  border: 1px solid rgba(16, 185, 129, .35);
  border-radius: 999px;
  padding: 3px 9px;
  margin-top: 6px;
  width: fit-content;
}
.pack-cashback-badge .ic, .offer-cashback-badge .ic { font-size: 12px; }
.pack-card-footer .pack-cashback-badge { margin-top: 0; font-size: 10.5px; padding: 3px 8px; }

/* ---------------------------------------------------------------
   First-deposit bonus live calculator (deposit.php)
--------------------------------------------------------------- */
.fd-bonus-box {
  display: none;
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(245, 176, 45, .16), rgba(124, 92, 255, .1));
  border: 1px solid rgba(245, 176, 45, .4);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-1, #1c1c28);
}
.fd-bonus-box.show { display: block; animation: fdBonusIn .3s ease; }
.fd-bonus-box .fd-bonus-title { font-weight: 800; color: #b8720c; margin-bottom: 2px; }
.fd-bonus-box .fd-bonus-total { font-weight: 800; color: #0a7d42; }
@keyframes fdBonusIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

/* ---------------------------------------------------------------
   Bottom-of-site promotion banner (our Page)
--------------------------------------------------------------- */
.promo-page-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 12px 10px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(120deg, #1877f2 0%, #7c5cff 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(24, 119, 242, .28);
}
.promo-page-banner .ppb-ic {
  width: 42px; height: 42px; flex: 0 0 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.promo-page-banner .ppb-text { flex: 1; min-width: 0; }
.promo-page-banner .ppb-title { font-weight: 800; font-size: 14px; }
.promo-page-banner .ppb-sub { font-size: 12px; opacity: .9; margin-top: 1px; }
.promo-page-banner .ppb-arrow { font-size: 18px; opacity: .85; }
