/* ============================================================
   Freecash.com — Ultra-Responsive Design System v4.0
   Perfect display on Mobile, Tablet, Laptop, and Desktop
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg: #0d131c;
  --bg-soft: #141522;
  --surface: #192132;
  --surface-2: #1f2a39;
  --surface-3: #263449;
  --border: #283341;
  --border-strong: rgba(9, 193, 111, 0.5);
  --text: #e9eef6;
  --text-muted: #a3adc2;
  --text-dim: #6b7a95;

  /* BRAND GREEN */
  --primary: #09c16f;
  --primary-hover: #079f5b;
  --primary-glow: rgba(9, 193, 111, 0.35);
  --money: #09c16f;
  --accent: #7ce6b2;
  --gold: #ffc107;
  --danger: #ff3d71;
  --warning: #ffaa00;

  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.8);
  --glow: 0 10px 36px -10px rgba(9, 193, 111, 0.35);

  --font: "Poppins", -apple-system, sans-serif;
  --font-head: "Poppins", "Inter", sans-serif;

  /* Legacy theme aliases */
  --cardBg: var(--surface);
  --cardBgGradient: linear-gradient(165deg, #161b2e, #101422);
  --cardBorderBg: var(--border);
  --actionBtnColor: var(--primary);
  --actionBtnTextColor: #000;
  --bodyBg: var(--bg);
  --bodybg: var(--bg);
  --topTransactionsBg: var(--surface);
  --topTransactionsBorderBg: var(--border);
  --footerBg: var(--bg-soft);
  --sidebarBg: var(--surface);
  --timerBgColor: var(--surface);
  --tableBackground: var(--surface);
  --tableHeadBg: transparent;
  --tableTdBorder: var(--border);
  --featuredCardBg: var(--surface-2);
  --input-dark-bg: var(--bg-soft);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 70px; /* Space for mobile sticky nav */
}

@media (min-width: 993px) {
  body { padding-bottom: 0; }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

a { color: var(--primary); text-decoration: none; transition: all .15s ease; }
a:hover { color: #7ce6b2; }

::selection { background: rgba(9, 193, 111, 0.35); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #09c16f; }

/* ---------- Splash ---------- */
.splash {
  position: fixed; inset: 0; z-index: 9999;
  background: radial-gradient(1100px 520px at 50% 32%, rgba(9,193,111,.09), transparent 62%), var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .35s ease, visibility .35s;
}
.splash.d-none { display: none !important; }
.fc-splash-inner { text-align: center; }
.fc-splash-logo { position: relative; width: 92px; height: 92px; margin: 0 auto 16px; }
.fc-splash-logo img {
  width: 64px; height: 64px; border-radius: 50%;
  position: absolute; inset: 0; margin: auto;
  animation: pulseGlow 1.4s ease-in-out infinite;
}
.fc-splash-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 3px solid transparent; border-top-color: #09c16f; border-right-color: rgba(9,193,111,.3);
  animation: fcSpin 1s linear infinite;
}
.fc-splash-ring2 {
  position: absolute; inset: -11px; border-radius: 50%;
  border: 2px solid transparent; border-bottom-color: rgba(9,193,111,.45);
  animation: fcSpin 1.6s linear infinite reverse;
}
.fc-splash-name { font-size: 27px; font-weight: 900; letter-spacing: .02em; line-height: 1; }
.fc-splash-name .w { color: #fff; }
.fc-splash-name .g { color: #09c16f; }
.fc-splash-bar {
  width: 220px; height: 5px; background: var(--surface-3); border-radius: 999px;
  margin: 18px auto 12px; overflow: hidden;
}
.fc-splash-bar i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, #00a854, #09c16f, #4ade80);
  border-radius: 999px; animation: fillBar 1.15s ease-out forwards;
}
.fc-splash-tag { color: var(--text-muted); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.fc-splash-tag::after { content: ''; animation: fcDots 1.2s steps(4, end) infinite; }
@keyframes fcSpin { to { transform: rotate(360deg); } }
@keyframes fillBar { to { width: 100%; } }
@keyframes fcDots {
  0% { content: ''; }
  25% { content: '.'; }
  50% { content: '..'; }
  75% { content: '...'; }
}
@keyframes pulseGlow {
  0%,100% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(9,193,111,.6)); }
  50% { transform: scale(1.1); filter: drop-shadow(0 0 30px rgba(9,193,111,.9)); }
}

/* ---------- 3D Tilt cards ---------- */
[data-tilt] {
  transition: transform .25s ease, border-color .2s ease, box-shadow .25s ease;
  will-change: transform;
  transform-style: preserve-3d;
}
[data-tilt].fc-tilting {
  transition: none;
}

/* ---------- Background Glows ---------- */
body::before {
  content: "";
  position: fixed;
  top: -300px; right: -250px;
  width: 850px; height: 850px;
  background: radial-gradient(circle, rgba(9,193,111,.15), transparent 65%);
  pointer-events: none; z-index: 0;
}
body::after {
  content: "";
  position: fixed;
  bottom: -300px; left: -250px;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(9,193,111,.08), transparent 65%);
  pointer-events: none; z-index: 0;
}

.overall-container {
  padding-top: 84px;
  max-width: 1320px;
  margin: 0 auto;
  padding-left: 20px !important;
  padding-right: 20px !important;
  min-height: calc(100vh - 200px);
  /* NOTE: no z-index here! A z-index creates a stacking context that traps
     fixed modals BELOW Bootstrap's .modal-backdrop (z-index 1050), so the
     modal's close button becomes unclickable. Keep this container
     position:relative only (z-index auto = no stacking context). */
  position: relative;
}

/* ---------- Navbar (Desktop & Mobile Clean Header) ---------- */
.navbar {
  background: rgba(7, 9, 14, 0.94) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 20px !important;
  z-index: 1000;
}
.navbar .main-header {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; gap: 12px;
}
.site-logo img {
  height: 44px; width: auto; max-width: 175px; object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(0, 245, 155, 0.45));
  transition: transform .2s ease;
}

/* Desktop Menu Button + Dropdown Panel */
.nav-menu-wrap { position: relative; }
.nav-menu-btn {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  color: var(--text-muted); font-size: 17px;
  transition: all .2s ease; cursor: pointer;
}
.nav-menu-btn:hover {
  color: #000; background: var(--primary); border-color: var(--primary);
  box-shadow: 0 0 20px rgba(9, 193, 111, .55);
}
.nav-menu-btn.open { color: #000; background: var(--primary); border-color: var(--primary); }
.nav-menu-panel {
  position: absolute; top: calc(100% + 12px); left: 0;
  width: 230px;
  background: rgba(13, 17, 26, .96);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 8px;
  z-index: 1001;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden;
  transform: translateY(-8px) scale(.98);
  transform-origin: top right;
  transition: all .18s ease;
}
.nav-menu-panel.open {
  opacity: 1; visibility: visible;
  transform: translateY(0) scale(1);
}
.nav-menu-title {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px 10px;
  font-size: 11px; font-weight: 800; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}
.nav-menu-title i { color: var(--primary); }
.nav-menu-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text-muted); font-size: 13.5px; font-weight: 600;
  transition: all .15s ease;
}
.nav-menu-link i { width: 18px; text-align: center; font-size: 13px; }
.nav-menu-link:hover { background: var(--surface-2); color: var(--primary); }
.nav-menu-link.active-item {
  background: linear-gradient(90deg, rgba(9, 193, 111, .16), transparent);
  color: var(--primary);
}
.nav-menu-link.active-item i { color: var(--primary); }

/* Right Nav Actions */
.navbar .right-section { display: flex; align-items: center; gap: 8px; }
.my-rounded-btn {
  width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 50%;
  color: var(--text-muted); font-size: 14px; transition: all .2s ease;
}
.my-rounded-btn:hover { color: var(--primary); border-color: var(--primary); background: var(--surface-2); box-shadow: var(--glow); }

/* ===== Notification Bell + Panel ===== */
.ea-notif-wrap { position: relative; }
#notif-toggle { position: relative; }
.ea-notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ff3b5c;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 17px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(255, 59, 92, .5);
  animation: eaBadgePop .3s cubic-bezier(.175, .885, .32, 1.4);
}
@keyframes eaBadgePop {
  0% { transform: scale(.3); }
  100% { transform: scale(1); }
}
.ea-notif-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 340px;
  max-width: calc(100vw - 24px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .45), 0 0 0 1px rgba(9, 193, 111, .08);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px) scale(.97);
  transform-origin: top right;
  pointer-events: none;
  transition: all .22s ease;
  z-index: 9999;
}
.ea-notif-panel.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.ea-notif-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  font-weight: 800;
  font-size: 14px;
  color: var(--text);
}
.ea-notif-head button {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  transition: color .15s;
}
.ea-notif-head button:hover { color: var(--primary); }
.ea-notif-list {
  max-height: 360px;
  overflow-y: auto;
}
.ea-notif-empty {
  padding: 34px 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}
.ea-notif-empty i { display: block; font-size: 26px; margin-bottom: 8px; opacity: .6; }
.ea-notif-item {
  display: flex;
  gap: 11px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .15s;
  align-items: flex-start;
}
.ea-notif-item:hover { background: var(--surface-2); }
.ea-notif-item.unread { background: rgba(9, 193, 111, .06); }
.ea-notif-ic {
  flex: 0 0 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  background: rgba(9, 193, 111, .14);
  color: var(--primary);
}
.ea-notif-ic.pending { background: rgba(255, 193, 7, .14); color: #ffc107; }
.ea-notif-ic.released { background: rgba(0, 200, 255, .14); color: #00c8ff; }
.ea-notif-ic.commission { background: rgba(168, 85, 247, .16); color: #c084fc; }
.ea-notif-item-body { flex: 1; min-width: 0; }
.ea-notif-item-title {
  font-weight: 700;
  font-size: 12.5px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}
.ea-notif-item-title .ea-n-amt { color: var(--primary); font-weight: 800; }
.ea-notif-item-msg {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ea-notif-item-time { font-size: 12px; color: var(--text-muted); opacity: .85; margin-top: 3px; }
.ea-notif-item .ea-n-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff3b5c;
  flex: 0 0 7px;
  margin-top: 5px;
}
.ea-notif-foot {
  display: block;
  text-align: center;
  padding: 11px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
  border-top: 1px solid var(--border);
  transition: background .15s;
}
.ea-notif-foot:hover { background: var(--surface-2); color: var(--primary); }
@media (max-width: 575.98px) {
  .ea-notif-panel { position: fixed; top: 62px; right: 10px; left: 10px; width: auto; }
}

/* Avatar Sizing Fix (Prevents SVG giant blue box) */
.profile-dropdown .btn img,
.avatar-img img,
.avatar img,
.s-avatar {
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  border-radius: 50% !important;
  object-fit: cover !alignment;
  border: 2px solid var(--primary) !important;
}
.avatar-img img { width: 28px !important; height: 28px !important; }

/* Balance Pill */
.wallet-dropdown-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--primary) !important;
  color: #000 !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 7px 16px !important;
  font-weight: 800 !important;
  font-size: 13.5px !important;
  box-shadow: 0 0 20px rgba(9, 193, 111, 0.5) !important;
}
.wallet-dropdown-btn img { width: 14px; height: 14px; }

/* Login / Register Buttons */
.login-btn {
  color: var(--text) !important;
  font-weight: 700; font-size: 13.5px;
  border: 1px solid var(--border);
  padding: 8px 18px; border-radius: 999px;
  background: var(--surface);
}
.register-btn {
  color: #000 !important;
  font-weight: 800; font-size: 13.5px;
  background: var(--primary);
  padding: 8px 20px; border-radius: 999px;
  box-shadow: 0 0 20px rgba(9, 193, 111, 0.5);
}

/* Bonus pill */
.bonus-code {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface); border: 1px solid var(--border);
  padding: 7px 14px; border-radius: 999px;
  color: var(--gold); font-size: 13px; font-weight: 700;
}

