/* ==========================================
   POCKETPROFIT v3.0 - COMPACT APP DESIGN
   Colors: Light Theme
   ========================================== */

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

:root {
  /* Core - dark theme */
  --bg: #0b0e14;
  --bg-surface: #111827;
  --bg-card: #111827;
  --bg-hover: #1e293b;
  --bg-elevated: #1e293b;

  /* Brand - orange preserved */
  --primary: #f97316;
  --primary-light: #fb923c;
  --primary-dark: #ea580c;
  --primary-glow: rgba(249, 115, 22, 0.3);

  --secondary: #00d1b2;
  --secondary-light: #5af5dd;
  --secondary-glow: rgba(0, 209, 178, 0.2);

  --accent: #8b5cf6;
  --accent-light: #b391ff;
  --accent-glow: rgba(139, 92, 246, 0.22);

  /* Functional */
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --gold: #FB923C;
  --btn-orange: #f97316;
  --btn-orange-dark: #ea580c;
  --btn-orange-glow: rgba(249, 115, 22, 0.32);

  /* Text - light for dark bg */
  --text: #f1f5f9;
  --text-secondary: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Border - white opacity for dark bg */
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.12);

  /* Radius */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Easing */
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

/* ==========================================
   RESET & BASE
   ========================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
  font-family: var(--font-body);
  background:
    radial-gradient(1000px 450px at -5% -10%, rgba(249,115,22,0.08), transparent 55%),
    radial-gradient(900px 400px at 105% -15%, rgba(234,88,12,0.06), transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
  font-size: 14px;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
main { min-height: calc(100vh - 140px); }

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }
::selection { background: var(--primary); color: #fff; }

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(28px, 4vw, 48px); }
h2 { font-size: clamp(22px, 3vw, 32px); }
h3 { font-size: clamp(18px, 2vw, 22px); }
h4 { font-size: 16px; }
p { color: var(--text-secondary); font-size: 14px; }

/* ==========================================
   LAYOUT
   ========================================== */
.container { max-width: 1540px; margin: 0 auto; padding: 0 22px; }
.section { padding: 40px 0; position: relative; }

/* Wider app shell for user/admin areas */
.dash-v2 > .container,
.admin-v2-top .container {
  max-width: 1660px;
}

