:root {
  --c-bg: #080a0f;
  --c-surface: #0f1218;
  --c-surface2: #161b24;
  --c-border: #1e2535;
  --c-border2: #283045;
  --c-text: #eef0f6;
  --c-text2: #7d88a0;
  --c-text3: #424e64;
  --c-accent: #4ade80;
  --c-accent2: #22c55e;
  --c-accent-glow: rgba(74,222,128,0.12);
  --c-gold: #fbbf24;
  --c-gold-glow: rgba(251,191,36,0.1);
  --c-blue: #60a5fa;
  --c-blue-glow: rgba(96,165,250,0.1);
  --c-purple: #a78bfa;
  --c-red: #f87171;
  --c-orange: #fb923c;
  --c-card-hover: #141920;
  --nav-w: 248px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 4px 32px rgba(0,0,0,0.5);
  --transition: 0.2s cubic-bezier(0.4,0,0.2,1);
  --bottom-nav-h: 64px;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-head: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}
[data-theme="light"] {
  --c-bg: #f0f2f7;
  --c-surface: #ffffff;
  --c-surface2: #eaedf4;
  --c-border: #dde1ec;
  --c-border2: #cdd2e0;
  --c-text: #0d1017;
  --c-text2: #515d78;
  --c-text3: #9aa3b8;
  --c-accent: #16a34a;
  --c-accent2: #15803d;
  --c-accent-glow: rgba(22,163,74,0.08);
  --c-gold: #d97706;
  --c-gold-glow: rgba(217,119,6,0.08);
  --c-blue: #2563eb;
  --c-blue-glow: rgba(37,99,235,0.08);
  --c-purple: #7c3aed;
  --c-red: #dc2626;
  --c-orange: #ea580c;
  --c-card-hover: #f5f7fb;
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; }
body {
  font-family: var(--font-body);
  background: var(--c-bg);
  color: var(--c-text);
  min-height: 100vh;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }



/* ══════════════════════════════════
   LOGO
══════════════════════════════════ */


/* DEFAULT (dark theme) */
.logo.dark { display: none; }
.logo.light { display: block; }

/* LIGHT THEME */
html[data-theme="light"] .logo.dark { display: block; }
html[data-theme="light"] .logo.light { display: none; }


/* ══════════════════════════════════
   AUTH PAGES (Landing, Login, Signup, Reset)
══════════════════════════════════ */
.auth-root {
  display: none;
  min-height: 100vh;
  width: 100%;
  background: var(--c-bg);
  /* NOT fixed/inset — let it be normal flow so window scrolls */
}
.auth-root.active {
  display: flex;
  position: relative;
  z-index: 0;
}
.auth-root { overflow-x: hidden; }
/* When auth is active, hide the app shell completely */
#app-shell { display: none; }

/* Landing page */
.landing-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow-x: hidden; /* contain any child overflow */
}
.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(8,10,15,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
[data-theme="light"] .landing-nav {
  background: rgba(240,242,247,0.75);
}
.landing-nav.scrolled {
  border-bottom-color: var(--c-border);
  box-shadow: 0 4px 32px rgba(0,0,0,0.25);
  background: rgba(8,10,15,0.92);
}
[data-theme="light"] .landing-nav.scrolled {
  background: rgba(240,242,247,0.95);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
/* push hero down so it isn't hidden behind fixed nav */
.landing-hero { padding-top: 140px !important; }

@media (max-width: 768px) {
  .landing-nav { padding: 0 20px; }
  .landing-hero { padding-top: 96px !important; }
}
.landing-logo { display: flex; align-items: center; gap: 10px; }
.landing-logo .logo-mark {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--c-accent), var(--c-blue));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 700; font-size: 16px; color: #000;
}
.landing-logo .logo-text {
  font-family: var(--font-head);
  font-weight: 700; font-size: 18px;
}
.landing-logo .logo-text span { color: var(--c-accent); }
.landing-nav-links { display: flex; align-items: center; gap: 10px; }

.landing-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  text-align: center;
  position: relative;
}
.landing-hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--c-accent-glow) 0%, transparent 70%);
  top: -25px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  /* Prevent glow orb from creating horizontal scroll */
  max-width: 100vw;
  overflow: hidden;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--c-accent-glow);
  border: 1px solid rgba(74,222,128,0.2);
  color: var(--c-accent);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 24px;
  font-family: var(--font-mono);
}
.hero-title {
  font-family: 'Poppins','Roboto',sans-serif;
  font-weight: 700;
  font-size: clamp(38px, 6vw, 76px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 800px;
  margin-bottom: 20px;
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--c-accent), var(--c-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 17px;
  color: var(--c-text2);
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--c-border);
  flex-wrap: wrap;
  justify-content: center;
}
.hero-stat-val {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.02em;
  color: var(--c-accent);
}
.hero-stat-label { font-size: 12px; color: var(--c-text3); margin-top: 4px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; }

.features-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  padding: 48px;
  border-top: 1px solid var(--c-border);
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}
.feature-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color var(--transition), transform var(--transition);
}
.feature-card:hover { border-color: var(--c-border2); transform: translateY(-2px); }
.feature-icon { font-size: 28px; margin-bottom: 12px; }
.feature-title { font-family: var(--font-head); font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.feature-desc { font-size: 13px; color: var(--c-text2); line-height: 1.6; }

/* Auth forms */
.auth-form-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}
.auth-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 40px;
  width: 100%;
  max-width: 420px;
  animation: fadeIn 0.3s ease;
}
.auth-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 32px; }
.auth-title { font-family: var(--font-head); font-weight: 700; font-size: 24px; margin-bottom: 6px; letter-spacing: -0.02em; }
.auth-sub { font-size: 13px; color: var(--c-text2); margin-bottom: 28px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--c-border); }
.auth-divider span { font-size: 11px; color: var(--c-text3); font-family: var(--font-mono); }
.auth-switch { text-align: center; font-size: 13px; color: var(--c-text2); margin-top: 20px; }
.auth-switch a { color: var(--c-accent); cursor: pointer; font-weight: 600; }
.auth-switch a:hover { text-decoration: underline; }
.auth-error {
  background: rgba(248,113,113,0.08);
  border: 1px solid rgba(248,113,113,0.2);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--c-red);
  margin-bottom: 16px;
  display: none;
}
.auth-error.visible { display: block; }
.auth-loading {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--c-text2);
  justify-content: center;
  margin-top: 12px;
}
.auth-loading.visible { display: flex; }
.spinner {
  width: 16px; height: 16px;
  border: 2px solid var(--c-border2);
  border-top-color: var(--c-accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ══════════════════════════════════
   SIDEBAR
══════════════════════════════════ */
.sidebar {
  width: var(--nav-w);
  background: var(--c-surface);
  border-right: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 300;
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
  /* Vertical scroll when content exceeds viewport */
  overflow-y: auto;
  overflow-x: hidden;
  /* Smooth momentum scroll on iOS */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* hide scrollbar — sidebar is not wide enough for it */
}
.sidebar::-webkit-scrollbar { display: none; }
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(2px);
  z-index: 299;
}
.sidebar-overlay.active { display: block; }

.sidebar-logo {
  padding: 22px 18px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--c-border);
}
.logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--c-accent), var(--c-blue));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 700; font-size: 15px; color: #000;
  flex-shrink: 0;
}
.logo-text { font-family: var(--font-head); font-weight: 700; font-size: 17px; letter-spacing: -0.02em; line-height: 1; }
.logo-text span { color: var(--c-accent); }
.sidebar-close-btn {
  display: none;
  margin-left: auto;
  width: 30px; height: 30px;
  background: var(--c-surface2);
  border: 1px solid var(--c-border);
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  align-items: center;
  justify-content: center;
  color: var(--c-text2);
  flex-shrink: 0;
}