/* ---------- FREECASH MOBILE FLOATING BOTTOM NAVIGATION ---------- */
.mobile-bottom-bar {
  display: none;
  position: fixed; bottom: 12px; left: 50%; transform: translateX(-50%);
  z-index: 9999;
  width: calc(100% - 24px);
  max-width: 540px;
  background: rgba(10, 14, 22, .92);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(9, 193, 111, .2);
  border-radius: 26px;
  padding: 7px 10px;
  padding-bottom: calc(7px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 12px 34px rgba(0, 0, 0, .55), 0 0 22px rgba(9, 193, 111, .1), inset 0 1px 0 rgba(255, 255, 255, .06);
  justify-content: space-around;
  align-items: stretch;
}
.mobile-bottom-item {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px;
  color: var(--text-muted);
  font-size: 12px; font-weight: 800;
  padding: 7px 4px;
  border-radius: 16px;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, transform .15s ease, box-shadow .2s ease;
  position: relative;
}
.mobile-bottom-item i {
  font-size: 18px;
  transition: transform .2s ease, filter .2s ease;
}
/* active item — green pill, pops like a real tab */
.mobile-bottom-item.active {
  color: #000;
  background: linear-gradient(145deg, #22ff8f, var(--primary) 55%, #079f5b);
  box-shadow: 0 6px 18px rgba(9, 193, 111, .45), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.mobile-bottom-item.active i {
  transform: translateY(-1px) scale(1.12);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .25));
}
.mobile-bottom-item.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px; height: 3px;
  border-radius: 999px;
  background: #000;
  opacity: .55;
}
.mobile-bottom-item:active { transform: scale(.9); }

/* ============ Desktop Left Sidebar (fixed, no collapse — Freecash style) ============ */
.user-sidebar {
  position: fixed;
  left: 0; top: 64px; bottom: 0;
  width: 250px;
  background: rgba(9, 12, 20, .92);
  border-right: 1px solid var(--border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 900;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.user-sidebar-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 14px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.user-sidebar-toggle {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  transition: all .2s ease;
}
.user-sidebar-toggle:hover {
  color: #000;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(9, 193, 111, .55);
}
.user-sidebar-cap {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.user-sidebar-nav {
  flex: 1;
  padding: 12px 10px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.user-sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: all .15s ease;
  position: relative;
}
.user-sidebar-link i {
  width: 20px;
  text-align: center;
  font-size: 15px;
  flex-shrink: 0;
}
.user-sidebar-link:hover {
  background: var(--surface-2);
  color: var(--primary);
}
.user-sidebar-link.active-item {
  background: linear-gradient(90deg, rgba(9, 193, 111, .18), transparent);
  color: var(--primary);
}
.user-sidebar-link.active-item::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 60%;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 12px rgba(9, 193, 111, .8);
}
.user-sidebar-foot {
  padding: 10px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

/* content sits beside the fixed sidebar (never resizes — compact mode only hides labels) */
.overall-container {
  margin-left: 250px !important;
}

/* Compact mode: only the sidebar's labels hide, sidebar width + site stay identical */
body.sidebar-compact .user-sidebar-cap { display: none; }
body.sidebar-compact .user-sidebar-link span { display: none; }
body.sidebar-compact .user-sidebar-link {
  justify-content: center;
  padding: 12px 0;
}
body.sidebar-compact .user-sidebar-top { justify-content: center; padding: 16px 8px; }
body.sidebar-compact .user-sidebar-link.active-item::before { left: 2px; }

@media (max-width: 992px) {
  .user-sidebar { display: none !important; }
  body .overall-container { margin-left: 0 !important; }
  .nav-menu-wrap { display: none !important; }
  .bonus-code { display: none !important; }
  .mobile-bottom-bar { display: flex; }
  /* give the page bottom padding so content is never hidden behind the floating bar */
  .overall-container { padding-bottom: 84px; }
}
@media (max-width: 380px) {
  .mobile-bottom-item { font-size: 9.5px; padding: 6px 2px; }
  .mobile-bottom-item i { font-size: 16px; }
  .mobile-bottom-bar { bottom: 8px; padding: 6px 8px; }
}

/* Dropdown */
.dropdown-menu {
  background: var(--surface-2) !important;
  border: 1px solid var(--border) !important;
  border-radius: 16px !important;
  box-shadow: var(--shadow) !important;
  padding: 8px !important;
}
.dropdown-item {
  color: var(--text-muted) !important;
  border-radius: 10px !important;
  font-size: 13.5px !important; font-weight: 600 !important;
  padding: 10px 14px !important;
  display: flex; align-items: center; gap: 10px;
}
.dropdown-item:hover { background: var(--surface-3) !important; color: var(--primary) !important; }

/* ---------- FREECASH HERO SECTION (RESPONSIVE) ---------- */
.banner {
  position: relative;
  text-align: center;
  padding: 60px 16px 40px;
  overflow: hidden;
}
.banner::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(650px 300px at 50% -40px, rgba(9,193,111,.22), transparent 70%),
    radial-gradient(400px 250px at 80% 30%, rgba(255,193,7,.08), transparent 70%);
  pointer-events: none;
}
.banner .content { position: relative; max-width: 880px; margin: 0 auto; z-index: 2; }

/* Trustpilot Rating Badge */
.trustpilot-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(16, 27, 46, 0.85);
  border: 1px solid rgba(9, 193, 111, 0.3);
  border-radius: 999px;
  padding: 7px 18px;
  margin-bottom: 20px;
  font-size: 12.5px; font-weight: 700; color: #fff;
  box-shadow: 0 0 16px rgba(9,193,111,.15);
  max-width: 100%;
}
.trustpilot-stars { color: #09c16f; font-size: 13px; letter-spacing: 1px; }

.banner h1 {
  font-size: clamp(26px, 5.5vw, 62px);
  line-height: 1.1;
  margin-bottom: 18px;
  font-weight: 900;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 30%, #e0e0e0 60%, #09c16f 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.banner h1 span.highlight {
  color: #09c16f;
  -webkit-text-fill-color: #09c16f;
  text-shadow: 0 0 25px rgba(9,193,111,.5);
}

.banner .description {
  color: var(--text-muted);
  font-size: clamp(14px, 2.5vw, 17px);
  max-width: 580px;
  margin: 0 auto 28px;
  font-weight: 500;
}

/* CTAs */
.btn-freecash {
  background: var(--primary);
  color: #000 !important;
  font-weight: 900;
  font-size: 15px;
  padding: 15px 38px;
  border-radius: 14px;
  border: none;
  text-transform: uppercase;
  letter-spacing: .03em;
  box-shadow: 0 0 30px rgba(9, 193, 111, 0.55);
  transition: all .2s ease;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-freecash:hover {
  transform: translateY(-2px);
  background: #079f5b;
  box-shadow: 0 0 45px rgba(9, 193, 111, 0.75);
  color: #000 !important;
}

@media (max-width: 576px) {
  .btn-freecash { width: 100%; padding: 14px 20px; font-size: 14px; }
  .banner { padding: 40px 12px 24px; }
}

/* Trust strip below hero */
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin-top: 30px;
}
.trust-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 12px; font-weight: 700; color: var(--text-muted);
}
.trust-chip i { color: var(--primary); }

/* Live Winner Ticker & Top Transactions */
.top-transactions,
.winner-ticker {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 14px;
  margin: 16px auto 20px;
  max-width: 940px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* Live Leads Ajax Component Styling Fix */
#live-leads .top-transactions {
  margin: 0 0 20px 0 !important;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
}

.live-leads-bar .live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 61, 113, .16);
  border: 1px solid rgba(255, 61, 113, .45);
  color: #ff3d71;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .8px;
  padding: 4px 9px;
  border-radius: 999px;
  flex-shrink: 0;
}

.live-leads-bar .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff3d71;
  box-shadow: 0 0 0 0 rgba(255, 61, 113, .6);
  animation: fc-pulse 1.6s infinite;
}

@keyframes fc-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 61, 113, .55); }
  70% { box-shadow: 0 0 0 7px rgba(255, 61, 113, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 61, 113, 0); }
}

.live-leads-bar .live-carousel-wrap {
  flex: 1;
  min-width: 0;
}

.live-leads-bar .live-stat.item {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px 5px 6px;
  background: rgba(18, 24, 38, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  cursor: pointer;
  transition: all .2s ease;
  backdrop-filter: blur(8px);
}

.live-leads-bar .live-stat.item:hover {
  border-color: rgba(9, 193, 111, 0.6);
  background: rgba(22, 30, 46, 0.95);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.live-leads-bar .stat-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.live-leads-bar .avatar-img {
  position: relative;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.live-leads-bar .avatar-img img,
.live-leads-bar .social-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(9, 193, 111, 0.6);
  object-fit: cover;
  display: block;
}

.live-leads-bar .live-user-dot {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #09c16f;
  border: 1.5px solid #0d111a;
}

.live-leads-bar .center-content {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
  min-width: 0;
  text-align: left;
}

.live-leads-bar .live-user {
  color: #f1f5f9;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: -0.1px;
}

.live-leads-bar .live-offer {
  color: #94a3b8;
  font-size: 10.5px;
  font-weight: 500;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 3px;
}

.live-leads-bar .amount {
  font-weight: 800;
  font-size: 11.5px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
  padding: 3px 7px;
  border-radius: 6px;
  margin-left: 4px;
}

.live-leads-bar .amount.is-earn {
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.live-leads-bar .amount.is-withdraw {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.25);
}

.live-leads-bar .amount img {
  width: 11px;
  height: 11px;
  object-fit: contain;
}

/* ---------- FREECASH OFFER CARDS & GRID ---------- */
.offer-card,
.featured-cards {
  background: var(--surface-2) !important;
  border: 1px solid var(--border) !important;
  border-radius: 18px !important;
  padding: 16px 12px 12px;
  text-align: center;
  transition: all .22s ease;
  position: relative; overflow: hidden;
  cursor: pointer;
}
.offer-card:hover,
.featured-cards:hover {
  transform: translateY(-5px);
  border-color: var(--primary) !important;
  box-shadow: var(--glow);
}

/* Freecash Neon Green Payout Tag */
.payout-tag {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(9, 193, 111, 0.15);
  border: 1px solid rgba(9, 193, 111, 0.4);
  color: var(--primary);
  font-weight: 900; font-size: 13px;
  padding: 3px 12px; border-radius: 999px;
}

.featured-title { font-size: 13.5px; font-weight: 800; color: #fff; margin: 6px 0 2px; }
.featured-text { font-size: 11.5px; color: var(--text-muted); margin-bottom: 6px; }
.featured-price { display: flex; align-items: center; gap: 5px; color: var(--primary); font-weight: 900; font-size: 13px; margin: 0; }

/* Badges */
.badge-hot {
  background: linear-gradient(135deg, #ff3d71, #ff80ab) !important;
  color: #fff; font-size: 11.5px; font-weight: 900; padding: 3px 10px; border-radius: 999px;
}
.badge-new {
  background: linear-gradient(135deg, #09c16f, #22c55e) !important;
  color: #000; font-size: 11.5px; font-weight: 900; padding: 3px 10px; border-radius: 999px;
}

/* ---------- FREECASH USER BALANCE HEADER ---------- */
.summary-card.gradient {
  background: linear-gradient(135deg, #0d1a12 0%, #102619 50%, #122c1d 100%) !important;
  border: 1px solid rgba(9, 193, 111, 0.35) !important;
  border-radius: 20px !important;
  box-shadow: 0 0 30px rgba(9, 193, 111, 0.2) !important;
  padding: 20px 24px !important;
}
.summary-card.gradient .value { color: var(--primary) !important; font-size: clamp(28px, 4vw, 38px); font-weight: 900; text-shadow: 0 0 20px rgba(9,193,111,.5); }

.xp-bar {
  height: 7px;
  background: rgba(255,255,255,.1);
  border-radius: 999px;
  overflow: hidden;
}
.xp-bar-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 999px;
  box-shadow: 0 0 10px var(--primary);
}

/* ---------- STATS STRIP (RESPONSIVE GRID) ---------- */
.stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin: 10px auto; max-width: 1060px;
}
.stat-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 18px;
  display: flex; align-items: center; gap: 14px;
  transition: all .2s ease;
}
.stat-box:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--glow); }
.stat-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: rgba(9, 193, 111, 0.12); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.stat-num { font-size: clamp(20px, 3.5vw, 24px); font-weight: 900; color: #fff; line-height: 1.1; }
.stat-label { color: var(--text-muted); font-size: 12px; font-weight: 600; }

@media (max-width: 768px) {
  .stats-strip { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-box { padding: 14px 12px; gap: 10px; }
  .stat-icon { width: 38px; height: 38px; font-size: 16px; }
}

/* ---------- PARTNERS & PAYMENT METHODS ---------- */
.pay-strip {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  max-width: 960px; margin: 0 auto;
}
.part-box, .pay-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 20px;
  font-weight: 800; font-size: 13.5px;
  transition: all .2s ease;
}
.part-box:hover, .pay-box:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--glow); }