/* ==========================================
   GLASS CARDS
   ========================================== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.5);
}
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}
.card-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-elevated { background: var(--bg-elevated); }

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  min-height: 40px;
  touch-action: manipulation;
}
.btn:active { transform: scale(0.96); }

.btn-primary {
  background: linear-gradient(135deg, var(--btn-orange), var(--btn-orange-dark));
  color: #fff;
  box-shadow: 0 4px 15px var(--btn-orange-glow);
}
.btn-primary:hover {
  box-shadow: 0 6px 20px var(--btn-orange-glow);
  filter: brightness(1.1);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--btn-orange), var(--btn-orange-dark));
  color: #fff;
  box-shadow: 0 4px 15px var(--btn-orange-glow);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border-light);
  color: var(--text-secondary);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary-light); }

.btn-ghost { background: transparent; color: var(--text-muted); }
.btn-ghost:hover { background: var(--bg-hover); color: var(--text); }

.btn-success {
  background: linear-gradient(135deg, var(--btn-orange), var(--btn-orange-dark));
  color: #fff;
  box-shadow: 0 4px 15px var(--btn-orange-glow);
}
.btn-danger {
  background: linear-gradient(135deg, var(--btn-orange), var(--btn-orange-dark));
  color: #fff;
}
.btn-accent {
  background: linear-gradient(135deg, var(--btn-orange), var(--btn-orange-dark));
  color: #fff;
}

.btn-outline,
.btn-ghost,
.dash-v2-action,
.pagination-v2 a {
  border-color: rgba(249, 115, 22, 0.45);
}

.btn-outline:hover,
.btn-ghost:hover,
.dash-v2-action:hover,
.pagination-v2 a:hover {
  background: rgba(249, 115, 22, 0.12);
  color: var(--btn-orange-dark);
  border-color: var(--btn-orange);
}

.btn-sm { padding: 6px 12px; font-size: 12px; border-radius: 8px; min-height: 32px; }
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 12px; }
.btn-pill { border-radius: var(--radius-full); }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: 10px; }
.btn-block { width: 100%; }

/* ==========================================
   FORMS
   ========================================== */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.form-control {
  width: 100%;
  padding: 12px 14px;
  background: #0f172a;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  transition: all 0.3s var(--ease);
  outline: none;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
.form-control::placeholder { color: var(--text-dim); }
select.form-control { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748B'%3E%3Cpath d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
textarea.form-control { min-height: 100px; resize: vertical; }

/* ==========================================
   BADGES & STATUS
   ========================================== */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid transparent;
}
.status-pending { background: rgba(244,63,94,0.1); color: var(--warning); border-color: rgba(244,63,94,0.15); }
.status-approved { background: rgba(16,185,129,0.1); color: var(--secondary); border-color: rgba(16,185,129,0.15); }
.status-rejected { background: rgba(239,68,68,0.1); color: var(--danger); border-color: rgba(239,68,68,0.15); }
.status-info { background: rgba(249,115,22,0.1); color: var(--primary-light); border-color: rgba(249,115,22,0.15); }

/* ==========================================
   FLASH
   ========================================== */
.flash {
  padding: 12px 0;
  font-size: 13px;
  font-weight: 500;
  position: relative;
  z-index: 1000;
  animation: slideDown 0.4s var(--ease);
}
.flash-success { background: rgba(16,185,129,0.08); border-bottom: 1px solid rgba(16,185,129,0.15); color: var(--secondary); }
.flash-error { background: rgba(239,68,68,0.08); border-bottom: 1px solid rgba(239,68,68,0.15); color: var(--danger); }
.flash-warning { background: rgba(244,63,94,0.08); border-bottom: 1px solid rgba(244,63,94,0.15); color: var(--warning); }
.flash .container { display: flex; align-items: center; gap: 8px; }
.flash-close { background: none; border: none; color: inherit; font-size: 18px; cursor: pointer; margin-left: auto; opacity: 0.6; }

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar-v2 {
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar-v2.scrolled { background: rgba(15, 23, 42, 0.98); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3); }
.navbar-v2 .container { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.navbar-v2-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.navbar-v2-logo img { height: 32px; width: auto; }
.navbar-v2-logo span { font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: #f1f5f9; }
.navbar-v2-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.navbar-v2-links a {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 8px;
  color: #94a3b8; font-size: 13px; font-weight: 500;
  transition: all 0.2s var(--ease); text-decoration: none;
}
.navbar-v2-links a:hover, .navbar-v2-links a.active { color: #fb923c; background: rgba(249, 115, 22, 0.12); }

.nav-toggle-v2 {
  display: none; background: none; border: none;
  color: var(--text); font-size: 18px; cursor: pointer;
  width: 36px; height: 36px; border-radius: 8px;
  align-items: center; justify-content: center;
}
.mobile-menu-toggle {
  display: none; background: none; border: none;
  color: var(--text); font-size: 18px; cursor: pointer;
  width: 36px; height: 36px; border-radius: 8px;
  align-items: center; justify-content: center;
}
.mobile-drawer, .mobile-drawer-overlay { display: none; }

/* ==========================================
   BOTTOM NAV (Mobile App Bar)
   ========================================== */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(10, 16, 33, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  z-index: 9999;
  display: none;
  padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav-item.active { color: var(--accent-light); background: rgba(236, 72, 153, 0.08); }
.bottom-nav-item.active i { filter: drop-shadow(0 0 6px var(--accent-glow)); }
.bottom-nav-items { display: flex; justify-content: space-around; align-items: center; height: 60px; padding: 0 8px; }
.bottom-nav-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; padding: 6px 10px; border-radius: 10px;
  color: var(--text-muted); font-size: 9px; font-weight: 500;
  text-decoration: none; transition: all 0.2s var(--ease);
  min-width: 52px; flex: 1;
}
.bottom-nav-item i { font-size: 18px; transition: all 0.2s var(--ease); }
.bottom-nav-item.active { color: var(--primary-light); background: rgba(249,115,22,0.08); }
.bottom-nav-item.active i { filter: drop-shadow(0 0 6px var(--primary-glow)); }
.bottom-nav-item:active { transform: scale(0.92); }

/* ==========================================
   HERO v3 (Compact)
   ========================================== */
.hero-v2 {
  min-height: auto;
  padding: 48px 0 32px;
  position: relative;
  overflow: hidden;
}
.hero-v2::before {
  content: ''; position: absolute; top: -30%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.12), transparent 60%);
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}
.hero-v2 .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-v2-content h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fb923c, #f97316 45%, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-v2-content p { font-size: 15px; color: var(--text-muted); max-width: 480px; margin-bottom: 24px; line-height: 1.6; }
.hero-v2-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-v2-img { position: relative; display: flex; justify-content: center; }
.hero-v2-img img { width: 100%; max-width: 380px; filter: drop-shadow(0 20px 40px rgba(124,58,237,0.15)); animation: float 5s ease-in-out infinite; }

.hero-v2-trust { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.hero-v2-trust span {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px; border-radius: var(--radius-full);
  background: var(--bg-card); border: 1px solid var(--border);
  font-size: 11px; color: var(--text-muted);
}
.hero-v2-trust span i { color: var(--secondary); font-size: 9px; }

/* ==========================================
   STATS BAR
   ========================================== */
.stats-bar-v2 {
  background: linear-gradient(90deg, rgba(12,75,165,0.06), rgba(8,184,214,0.06));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.stats-bar-v2 .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-v2 {
  text-align: center;
  padding: 16px 12px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.stat-v2-icon { font-size: 24px; margin-bottom: 6px; }
.stat-v2-value { font-family: var(--font-heading); font-size: 22px; font-weight: 800; color: var(--text); }
.stat-v2-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px; }

/* ==========================================
   PLANS (Compact Cards)
   ========================================== */
.plans-v2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.plan-v2 {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.plan-v2:hover { transform: translateY(-4px); border-color: var(--border-light); }
.plan-v2.featured { border-color: rgba(249,115,22,0.2); box-shadow: 0 0 20px rgba(249,115,22,0.06); }
.plan-v2-tag {
  position: absolute; top: 12px; right: -30px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-size: 9px; font-weight: 800;
  padding: 4px 30px; transform: rotate(45deg);
  letter-spacing: 1px;
}
.plan-v2-icon { font-size: 36px; margin-bottom: 10px; }
.plan-v2-name { font-family: var(--font-heading); font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.plan-v2-range { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
.plan-v2-percent { font-family: var(--font-heading); font-size: 32px; font-weight: 800; background: linear-gradient(135deg, var(--secondary), var(--accent-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.plan-v2-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.plan-v2-list { list-style: none; text-align: left; margin-bottom: 20px; }
.plan-v2-list li { padding: 7px 0; font-size: 12px; color: var(--text-secondary); border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; }
.plan-v2-list li:last-child { border-bottom: none; }
.plan-v2-list li strong { color: var(--text); font-weight: 600; }

/* ==========================================
   EARN CARDS
   ========================================== */
.earn-v2-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.earn-v2 {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: all 0.3s var(--ease);
}
.earn-v2:hover { border-color: var(--border-light); transform: translateY(-2px); }
.earn-v2-num {
  width: 36px; height: 36px; border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 14px;
  margin-bottom: 12px; box-shadow: 0 4px 12px var(--primary-glow);
}
.earn-v2 h3 { font-size: 14px; font-weight: 700; margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.earn-v2 p { font-size: 12px; color: var(--text-muted); line-height: 1.6; margin-bottom: 10px; }
.earn-v2-tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: var(--radius-full);
  background: rgba(16,185,129,0.08); color: var(--secondary);
  font-size: 10px; font-weight: 600; border: 1px solid rgba(16,185,129,0.12);
}

/* ==========================================
   SECTION HEADER
   ========================================== */
.section-header-v2 { text-align: center; max-width: 560px; margin: 0 auto 28px; }
.section-header-v2 .icon-wrap {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 14px;
  box-shadow: 0 6px 20px var(--primary-glow);
}
.section-header-v2 h2 { margin-bottom: 8px; }
.section-header-v2 p { font-size: 14px; color: var(--text-muted); }

/* ==========================================
   GRID
   ========================================== */
.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; }

/* ==========================================
   REFERRAL
   ========================================== */
.ref-v2 { text-align: center; padding: 28px; border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--border); }
.ref-v2-row { display: flex; justify-content: center; gap: 10px; margin: 8px 0; flex-wrap: wrap; }
.ref-v2-node {
  padding: 6px 14px; border-radius: var(--radius-full);
  border: 1.5px solid var(--border-light);
  font-size: 11px; font-weight: 600;
  background: var(--bg-elevated);
}
.ref-v2-node.you { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; border: none; }
.ref-v2-node.l1 { border-color: var(--secondary); color: var(--secondary); background: rgba(16,185,129,0.06); }
.ref-v2-node.l2 { border-color: var(--primary); color: var(--primary); background: rgba(124,58,237,0.06); }
.ref-v2-node.l3 { border-color: var(--accent); color: var(--accent); background: rgba(124,58,237,0.06); }

/* ==========================================
   BADGES
   ========================================== */
.badges-v2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.badge-v2 {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
  transition: all 0.3s var(--ease);
}
.badge-v2:hover { border-color: var(--border-light); transform: translateY(-2px); }
.badge-v2-icon { font-size: 28px; margin-bottom: 6px; }
.badge-v2-name { font-size: 12px; font-weight: 700; margin-bottom: 2px; }
.badge-v2-reward { font-size: 11px; color: var(--secondary); font-weight: 700; }
.badge-v2-rarity {
  display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: var(--radius-full);
  font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.badge-v2-rarity.common { background: rgba(148,163,184,0.12); color: var(--text-secondary); }
.badge-v2-rarity.rare { background: rgba(124,58,237,0.12); color: var(--primary-light); }
.badge-v2-rarity.epic { background: rgba(124,58,237,0.12); color: var(--accent-light); }
.badge-v2-rarity.legendary { background: linear-gradient(135deg, rgba(251,191,36,0.15), rgba(244,63,94,0.15)); color: var(--gold); }

/* ==========================================
   STEPS
   ========================================== */
.steps-v2 { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.step-v2 {
  flex: 1; min-width: 240px; max-width: 320px;
  text-align: center; padding: 28px 24px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}
.step-v2:hover { transform: translateY(-3px); border-color: var(--border-light); }
.step-v2-circle {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 18px; font-weight: 800;
  margin-bottom: 12px; box-shadow: 0 4px 15px var(--primary-glow);
}
.step-v2 h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.step-v2 p { font-size: 13px; color: var(--text-muted); }

/* ==========================================
   PAYOUTS
   ========================================== */
.payouts-v2-scroll { display: flex; gap: 12px; overflow-x: auto; padding: 4px 4px 16px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.payouts-v2-scroll::-webkit-scrollbar { display: none; }
.payout-v2 {
  flex: 0 0 180px; scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  transition: all 0.3s var(--ease);
}
.payout-v2:hover { border-color: var(--border-light); transform: translateY(-2px); }
.payout-v2-amt { font-family: var(--font-heading); font-size: 20px; font-weight: 800; color: var(--secondary); }
.payout-v2-method { font-size: 11px; color: var(--text-muted); margin: 4px 0; display: flex; align-items: center; justify-content: center; gap: 4px; }
.payout-v2-user { font-size: 12px; font-weight: 600; color: var(--text-secondary); }
.payout-v2-time { font-size: 10px; color: var(--text-dim); margin-top: 6px; }

/* ==========================================
   TRUST
   ========================================== */
.trust-v2-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.trust-v2-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 18px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: all 0.3s var(--ease);
}
.trust-v2-item:hover { border-color: var(--border-light); transform: translateY(-2px); }
.trust-v2-item i { font-size: 20px; color: var(--primary); margin-top: 2px; flex-shrink: 0; }
.trust-v2-item h4 { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.trust-v2-item p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* ==========================================
   FAQ
   ========================================== */
.faq-v2-list { max-width: 720px; margin: 0 auto; }
.faq-v2-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.faq-v2-item.open { border-color: var(--primary); }
.faq-v2-q {
  width: 100%; padding: 16px 18px;
  background: none; border: none; color: var(--text);
  font-size: 14px; font-weight: 600; text-align: left;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-body);
}
.faq-v2-q:hover { color: var(--primary-light); }
.faq-v2-q i { transition: transform 0.3s var(--ease); color: var(--text-muted); font-size: 12px; }
.faq-v2-item.open .faq-v2-q { color: var(--primary-light); }
.faq-v2-item.open .faq-v2-q i { transform: rotate(180deg); color: var(--primary); }
.faq-v2-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-v2-item.open .faq-v2-a { max-height: 400px; }
.faq-v2-a p { padding: 0 18px 16px; font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* ==========================================
   CTA
   ========================================== */
.cta-v2 {
  text-align: center; padding: 40px 32px;
  background: linear-gradient(135deg, var(--bg-card), rgba(124,58,237,0.03));
  border-radius: var(--radius-xl); border: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.cta-v2 h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 10px; }
.cta-v2 p { color: var(--text-muted); margin-bottom: 24px; font-size: 14px; }

/* ==========================================
   TRC20 BANNER
   ========================================== */
.trc20-v2 {
  text-align: center; padding: 24px 20px;
  background: linear-gradient(135deg, var(--bg-card), rgba(244,63,94,0.03));
  border: 1px solid rgba(244,63,94,0.1); border-radius: var(--radius-lg);
  position: relative; overflow: hidden; margin: 20px 0;
}
.trc20-v2 h2 { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--warning); }
.trc20-v2 p { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; }
.trc20-v2-examples { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.trc20-v2-example { padding: 10px 16px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); font-size: 13px; color: var(--text-muted); }
.trc20-v2-example strong { color: var(--warning); font-size: 14px; }

/* ==========================================
   TICKER
   ========================================== */
.ticker-v2-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  overflow: hidden;
}
.ticker-v2-track { display: flex; gap: 40px; white-space: nowrap; animation: tickerScroll 35s linear infinite; }
.ticker-v2-track span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); }
.ticker-v2-track span strong { color: var(--text); }

/* ==========================================
   PAGINATION
   ========================================== */
.pagination-v2 { display: flex; justify-content: center; gap: 6px; margin-top: 20px; flex-wrap: wrap; }
.pagination-v2 a, .pagination-v2 span {
  min-width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; font-size: 12px; font-weight: 600;
  transition: all 0.2s var(--ease);
}
.pagination-v2 a { background: var(--bg-card); border: 1px solid var(--border); color: var(--text-muted); text-decoration: none; }
.pagination-v2 a:hover { border-color: var(--primary); color: var(--primary-light); }
.pagination-v2 span.current { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; }

/* ==========================================
   DASHBOARD v3 (Compact)
   ========================================== */
.dash-v2 { padding: 12px 0 80px; }
.dash-v2-grid { display: grid; grid-template-columns: 220px 1fr; gap: 20px; }

.dash-v2-sidebar {
  background: linear-gradient(180deg, #111827, #0f172a);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 0;
  position: sticky;
  top: 72px;
  height: fit-content;
  max-height: calc(100vh - 88px);
  overflow-y: auto;
}
.dash-v2-sidebar::-webkit-scrollbar { width: 2px; }
.dash-v2-menu { list-style: none; }
.dash-v2-menu li a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 18px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: all 0.2s var(--ease);
  text-decoration: none;
}
.dash-v2-menu li a:hover, .dash-v2-menu li a.active {
  background: linear-gradient(90deg, rgba(249,115,22,0.1), transparent);
  color: var(--text);
  border-left-color: var(--primary);
}
.dash-v2-menu li a.active { color: var(--primary-light); font-weight: 600; }
.dash-v2-menu li a i { font-size: 14px; width: 16px; text-align: center; }
.dash-v2-menu-sep { height: 1px; background: var(--border); margin: 10px 14px; }

.dash-v2-user {
  padding: 0 16px 12px; margin-bottom: 10px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.dash-v2-avatar {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 16px;
  color: #fff; flex-shrink: 0;
}
.dash-v2-user-name { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-v2-user-role { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

.dash-v2-main { min-width: 0; }

.dash-v2-welcome {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px; flex-wrap: wrap; gap: 10px;
}
.dash-v2-welcome h2 {
  font-family: var(--font-heading); font-size: 20px; font-weight: 700;
  background: linear-gradient(135deg, #fb923c, #f97316 45%, #f59e0b);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.dash-v2-welcome p { font-size: 12px; color: var(--text-muted); }

.dash-v2-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 20px; }
.dash-v2-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.dash-v2-stat:hover { transform: translateY(-2px); border-color: var(--border-light); }
.dash-v2-stat::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
}
.dash-v2-stat.s-success::before { background: linear-gradient(180deg, var(--secondary), var(--primary)); }
.dash-v2-stat.s-warning::before { background: linear-gradient(180deg, var(--warning), var(--accent)); }
.dash-v2-stat.s-danger::before { background: linear-gradient(180deg, var(--danger), var(--warning)); }
.dash-v2-stat-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.dash-v2-stat-value { font-family: var(--font-heading); font-size: 22px; font-weight: 800; color: var(--text); }
.dash-v2-stat-icon { position: absolute; top: 12px; right: 12px; font-size: 18px; opacity: 0.12; }

.dash-v2-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.dash-v2-action {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text); font-size: 12px; font-weight: 600;
  text-decoration: none; transition: all 0.3s var(--ease);
}
.dash-v2-action:hover { border-color: var(--primary); background: rgba(12,75,165,0.06); transform: translateY(-1px); }

/* Homepage / cards motion polish */
.hero-v2-content,
.hero-v2-img,
.plan-v2,
.earn-v2,
.trust-v2-item,
.step-v2,
.card {
  animation: fadeInUp 0.7s var(--ease) both;
}

.plan-v2:hover,
.earn-v2:hover,
.trust-v2-item:hover,
.step-v2:hover,
.card:hover {
  box-shadow: 0 14px 36px rgba(13, 38, 76, 0.11);
}

/* Admin-specific polish */
.admin-v2-sidebar {
  background: linear-gradient(180deg, #111827, #0f172a);
  border: 1px solid var(--border);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

/* Section reveal delays for premium feel */
.reveal:nth-child(2n) { transition-delay: 0.06s; }
.reveal:nth-child(3n) { transition-delay: 0.12s; }
.dash-v2-action i { font-size: 14px; }

/* ==========================================
   TABLES
   ========================================== */
.data-table-v2 { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 12px; }
.data-table-v2 th {
  padding: 10px 12px; text-align: left;
  font-weight: 600; font-size: 10px; text-transform: uppercase;
  color: var(--text-muted); letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap; background: var(--bg-elevated);
}
.data-table-v2 th:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.data-table-v2 th:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.data-table-v2 td { padding: 10px 12px; border-bottom: 1px solid var(--border); color: var(--text-secondary); }
.data-table-v2 tbody tr { transition: background 0.2s; }
.data-table-v2 tbody tr:hover { background: rgba(249,115,22,0.05); }

.top-bar-v2,
.footer-v2,
.bottom-nav {
  background: rgba(15, 23, 42, 0.96);
}

.dash-v2-stat,
.card,
.plan-v2,
.earn-v2,
.trust-v2-item,
.faq-v2-item,
.payout-v2,
.badge-v2,
.step-v2,
.stat-v2 {
  border-color: rgba(255, 255, 255, 0.08);
}

.dash-v2-main,
.dash-v2-sidebar,
.admin-v2-sidebar {
  animation: fadeInUp .6s var(--ease) both;
}
.data-table-v2 tbody tr:last-child td { border-bottom: none; }

/* ==========================================
   LEADERBOARD PODIUM
   ========================================== */
.podium-v2 { display: flex; justify-content: center; align-items: flex-end; gap: 14px; margin-bottom: 36px; flex-wrap: wrap; }
.podium-v2-item {
  text-align: center; padding: 24px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 2px solid var(--border);
  transition: all 0.3s var(--ease);
}
.podium-v2-item:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.podium-v2-rank { font-size: 32px; margin-bottom: 6px; }
.podium-v2-user { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.podium-v2-name { font-size: 11px; color: var(--text-muted); margin-bottom: 8px; }
.podium-v2-amount { font-family: var(--font-heading); font-size: 24px; font-weight: 800; }
.podium-v2-1 { border-color: rgba(251,191,36,0.3); box-shadow: 0 0 20px rgba(251,191,36,0.05); transform: scale(1.05); padding: 30px 36px; }
.podium-v2-1 .podium-v2-amount { color: var(--gold); text-shadow: 0 0 10px rgba(251,191,36,0.2); }
.podium-v2-2 { border-color: rgba(148,163,184,0.2); }
.podium-v2-3 { border-color: rgba(180,83,9,0.2); }
.podium-v2-3 .podium-v2-amount { color: #D97706; }

/* ==========================================
   SPIN WHEEL CANVAS PRO
   ========================================== */
.spin-canvas-wrap {
  width: 380px; height: 380px; margin: 0 auto; position: relative;
  border-radius: 50%;
}
.spin-canvas-wrap canvas {
  width: 100%; height: 100%; display: block; border-radius: 50%;
}
.spin-canvas-ring {
  position: absolute; inset: -8px; border-radius: 50%;
  border: 2px solid rgba(124,58,237,0.25);
  pointer-events: none;
  box-shadow: 0 0 40px rgba(124,58,237,0.15), 0 0 80px rgba(244,63,94,0.08);
}
.spin-canvas-center {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 68px; height: 68px;
  background: linear-gradient(145deg, var(--primary), var(--accent));
  border-radius: 50%;
  border: 3px solid rgba(15,23,42,0.15);
  z-index: 10;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,0.1), 0 0 40px var(--primary-glow), inset 0 2px 4px rgba(15,23,42,0.1);
  cursor: default;
  pointer-events: none;
}
.spin-canvas-center::before {
  content: ''; position: absolute; inset: 5px; border-radius: 50%;
  border: 1px solid rgba(15,23,42,0.08);
}
.spin-canvas-pointer {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  width: 32px; height: 40px;
  background: linear-gradient(180deg, var(--accent), #A855F7);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  z-index: 10;
  filter: drop-shadow(0 4px 10px rgba(244,63,94,0.6));
}
.spin-canvas-glow {
  position: absolute; inset: -20px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.12), transparent 70%);
  pointer-events: none; z-index: -1;
}

/* Prize grid */
.spin-prizes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.spin-prize-item {
  padding: 14px; background: var(--bg);
  border-radius: var(--radius-sm); text-align: center;
  border: 1px solid var(--border);
  border-left: 3px solid;
  transition: all 0.3s var(--ease);
}
.spin-prize-item:hover { transform: translateY(-2px); border-color: var(--border-light); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.spin-prize-icon { font-size: 22px; margin-bottom: 6px; }
.spin-prize-name { font-size: 12px; font-weight: 700; margin-bottom: 3px; }
.spin-prize-chance { font-size: 10px; color: var(--text-muted); font-weight: 500; }

@media (max-width: 768px) {
  .spin-canvas-wrap { width: 300px; height: 300px; }
  .spin-canvas-center { width: 56px; height: 56px; }
  .spin-canvas-center i { font-size: 14px; }
  .spin-canvas-pointer { width: 26px; height: 34px; top: -8px; }
  .spin-prizes-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .spin-prize-item { padding: 12px 10px; }
}

/* ==========================================
   AD PLAYER
   ========================================== */
.ad-v2-player { background: var(--bg-card); border-radius: var(--radius-lg); padding: 28px; text-align: center; border: 1px solid var(--border); position: relative; overflow: hidden; }
.ad-v2-player::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent)); }
.ad-v2-progress { height: 4px; background: var(--bg-elevated); border-radius: 2px; overflow: hidden; margin: 16px 0; }
.ad-v2-progress-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--secondary)); border-radius: 2px; transition: width 1s linear; }

/* ==========================================
   TOP BAR
   ========================================== */
.top-bar-v2 {
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid var(--border);
  padding: 6px 0;
  font-size: 11px;
  color: var(--text-muted);
}
.top-bar-v2 .container { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.top-bar-v2-left { display: flex; gap: 14px; }
.top-bar-v2-left span { display: flex; align-items: center; gap: 4px; }
.top-bar-v2-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: var(--radius-full);
  background: rgba(124,58,237,0.08); color: var(--primary-light);
  font-size: 10px; font-weight: 600; border: 1px solid rgba(124,58,237,0.12);
}

/* ==========================================
   PWA INSTALL
   ========================================== */
.pwa-install {
  position: fixed; bottom: calc(76px + env(safe-area-inset-bottom)); left: 12px; right: 12px;
  background: var(--bg-elevated); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  z-index: 9998; animation: slideUp 0.4s var(--ease);
}
.pwa-install img { width: 40px; height: 40px; border-radius: 10px; }
.pwa-install-text { flex: 1; }
.pwa-install-text strong { display: block; font-size: 13px; margin-bottom: 1px; }
.pwa-install-text span { font-size: 11px; color: var(--text-muted); }
.pwa-install-close { background: none; border: none; color: var(--text-muted); font-size: 16px; cursor: pointer; padding: 4px; }
.pwa-install-btn { padding: 6px 16px; font-size: 12px; border-radius: 8px; }

/* ==========================================
   FOOTER v3
   ========================================== */
.footer-v2 {
  background: rgba(15, 23, 42, 0.96);
  border-top: 1px solid var(--border);
  padding: 32px 0 16px;
  margin-bottom: 0;
}
.footer-v2-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 28px; }
.footer-v2-brand img { height: 32px; margin-bottom: 12px; }
.footer-v2-brand p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }
.footer-v2-social { display: flex; gap: 8px; }
.footer-v2-social a {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--bg-elevated); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 14px;
  transition: all 0.3s var(--ease);
}
.footer-v2-social a:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px); }
.footer-v2-links h4 { font-family: var(--font-heading); font-size: 13px; font-weight: 700; margin-bottom: 14px; color: #f1f5f9; }
.footer-v2-links ul { list-style: none; }
.footer-v2-links li { margin-bottom: 8px; }
.footer-v2-links a { color: var(--text-muted); font-size: 13px; text-decoration: none; transition: all 0.2s; }
.footer-v2-links a:hover { color: var(--primary-light); padding-left: 3px; }

a {
  color: var(--primary-dark);
}

a:hover {
  color: var(--primary);
}
.footer-v2-contact p { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.footer-v2-contact p i { color: var(--primary); font-size: 12px; width: 14px; }
.footer-v2-bottom {
  margin-top: 28px; padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
}
.footer-v2-bottom p { font-size: 12px; color: var(--text-dim); }

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 var(--primary-glow); } 50% { box-shadow: 0 0 0 10px rgba(124,58,237,0); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes tickerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ==========================================
   UTILITIES
   ========================================== */
.text-center { text-align: center; }
.text-primary { color: var(--primary-light); }
.text-secondary { color: var(--secondary-light); }
.text-success { color: var(--secondary); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }
.text-accent { color: var(--accent-light); }
.text-muted { color: var(--text-muted); }
.text-gold { color: var(--gold); }
.w-full { width: 100%; }
.d-flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 4px; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; }
.flex-wrap { flex-wrap: wrap; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.hidden { display: none !important; }

/* ==========================================
   ADMIN PANEL (matches dash-v2 layout)
   ========================================== */
.admin-v2-top {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  margin-bottom: 20px;
}
.admin-v2-top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.admin-v2-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
}
.admin-v2-sidebar {
  background: linear-gradient(180deg, #111827, #0f172a);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 0;
  position: sticky;
  top: 72px;
  height: fit-content;
  max-height: calc(100vh - 88px);
  overflow-y: auto;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}
.admin-v2-sidebar::-webkit-scrollbar { width: 2px; }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .hero-v2 .container { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .hero-v2-content p { margin: 0 auto 20px; }
  .hero-v2-buttons { justify-content: center; }
  .hero-v2-img { order: -1; }
  .hero-v2-img img { max-width: 280px; }
  .stats-bar-v2 .container { grid-template-columns: repeat(4, 1fr); }
  .dash-v2-grid { grid-template-columns: 1fr; }
  .dash-v2-sidebar { position: static; max-height: none; }
  .admin-v2-grid { grid-template-columns: 1fr; }
  .admin-v2-sidebar { position: static; max-height: none; }
  .footer-v2-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  body { font-size: 13px; padding-bottom: 70px; }
  .section { padding: 28px 0; }
  .navbar-v2-links { display: none; position: absolute; top: 56px; left: 0; right: 0; background: var(--bg-card); border-bottom: 1px solid var(--border); flex-direction: column; padding: 12px; gap: 2px; }
  .navbar-v2-links.active { display: flex; }
  .navbar-v2-links a { width: 100%; padding: 10px 12px; border-radius: 8px; }
  .nav-toggle-v2 { display: flex; }
  .mobile-menu-toggle { display: flex; }
  .bottom-nav { display: block; }

  /* App-like horizontal scroll for stats */
  .stats-bar-v2 .container { display: flex; overflow-x: auto; gap: 10px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
  .stats-bar-v2 .container::-webkit-scrollbar { display: none; }
  .stat-v2 { flex: 0 0 140px; scroll-snap-align: start; padding: 12px 8px; }
  .stat-v2-value { font-size: 18px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-v2-grid { grid-template-columns: 1fr; }
  .footer-v2-bottom { flex-direction: column; text-align: center; }
  .hero-v2 { padding-top: 32px; }
  .hero-v2-trust { justify-content: center; }
  .hero-v2-buttons { flex-direction: column; }
  .hero-v2-buttons .btn { width: 100%; max-width: 280px; margin: 0 auto; }

  /* App-like earn cards: 2 columns */
  .earn-v2-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .earn-v2 { padding: 14px; }
  .earn-v2-num { width: 30px; height: 30px; font-size: 12px; }
  .earn-v2 h3 { font-size: 12px; }
  .earn-v2 p { font-size: 11px; line-height: 1.5; }
  .earn-v2-tag { font-size: 9px; padding: 3px 8px; }

  .steps-v2 { flex-direction: column; align-items: stretch; }
  .step-v2 { max-width: none; min-width: auto; padding: 20px 16px; }
  .step-v2-circle { width: 40px; height: 40px; font-size: 16px; }
  .step-v2 h3 { font-size: 14px; }
  .step-v2 p { font-size: 12px; }

  .podium-v2 { flex-direction: column; align-items: center; }
  .podium-v2-item { width: 100%; max-width: 260px; }
  .podium-v2-1 { transform: scale(1); }

  /* App-like horizontal scroll plans */
  .plans-v2 { display: flex; overflow-x: auto; gap: 12px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 4px 4px 12px; }
  .plans-v2::-webkit-scrollbar { display: none; }
  .plan-v2 { flex: 0 0 260px; scroll-snap-align: start; }
  .plan-v2.featured { transform: scale(1); }

  /* App-like horizontal scroll payments */
  #earn ~ .section .grid-3,
  .payment-methods-grid { display: flex; overflow-x: auto; gap: 12px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  #earn ~ .section .grid-3 > .card,
  .payment-methods-grid > .card { flex: 0 0 260px; scroll-snap-align: start; }

  .dash-v2-actions { flex-direction: row; overflow-x: auto; gap: 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .dash-v2-actions::-webkit-scrollbar { display: none; }
  .dash-v2-action { flex: 0 0 auto; min-width: 120px; justify-content: center; }
  .card { padding: 18px; border-radius: var(--radius-sm); }
  .trc20-v2 { padding: 20px 14px; }
  .trust-v2-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .trust-v2-item { padding: 16px; }
  .trust-v2-item i { font-size: 16px; }
  .trust-v2-item h4 { font-size: 12px; }
  .trust-v2-item p { font-size: 11px; }
  .badges-v2 { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .badge-v2 { padding: 12px 8px; }
  .badge-v2-icon { font-size: 22px; }
  .dash-v2-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .dash-v2-stat-value { font-size: 18px; }
  .dash-v2-sidebar { display: none; }
  .dash-v2-grid { grid-template-columns: 1fr; }

  /* Mobile drawer for user panel */
  .mobile-drawer, .mobile-drawer-overlay { display: block; }
  .mobile-drawer {
    position: fixed; top: 0; left: 0; bottom: 0; width: 260px;
    background: var(--bg-card); border-right: 1px solid var(--border);
    z-index: 10001; transform: translateX(-100%); transition: transform 0.3s var(--ease);
    overflow-y: auto; padding: 16px 0;
  }
  .mobile-drawer.open { transform: translateX(0); }
  .mobile-drawer-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.25); z-index: 10000;
    opacity: 0; visibility: hidden; transition: opacity 0.3s;
  }
  .mobile-drawer-overlay.open { opacity: 1; visibility: visible; }
  .mobile-drawer-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 16px 12px; border-bottom: 1px solid var(--border); margin-bottom: 10px;
  }
  .mobile-drawer-close {
    background: none; border: none; color: var(--text-muted); font-size: 20px; cursor: pointer;
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  }
  .mobile-menu-toggle {
    display: flex; background: none; border: none;
    color: var(--text); font-size: 18px; cursor: pointer;
    width: 36px; height: 36px; border-radius: 8px;
    align-items: center; justify-content: center; margin-right: 8px;
  }

  /* Ref section mobile */
  .ref-v2-visual { display: none; }
  .ref-v2 { padding: 16px; }

  /* FAQ compact */
  .faq-v2-q { padding: 14px; font-size: 13px; }
  .faq-v2-a p { padding: 0 14px 14px; font-size: 12px; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .hero-v2-content h1 { font-size: 28px; }
  .btn-lg { padding: 12px 20px; font-size: 14px; }
  .stats-bar-v2 .container { gap: 8px; }
  .stat-v2 { padding: 10px 6px; }
  .stat-v2-value { font-size: 16px; }
  .section-header-v2 { margin-bottom: 20px; }
  .faq-v2-q { padding: 12px 12px; font-size: 12px; }
  .bottom-nav-items { height: 56px; }
  .plan-v2 { flex: 0 0 280px; }
  .earn-v2-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-v2-grid { grid-template-columns: 1fr; }
}