.sidebar-balance {
  margin: 14px 12px;
  background: linear-gradient(135deg, var(--c-accent-glow), var(--c-blue-glow));
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.balance-label { font-size: 10px; color: var(--c-text3); text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-mono); }
.balance-amount { font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--c-accent); margin-top: 2px; letter-spacing: -0.02em; }
.balance-usd { font-size: 11px; color: var(--c-text3); font-family: var(--font-mono); margin-top: 2px; }

.nav-section-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--c-text3); padding: 14px 18px 5px; font-family: var(--font-mono); }
.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  margin: 2px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--c-text2);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
  border: 1px solid transparent;
}
.nav-item:hover { background: var(--c-surface2); color: var(--c-text); }
.nav-item.active { background: var(--c-accent-glow); color: var(--c-accent); border-color: rgba(74,222,128,0.18); }
[data-theme="light"] .nav-item.active { border-color: rgba(22,163,74,0.18); }
.nav-item .icon { font-size: 16px; width: 20px; text-align: center; flex-shrink: 0; }
.nav-badge { margin-left: auto; background: var(--c-accent); color: #000; font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 20px; font-family: var(--font-mono); }
.nav-badge.gold { background: var(--c-gold); }
.nav-badge.blue { background: var(--c-blue); color: #fff; }
.sidebar-bottom {
  margin-top: auto;
  padding: 14px 12px;
  border-top: 1px solid var(--c-border);
  position: sticky;
  bottom: 0;
  background: var(--c-surface); /* match sidebar bg so it's opaque when scrolling */
  z-index: 1;
  flex-shrink: 0;
}

/* ══════════════════════════════════
   MAIN
══════════════════════════════════ */
.main { margin-left: var(--nav-w); display: flex; flex-direction: column; min-height: 100vh; }

/* ══════════════════════════════════
   TOPBAR
══════════════════════════════════ */
.topbar {
  height: 60px;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 14px;
  position: sticky; top: 0;
  z-index: 50;
}
.topbar-hamburger {
  display: none;
  width: 36px; height: 36px;
  background: var(--c-surface2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 17px;
  align-items: center;
  justify-content: center;
  color: var(--c-text2);
  flex-shrink: 0;
  transition: all var(--transition);
}
.topbar-hamburger:hover { color: var(--c-text); }
.topbar-title { font-family: var(--font-head); font-weight: 700; font-size: 17px; flex: 1; }
.topbar-actions { display: flex; align-items: center; gap: 6px; }

/* ══════════════════════════════════
   BOTTOM NAV (Mobile)
══════════════════════════════════ */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--bottom-nav-h);
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  z-index: 200;
  padding: 0 8px;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.bottom-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 100%;
}
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--c-text3);
  transition: all var(--transition);
  min-width: 52px;
  position: relative;
}
.bottom-nav-item.active { color: var(--c-accent); }
.bottom-nav-item.active .bn-icon { transform: translateY(-1px); }
.bottom-nav-item .bn-dot {
  position: absolute;
  top: 6px; right: 10px;
  width: 7px; height: 7px;
  background: var(--c-red);
  border-radius: 50%;
  border: 1.5px solid var(--c-surface);
}
.bn-icon { font-size: 20px; line-height: 1; }
.bn-label { font-size: 10px; font-weight: 600; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.04em; }

/* ══════════════════════════════════
   BUTTONS
══════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition);
}
.btn-ghost { background: var(--c-surface2); color: var(--c-text2); border: 1px solid var(--c-border); }
.btn-ghost:hover { color: var(--c-text); background: var(--c-card-hover); }
.btn-primary { background: var(--c-accent); color: #000; }
.btn-primary:hover { background: var(--c-accent2); transform: translateY(-1px); }
.btn-gold { background: var(--c-gold); color: #000; }
.btn-gold:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-danger { background: rgba(248,113,113,0.1); color: var(--c-red); border: 1px solid rgba(248,113,113,0.25); }
.btn-danger:hover { background: rgba(248,113,113,0.18); }
.btn-lg { padding: 12px 28px; font-size: 15px; border-radius: var(--radius); }
.btn-full { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.theme-toggle {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--c-surface2);
  border: 1px solid var(--c-border);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: all var(--transition);
  color: var(--c-text2);
}
.theme-toggle:hover { color: var(--c-text); }
.avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-accent), var(--c-blue));
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #000;
  cursor: pointer;
  flex-shrink: 0;
  font-family: var(--font-head);
}

/* ══════════════════════════════════
   PAGES
══════════════════════════════════ */
.page { display: none; padding: 26px; animation: fadeIn 0.25s ease; }
.page.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ══════════════════════════════════
   CARDS & GRIDS
══════════════════════════════════ */
.card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 20px; transition: border-color var(--transition); }
.card:hover { border-color: var(--c-border2); }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 16px; overflow: visible; }