/* ---------- GET STARTED CTA ---------- */
.getstarted {
  border-radius: 22px;
  background: linear-gradient(135deg, #0d2617 0%, #05140b 100%);
  border: 1px solid rgba(9, 193, 111, 0.4);
  padding: 50px 20px;
  text-align: center;
  margin: 30px 12px;
  box-shadow: 0 0 40px rgba(9, 193, 111, 0.2);
}
.getstarted h2 { font-size: clamp(24px, 4.5vw, 42px); font-weight: 900; color: #fff; margin-bottom: 12px; }
.getstarted p { color: var(--text-muted); font-size: 15px; margin-bottom: 28px; }
.getstarted .btn {
  background: var(--primary); color: #000; font-weight: 900;
  font-size: 15px; padding: 14px 38px; border-radius: 14px; border: none;
  box-shadow: 0 0 30px rgba(9, 193, 111, 0.55);
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  margin-top: 50px;
  padding-top: 40px;
}
.footer-box {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px;
  max-width: 1200px; margin: 0 auto; padding: 0 20px 30px;
}

@media (max-width: 992px) {
  .footer-box { grid-template-columns: 1fr; gap: 24px; }
}

.copyright {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px 18px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: .02em;
  border-top: 1px solid var(--border);
}

@media (max-width: 992px) {
  .copyright { text-align: center; }
}

/* ============================================================
   FREECASH SMART EXTENSIONS: REFERRALS, ADMIN, MODALS & TOASTS
   ============================================================ */

/* Toast Notification */
.fc-toast {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background: var(--surface-2);
  border: 1px solid var(--primary);
  color: #fff;
  padding: 12px 20px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(9,193,111,0.3);
  display: flex; align-items: center; gap: 10px;
  z-index: 99999;
  font-weight: 700;
  font-size: 13.5px;
  animation: slideUpToast 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes slideUpToast {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   CHAT UNREAD BADGE (header chat toggle)
   ============================================================ */
#chat-toggle { position: relative; }
.ea-chat-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ff3b5c;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--surface);
  box-shadow: 0 2px 8px rgba(255, 59, 92, .5);
  animation: eaPulseBadge 1.4s ease-in-out infinite;
}
@keyframes eaPulseBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

/* ============================================================
   ANNOUNCEMENT BAR (user panel top banner)
   ============================================================ */
.ea-announcement-bar {
  background: linear-gradient(90deg, rgba(9, 193, 111, .16), rgba(9, 193, 111, .04)), rgba(8, 12, 20, .94);
  border-bottom: 1px solid rgba(9, 193, 111, .35);
  color: #fff;
  position: fixed;
  top: 59px;
  left: 0;
  right: 0;
  z-index: 1001;
  box-shadow: 0 2px 14px rgba(0, 0, 0, .3);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.overall-container.has-ann { padding-top: calc(84px + 38px); }
.ea-announcement-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
}
.ea-announcement-inner > i { font-size: 16px; flex-shrink: 0; color: var(--primary); text-shadow: 0 0 12px rgba(9, 193, 111, .5); }
.ea-announcement-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ea-announcement-close {
  background: rgba(255, 255, 255, .18);
  border: none;
  color: #fff;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s;
}
.ea-announcement-close:hover { background: rgba(255, 255, 255, .35); }
.ea-announcement-personal {
  background: linear-gradient(90deg, rgba(255, 200, 77, .18), rgba(255, 200, 77, .05)), rgba(8, 12, 20, .94);
  border-bottom: 1px solid rgba(255, 200, 77, .45);
  animation: eaAnnPulse 2.2s ease-in-out infinite;
}
@keyframes eaAnnPulse {
  0%, 100% { box-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
  50% { box-shadow: 0 2px 18px rgba(255, 200, 77, .4); }
}
.ea-announcement-tag {
  background: rgba(9, 193, 111, .18);
  border: 1px solid rgba(9, 193, 111, .55);
  color: var(--primary);
  border-radius: 999px;
  padding: 1px 9px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .ea-announcement-inner { font-size: 12px; padding: 7px 12px; }
}

/* ============================================================
   OFFER-COMPLETE POPUP + SOUND (Freecash-style earn toast)
   ============================================================ */
#ea-toast-wrap {
  position: fixed;
  bottom: 84px;
  right: 16px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: calc(100vw - 32px);
  pointer-events: none;
}

.ea-earn-toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: linear-gradient(145deg, var(--surface-2), var(--surface));
  border: 1px solid var(--primary);
  border-radius: 16px;
  padding: 13px 14px;
  width: 340px;
  max-width: 100%;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .5), 0 0 0 1px rgba(9, 193, 111, .12), 0 0 26px rgba(9, 193, 111, .18);
  opacity: 0;
  transform: translateX(60px) scale(.96);
  transition: all .35s cubic-bezier(.175, .885, .32, 1.275);
  position: relative;
  overflow: hidden;
}
.ea-earn-toast::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary);
}
.ea-earn-toast.show {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.ea-earn-icon {
  flex: 0 0 46px;
  height: 46px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ea-earn-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 193, 7, .55);
  animation: eaRing 1.6s ease-out .25s infinite;
  pointer-events: none;
}
@keyframes eaRing {
  0% { transform: scale(.65); opacity: .9; }
  100% { transform: scale(2); opacity: 0; }
}

/* Golden 3D coin — flips in on arrival, then gently floats */
.ea-coin {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffe066, #ffc107 45%, #d99e00);
  color: #7a5200;
  font-weight: 900;
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 240, 180, .6);
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, .65), inset 0 -3px 5px rgba(0, 0, 0, .28), 0 0 18px rgba(255, 193, 7, .5);
  animation: eaCoinFlip .9s cubic-bezier(.2, .8, .3, 1) both, eaCoinFloat 2.6s ease-in-out .9s infinite;
}
@keyframes eaCoinFlip {
  0% { transform: rotateY(0deg) scale(.3); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: rotateY(720deg) scale(1); opacity: 1; }
}
@keyframes eaCoinFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* small status badge on the coin (green check / amber pending) */
.ea-badge {
  position: absolute;
  right: -3px;
  bottom: -3px;
  z-index: 2;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #09c16f;
  color: #04120a;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--surface);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .45);
}
.ea-badge.pending { background: #ffc107; color: #4a3100; }

.ea-earn-body { flex: 1; min-width: 0; }
.ea-earn-title {
  color: var(--primary);
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: .3px;
  margin-bottom: 2px;
}
.ea-earn-msg {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}
.ea-earn-msg b { color: var(--primary); }
.ea-earn-msg b.ea-amt { font-size: 14px; }
.ea-earn-sub {
  color: var(--text-muted);
  font-size: 11.5px;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ea-earn-close {
  flex: 0 0 auto;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1;
  padding: 2px 4px;
  cursor: pointer;
}
.ea-earn-close:hover { color: #fff; }

/* Clickable — opens the Earnings tab on My Profile */
.ea-earn-toast { cursor: pointer; }
.ea-earn-toast.show:hover {
  border-color: #fff;
  transform: translateX(-2px) scale(1.015);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .55), 0 0 0 1px rgba(9, 193, 111, .2), 0 0 30px rgba(9, 193, 111, .25);
}

/* soft shine sweep across the toast */
.ea-earn-toast::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  left: -90px;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .1), transparent);
  animation: eaShine 2.4s ease .7s infinite;
  pointer-events: none;
}
@keyframes eaShine {
  0% { left: -90px; }
  55%, 100% { left: 115%; }
}

.ea-earn-go {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary);
  font-weight: 800;
  font-size: 11px;
  margin-left: 6px;
  opacity: .85;
}
.ea-earn-go i { font-size: 9px; }

/* ---- Reward Released toast (pending offer paid by cron) ---- */
.ea-earn-toast.released {
  border-color: #09c16f;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .5), 0 0 0 1px rgba(9, 193, 111, .22), 0 0 30px rgba(9, 193, 111, .3);
}
.ea-earn-toast.released::before { background: #09c16f; box-shadow: 0 0 14px #09c16f; }
.ea-earn-toast.released.show:hover {
  border-color: #37ff9e;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .55), 0 0 0 1px rgba(9, 193, 111, .3), 0 0 36px rgba(9, 193, 111, .4);
}
.ea-earn-toast.released .ea-coin {
  background: linear-gradient(145deg, #4dffa8, #09c16f 45%, #00b25a);
  color: #03260f;
  border-color: rgba(180, 255, 220, .7);
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, .7), inset 0 -3px 5px rgba(0, 0, 0, .25), 0 0 20px rgba(9, 193, 111, .6);
}
.ea-earn-toast.released .ea-earn-title { color: #09c16f; }
.ea-earn-toast.released .ea-earn-msg b { color: #09c16f; }
.ea-earn-toast.released .ea-earn-go { color: #09c16f; }
.ea-earn-toast.released .ea-earn-icon::after { border-color: rgba(9, 193, 111, .6); }

/* ---- Referral Commission toast (someone you referred completed an offer) ---- */
.ea-earn-toast.commission {
  border-color: #a855f7;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .5), 0 0 0 1px rgba(168, 85, 247, .22), 0 0 30px rgba(168, 85, 247, .3);
}
.ea-earn-toast.commission::before { background: #a855f7; box-shadow: 0 0 14px #a855f7; }
.ea-earn-toast.commission.show:hover {
  border-color: #d8b4fe;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .55), 0 0 0 1px rgba(168, 85, 247, .3), 0 0 36px rgba(168, 85, 247, .4);
}
.ea-earn-toast.commission .ea-coin {
  background: linear-gradient(145deg, #d8b4fe, #a855f7 45%, #9333ea);
  color: #1e0b33;
  border-color: rgba(240, 220, 255, .7);
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, .7), inset 0 -3px 5px rgba(0, 0, 0, .25), 0 0 20px rgba(168, 85, 247, .6);
}
.ea-earn-toast.commission .ea-earn-title { color: #c084fc; }
.ea-earn-toast.commission .ea-earn-msg b { color: #c084fc; }
.ea-earn-toast.commission .ea-earn-go { color: #c084fc; }
.ea-earn-toast.commission .ea-earn-icon::after { border-color: rgba(168, 85, 247, .6); }

@media (max-width: 480px) {
  #ea-toast-wrap { bottom: 76px; right: 10px; left: 10px; max-width: none; }
  .ea-earn-toast { width: 100%; }
}

/* Referral Calculator Card */
.ref-calc-card {
  background: linear-gradient(145deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  margin-top: 20px;
  box-shadow: var(--shadow);
}
.ref-calc-card input[type=range] {
  accent-color: var(--primary);
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--surface-3);
  cursor: pointer;
}

/* Social Share Pills */
.share-btn-group {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px;
}
.share-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 12px;
  font-weight: 700; font-size: 13px; color: #fff !important;
  transition: all .2s ease;
}
.share-btn.wa { background: #25D366; }
.share-btn.tg { background: #0088cc; }
.share-btn.tw { background: #1DA1F2; }
.share-btn.fb { background: #1877F2; }
.share-btn:hover { transform: translateY(-2px); filter: brightness(1.1); box-shadow: 0 5px 15px rgba(0,0,0,0.3); }

/* Admin Dashboard Modern Dark Theme Overrides */
.admin-dark-body {
  background: #07090e !important;
  color: #fff !important;
}
.admin-card {
  background: #101422 !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
}
.admin-card-header {
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  background: transparent !important;
  padding: 16px 20px !important;
}
.admin-stat-widget {
  background: linear-gradient(135deg, #101422 0%, #161b2e 100%);
  border: 1px solid rgba(9, 193, 111, 0.25);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.2s ease;
}
.admin-stat-widget:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(9, 193, 111, 0.3);
}

/* Category Filter Tabs */
.filter-tabs {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px;
  scrollbar-width: none;
}
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tab-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px; font-weight: 700;
  padding: 8px 18px; border-radius: 999px;
  white-space: nowrap; cursor: pointer;
  transition: all .2s ease;
}
.filter-tab-btn.active,
.filter-tab-btn:hover {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(9,193,111,0.4);
}

/* Freecash 100% Signature Additions */
.fc-card-glow {
  box-shadow: 0 0 25px rgba(9, 193, 111, 0.25) !important;
  border-color: var(--primary) !important;
}

.fc-badge-gold {
  background: linear-gradient(135deg, #ffc107, #ff9800);
  color: #000;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11.5px;
}

.fc-badge-green {
  background: rgba(9, 193, 111, 0.18);
  border: 1px solid rgba(9, 193, 111, 0.4);
  color: var(--primary);
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11.5px;
}

.fc-nav-usd {
  font-size: 11px;
  opacity: 0.75;
  margin-left: 2px;
}

.streak-ladder {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.streak-day-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 10px;
  text-align: center;
  position: relative;
  transition: all .2s ease;
}

.streak-day-card.active {
  background: linear-gradient(180deg, rgba(9, 193, 111, 0.2) 0%, var(--surface-2) 100%);
  border-color: var(--primary);
  box-shadow: var(--glow);
}

.streak-day-card.claimed {
  opacity: 0.6;
  border-color: rgba(255,255,255,0.05);
}

.cashout-cat-btn {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 800;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  cursor: pointer;
  transition: all .2s ease;
}

.cashout-cat-btn.active,
.cashout-cat-btn:hover {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(9, 193, 111, 0.5);
}

/* ---- Level pill in navbar (Freecash green) ---- */
.nav-level-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(9, 193, 111, .14), rgba(34, 197, 94, .14));
  border: 1px solid rgba(9, 193, 111, .35);
  border-radius: 999px;
  padding: 5px 10px;
  text-decoration: none;
  color: #4ade80;
  font-size: 12px;
  font-weight: 700;
}

.nav-level-pill i {
  color: #ffd700;
  font-size: 11px;
}

.nav-level-pill .level-progress {
  width: 44px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .12);
  overflow: hidden;
}

.nav-level-pill .level-progress i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #079f5b, #09c16f);
}

/* Mobile: hide the Lv pill so the profile avatar fits on screen (level is already
   shown in the profile card / profile page — the avatar must never be cut off) */
@media (max-width: 767.98px) {
  .navbar .right-section { gap: 6px; }
  .nav-level-pill { display: none; }
  .wallet-dropdown-btn { padding: 7px 12px !important; font-size: 12.5px !important; }
  .navbar .right-section .my-rounded-btn { width: 34px; height: 34px; font-size: 13px; }
}

/* ---- Withdraw progress bar ---- */
.withdraw-progress-card {
  background: var(--cardBg, #121726);
  border: 1px solid var(--border, #232b45);
  border-radius: 18px;
  padding: 20px 24px;
  margin-bottom: 20px;
}

.withdraw-progress-card .wp-label {
  font-size: 13px;
  color: var(--textDim, #9aa4bf);
}

.withdraw-progress-card .wp-track {
  height: 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
  margin-top: 10px;
}

.withdraw-progress-card .wp-track i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #059669, #079f5b, #09c16f);
  transition: width 1s ease;
}

/* ---- Live earning feed ---- */
.live-feed {
  background: var(--cardBg, #121726);
  border: 1px solid var(--border, #232b45);
  border-radius: 18px;
  overflow: hidden;
}

.live-feed-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border, #232b45);
}

.live-feed-item:last-child {
  border-bottom: 0;
}

.live-feed-item .lf-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  flex-shrink: 0;
}

.live-feed-item .lf-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--heading, #fff);
}

.live-feed-item a.lf-name {
  text-decoration: none;
  transition: color .15s ease;
}

.live-feed-item a.lf-name:hover {
  color: var(--primary, #22c55e);
  text-decoration: underline;
}

.live-feed-item .lf-amount {
  font-size: 13px;
  font-weight: 700;
  color: #22c55e;
  margin-left: auto;
  white-space: nowrap;
}

.live-feed-item .lf-time {
  font-size: 11px;
  color: var(--textDim, #9aa4bf);
}

/* ---- Tournament banner (Freecash green) ---- */
.tournament-banner {
  background: linear-gradient(135deg, #059669, #079f5b);
  border-radius: 20px;
  padding: 26px 28px;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 0 30px rgba(9, 193, 111, .25);
}

.tournament-banner::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}

.tournament-banner h4 {
  font-weight: 800;
  margin-bottom: 6px;
}

.tournament-banner p {
  margin: 0;
  opacity: .9;
  font-size: 14px;
}

.tournament-banner .t-countdown {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.tournament-banner .t-countdown .t-box {
  background: rgba(0, 0, 0, .28);
  border-radius: 12px;
  padding: 8px 14px;
  text-align: center;
  min-width: 58px;
}

.tournament-banner .t-countdown .t-box b {
  font-size: 20px;
  display: block;
}

.tournament-banner .t-countdown .t-box span {
  font-size: 11px;
  opacity: .85;
}

/* ---- Profile stats (Freecash smart compact cards) ---- */
.fc-stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 100%;
  min-height: 92px;
  transition: all .22s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}

@media (min-width: 768px) {
  .fc-stat-card {
    flex-direction: row;
    text-align: left;
    justify-content: flex-start;
    padding: 14px 16px;
    gap: 12px;
    min-height: 74px;
  }
}

.fc-stat-card::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--stat-glow, rgba(9,193,111,.1)), transparent 70%);
  pointer-events: none;
}

.fc-stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 0 26px rgba(9, 193, 111, .18);
}

.fc-stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  transition: transform .22s ease;
}

@media (min-width: 768px) {
  .fc-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    font-size: 16px;
  }
}

.fc-stat-card:hover .fc-stat-icon { transform: scale(1.08) rotate(-5deg); }

.fc-stat-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  width: 100%;
}

@media (min-width: 768px) {
  .fc-stat-info {
    align-items: flex-start;
    width: auto;
  }
}

.fc-stat-label {
  color: var(--text-muted);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
  margin-bottom: 2px;
  line-height: 1.25;
  max-width: 100%;
}

@media (min-width: 768px) {
  .fc-stat-label {
    font-size: .74rem;
    letter-spacing: .4px;
  }
}

.fc-stat-value {
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
  max-width: 100%;
}

@media (min-width: 768px) {
  .fc-stat-value {
    font-size: 1.2rem;
    justify-content: flex-start;
  }
}

.fc-stat-card.featured {
  background: linear-gradient(135deg, rgba(9, 193, 111, .18), var(--surface) 62%);
  border-color: rgba(9, 193, 111, .45);
  box-shadow: 0 0 28px rgba(9, 193, 111, .16);
}

.fc-stat-card.featured .fc-stat-value { color: var(--primary); }

.fc-stat-sub {
  color: var(--text-muted);
  font-size: .78rem;
  font-weight: 600;
  margin-top: 2px;
}

.fc-stat-xp {
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .1);
  margin-top: 5px;
  overflow: hidden;
  width: 100%;
}

.fc-stat-xp i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #079f5b, #09c16f);
  box-shadow: 0 0 8px rgba(9, 193, 111, .6);
}

.fc-stat-value.level-value { font-size: 1.05rem; }

.fc-stat-sub {
  display: none;
}

/* ---- Profile header (Freecash smart) ---- */
.fc-profile {
  position: relative;
  overflow: hidden;
  padding: 0 !important;
  gap: 0 !important;
}

.fc-profile .fc-banner {
  height: 56px;
  background: linear-gradient(120deg, rgba(9, 193, 111, .28), rgba(0, 120, 70, .12) 55%, rgba(255, 193, 7, .14));
  border-bottom: 1px solid rgba(9, 193, 111, .25);
}

.fc-profile .fc-profile-body {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding: 0 14px 14px;
  flex-wrap: wrap;
}

.fc-profile .left-profile-box {
  align-items: flex-end;
}

.fc-profile .level-avatar {
  margin-top: -28px;
}

.fc-profile .fc-avatar-ring {
  background: var(--surface);
  border-radius: 100%;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 0 2px var(--primary), 0 6px 18px rgba(9, 193, 111, .3);
}

.fc-profile .fc-avatar-ring img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 100%;
  object-fit: cover;
  display: block;
}

.fc-profile .fc-lv-badge {
  background: var(--primary);
  color: #00160c;
  font-weight: 800;
  font-size: .78rem;
  padding: 2px 10px;
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(9, 193, 111, .4);
  margin-top: 5px;
}

.fc-profile .profile-info h4 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.02rem;
  margin-top: 0 !important;
  margin-bottom: 3px !important;
}

.fc-profile .profile-info h5 {
  font-size: .76rem !important;
}

.fc-profile .fc-verified {
  color: var(--primary);
  font-size: .82rem;
}

.fc-profile .fc-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 5px;
}

.fc-profile .country-box {
  background: rgba(9, 193, 111, .12);
  color: #09c16f;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .7rem;
  border: 1px solid rgba(9, 193, 111, .35);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.fc-profile .fc-joined {
  color: var(--text-muted);
  font-size: .7rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.fc-profile .fc-xp-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  max-width: 300px;
}

.fc-profile .fc-xp-bar {
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}

.fc-profile .fc-xp-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), #66ffb2);
  box-shadow: 0 0 10px rgba(9, 193, 111, .5);
}

.fc-profile .fc-xp-row span {
  color: var(--text-muted);
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
}