/* ══════════════════════════════════
   STAT CARDS
══════════════════════════════════ */
.stat-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 20px 22px; position: relative; overflow: hidden; }
.stat-card::before { content: ''; position: absolute; top: 0; right: 0; width: 80px; height: 80px; border-radius: 50%; opacity: 0.06; transform: translate(20px,-20px); }
.stat-card.green::before { background: var(--c-accent); }
.stat-card.gold::before { background: var(--c-gold); }
.stat-card.blue::before { background: var(--c-blue); }
.stat-card.purple::before { background: var(--c-purple); }
.stat-icon { width: 38px; height: 38px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 14px; }
.stat-icon.green { background: var(--c-accent-glow); }
.stat-icon.gold { background: var(--c-gold-glow); }
.stat-icon.blue { background: var(--c-blue-glow); }
.stat-icon.purple { background: rgba(167,139,250,0.1); }
.stat-label { font-size: 11px; color: var(--c-text2); margin-bottom: 4px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.05em; }
.stat-value { font-family: var(--font-head); font-weight: 700; font-size: 26px; letter-spacing: -0.03em; line-height: 1; }
.stat-value.green { color: var(--c-accent); }
.stat-value.gold { color: var(--c-gold); }
.stat-value.blue { color: var(--c-blue); }
.stat-value.purple { color: var(--c-purple); }
.stat-change { font-size: 11px; color: var(--c-text3); margin-top: 6px; }
.stat-change .up { color: var(--c-accent); }
.stat-change .down { color: var(--c-red); }

/* Loading skeleton */
.skeleton { background: linear-gradient(90deg, var(--c-surface2) 25%, var(--c-border) 50%, var(--c-surface2) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 6px; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ══════════════════════════════════
   SECTION HEADER
══════════════════════════════════ */
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.section-title { font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.section-sub { font-size: 12px; color: var(--c-text3); margin-top: 2px; }
.see-all { font-size: 12px; color: var(--c-accent); cursor: pointer; font-weight: 600; }
.see-all:hover { text-decoration: underline; }

/* ══════════════════════════════════
   OFFER CARDS
══════════════════════════════════ */
.offer-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 18px; cursor: pointer; transition: all var(--transition); display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.offer-card:hover { border-color: var(--c-accent); background: var(--c-card-hover); transform: translateY(-3px); box-shadow: var(--shadow); z-index: 10; }
.offer-header { display: flex; align-items: flex-start; gap: 12px; }
.offer-logo { width: 46px; height: 46px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; background: var(--c-surface2); border: 1px solid var(--c-border); overflow: hidden; }
.offer-logo img { width: 100%; height: 100%; object-fit: cover; }
.offer-info { flex: 1; min-width: 0; }
.offer-name { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.offer-network { font-size: 11px; color: var(--c-text3); font-family: var(--font-mono); margin-top: 2px; }
.offer-reward { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--c-gold); letter-spacing: -0.02em; white-space: nowrap; }
.offer-reward span { font-size: 11px; color: var(--c-text3); font-family: var(--font-body); font-weight: 500; }
.offer-desc { font-size: 12px; color: var(--c-text2); line-height: 1.5; }
.offer-footer { display: flex; align-items: center; justify-content: space-between; }
.offer-tag { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 3px 8px; border-radius: 20px; font-family: var(--font-mono); }
.offer-tag.easy { background: rgba(74,222,128,0.1); color: var(--c-accent); }
.offer-tag.medium { background: rgba(251,191,36,0.1); color: var(--c-gold); }
.offer-tag.hard { background: rgba(248,113,113,0.1); color: var(--c-red); }
.offer-payout { font-size: 11px; color: var(--c-text3); font-family: var(--font-mono); display: flex; align-items: center; gap: 4px; }

/* ══════════════════════════════════
   OFFERWALL CARDS
══════════════════════════════════ */
.offerwall-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 20px; cursor: pointer; transition: all var(--transition); }
.offerwall-card:hover { border-color: var(--c-border2); transform: translateY(-2px); box-shadow: var(--shadow); }
.offerwall-logo { width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--c-surface2); border: 1px solid var(--c-border); display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 14px; overflow: hidden; }
.offerwall-logo img { width: 100%; height: 100%; object-fit: cover; }
.offerwall-name { font-family: var(--font-head); font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.offerwall-count { font-size: 12px; color: var(--c-text3); font-family: var(--font-mono); margin-bottom: 14px; }
.offerwall-rate { display: flex; align-items: center; justify-content: space-between; }
.offerwall-rate-val { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--c-accent); }
.offerwall-rate-label { font-size: 10px; color: var(--c-text3); font-family: var(--font-mono); }

/* ══════════════════════════════════
   CHECKIN
══════════════════════════════════ */
.checkin-streak {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 8px;
  /* Prevent the strip from pushing the card wider than the viewport */
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* hide scrollbar on mobile, strip is obviously swipeable */
}
.checkin-streak::-webkit-scrollbar { display: none; }
.checkin-day { flex-shrink: 0; width: 62px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); padding: 12px 8px; text-align: center; cursor: pointer; transition: all var(--transition); background: var(--c-surface); }
.checkin-day:hover { border-color: var(--c-border2); }
.checkin-day.done { background: var(--c-accent-glow); border-color: rgba(74,222,128,0.25); }
.checkin-day.today { background: linear-gradient(135deg, var(--c-accent-glow), var(--c-blue-glow)); border-color: var(--c-accent); box-shadow: 0 0 0 3px var(--c-accent-glow); }
.checkin-day.locked { opacity: 0.4; cursor: default; }
.day-label { font-size: 10px; color: var(--c-text3); text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--font-mono); }
.day-icon { font-size: 22px; margin: 6px 0; }
.day-pts { font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--c-gold); }
.checkin-day.done .day-pts { color: var(--c-accent); }

/* ══════════════════════════════════
   PROGRESS BAR
══════════════════════════════════ */
.progress-bar { height: 6px; background: var(--c-surface2); border-radius: 99px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--c-accent), var(--c-blue)); transition: width 0.6s cubic-bezier(0.4,0,0.2,1); }