.fc-profile .fc-private {
  margin-left: auto;
  margin-bottom: 2px;
  flex-shrink: 0;
}

.fc-profile .fc-private .form-check-input {
  background-color: rgba(255, 255, 255, .15);
  border-color: rgba(255, 255, 255, .3);
  cursor: pointer;
}

.fc-profile .fc-private .form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.fc-profile .fc-private .form-check-label {
  color: var(--text-muted);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
}

/* ---- Offer detail modal (Freecash smart) ---- */
.fc-offer-modal {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .55) !important;
  overflow: hidden;
}

.fc-offer-modal .modal-body {
  padding: 0 !important;
  position: relative;
}

.fc-offer-modal .close-btn {
  position: absolute !important;
  top: 12px;
  right: 12px;
  z-index: 20;
  background: rgba(0, 0, 0, .55) !important;
  border: 1px solid rgba(255, 255, 255, .2) !important;
  border-radius: 50% !important;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.fc-offer-modal .close-btn i {
  font-size: 15px !important;
  color: #fff !important;
}

.fc-offer-modal .fc-offer-hero {
  background: linear-gradient(135deg, rgba(9, 193, 111, .18), rgba(0, 0, 0, .2) 60%), var(--surface-2);
  padding: 26px 16px 18px;
  display: flex;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}

.fc-offer-modal .fc-offer-hero .detail-image {
  width: 108px;
  height: 108px;
  object-fit: cover;
  border-radius: 22px;
  border: 3px solid var(--primary);
  box-shadow: 0 10px 30px rgba(9, 193, 111, .35);
  background: var(--surface-3);
}

.fc-offer-modal .fc-offer-modal-info {
  padding: 18px 18px 8px;
  text-align: center;
}

.fc-offer-modal .offername {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 10px;
}

.fc-offer-modal .fc-payout-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.fc-offer-modal .fc-big-payout {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(9, 193, 111, .15);
  border: 1px solid rgba(9, 193, 111, .45);
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 900;
  padding: 6px 18px;
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(9, 193, 111, .3);
}

.fc-offer-modal .fc-big-payout img {
  width: 18px;
}

.fc-offer-modal .fc-total-coins {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-muted);
  font-size: .8rem;
  font-weight: 700;
}

.fc-offer-modal .fc-total-coins i {
  color: #ffc107;
}

.fc-offer-modal .fc-modal-completed {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--text-muted);
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.fc-offer-modal .fc-modal-completed i {
  color: var(--primary);
  font-size: .7rem;
}

.fc-offer-modal .devices {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}

.fc-offer-modal .devices img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border-radius: 6px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--border);
  padding: 3px;
}

.fc-offer-modal .fc-desc-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  text-align: left;
}

.fc-offer-modal .fc-desc-head {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--primary);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 8px;
}

.fc-offer-modal .fc-desc-box .description {
  color: var(--text-dim);
  font-size: .88rem;
  line-height: 1.55;
  margin: 0;
}

.fc-offer-modal .earn-section {
  margin: 18px 18px 20px !important;
}

.fc-offer-modal .earn-section .offer-url {
  background: var(--primary) !important;
  color: #00160c !important;
  font-weight: 900;
  font-size: .92rem;
  letter-spacing: .6px;
  border-radius: 999px !important;
  border: 0 !important;
  box-shadow: 0 8px 24px rgba(9, 193, 111, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all .2s ease;
}

.fc-offer-modal .earn-section .offer-url:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(9, 193, 111, .5);
}

/* ---- User stats modal (Freecash smart) ---- */
.fc-stats-modal {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 18px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5) !important;
}

.fc-stats-modal .modal-body {
  padding: 16px 18px 18px !important;
}

.fc-stats-modal .close-btn {
  color: var(--text-muted) !important;
  border: 1px solid var(--border) !important;
  background: var(--surface-2) !important;
  border-radius: 50% !important;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fc-stats-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 6px 4px 14px;
  border-bottom: 1px solid var(--border);
}

.fc-stats-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.fc-stats-avatar img {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 3px rgba(9, 193, 111, .3), 0 8px 20px rgba(9, 193, 111, .25);
}

.fc-stats-head .fc-lv-badge {
  background: var(--primary);
  color: #00160c;
  font-weight: 800;
  font-size: .78rem;
  padding: 3px 12px;
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(9, 193, 111, .4);
}

.fc-stats-id {
  min-width: 0;
  flex: 1;
}

.fc-stats-id h4 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.fc-stats-id .fc-verified {
  color: var(--primary);
  font-size: .85rem;
}

.fc-stats-id h5 {
  color: var(--text-muted);
  font-size: .76rem;
  font-weight: 500;
  margin: 0;
  word-break: break-all;
}

.fc-stats-id .fc-stats-since {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 3px;
}
.fc-stats-id .fc-stats-since i {
  color: var(--primary);
  font-size: .68rem;
}

.fc-stats-id .country-box {
  background: rgba(9, 193, 111, .12);
  color: #09c16f;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .68rem;
  border: 1px solid rgba(9, 193, 111, .35);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
}

.fc-stats-xp {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
}

.fc-stats-xp .fc-xp-bar {
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}

.fc-stats-xp .fc-xp-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), #66ffb2);
  box-shadow: 0 0 10px rgba(9, 193, 111, .5);
}

.fc-stats-xp span {
  color: var(--text-muted);
  font-size: .68rem;
  font-weight: 700;
  white-space: nowrap;
}

.fc-private-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 193, 7, .08);
  border: 1px solid rgba(255, 193, 7, .3);
  color: #ffc107;
  font-size: .85rem;
  font-weight: 600;
}

/* ---- Profile tabs (Freecash segmented pills) ---- */
.action-section {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 2px;
}

.action-section::-webkit-scrollbar { display: none; }

.action-section .tab-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 15px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all .2s ease;
  flex: 1 1 auto;
  justify-content: center;
}

.action-section .tab-pill i {
  font-size: .9rem;
}

.action-section .tab-pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  color: #000;
}

.action-section .tab-pill.wd-tab i { color: #2dd4bf; }
.action-section .tab-pill.wd-tab:hover i { color: #00160c; }

.action-section .tab-pill-count.green { background: rgba(9, 193, 111, .2); color: #09c16f; border: 1px solid rgba(9, 193, 111, .45); }
.action-section .tab-pill-count.yellow { background: rgba(255, 193, 7, .2); color: #ffc107; border: 1px solid rgba(255, 193, 7, .45); }
.action-section .tab-pill-count.red { background: rgba(255, 61, 113, .2); color: #ff3d71; border: 1px solid rgba(255, 61, 113, .45); }

.action-section .tab-pill:hover {
  border-color: rgba(9, 193, 111, .45);
  color: #fff;
  transform: translateY(-1px);
}

.action-section .tab-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #00160c;
  box-shadow: 0 6px 20px rgba(9, 193, 111, .35);
  transform: translateY(-1px);
}

.action-section .tab-pill.active .tab-pill-count.green { background: rgba(0, 23, 12, .25); color: #00160c; border-color: rgba(0, 23, 12, .25); }
.action-section .tab-pill.active .tab-pill-count.yellow { background: rgba(0, 23, 12, .25); color: #00160c; border-color: rgba(0, 23, 12, .25); }
.action-section .tab-pill.active .tab-pill-count.red { background: rgba(0, 23, 12, .25); color: #00160c; border-color: rgba(0, 23, 12, .25); }

/* ---- Withdraw history box (profile page) ---- */
.view-all-link {
  margin-left: auto;
  font-size: .78rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  background: rgba(9, 193, 111, .1);
  border: 1px solid rgba(9, 193, 111, .35);
  border-radius: 999px;
  padding: 5px 14px;
  white-space: nowrap;
  transition: all .2s ease;
}

.view-all-link:hover {
  background: var(--primary);
  color: #00160c;
}

.withdraw-box-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

.withdraw-box-wrap .wd-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
}

.withdraw-box-wrap .wd-row:last-child {
  border-bottom: 0;
}

.withdraw-box-wrap .wd-method {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.withdraw-box-wrap .wd-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(45, 212, 191, .14);
  color: #2dd4bf;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  flex-shrink: 0;
}

.withdraw-box-wrap .wd-method-name {
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.withdraw-box-wrap .wd-method-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.withdraw-box-wrap .wd-trx {
  font-family: 'Space Grotesk', monospace;
  font-size: .68rem;
  color: var(--text-muted);
}

.withdraw-box-wrap .wd-feedback {
  margin: -4px 4px 12px 54px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 193, 7, .08);
  border: 1px solid rgba(255, 193, 7, .25);
  color: var(--text-dim);
  font-size: .8rem;
}

.withdraw-box-wrap .wd-feedback i {
  color: #ffc107;
  margin-right: 6px;
}

.withdraw-box-wrap .wd-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.withdraw-box-wrap .wd-amount {
  color: var(--primary);
  font-weight: 800;
  font-size: .88rem;
  white-space: nowrap;
}

.withdraw-box-wrap .wd-date {
  color: var(--text-muted);
  font-size: .72rem;
}

.withdraw-box-wrap .wd-row .status-badge {
  flex-shrink: 0;
}

.withdraw-box-wrap .status-badge.completed {
  background: rgba(9, 193, 111, .14);
  color: #09c16f;
  border: 1px solid rgba(9, 193, 111, .4);
}

.withdraw-box-wrap .status-badge.pending {
  background: rgba(255, 193, 7, .14);
  color: #ffc107;
  border: 1px solid rgba(255, 193, 7, .4);
}

.withdraw-box-wrap .status-badge.rejected {
  background: rgba(255, 61, 113, .14);
  color: #ff3d71;
  border: 1px solid rgba(255, 61, 113, .4);
}

.withdraw-box-wrap .wd-empty {
  padding: 22px 10px;
  text-align: center;
  color: var(--text-muted);
  font-size: .88rem;
}

.withdraw-box-wrap .wd-empty a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}

/* ---- Profile earnings tables (AJAX, Freecash dark) ---- */
.profile-table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

.profile-table {
  width: 100%;
  min-width: 660px;
  color: var(--text);
  font-size: .86rem;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0 10px;
  padding: 6px 12px 16px;
  --bs-table-bg: transparent;
  --bs-table-color: var(--text);
  --bs-table-color-state: var(--text);
  --bs-table-color-type: var(--text);
}

.profile-table thead th {
  background-color: transparent !important;
}
.profile-table td {
  background-color: var(--surface-2) !important;
}

.profile-table thead th {
  background: transparent;
  color: var(--text-muted);
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
  padding: 2px 16px 8px;
  border: 0;
  white-space: nowrap;
}

.profile-table td {
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-left: 0;
  border-right: 0;
  background: var(--surface-2);
  color: var(--text-dim);
  vertical-align: middle;
}

/* each row = one rounded box */
.profile-table tbody tr td:first-child {
  border-left: 1px solid var(--border);
  border-radius: 12px 0 0 12px;
}

.profile-table tbody tr td:last-child {
  border-right: 1px solid var(--border);
  border-radius: 0 12px 12px 0;
}

.profile-table tbody tr { transition: none; }
.profile-table tbody tr:hover td {
  background: rgba(9, 193, 111, .07);
  border-color: rgba(9, 193, 111, .4);
}

.profile-table tbody tr:last-child td { border-bottom: 1px solid var(--border); }
.profile-table tbody tr:last-child td:first-child { border-radius: 0 0 0 12px; }
.profile-table tbody tr:last-child td:last-child { border-radius: 0 0 12px 0; }

.profile-table .reward {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--primary);
  font-weight: 800;
  font-size: .9rem;
}

.profile-table .status-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
}

.profile-table .status-badge.completed {
  background: rgba(9, 193, 111, .14);
  color: #09c16f;
  border: 1px solid rgba(9, 193, 111, .4);
}

.profile-table .status-badge.pending {
  background: rgba(255, 193, 7, .14);
  color: #ffc107;
  border: 1px solid rgba(255, 193, 7, .4);
}

.profile-table .status-badge.chargback {
  background: rgba(255, 61, 113, .14);
  color: #ff3d71;
  border: 1px solid rgba(255, 61, 113, .4);
}

.profile-table .empty-row {
  padding: 26px 16px;
  text-align: center;
  color: var(--text-muted);
}

.profile-table .status-badge i {
  margin-right: 5px;
  font-size: .66rem;
}

.profile-table .offer-avatar {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 800;
  color: #000;
  flex-shrink: 0;
}

.profile-table .offer-wall {
  display: flex;
  align-items: center;
  gap: 9px;
}

.profile-table .offer-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: contain;
  background: var(--surface-3);
  border: 1px solid var(--border);
  padding: 3px;
  flex-shrink: 0;
}

.profile-table .offer-wall .wall-name {
  color: #fff;
  font-weight: 700;
  font-size: .84rem;
  white-space: nowrap;
}

.profile-table .offer-name-cell {
  color: var(--text-dim);
  font-weight: 600;
}

.profile-table .offer-name-cell {
  display: flex;
  align-items: center;
  gap: 9px;
}

.profile-table .offer-name-text {
  color: var(--text);
  font-weight: 600;
  font-size: .82rem;
  line-height: 1.35;
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5px 10px;
}

.profile-table .offer-task-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  color: #000;
  flex-shrink: 0;
}

.profile-table .trx-code {
  font-family: 'Space Grotesk', monospace;
  font-size: .74rem;
  color: var(--text-muted);
  letter-spacing: .3px;
  white-space: nowrap;
}

.profile-table .date-cell {
  color: var(--text-muted);
  font-size: .78rem;
  white-space: nowrap;
}

/* Profile table pagination (dark) */
.profile-table-wrap .pagination {
  margin: 0;
  padding: 12px 16px;
  justify-content: flex-end;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 4px;
}

.profile-table-wrap .page-link {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 8px;
  font-weight: 700;
  font-size: .8rem;
  padding: .35rem .8rem;
}

.profile-table-wrap .page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
  color: #000;
}

.profile-table-wrap .page-item.disabled .page-link {
  background: var(--surface);
  color: var(--text-dim);
  border-color: var(--border);
}

/* ---- Level card on dashboard (Freecash green) ---- */
.level-card {
  background: linear-gradient(135deg, rgba(9, 193, 111, .12), rgba(34, 197, 94, .07));
  border: 1px solid rgba(9, 193, 111, .28);
  border-radius: 18px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.level-card .lv-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #079f5b, #09c16f);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: #000;
  flex-shrink: 0;
}

.level-card .lv-track {
  flex: 1;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .1);
  overflow: hidden;
  margin-top: 8px;
}

.level-card .lv-track i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #079f5b, #09c16f);
}

/* ============================================================
   AUTH (Login / Register / Forgot) — Freecash Smart Cards
   ============================================================ */
.auth-wrap {
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px 16px 60px;
}

.auth-card {
  width: 100%;
  max-width: 430px;
  background: var(--cardBgGradient);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 30px 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.auth-card::before {
  content: '';
  position: absolute;
  top: -90px;
  right: -90px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(9, 193, 111, .16), transparent 70%);
  pointer-events: none;
}

.auth-card::after {
  content: '';
  position: absolute;
  bottom: -110px;
  left: -110px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(9, 193, 111, .08), transparent 70%);
  pointer-events: none;
}

.auth-card > * { position: relative; z-index: 1; }

.auth-card h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 24px;
  color: #fff;
}

.auth-sub {
  color: var(--text-muted);
  font-size: 14px;
}

.auth-card .form-label {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 7px;
}

.auth-card .form-group { margin-bottom: 18px; }

.auth-card .form-control {
  background: var(--bg-soft) !important;
  border: 1px solid var(--border) !important;
  color: #fff !important;
  border-radius: 13px !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  box-shadow: none !important;
  transition: all .2s ease;
}

.auth-card .form-control::placeholder {
  color: var(--text-dim) !important;
}

.auth-card .form-control:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(9, 193, 111, .15) !important;
}

.auth-card .btn-custom {
  background: var(--primary);
  border: none;
  color: #000;
  font-weight: 800;
  font-size: 14.5px;
  padding: 13px 20px;
  border-radius: 13px;
  width: 100%;
  transition: all .2s ease;
  box-shadow: 0 0 22px rgba(9, 193, 111, .35);
}

.auth-card .btn-custom:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(9, 193, 111, .5);
}

.auth-card .btn-custom:disabled {
  opacity: .7;
}

.auth-card .form-check-input {
  background-color: var(--bg-soft);
  border-color: var(--border-strong);
}

.auth-card .form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.auth-card .form-check-label,
.auth-card .auth-alt {
  color: var(--text-muted);
}

.auth-card a.text-base {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.auth-card a.text-base:hover {
  text-decoration: underline;
}

.auth-card .input-popup p { color: var(--text-muted) !important; }

@media (max-width: 480px) {
  .auth-card {
    padding: 26px 20px;
    border-radius: 18px;
  }
}

/* ============================================================
   OFFERWALL MODAL — Freecash Smart Style
   ============================================================ */
.fc-wall-modal {
  background: var(--surface) !important;
  border: 1px solid var(--border-strong) !important;
  border-radius: 22px !important;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, .9), 0 0 40px rgba(9, 193, 111, .12);
}

/* Keep modals above their backdrop no matter where they sit in the DOM
   (stacking-context safety net — see .overall-container note above). */
#offerwallModal.modal,
#myOfferModal.modal,
#userStatsModal.modal {
  z-index: 1080 !important;
}
#offerwallModal.modal ~ .modal-backdrop,
#myOfferModal.modal ~ .modal-backdrop,
#userStatsModal.modal ~ .modal-backdrop {
  z-index: 1070 !important;
}

.fc-wall-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(165deg, var(--surface-3), var(--surface));
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 5;
}

.fc-wall-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.fc-wall-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: #000;
  flex-shrink: 0;
  box-shadow: 0 6px 18px -4px rgba(0, 0, 0, .3), 0 0 16px rgba(9, 193, 111, .25);
  overflow: hidden;
}
.fc-wall-icon img { display: none; }

.fc-wall-title-box { min-width: 0; }

.fc-wall-title-box h5 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fc-wall-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(9, 193, 111, .12);
  border: 1px solid rgba(9, 193, 111, .35);
  padding: 2px 8px;
  border-radius: 999px;
}

.fc-wall-ext {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  transition: all .2s ease;
}

.fc-wall-ext:hover {
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(9, 193, 111, .25);
}

.fc-wall-head .close-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
}

.fc-wall-head .close-btn i {
  font-size: 15px;
  color: var(--text-muted);
}

.fc-wall-head .close-btn:hover {
  background: rgba(255, 61, 113, .15);
  border-color: rgba(255, 61, 113, .5);
  box-shadow: 0 0 12px rgba(255, 61, 113, .3);
}

.fc-wall-head .close-btn:hover i {
  color: var(--danger);
}

.fc-wall-frame-wrap {
  position: relative;
  margin: 14px 14px 16px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #ffffff;
  height: min(78vh, 720px);
}

.fc-wall-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  background: #ffffff;
}