/* ══════════════════════════════════
   TRANSACTIONS
══════════════════════════════════ */
.tx-list { display: flex; flex-direction: column; }
.tx-item { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--c-border); transition: background var(--transition); }
.tx-item:last-child { border-bottom: none; }
.tx-icon { width: 38px; height: 38px; border-radius: var(--radius-sm); background: var(--c-surface2); display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.tx-info { flex: 1; min-width: 0; }
.tx-name { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tx-date { font-size: 11px; color: var(--c-text3); font-family: var(--font-mono); margin-top: 2px; }
.tx-amount { font-family: var(--font-head); font-weight: 700; font-size: 15px; text-align: right; }
.tx-amount.credit { color: var(--c-accent); }
.tx-amount.debit { color: var(--c-red); }
.tx-status { font-size: 10px; padding: 2px 7px; border-radius: 99px; font-family: var(--font-mono); font-weight: 500; }
.tx-status.completed { background: var(--c-accent-glow); color: var(--c-accent); }
.tx-status.pending { background: var(--c-gold-glow); color: var(--c-gold); }
.tx-status.failed { background: rgba(248,113,113,0.1); color: var(--c-red); }

/* ══════════════════════════════════
   REFER
══════════════════════════════════ */
.refer-hero { background: linear-gradient(135deg, #0a1f14 0%, #0a1524 100%); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 36px; text-align: center; position: relative; overflow: hidden; }
[data-theme="light"] .refer-hero { background: linear-gradient(135deg, #e6f9ef 0%, #e6eeff 100%); }
.refer-hero::before { content: '✦'; position: absolute; top: -20px; right: -20px; font-size: 140px; opacity: 0.03; color: var(--c-accent); pointer-events: none; }
.refer-title { font-family: var(--font-head); font-weight: 700; font-size: 28px; letter-spacing: -0.03em; margin-bottom: 8px; }
.refer-sub { color: var(--c-text2); font-size: 14px; margin-bottom: 24px; line-height: 1.5; }
.refer-code-box { display: inline-flex; align-items: center; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-sm); overflow: hidden; margin: 0 auto; }
.refer-code { padding: 11px 20px; font-family: var(--font-mono); font-size: 15px; font-weight: 500; letter-spacing: 0.12em; color: var(--c-accent); }
.refer-copy { padding: 11px 16px; background: var(--c-accent); color: #000; font-size: 12px; font-weight: 700; cursor: pointer; border: none; font-family: var(--font-body); transition: all var(--transition); }
.refer-copy:hover { background: var(--c-accent2); }

.leaderboard-item { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: var(--radius-sm); transition: background var(--transition); }
.leaderboard-item:hover { background: var(--c-surface2); }
.leaderboard-rank { font-family: var(--font-head); font-weight: 700; font-size: 16px; width: 28px; text-align: center; color: var(--c-text3); }
.leaderboard-rank.top1 { color: var(--c-gold); }
.leaderboard-rank.top2 { color: #c0c0c0; }
.leaderboard-rank.top3 { color: #cd7f32; }
.leaderboard-info { flex: 1; }
.leaderboard-name { font-weight: 600; font-size: 14px; }
.leaderboard-refs { font-size: 11px; color: var(--c-text3); font-family: var(--font-mono); }
.leaderboard-earn { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--c-gold); }

/* ══════════════════════════════════
   PROFILE
══════════════════════════════════ */
.profile-hero { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 32px; display: flex; align-items: center; gap: 24px; margin-bottom: 20px; }
.profile-avatar { width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 28px; color: #000; flex-shrink: 0; position: relative; }
.profile-online { width: 14px; height: 14px; background: var(--c-accent); border: 3px solid var(--c-surface); border-radius: 50%; position: absolute; bottom: 2px; right: 2px; }
.profile-name { font-family: var(--font-head); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.profile-email { font-size: 13px; color: var(--c-text2); margin-top: 3px; font-family: var(--font-mono); }
.profile-badges { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.badge { font-size: 11px; padding: 4px 10px; border-radius: 99px; font-weight: 700; border: 1px solid; font-family: var(--font-mono); }
.badge.verified { background: var(--c-accent-glow); color: var(--c-accent); border-color: rgba(74,222,128,0.2); }
.badge.premium { background: var(--c-gold-glow); color: var(--c-gold); border-color: rgba(251,191,36,0.2); }
.badge.top { background: var(--c-blue-glow); color: var(--c-blue); border-color: rgba(96,165,250,0.2); }
.profile-stats { margin-left: auto; display: flex; gap: 24px; }
.p-stat { text-align: center; }
.p-stat-val { font-family: var(--font-head); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.p-stat-label { font-size: 11px; color: var(--c-text3); font-family: var(--font-mono); margin-top: 2px; }

/* ══════════════════════════════════
   FORMS
══════════════════════════════════ */
.form-group { margin-bottom: 16px; }
.form-label { font-size: 12px; color: var(--c-text2); margin-bottom: 6px; display: block; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; font-family: var(--font-mono); }
.form-input {
  width: 100%;
  padding: 11px 14px;
  background: var(--c-surface2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-input:focus { border-color: var(--c-accent); box-shadow: 0 0 0 3px var(--c-accent-glow); }
.form-input::placeholder { color: var(--c-text3); }

/* ══════════════════════════════════
   API OFFERS
══════════════════════════════════ */
.api-endpoint { background: var(--c-surface2); border: 1px solid var(--c-border); border-radius: var(--radius-sm); padding: 14px 16px; font-family: var(--font-mono); font-size: 12px; color: var(--c-accent); display: flex; align-items: center; gap: 10px; cursor: pointer; transition: all var(--transition); }
.api-endpoint:hover { border-color: var(--c-border2); }
.api-method { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 4px; background: var(--c-blue-glow); color: var(--c-blue); flex-shrink: 0; }
.api-method.post { background: var(--c-accent-glow); color: var(--c-accent); }
.api-offer-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 18px 20px; display: flex; align-items: center; gap: 16px; cursor: pointer; transition: all var(--transition); }
.api-offer-card:hover { border-color: var(--c-blue); transform: translateX(4px); }
.api-logo { width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--c-surface2); display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.api-info { flex: 1; }
.api-name { font-weight: 700; font-size: 14px; }
.api-desc { font-size: 12px; color: var(--c-text2); margin-top: 3px; }
.api-rate { text-align: right; }
.api-rate-val { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--c-blue); }
.api-rate-label { font-size: 10px; color: var(--c-text3); font-family: var(--font-mono); }

/* ══════════════════════════════════
   FILTER TABS
══════════════════════════════════ */
.filter-tabs { display: flex; gap: 4px; background: var(--c-surface2); padding: 4px; border-radius: var(--radius-sm); margin-bottom: 20px; overflow-x: auto; }
.filter-tab { padding: 7px 16px; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--c-text2); transition: all var(--transition); border: none; background: transparent; font-family: var(--font-body); white-space: nowrap; flex-shrink: 0; }
.filter-tab.active { background: var(--c-surface); color: var(--c-text); box-shadow: 0 1px 4px rgba(0,0,0,0.15); }
.filter-tab:hover:not(.active) { color: var(--c-text); }

/* ══════════════════════════════════
   UTILITIES
══════════════════════════════════ */
.mb-4 { margin-bottom: 4px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.gap-16 { gap: 16px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.w-full { width: 100%; }
.text-sm { font-size: 13px; }
.text-muted { color: var(--c-text2); }
.text-xs { font-size: 11px; color: var(--c-text3); font-family: var(--font-mono); }
.font-mono { font-family: var(--font-mono); }
.font-head { font-family: var(--font-head); font-weight: 700; }
.divider { height: 1px; background: var(--c-border); margin: 20px 0; }
.notification-dot { width: 8px; height: 8px; background: var(--c-red); border-radius: 50%; position: absolute; top: 6px; right: 6px; }

/* ══════════════════════════════════
   LOADING STATE
══════════════════════════════════ */
.loading-overlay {
  position: fixed; inset: 0;
  background: var(--c-bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 9999;
  gap: 16px;
}
.loading-overlay.hidden { display: none; }
.loading-spinner-big { width: 40px; height: 40px; border: 3px solid var(--c-border2); border-top-color: var(--c-accent); border-radius: 50%; animation: spin 0.8s linear infinite; }

/* ══════════════════════════════════
   SCROLL
══════════════════════════════════ */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--c-border2); border-radius: 99px; }

/* ══════════════════════════════════
   TOAST
══════════════════════════════════ */
.toast { position: fixed; bottom: 80px; right: 24px; background: var(--c-surface); border: 1px solid var(--c-border); border-left: 3px solid var(--c-accent); border-radius: var(--radius-sm); padding: 12px 18px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow); z-index: 9999; animation: toastIn 0.3s cubic-bezier(0.4,0,0.2,1); display: flex; align-items: center; gap: 10px; }
.toast.error { border-left-color: var(--c-red); }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ══════════════════════════════════
   EMPTY STATE
══════════════════════════════════ */
.empty-state { text-align: center; padding: 48px 24px; }
.empty-state-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.5; }
.empty-state-title { font-family: var(--font-head); font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.empty-state-sub { font-size: 13px; color: var(--c-text2); }

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .profile-stats { display: none; }
}
@media (max-width: 680px) {
.main { overflow-x: hidden; }
.page { overflow-x: hidden; }
  .sidebar { transform: translateX(-100%); box-shadow: var(--shadow); }
  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay { display: none; }
  .sidebar-overlay.active { display: block; }
  .sidebar-close-btn { display: flex; }
  .main { margin-left: 0; padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px)); }
  .bottom-nav { display: flex; flex-direction: column; justify-content: flex-start; }
  .topbar-hamburger { display: flex; }
  #topbar-withdraw-btn { display: none !important; }
  .topbar-actions .btn-ghost { display: none; } /* hide notification bell on mobile — clutter */
  .topbar-title { font-size: 15px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2 > *, .grid-3 > *, .grid-4 > *, .grid-auto > * {min-width: 0;}
  .refer-hero { padding: 24px 16px; }
  .profile-hero { flex-direction: column; text-align: center; }
  .page { padding: 16px; }
  .topbar { padding: 0 16px; }
  .toast { bottom: calc(var(--bottom-nav-h) + 12px); right: 16px; left: 16px; right: 16px; }
  .landing-nav { padding: 16px 20px; }
  .features-strip { padding: 24px 20px; }
}
@media (max-width: 420px) {
  .auth-card { padding: 28px 20px; }
  .hero-title { font-size: 32px; }
}


/* ══════════════════════════════════
   LANDING NAV — section links + mobile toggle
══════════════════════════════════ */
.landing-nav-links .ln-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.ln-link {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-text2);
  cursor: pointer;
  transition: all var(--transition);
  background: none;
  border: none;
  font-family: var(--font-body);
  white-space: nowrap;
}
.ln-link:hover { color: var(--c-text); background: var(--c-surface2); }
.landing-hamburger {
  display: none;
  width: 38px; height: 38px;
  background: var(--c-surface2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 18px;
  align-items: center;
  justify-content: center;
  color: var(--c-text2);
  transition: all var(--transition);
  flex-shrink: 0;
}
.landing-hamburger:hover { color: var(--c-text); }

.landing-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: flex-end;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.landing-mobile-menu.open { display: flex; }

.landing-mobile-menu-inner {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  border-radius: 20px 20px 0 0;
  padding: 20px 24px;
  padding-bottom: max(32px, env(safe-area-inset-bottom));
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  animation: slideUp 0.3s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.landing-mobile-menu-inner .mn-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  color: var(--c-text2);
  transition: all var(--transition);
}
.landing-mobile-menu-inner .mn-item:hover { background: var(--c-surface2); color: var(--c-text); }
.landing-mobile-menu-inner .mn-divider { height: 1px; background: var(--c-border); margin: 8px 0; }
.landing-mobile-menu-inner .mn-cta { background: var(--c-accent); color: #000; justify-content: center; border-radius: var(--radius-sm); font-size: 15px; font-weight: 700; }

/* ══════════════════════════════════
   LANDING SECTIONS
══════════════════════════════════ */
.landing-section {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 48px;
  border-top: 1px solid var(--c-border);
}
.ls-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-accent);
  margin-bottom: 12px;
}
.ls-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(26px, 4vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.ls-sub {
  font-size: 16px;
  color: var(--c-text2);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 40px;
}

/* How it works steps */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 27px; left: 60px; right: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--c-accent-glow), var(--c-border), var(--c-border), var(--c-blue-glow));
  z-index: 0;
  pointer-events: none;
}
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 700; font-size: 18px;
  color: var(--c-accent);
  margin-bottom: 20px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.step-item:hover .step-num {
  background: var(--c-accent-glow);
  border-color: rgba(74,222,128,0.3);
  box-shadow: 0 0 0 6px var(--c-accent-glow);
}
.step-title { font-family: var(--font-head); font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.step-desc { font-size: 13px; color: var(--c-text2); line-height: 1.6; }

/* Earnings showcase */
.earnings-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.earnings-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.earning-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.earning-row:hover { border-color: var(--c-border2); transform: translateX(4px); }
.earning-icon { font-size: 24px; flex-shrink: 0; }
.earning-info { flex: 1; }
.earning-name { font-weight: 700; font-size: 14px; }
.earning-type { font-size: 11px; color: var(--c-text3); font-family: var(--font-mono); margin-top: 2px; }
.earning-pts {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--c-gold);
}
.earnings-big-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(52px, 8vw, 96px);
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--c-accent), var(--c-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.testimonial-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
}
.testimonial-card:hover { border-color: var(--c-border2); transform: translateY(-2px); }
.testimonial-stars { color: var(--c-gold); font-size: 14px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-text { font-size: 14px; color: var(--c-text2); line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar {
  width: 36px; 
  height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 700; font-size: 13px; color: #fff;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: 13px; }
.testimonial-handle { font-size: 11px; color: var(--c-text3); font-family: var(--font-mono); }

/* Payout methods showcase */
.payout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
.payout-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  transition: all var(--transition);
}
.payout-card:hover { border-color: var(--c-accent); transform: translateY(-2px); }
.payout-icon { font-size: 32px; margin-bottom: 10px; }
.payout-name { font-weight: 700; font-size: 13px; }
.payout-time { font-size: 11px; color: var(--c-text3); font-family: var(--font-mono); margin-top: 4px; }

.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--c-surface);
}
.faq-item:hover { border-color: var(--c-border2); }
.faq-item.open { border-color: var(--c-accent); box-shadow: 0 0 0 3px var(--c-accent-glow); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  user-select: none;
  gap: 16px;
  color: var(--c-text);
}
.faq-question:hover { color: var(--c-accent); }
.faq-item.open .faq-question { color: var(--c-accent); }
.faq-chevron {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--c-surface2);
  border: 1px solid var(--c-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  color: var(--c-text3);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), background 0.2s, color 0.2s;
  flex-shrink: 0;
  font-style: normal;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: var(--c-accent-glow);
  color: var(--c-accent);
  border-color: rgba(74,222,128,0.2);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1), padding 0.2s;
  padding: 0 22px;
  font-size: 14px;
  color: var(--c-text2);
  line-height: 1.75;
}
.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 22px 20px;
}

/* CTA Banner */
.cta-banner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px 80px;
}
.cta-inner {
  background: linear-gradient(135deg, #0a1f14 0%, #0a1524 60%, #131023 100%);
  border: 1px solid var(--c-border);
  border-radius: 20px;
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
[data-theme="light"] .cta-inner { background: linear-gradient(135deg, #e6f9ef 0%, #e8eeff 100%); }
.cta-inner::before {
  content: '✦';
  position: absolute; top: -30px; right: -30px;
  font-size: 200px; opacity: 0.025; color: var(--c-accent);
  pointer-events: none;
}
.cta-inner::after {
  content: '✦';
  position: absolute; bottom: -40px; left: -20px;
  font-size: 160px; opacity: 0.02; color: var(--c-blue);
  pointer-events: none;
}
.cta-title { font-family: var(--font-head); font-weight: 700; font-size: clamp(28px, 4vw, 46px); letter-spacing: -0.03em; margin-bottom: 14px; line-height: 1.1; }
.cta-sub { font-size: 16px; color: var(--c-text2); margin-bottom: 32px; line-height: 1.6; max-width: 420px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Landing footer */
.landing-footer {
  border-top: 1px solid var(--c-border);
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-left { display: flex; align-items: center; gap: 10px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-link { font-size: 13px; color: var(--c-text3); cursor: pointer; transition: color var(--transition); }
.footer-link:hover { color: var(--c-text2); }
.footer-copy { font-size: 12px; color: var(--c-text3); font-family: var(--font-mono); }

/* Responsive landing sections */
@media (max-width: 768px) {
  .landing-nav .ln-links { display: none; }
  .landing-hamburger { display: flex; }
  .landing-section { padding: 48px 20px; max-width: 100vw; }
  .features-strip { padding: 24px 20px; max-width: 100vw; }
  .earnings-split { grid-template-columns: 1fr; gap: 32px; }
  .steps-grid::before { display: none; }
  .steps-grid { grid-template-columns: 1fr; gap: 24px; }
  .cta-inner { padding: 40px 24px; }
  .cta-banner { padding: 0 20px 48px; max-width: 100vw; }
  .landing-footer { padding: 24px 20px; flex-direction: column; align-items: flex-start; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .payout-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-stats { gap: 24px; }
}

/* Landing theme toggle */
.landing-theme-btn {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--c-surface2);
  border: 1px solid var(--c-border);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--c-text2);
  transition: all var(--transition);
  flex-shrink: 0;
}
.landing-theme-btn:hover { color: var(--c-text); background: var(--c-border); }


    /* Go to top */
.go-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  color: var(--c-text2);
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s, color 0.2s, border-color 0.2s;
  pointer-events: none;
}
.go-top.visible {
  opacity: 1;
  transform: none;
  pointer-events: all;
}
.go-top:hover {
  background: var(--c-accent);
  color: #000;
  border-color: var(--c-accent);
}

/* Live payout popups */
.payout-popup {
  position: fixed;
  bottom: 32px; left: 24px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-gold);
  border-radius: var(--radius);
  padding: 12px 16px;
  min-width: 260px;
  max-width: 320px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: popupIn 0.35s cubic-bezier(0.34,1.56,0.64,1);
  transition: opacity 0.3s, transform 0.3s;
}
.payout-popup.hiding {
  opacity: 0;
  transform: translateX(-12px);
}
@keyframes popupIn {
  from { opacity: 0; transform: translateX(-24px) scale(0.95); }
  to   { opacity: 1; transform: none; }
}
.pp-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; color: #000;
  font-family: var(--font-head);
}
.pp-body { flex: 1; min-width: 0; }
.pp-name { font-weight: 700; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-detail { font-size: 11px; color: var(--c-text3); font-family: var(--font-mono); margin-top: 2px; }
.pp-amount { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--c-gold); white-space: nowrap; flex-shrink: 0; }

/* Redeem page */
.redeem-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 22px;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.redeem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-accent), var(--c-blue));
  opacity: 0;
  transition: opacity var(--transition);
}
.redeem-card:hover { border-color: var(--c-accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.redeem-card:hover::before { opacity: 1; }
.redeem-card-icon { font-size: 36px; }
.redeem-card-name { font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.redeem-card-desc { font-size: 12px; color: var(--c-text2); line-height: 1.5; }
.redeem-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.redeem-card-min { font-size: 11px; color: var(--c-text3); font-family: var(--font-mono); }
.redeem-card-rate { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--c-gold); }

/* SweetAlert-style dialog */
.sa-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  z-index: 8000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}
.sa-dialog {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 20px;
  padding: 36px 32px;
  width: 100%;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  animation: saSlideUp 0.3s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
}
@keyframes saSlideUp {
  from { opacity: 0; transform: translateY(24px) scale(0.95); }
  to   { opacity: 1; transform: none; }
}
.sa-icon { font-size: 52px; margin-bottom: 16px; line-height: 1; }
.sa-title { font-family: var(--font-head); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; margin-bottom: 8px; }
.sa-sub { font-size: 13px; color: var(--c-text2); line-height: 1.6; margin-bottom: 24px; }
.sa-input-wrap { margin-bottom: 20px; text-align: left; }
.sa-input-label { font-size: 11px; color: var(--c-text2); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; display: block; font-weight: 600; }
.sa-input { width: 100%; padding: 11px 14px; background: var(--c-surface2); border: 1px solid var(--c-border); border-radius: var(--radius-sm); color: var(--c-text); font-family: var(--font-body); font-size: 14px; outline: none; transition: border-color var(--transition), box-shadow var(--transition); }
.sa-input:focus { border-color: var(--c-accent); box-shadow: 0 0 0 3px var(--c-accent-glow); }
.sa-balance-info { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: var(--c-surface2); border: 1px solid var(--c-border); border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 13px; }
.sa-balance-val { font-family: var(--font-head); font-weight: 700; color: var(--c-accent); }
.sa-buttons { display: flex; gap: 10px; }
.sa-buttons .btn { flex: 1; justify-content: center; }
.sa-close { position: absolute; top: 16px; right: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--c-surface2); border: 1px solid var(--c-border); cursor: pointer; font-size: 14px; display: flex; align-items: center; justify-content: center; color: var(--c-text3); transition: all var(--transition); }
.sa-close:hover { color: var(--c-text); }
.sa-result-icon { font-size: 64px; margin-bottom: 16px; animation: saIconPop 0.4s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes saIconPop { from { transform: scale(0); } to { transform: scale(1); } }
.sa-loading-dots::after {
  content: '...';
  animation: dots 1.2s steps(4, end) infinite;
}
@keyframes dots { 0%,20%{content:'.'} 40%{content:'..'} 60%,100%{content:'...'} }

/* Offerwall embed page */
.offerwall-embed-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.offerwall-embed-card:hover { border-color: var(--c-border2); }
.offerwall-embed-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-surface2);
}
.offerwall-embed-logo {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.offerwall-embed-name { font-family: var(--font-head); font-weight: 700; font-size: 14px; }
.offerwall-embed-meta { font-size: 11px; color: var(--c-text3); font-family: var(--font-mono); margin-top: 2px; }
.offerwall-embed-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.offerwall-iframe-wrap {
  position: relative;
  width: 100%;
  height: 520px;
  background: var(--c-surface2);
}
.offerwall-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.offerwall-iframe-loading {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
  background: var(--c-surface2);
  font-size: 13px; color: var(--c-text3);
}
.offerwall-iframe-loading.hidden { display: none; }


/* OTP input */
.otp-wrap {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}
.otp-digit {
  width: 48px; height: 56px;
  background: var(--c-surface2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  color: var(--c-text);
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  caret-color: var(--c-accent);
}
.otp-digit:focus {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px var(--c-accent-glow);
}
.otp-digit.filled { border-color: var(--c-accent); }
.otp-resend { text-align: center; font-size: 13px; color: var(--c-text2); margin-bottom: 16px; }
.otp-resend button { background: none; border: none; color: var(--c-accent); cursor: pointer; font-weight: 600; font-size: 13px; font-family: var(--font-body); }
.otp-resend button:disabled { color: var(--c-text3); cursor: default; }
.otp-email-hint { text-align: center; font-size: 13px; color: var(--c-text2); margin-bottom: 20px; }
.otp-email-hint strong { color: var(--c-text); }

/* ══════════════════════════════════
   DASHBOARD V2 — DISCOVER
══════════════════════════════════ */
.dv2-section { margin-bottom: 36px; }
.dv2-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}
.dv2-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
}
.dv2-section-title .dv2-icon {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--c-accent), var(--c-blue));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.dv2-scroll-btns { display: flex; gap: 6px; }
.dv2-scroll-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--c-surface2);
  border: 1px solid var(--c-border);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  color: var(--c-text2);
  transition: all var(--transition);
  flex-shrink: 0;
}
.dv2-scroll-btn:hover { background: var(--c-surface); color: var(--c-text); border-color: var(--c-border2); }
.dv2-view-all {
  font-size: 12px;
  color: var(--c-accent);
  cursor: pointer;
  font-weight: 600;
  white-space: nowrap;
}
.dv2-view-all:hover { text-decoration: underline; }