.fc-wall-loader {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.fc-wall-loader.show {
  opacity: 1;
  pointer-events: auto;
}

.fc-wall-loader span {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

.fc-spinner {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 4px solid rgba(9, 193, 111, .18);
  border-top-color: var(--primary);
  animation: fc-spin .8s linear infinite;
  box-shadow: 0 0 20px rgba(9, 193, 111, .25);
}

@keyframes fc-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 576px) {
  .fc-wall-head { padding: 13px 15px; }
  .fc-wall-frame-wrap { margin: 10px 10px 12px; height: 74vh; }
  .fc-wall-icon { width: 36px; height: 36px; font-size: 14px; }
}

/* ============================================================
   USER PANEL — GLOBAL SMART DARK STYLES (tables, forms, cards)
   ============================================================ */

/* --- Smart dark tables (transactions, bonus, referrals, tickets…) --- */
.table {
  --bs-table-bg: transparent !important;
  color: var(--text) !important;
  margin-bottom: 0;
}

.table > :not(caption) > * > * {
  background: transparent !important;
  border-bottom-color: var(--border) !important;
  color: inherit;
  padding: 13px 16px;
  vertical-align: middle;
}

.table thead th {
  color: var(--text-muted) !important;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
  border-bottom: 1px solid var(--border) !important;
  white-space: nowrap;
  background: rgba(255, 255, 255, .02) !important;
}

.table tbody tr {
  transition: background .15s ease;
}

.table tbody tr:hover {
  background: rgba(255, 255, 255, .035) !important;
}

.table tbody td a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.table-responsive {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}

/* --- Smart dark forms (bonus, password, withdraw preview…) --- */
.my-form {
  background: var(--cardBgGradient);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.my-form.no-bg.no-padding.no-border {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.my-form h1 {
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 18px;
}

.my-form label,
.card--custom label {
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 7px;
}

/* Global dark inputs (pages without inline styles get these) */
.form-control,
.form-select,
.input-group-text {
  background: var(--bg-soft) !important;
  border: 1px solid var(--border) !important;
  color: #fff !important;
  border-radius: 12px !important;
  font-size: 14px !important;
  box-shadow: none !important;
}

.form-control::placeholder {
  color: var(--text-dim) !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(9, 193, 111, .15) !important;
  background: var(--bg-soft) !important;
  color: #fff !important;
}

.input-group-text {
  cursor: pointer;
  transition: all .2s ease;
}

.input-group-text:hover {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
}

/* --- Smart dark cards (withdraw preview etc.) --- */
.card--custom {
  background: var(--cardBgGradient) !important;
  border: 1px solid var(--border) !important;
  border-radius: 20px !important;
  box-shadow: var(--shadow) !important;
}

.card--custom .sererated-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card--custom .sererated-box h4 {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .4px;
  margin: 0;
}

.card--custom .sererated-box p {
  color: #fff;
  font-weight: 800;
  font-size: 14.5px;
  margin: 0;
}

/* --- Smart buttons --- */
.btn-custom {
  background: var(--primary);
  border: none;
  color: #000 !important;
  font-weight: 800;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 12px;
  transition: all .2s ease;
  box-shadow: 0 0 16px rgba(9, 193, 111, .3);
}

.btn-custom:hover {
  background: var(--primary-hover);
  color: #000 !important;
  transform: translateY(-1px);
}

/* --- Smart pagination --- */
.pagination .page-link {
  background: var(--surface-2) !important;
  border: 1px solid var(--border) !important;
  color: var(--text-muted) !important;
  border-radius: 10px !important;
  margin: 0 3px;
  font-weight: 700;
}

.pagination .page-item.active .page-link {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #000 !important;
  box-shadow: 0 0 12px rgba(9, 193, 111, .3);
}

.pagination .page-link:hover {
  color: var(--primary) !important;
  border-color: var(--primary) !important;
}

/* --- Small niceties --- */
.heading h1 {
  font-family: var(--font-head);
  font-weight: 800;
}

@media (max-width: 480px) {
  .table > :not(caption) > * > * { padding: 10px 12px; }
  .my-form { padding: 20px 16px; border-radius: 16px; }
}

/* ================= LIGHT THEME (body.light-theme toggle) ================= */
body.light-theme {
  --bg: #eef1f6;
  --bg-soft: #f7f9fc;
  --surface: #ffffff;
  --surface-2: #f4f6fa;
  --surface-3: #e9edf3;
  --border: rgba(15, 23, 42, .12);
  --border-strong: rgba(9, 193, 111, .55);
  --text: #0f172a;
  --text-muted: #5b6472;
  --text-dim: #8a93a3;
  --shadow: 0 20px 45px -15px rgba(15, 23, 42, .16);
  --glow: 0 0 20px rgba(9, 193, 111, .28);
  background: var(--bg);
  color: var(--text);
}
body.light-theme .navbar {
  background: rgba(255, 255, 255, .94) !important;
  border-bottom-color: var(--border);
}
body.light-theme .mobile-bottom-bar {
  background: rgba(255, 255, 255, .95);
  border-color: var(--border);
  box-shadow: 0 12px 34px rgba(15, 23, 42, .18), 0 0 22px rgba(9, 193, 111, .12), inset 0 1px 0 rgba(255, 255, 255, .8);
}
body.light-theme .mobile-bottom-item { color: var(--text-muted); }
body.light-theme .site-logo img { filter: drop-shadow(0 0 14px rgba(9, 193, 111, .35)); }
body.light-theme .dropdown-menu { background: #fff !important; border-color: var(--border) !important; }
body.light-theme .form-control,
body.light-theme .offer-search-box input {
  background: var(--surface-2) !important;
  border-color: var(--border) !important;
  color: var(--text) !important;
}
body.light-theme .form-control::placeholder,
body.light-theme .offer-search-box input::placeholder { color: var(--text-dim); }

/* text that was hardcoded white */
body.light-theme .fc-offer-title,
body.light-theme .fc-offer-htitle,
body.light-theme .fc-section-title,
body.light-theme .featured-title,
body.light-theme .stat-num,
body.light-theme .summary-card b,
body.light-theme .fc-partner-card div,
body.light-theme .offerwall-title,
body.light-theme .fc-offer-title-row { color: var(--text) !important; }

body.light-theme .fc-offer-desc,
body.light-theme .fc-offer-hdesc,
body.light-theme .fc-section-sub { color: var(--text-muted); }

body.light-theme .fc-offer-card,
body.light-theme .fc-offer-hcard,
body.light-theme .fc-offer-row,
body.light-theme .fc-partner-card,
body.light-theme .summary-card,
body.light-theme .card,
body.light-theme .auth-card { background: var(--surface); border-color: var(--border); }

body.light-theme .fc-offer-card:hover,
body.light-theme .fc-offer-hcard:hover,
body.light-theme .fc-offer-row:hover,
body.light-theme .fc-partner-card:hover { border-color: var(--primary); }

body.light-theme .fc-cat-chip,
body.light-theme .fc-dev-badge { background: rgba(15, 23, 42, .05); border-color: var(--border); color: var(--text-muted); }
body.light-theme .fc-offer-payout,
body.light-theme .fc-offer-hpayout { color: var(--primary); }

body.light-theme .filter-tab-btn { background: var(--surface); border-color: var(--border); color: var(--text-muted); }
body.light-theme .filter-tab-btn:hover { color: #000; }

/* ticker */
body.light-theme .live-leads-bar { background: var(--surface); border-color: var(--border); }
body.light-theme .live-leads-bar .live-stat.item { background: var(--surface-2); border-color: var(--border); }
body.light-theme .live-leads-bar .live-stat.item span { color: var(--text-muted); }

/* profile page */
body.light-theme .profile-table thead th { color: var(--text-muted); }
body.light-theme .profile-table td { color: var(--text); }
body.light-theme .xp-bar { background: rgba(15, 23, 42, .12); }

/* leaderboard podium — keep the podium dark in light mode so white names stay readable */
body.light-theme .podium-box {
  background: #171c26;
  border-color: rgba(255, 255, 255, .09);
}
body.light-theme .podium-box.rank-1 {
  background: linear-gradient(180deg, rgba(255, 193, 7, .16) 0%, #171c26 100%);
  border-color: rgba(255, 193, 7, .5);
}

/* withdraw/transactions/referral tables keep readable text on light cards */
body.light-theme .table--custom td,
body.light-theme .table td { color: var(--text); }

/* chat panel stays dark & readable in light mode */
body.light-theme #chat,
body.light-theme .chat-panel { background: var(--surface); }
body.light-theme .chat-message,
body.light-theme .chat-box { color: var(--text); }

/* footer */
body.light-theme footer,
body.light-theme .site-footer { background: var(--surface); border-top-color: var(--border); }

/* tables (admin + user) */
body.light-theme .table { color: var(--text); }
body.light-theme .table thead th { color: var(--text-muted); }

/* buttons secondary */
body.light-theme .btn-outline-light { border-color: var(--border); color: var(--text); }

/* keep toasts + splash dark regardless of theme */
body.light-theme .ea-earn-toast,
body.light-theme #ea-toast-wrap .ea-earn-toast { background: linear-gradient(145deg, #161b2e, #101422); border-color: var(--primary); }
body.light-theme .fc-splash { background: #07090e; }

/* ===================== EARNARENA PREMIUM LAYER ===================== */

/* Scroll progress bar — top of viewport */
#ea-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, #09c16f, #4ade80, #ffc107);
  box-shadow: 0 0 12px rgba(9, 193, 111, .6);
  z-index: 99999; border-radius: 0 4px 4px 0; pointer-events: none;
}

/* Aurora ambient background — living gradient blobs behind everything */
body::before {
  content: ""; position: fixed; inset: -20%;
  background:
    radial-gradient(38vw 38vw at 12% 8%, rgba(9, 193, 111, .10), transparent 62%),
    radial-gradient(34vw 34vw at 88% 18%, rgba(255, 193, 7, .06), transparent 62%),
    radial-gradient(30vw 30vw at 70% 78%, rgba(74, 222, 128, .07), transparent 62%),
    radial-gradient(26vw 26vw at 25% 70%, rgba(9, 193, 111, .05), transparent 60%);
  z-index: -2; pointer-events: none;
  animation: eaAurora 26s ease-in-out infinite alternate;
  filter: blur(10px);
}
@keyframes eaAurora {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-2%, 1.5%, 0) scale(1.06); }
  100% { transform: translate3d(1.5%, -1%, 0) scale(1.02); }
}
body.light-theme::before {
  background:
    radial-gradient(38vw 38vw at 12% 8%, rgba(9, 193, 111, .13), transparent 62%),
    radial-gradient(34vw 34vw at 88% 18%, rgba(255, 193, 7, .10), transparent 62%),
    radial-gradient(30vw 30vw at 70% 78%, rgba(74, 222, 128, .11), transparent 62%);
}

/* Hero headline animated gradient highlight */
.banner h1 span.highlight {
  background: linear-gradient(90deg, #09c16f, #4ade80, #ffc107, #09c16f);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: eaGradient 6s linear infinite;
  filter: drop-shadow(0 0 18px rgba(9, 193, 111, .35));
}
@keyframes eaGradient { 0% { background-position: 0% 0; } 100% { background-position: 300% 0; } }

/* Premium button — shine sweep on hover */
.btn-freecash, .getstarted .btn {
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn-freecash:hover, .getstarted .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -8px var(--primary-glow), var(--glow) !important;
}
.btn-freecash::after, .getstarted .btn::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
  animation: eaShine 3.2s ease-in-out infinite;
  z-index: 1; pointer-events: none;
}
@keyframes eaShine { 0%, 55% { left: -80%; } 100% { left: 130%; } }

/* Card premium hover — glow border sweep */
.offer-card, .fc-hot-card, .part-box, .stat-box {
  position: relative;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.offer-card:hover, .fc-hot-card:hover, .part-box:hover, .stat-box:hover {
  transform: translateY(-4px);
  border-color: rgba(9, 193, 111, .45) !important;
  box-shadow: 0 18px 40px -14px rgba(9, 193, 111, .28);
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); will-change: opacity, transform; }
.reveal.reveal-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Sticky navbar glass upgrade on scroll */
.navbar.ea-scrolled {
  background: rgba(7, 9, 14, .72) !important;
  box-shadow: 0 10px 34px -12px rgba(0, 0, 0, .65), 0 1px 0 rgba(9, 193, 111, .12);
}
body.light-theme .navbar.ea-scrolled { background: rgba(255, 255, 255, .78) !important; }

/* ============================================================
   EA PREMIUM V2 — refined surfaces, softer depth, glass cards
   Keeps every existing class; upgrades the look & feel.
   ============================================================ */

:root {
  --ea-glass: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  --ea-glass-2: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  --ea-inset: inset 0 1px 0 rgba(255,255,255,.07);
  --ea-shadow: 0 24px 60px -20px rgba(0,0,0,.75);
  --ea-glow: 0 12px 40px -12px rgba(9,193,111,.30);
}

/* --- Navbar: deeper glass + hairline gradient border --- */
.navbar {
  background: rgba(6, 9, 16, .78) !important;
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border-bottom: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 8px 30px -14px rgba(0,0,0,.6);
}
.navbar::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(9,193,111,.35), transparent);
  pointer-events: none;
}
.site-logo img { filter: drop-shadow(0 0 12px rgba(9,193,111,.4)); }

/* --- Headings: tighter, bolder, premium --- */
h1, h2, h3, h4, h5, h6 { letter-spacing: -.025em; }

/* --- Buttons: gradient + glow (no more flat green) --- */
.btn-freecash, .getstarted .btn, .btn-primary, .register-btn {
  background: linear-gradient(135deg, #09c16f, #079f5b) !important;
  border: none !important;
  color: #04150c !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 30px -8px rgba(9,193,111,.55), inset 0 1px 0 rgba(255,255,255,.45) !important;
  font-weight: 900;
  letter-spacing: .03em;
  position: relative; overflow: hidden;
}
.btn-freecash:hover, .getstarted .btn:hover, .register-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px -10px rgba(9,193,111,.75), inset 0 1px 0 rgba(255,255,255,.45) !important;
  filter: brightness(1.05);
}

/* --- Cards: glass surfaces with inner highlight --- */
.offer-card, .featured-cards, .fc-offer-hcard, .fc-offer-row, .fc-partner-card,
.stat-box, .pay-box, .part-box, .fc-offer-card, .ea-streak-wrap,
.accordion-item.ea-faq-item, .cc-live-panel, .live-feed-item,
.summary-card.gradient, .top-transactions, .winner-ticker, .ticker {
  background: var(--ea-glass) !important;
  box-shadow: var(--ea-inset), var(--ea-shadow) !important;
  border-radius: 18px !important;
}
.fc-offer-hcard { background: var(--ea-glass) !important; }
.fc-offer-row:hover, .fc-offer-hcard:hover, .fc-partner-card:hover {
  box-shadow: var(--ea-inset), var(--ea-glow) !important;
}

/* --- Summary balance card: branded gradient --- */
.summary-card.gradient {
  background:
    linear-gradient(120deg, rgba(9,193,111,.18), rgba(9,193,111,.05) 45%, rgba(56,225,255,.06)),
    var(--ea-glass-2) !important;
  border: 1px solid rgba(9,193,111,.30) !important;
  border-radius: 22px !important;
  box-shadow: 0 18px 50px -18px rgba(9,193,111,.4), var(--ea-inset) !important;
}

/* --- Hero headline: refined gradient + glow --- */
.banner h1 {
  text-transform: uppercase;
  background: linear-gradient(115deg, #ffffff 25%, #cfe8dd 55%, #09c16f 95%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.trustpilot-badge {
  background: rgba(10, 16, 26, .8);
  border: 1px solid rgba(9,193,111,.28);
  box-shadow: 0 0 24px rgba(9,193,111,.12);
}

/* --- Section headings: icon chip + title --- */
.main-sections h2, .fc-section-heading .fc-section-title {
  letter-spacing: -.02em;
}
.main-sections > span:first-child {
  border-radius: 999px;
}

/* --- Inputs: dark glass (dark scheme only) --- */
body:not(.scheme-light) .form-control,
body:not(.scheme-light) .form-select,
body:not(.scheme-light) .nice-select .current {
  background: rgba(9, 13, 22, .75) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  color: #fff !important;
  border-radius: 12px !important;
}
body:not(.scheme-light) .form-control:focus,
body:not(.scheme-light) .form-select:focus {
  border-color: rgba(9,193,111,.55) !important;
  box-shadow: 0 0 0 3px rgba(9,193,111,.15) !important;
}

/* --- Dropdowns: deeper glass --- */
.dropdown-menu {
  background: rgba(13, 18, 30, .92) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px -12px rgba(0,0,0,.7), var(--ea-inset) !important;
}

/* --- Mobile bottom nav: glass dock --- */
.mobile-bottom-bar {
  background: rgba(6, 9, 16, .92) !important;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-top: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 -10px 40px -12px rgba(0,0,0,.7);
}

/* --- Footer --- */
footer { background: linear-gradient(180deg, transparent, rgba(9,193,111,.04)), var(--bg-soft); }

/* --- Live earning board rows --- */
.cc-live-offer {
  background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.02)), #0d141f !important;
  border-radius: 13px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

/* --- XP bar --- */
.xp-bar { background: rgba(255,255,255,.09); box-shadow: inset 0 1px 3px rgba(0,0,0,.4); }
.xp-bar-fill { box-shadow: 0 0 12px var(--primary); }

/* --- Wallet balance pill --- */
.wallet-dropdown-btn {
  background: linear-gradient(135deg, #09c16f, #079f5b) !important;
  box-shadow: 0 8px 24px -6px rgba(9,193,111,.55), inset 0 1px 0 rgba(255,255,255,.4) !important;
}

/* --- Toasts / notif panel glass --- */
.ea-notif-panel {
  background: rgba(13, 18, 30, .95) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}


/* ============================================================
   EarnBean — PREMIUM FREECASH-STYLE USER SIDEBAR & CLEAN LAYOUT
   ============================================================ */

:root {
    --user-sidebar-w: 240px;
    --user-sidebar-collapsed: 72px;
}

/* Sidebar Container (Fixed left drawer with independent scrolling) */
.user-sidebar {
    position: fixed !important;
    left: 0 !important;
    top: 64px !important;
    bottom: 0 !important;
    width: var(--user-sidebar-w) !important;
    background: rgba(10, 14, 23, 0.96) !important;
    border-right: 1px solid rgba(148, 163, 184, 0.08) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    z-index: 950 !important;
    display: flex !important;
    flex-direction: column !important;
    transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: visible !important;
}

.user-sidebar-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 14px 16px !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.06) !important;
    flex-shrink: 0 !important;
    height: 54px !important;
}

.user-sidebar-brand-box {
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
}

.user-sidebar-cap {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: #64748b !important;
    white-space: nowrap !important;
    transition: opacity 0.2s ease !important;
}

.user-sidebar-toggle {
    width: 32px !important;
    height: 32px !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(148, 163, 184, 0.06) !important;
    border: 1px solid rgba(148, 163, 184, 0.1) !important;
    border-radius: 8px !important;
    color: #94a3b8 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.user-sidebar-toggle:hover {
    color: #000 !important;
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 14px rgba(0, 230, 118, 0.45) !important;
}

.user-sidebar-nav {
    flex: 1 1 auto !important;
    padding: 12px 10px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(148, 163, 184, 0.12) transparent !important;
}

.user-sidebar-nav::-webkit-scrollbar {
    width: 4px !important;
}
.user-sidebar-nav::-webkit-scrollbar-track {
    background: transparent !important;
}
.user-sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.12) !important;
    border-radius: 4px !important;
}

.user-sidebar-group-title {
    padding: 10px 10px 4px !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    color: #475569 !important;
    white-space: nowrap !important;
}

.user-sidebar-link {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
    color: #94a3b8 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
}

.user-sidebar-icon-wrap {
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
    background: rgba(148, 163, 184, 0.05) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    color: #94a3b8 !important;
    font-size: 14px !important;
    transition: all 0.18s ease !important;
}

.user-sidebar-link:hover {
    background: rgba(255, 255, 255, 0.04) !important;
    color: #f1f5f9 !important;
}
.user-sidebar-link:hover .user-sidebar-icon-wrap {
    background: rgba(0, 230, 118, 0.12) !important;
    color: var(--primary) !important;
    transform: scale(1.05) !important;
}

.user-sidebar-link.active-item {
    background: linear-gradient(90deg, rgba(0, 230, 118, 0.14) 0%, rgba(0, 230, 118, 0.02) 100%) !important;
    color: #fff !important;
    font-weight: 700 !important;
}
.user-sidebar-link.active-item .user-sidebar-icon-wrap {
    background: var(--primary) !important;
    color: #000 !important;
    box-shadow: 0 0 14px rgba(0, 230, 118, 0.5) !important;
}

.user-sidebar-link.active-item::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 20% !important;
    bottom: 20% !important;
    width: 3px !important;
    border-radius: 0 4px 4px 0 !important;
    background: var(--primary) !important;
    box-shadow: 0 0 10px var(--primary) !important;
}

.sidebar-badge {
    margin-left: auto !important;
    font-size: 9.5px !important;
    font-weight: 800 !important;
    padding: 2px 7px !important;
    border-radius: 999px !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
}
.badge-hot {
    background: rgba(255, 77, 106, 0.18) !important;
    color: #ff4d6a !important;
    border: 1px solid rgba(255, 77, 106, 0.3) !important;
}
.badge-daily {
    background: rgba(0, 230, 118, 0.15) !important;
    color: #00e676 !important;
    border: 1px solid rgba(0, 230, 118, 0.3) !important;
}
.badge-win {
    background: rgba(255, 171, 0, 0.18) !important;
    color: #ffab00 !important;
    border: 1px solid rgba(255, 171, 0, 0.3) !important;
}

.user-sidebar-foot {
    padding: 10px !important;
    border-top: 1px solid rgba(148, 163, 184, 0.06) !important;
    flex-shrink: 0 !important;
}

/* ============================================================
   COLLAPSED / COMPACT SIDEBAR STATE (72px)
   ============================================================ */
body.sidebar-compact .user-sidebar {
    width: var(--user-sidebar-collapsed) !important;
}

body.sidebar-compact .user-sidebar-top {
    justify-content: center !important;
    padding: 14px 8px !important;
}

body.sidebar-compact .user-sidebar-brand-box,
body.sidebar-compact .user-sidebar-cap,
body.sidebar-compact .user-sidebar-group-title,
body.sidebar-compact .user-sidebar-link .link-label,
body.sidebar-compact .sidebar-badge {
    display: none !important;
}

body.sidebar-compact .user-sidebar-link {
    justify-content: center !important;
    padding: 10px 0 !important;
}

body.sidebar-compact .user-sidebar-icon-wrap {
    width: 38px !important;
    height: 38px !important;
    font-size: 16px !important;
}

/* Floating Tooltip in Collapsed Mode */
body.sidebar-compact .user-sidebar-link:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: #141a24;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    border: 1px solid rgba(148, 163, 184, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    z-index: 1000;
    animation: tooltipFadeIn 0.15s ease-out;
}

@keyframes tooltipFadeIn {
    from { opacity: 0; transform: translateY(-50%) translateX(-6px); }
    to { opacity: 1; transform: translateY(-50%) translateX(0); }
}

/* ============================================================
   SEAMLESS OVERALL CONTAINER ALIGNMENT (NO DEAD BLACK VOID)
   ============================================================ */
.overall-container {
    padding-top: 84px !important;
    min-height: calc(100vh - 120px) !important;
    position: relative !important;
    transition: margin-left 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Logged-in user with standard expanded sidebar */
body.has-user-sidebar .overall-container {
    margin-left: var(--user-sidebar-w) !important;
    width: calc(100% - var(--user-sidebar-w)) !important;
    max-width: calc(100% - var(--user-sidebar-w)) !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
}

/* Logged-in user with compact / collapsed sidebar */
body.has-user-sidebar.sidebar-compact .overall-container {
    margin-left: var(--user-sidebar-collapsed) !important;
    width: calc(100% - var(--user-sidebar-collapsed)) !important;
    max-width: calc(100% - var(--user-sidebar-collapsed)) !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
}

/* Guest / Logged-out layout */
body.guest-layout .overall-container,
body:not(.has-user-sidebar) .overall-container {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 1320px !important;
    width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* Mobile & Tablet Responsiveness (< 992px) */
@media (max-width: 991.98px) {
    .user-sidebar {
        display: none !important;
    }
    body.has-user-sidebar .overall-container,
    body.has-user-sidebar.sidebar-compact .overall-container {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        padding-bottom: 84px !important;
    }
}


/* BULLETPROOF LTR FIX FOR LIVE TICKER */
.top-transactions,
.live-leads-bar,
.live-leads-bar *,
#live-stats-carousel,
#live-stats-carousel .owl-stage-outer,
#live-stats-carousel .owl-stage,
#live-stats-carousel .owl-item,
.live-stat,
.stat-content,
.center-content {
  direction: ltr !important;
  text-align: left !important;
}

.live-leads-bar .live-stat.item {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  padding: 6px 12px 6px 6px !important;
  background: rgba(18, 24, 38, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  transition: all .2s ease !important;
}

.live-leads-bar .stat-content {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 9px !important;
  width: 100% !important;
}

.live-leads-bar .avatar-img {
  order: 1 !important;
  position: relative !important;
  width: 28px !important;
  height: 28px !important;
  flex-shrink: 0 !important;
}

.live-leads-bar .avatar-img img {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  border: 1.5px solid rgba(9, 193, 111, 0.6) !important;
  object-fit: cover !important;
  display: block !important;
}

.live-leads-bar .live-user-dot {
  position: absolute !important;
  right: -1px !important;
  bottom: -1px !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #09c16f !important;
  border: 1.5px solid #0d111a !important;
}

.live-leads-bar .center-content {
  order: 2 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  line-height: 1.2 !important;
  min-width: 0 !important;
  text-align: left !important;
}

.live-leads-bar .live-user {
  color: #f1f5f9 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  text-align: left !important;
  display: block !important;
}

.live-leads-bar .live-offer {
  color: #94a3b8 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  display: flex !important;
  align-items: center !important;
  gap: 3px !important;
  text-align: left !important;
}

.live-leads-bar .amount {
  order: 3 !important;
  font-weight: 800 !important;
  font-size: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  white-space: nowrap !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  margin-left: 6px !important;
}

.live-leads-bar .amount.is-earn {
  color: #10b981 !important;
  background: rgba(16, 185, 129, 0.12) !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
}

.live-leads-bar .amount.is-withdraw {
  color: #fbbf24 !important;
  background: rgba(251, 191, 36, 0.12) !important;
  border: 1px solid rgba(251, 191, 36, 0.25) !important;
}

.live-leads-bar .amount img {
  width: 12px !important;
  height: 12px !important;
}