/* Horizontal scroll track */
.dv2-track-wrap { 
  position: relative; 
  overflow: visible;
}
.dv2-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  padding: 8px 4px 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.dv2-track::-webkit-scrollbar { display: none; }

/* ── Hot Offer Card ── */
.hot-offer-card {
  flex-shrink: 0;
  width: 148px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  z-index: 1;
}
.hot-offer-card:hover {
  border-color: var(--c-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.3);
  z-index: 10;
  overflow: visible;
}
.hot-offer-card:hover .hot-offer-thumb {
  border-radius: var(--radius) var(--radius) 0 0;
}
.hot-offer-thumb {
  width: 100%;
  height: 100px;
  background: var(--c-surface2);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
}
.hot-offer-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hot-offer-platforms {
  position: absolute;
  top: 6px; left: 6px;
  display: flex; gap: 3px;
}
.hot-offer-platform-icon {
  width: 20px; height: 20px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  color: #fff;
}
.hot-offer-body { padding: 10px 10px 12px; }
.hot-offer-name {
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}
.hot-offer-desc {
  font-size: 11px;
  color: var(--c-text2);
  overflow: hidden;
  text-overflow: ellipsis;
  height: 30px;
  /*white-space: nowrap;*/
  margin-bottom: 8px;
}
.hot-offer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.hot-offer-price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  color: var(--c-accent);
}
.hot-offer-tag {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 99px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.hot-offer-tag.game {
  background: rgba(96,165,250,0.15);
  color: var(--c-blue);
}
.hot-offer-tag.app {
  background: rgba(167,139,250,0.15);
  color: var(--c-purple);
}
[data-theme="light"] .hot-offer-tag.game {
  background: rgba(37,99,235,0.1);
  color: var(--c-blue);
}
[data-theme="light"] .hot-offer-tag.app {
  background: rgba(124,58,237,0.1);
  color: var(--c-purple);
}

/* ── Offerwall Card (v2) ── */
.ow2-card {
  flex-shrink: 0;
  width: 160px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: all var(--transition);
  border: 1px solid var(--c-border);
  z-index: 1;
}
.ow2-card:hover { 
  transform: translateY(-4px); 
  box-shadow: 0 12px 32px rgba(0,0,0,0.3); 
  border-color: var(--c-border2); 
  z-index: 10;
}
.ow2-card-bg {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px 52px;
  position: relative;
  overflow: hidden;
}
.ow2-card-bg img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  filter: brightness(1.1);
  position: relative;
  z-index: 1;
}
.ow2-card-bg .ow2-fallback-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  text-align: center;
  position: relative;
  z-index: 1;
}
.ow2-card-bonus {
  position: absolute;
  top: 10px; right: 10px;
  background: var(--c-accent);
  color: #000;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 99px;
  font-family: var(--font-mono);
  z-index: 2;
}
.ow2-card-footer {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 12px;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
[data-theme="light"] .ow2-card-footer {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(8px);
}
.ow2-card-name {
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-theme="light"] .ow2-card-name { color: var(--c-text); }
.ow2-stars { display: flex; gap: 2px; }
.ow2-star { font-size: 11px; color: var(--c-gold); }
.ow2-star.empty { opacity: 0.3; }

/* Gradient backgrounds for offerwall cards */
.ow2-grad-0 { background: linear-gradient(135deg, #0d1117, #1a2744); }
.ow2-grad-1 { background: linear-gradient(135deg, #0d1117, #1a3a2a); }
.ow2-grad-2 { background: linear-gradient(135deg, #1a1500, #2d2200); }
.ow2-grad-3 { background: linear-gradient(135deg, #0d0d1f, #1a1040); }
.ow2-grad-4 { background: linear-gradient(135deg, #001a0d, #003320); }
.ow2-grad-5 { background: linear-gradient(135deg, #1a0d00, #332000); }
.ow2-grad-6 { background: linear-gradient(135deg, #0d1a1a, #0d2626); }
.ow2-grad-7 { background: linear-gradient(135deg, #1a001a, #2a0d2a); }

[data-theme="light"] .ow2-grad-0 { background: linear-gradient(135deg, #dde8ff, #b8ccff); }
[data-theme="light"] .ow2-grad-1 { background: linear-gradient(135deg, #d6f5e3, #a8edc4); }
[data-theme="light"] .ow2-grad-2 { background: linear-gradient(135deg, #fff3d6, #ffe5a0); }
[data-theme="light"] .ow2-grad-3 { background: linear-gradient(135deg, #ede8ff, #d4c8ff); }
[data-theme="light"] .ow2-grad-4 { background: linear-gradient(135deg, #d6ffe8, #a8f0c8); }
[data-theme="light"] .ow2-grad-5 { background: linear-gradient(135deg, #fff0d6, #ffd8a0); }
[data-theme="light"] .ow2-grad-6 { background: linear-gradient(135deg, #d6f0f0, #a0dede); }
[data-theme="light"] .ow2-grad-7 { background: linear-gradient(135deg, #f5d6f5, #e8a8e8); }

/* Skeleton pulse for dv2 */
.dv2-skeleton-card {
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
}

/* ── Offerwall Dialog ── */
.ow-dialog-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 5000;
  display: flex; align-items: center; justify-content: center;
  padding: 5px;
  animation: fadeIn 0.2s ease;
}
.ow-dialog {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 18px;
  width: 100%; 
  max-width: 960px;
  max-height: 90vh;
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  animation: saSlideUp 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.ow-dialog-header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--c-border);
  flex-shrink: 0;
}
.ow-dialog-logo {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--c-surface2);
  border: 1px solid var(--c-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0; overflow: hidden;
}
.ow-dialog-logo img { width:100%; height:100%; object-fit:cover; }
.ow-dialog-title { font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.ow-dialog-meta { font-size: 11px; color: var(--c-text3); font-family: var(--font-mono); margin-top: 2px; }
.ow-dialog-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.ow-dialog-iframe-wrap {
  position: relative; flex: 1;
  min-height: 520px;
  background: var(--c-surface2);
}
.ow-dialog-iframe-wrap iframe {
  width: 100%; height: 100%;
  border: none; display: block;
  position: absolute; inset: 0;
}
.ow-dialog-loading {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; font-size: 13px; color: var(--c-text3);
  background: var(--c-surface2);
}
.ow-dialog-loading.hidden { display: none; }
@media (max-width: 680px) {
  .ow-dialog { height: 90vh; max-height: 95vh; border-radius: 16px 16px 0 0; align-self: flex-end; }
  .ow-dialog-iframe-wrap { min-height: 420px; }
}

/* ── Remixicon sizing overrides ── */
.nav-item .icon i[class^="ri-"],
.nav-item .icon i[class*=" ri-"] {
  font-size: 17px;
  line-height: 1;
}
.bn-icon i[class^="ri-"],
.bn-icon i[class*=" ri-"] {
  font-size: 21px;
  line-height: 1;
  display: block;
}
.dv2-icon i[class^="ri-"] { font-size: 14px; }
.stat-icon i[class^="ri-"] { font-size: 18px; }
.feature-icon i[class^="ri-"],
.payout-icon i[class^="ri-"] { font-size: inherit; line-height: 1; }
.topbar-hamburger i[class^="ri-"],
.sidebar-close-btn i[class^="ri-"],
.landing-hamburger i[class^="ri-"] { font-size: 18px; }
.theme-toggle i[class^="ri-"],
.landing-theme-btn i[class^="ri-"] { font-size: 17px; }
.earning-icon i[class^="ri-"] { font-size: 22px; }
.go-top i[class^="ri-"] { font-size: 18px; }
.dv2-scroll-btn i[class^="ri-"] { font-size: 16px; }
.faq-chevron i[class^="ri-"] { font-size: 14px; }
.hero-badge i[class^="ri-"] { font-size: 12px; }
.mn-item i[class^="ri-"] { font-size: 16px; }
/* topbar notification bell */
.topbar-actions .btn-ghost i[class^="ri-"] { font-size: 17px; }
/* settings links */
a i[class^="ri-"] { font-size: 14px; margin-right: 2px; }
/* btn with icon */
.btn i[class^="ri-"] { font-size: 14px; }

/* ── TOGGLE SWITCH STYLE ── */
.toggle-switch {
  width: 44px; height: 24px;
  background: var(--c-surface2);
  border: 1px solid var(--c-border);
  border-radius: 99px;
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
  flex-shrink: 0;
}
.toggle-switch::after {
  content: '';
  width: 18px; height: 18px;
  background: var(--c-text3);
  border-radius: 50%;
  position: absolute;
  top: 2px; left: 3px;
  transition: all 0.2s;
}
.toggle-switch.active { background: var(--c-accent); border-color: var(--c-accent); }
.toggle-switch.active::after { background: #fff; left: 21px; }


/* ──CUSTOM:MANUAL ── */
.text-white{
    color: #ffffff !important;
}
.hidden{
    display: none !important;
}
.cursor-pointer{
    cursor: pointer;
}

.redeem-image{
    width: 60px; height: 60px;
}

.mobile_hamburger_close{
    background:var(--c-surface2);border:1px solid var(--c-border);border-radius:8px;width:32px;height:32px;cursor:pointer;color:var(--c-text2);font-size:20px;text-align: center;
}