/* ============================================================
   IncomePilot — Design System
   Colors: Navy #050D26 | Gold #FFC107 | Neon Blue #2F7BFF | Green #22FF88
   Fonts: Syne (headings) | DM Sans (body)
============================================================ */

:root {
  --black:   #050D26;
  --dark:    #081538;
  --dark2:   #0B1A45;
  --dark3:   #10245C;
  --gold:    #FFC107;
  --gold2:   #FFE066;
  --red:     #E8391E;
  --white:   #FFFFFF;
  --grey:    #888888;
  --grey2:   #555555;
  --success: #22C55E;
  --danger:  #EF4444;
  --info:    #2F7BFF;
  --warn:    #F59E0B;

  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --radius:  12px;
  --radius2: 20px;
  --radius3: 32px;

  --shadow: 0 4px 24px rgba(0,0,0,.4);
  --shadow2: 0 8px 48px rgba(0,0,0,.5);
  --glow:   0 0 30px rgba(255,195,0,.35);
  --neon:   #2F7BFF;
  --neon-glow: 0 0 24px rgba(47,123,255,.55);
  --active: #22FF88;
}

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }

/* ── SCROLLBAR ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ── TYPOGRAPHY ────────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }

.text-gold  { color: var(--gold) !important; }
.text-red   { color: var(--red) !important; }
.text-grey  { color: var(--grey) !important; }
.text-success { color: var(--success) !important; }
.text-danger  { color: var(--danger) !important; }

/* ── NAVIGATION ────────────────────────────────────────────── */
.ip-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(5,13,38,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,195,0,.08);
  transition: background .3s;
}
.ip-nav.scrolled { background: rgba(5,13,38,.97); }

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Logo */
.nav-brand { display: flex; align-items: center; }
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -.3px;
}
.nav-logo strong { color: var(--gold); }

.logo-mark {
  position: relative;
  width: 36px;
  height: 36px;
}
.logo-circle {
  position: absolute;
  inset: 0;
  background: var(--dark3);
  border-radius: 50%;
  border: 2px solid var(--gold);
}
.logo-hourglass {
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 24px;
  background: var(--gold);
  clip-path: polygon(20% 0%, 80% 0%, 100% 50%, 80% 100%, 20% 100%, 0% 50%);
}
.logo-dot {
  position: absolute;
  top: -6px; left: 50%;
  transform: translateX(-50%);
  width: 10px; height: 10px;
  background: var(--red);
  border-radius: 50%;
  border: 2px solid var(--black);
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-link-item {
  padding: 8px 14px;
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  border-radius: 8px;
  transition: all .2s;
}
.nav-link-item:hover, .nav-link-item.active {
  color: var(--gold);
  background: rgba(255,195,0,.08);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.btn-nav-ghost {
  padding: 8px 16px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 100px;
  transition: all .2s;
  white-space: nowrap;
}
.btn-nav-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-nav-solid {
  padding: 8px 16px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--black);
  background: var(--gold);
  border-radius: 100px;
  transition: all .2s;
  white-space: nowrap;
}
.btn-nav-solid:hover { background: var(--gold2); transform: translateY(-1px); box-shadow: var(--glow); }

/* Notification Button */
.nav-notif-btn {
  position: relative;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--dark3);
  color: var(--white);
  font-size: 1rem;
  transition: all .2s;
}
.nav-notif-btn:hover { background: var(--dark2); color: var(--gold); }
.notif-badge {
  position: absolute;
  top: -2px; right: -2px;
  min-width: 16px; height: 16px;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  border-radius: 100px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--black);
  padding: 0 3px;
}

/* User Menu */
.nav-user-menu {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 4px;
  border-radius: 100px;
  background: var(--dark3);
  cursor: pointer;
  transition: all .2s;
}
.nav-user-menu:hover { background: var(--dark2); }

.nav-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
  font-weight: 800;
  font-size: .8rem;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 220px;
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  overflow: hidden;
  z-index: 999;
}
.nav-user-menu.open .nav-dropdown { display: block; }

.nav-dropdown-header {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.dropdown-name { display: block; font-weight: 700; font-size: .9rem; }
.dropdown-email { display: block; font-size: .75rem; color: var(--grey); margin-top: 2px; }

.dropdown-item-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: .875rem;
  color: rgba(255,255,255,.8);
  transition: all .15s;
}
.dropdown-item-link:hover { background: rgba(255,195,0,.06); color: var(--gold); }
.dropdown-item-link.text-danger:hover { background: rgba(239,68,68,.06); color: var(--danger); }
.dropdown-item-link.text-warning { color: var(--warn); }

.dropdown-divider { height: 1px; background: rgba(255,255,255,.06); margin: 4px 0; }

/* Mobile Nav */
.nav-mobile-toggle {
  width: 38px; height: 38px;
  background: var(--dark3);
  border: none;
  border-radius: 8px;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 24px 20px;
  border-top: 1px solid rgba(255,255,255,.06);
  background: var(--dark);
}
.mobile-menu.open { display: flex; }
.mobile-menu-link {
  padding: 12px 0;
  font-size: .95rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: color .2s;
}
.mobile-menu-link:hover { color: var(--gold); }
.mobile-menu-link.highlight { color: var(--gold); font-weight: 700; }
.mobile-menu-link.text-danger { color: var(--danger); }

/* ── MAIN CONTENT ─────────────────────────────────────────── */
.main-content { padding-top: 68px; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 700;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all .25s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
}
.btn-primary:hover { background: var(--gold2); transform: translateY(-2px); box-shadow: var(--glow); }

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline:hover { background: rgba(255,195,0,.1); }

.btn-danger {
  background: var(--danger);
  color: var(--white);
}
.btn-danger:hover { background: #dc2626; transform: translateY(-1px); }

.btn-ghost {
  background: rgba(255,255,255,.06);
  color: var(--white);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); }

.btn-sm { padding: 8px 18px; font-size: .8rem; }
.btn-lg { padding: 16px 40px; font-size: 1rem; }

.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ── CARDS ───────────────────────────────────────────────── */
.card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius2);
  padding: 28px;
  transition: border-color .3s;
}
.card:hover { border-color: rgba(255,195,0,.2); }

.card-glass {
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius2);
  padding: 28px;
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,195,0,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(232,57,30,.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255,195,0,.1);
  border: 1px solid rgba(255,195,0,.25);
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 24px;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero-title .accent { color: var(--gold); }
.hero-title .accent2 { color: var(--red); }

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.6);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.hero-stat-val {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
}
.hero-stat-lbl { font-size: .8rem; color: var(--grey); margin-top: 2px; }

/* Hero Image Side */
.hero-visual {
  position: relative;
}
.hero-img-wrap {
  position: relative;
  border-radius: var(--radius2);
  overflow: hidden;
  border: 1px solid rgba(255,195,0,.15);
  box-shadow: var(--shadow2);
}
.hero-img-wrap img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-floating-card {
  position: absolute;
  bottom: -20px; left: -20px;
  background: var(--dark2);
  border: 1px solid rgba(255,195,0,.2);
  border-radius: var(--radius);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow2);
  animation: float 4s ease-in-out infinite .5s;
}
.floating-icon {
  width: 40px; height: 40px;
  background: rgba(255,195,0,.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--gold);
}
.floating-val { font-family: var(--font-display); font-weight: 800; color: var(--gold); font-size: 1.1rem; }
.floating-lbl { font-size: .75rem; color: var(--grey); }

/* ── SECTIONS ────────────────────────────────────────────── */
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
  letter-spacing: -.5px;
}
.section-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.55);
  max-width: 560px;
  line-height: 1.7;
}

/* ── FEATURE GRID ─────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius2);
  padding: 32px 28px;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.feature-card:hover { border-color: rgba(255,195,0,.25); transform: translateY(-4px); box-shadow: var(--glow); }
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon-wrap {
  width: 52px; height: 52px;
  background: rgba(255,195,0,.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 20px;
  transition: all .3s;
}
.feature-card:hover .feature-icon-wrap { background: var(--gold); color: var(--black); }

.feature-card h4 { font-size: 1.1rem; margin-bottom: 10px; }
.feature-card p { font-size: .88rem; color: rgba(255,255,255,.55); line-height: 1.6; }

/* ── STEPS ───────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .3;
}

.step-card { text-align: center; padding: 32px 20px; }
.step-number {
  width: 64px; height: 64px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 20px;
  background: var(--black);
  position: relative;
  z-index: 1;
  transition: all .3s;
}
.step-card:hover .step-number { background: var(--gold); color: var(--black); }
.step-card h5 { font-size: 1rem; margin-bottom: 10px; }
.step-card p { font-size: .85rem; color: rgba(255,255,255,.5); }

/* ── EARN CARDS ──────────────────────────────────────────── */
.earn-list { display: grid; gap: 14px; }
.earn-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  transition: all .3s;
}
.earn-item:hover { border-color: rgba(255,195,0,.2); transform: translateX(4px); }
.earn-item-icon {
  width: 44px; height: 44px;
  background: rgba(255,195,0,.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--gold);
  flex-shrink: 0;
}
.earn-item-label { flex: 1; font-size: .9rem; color: rgba(255,255,255,.7); }
.earn-item-amount { font-family: var(--font-display); font-weight: 800; color: var(--gold); font-size: 1rem; }

/* ── CTA BLOCK ───────────────────────────────────────────── */
.cta-block {
  background: linear-gradient(135deg, var(--dark2) 0%, rgba(255,195,0,.06) 100%);
  border: 1px solid rgba(255,195,0,.2);
  border-radius: var(--radius3);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,195,0,.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ── FLASH TOAST ─────────────────────────────────────────── */
.flash-toast {
  position: fixed;
  top: 84px; right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 500;
  max-width: 360px;
  box-shadow: var(--shadow2);
  animation: slideIn .3s ease;
  transition: opacity .4s;
}
@keyframes slideIn {
  from { transform: translateX(120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
.flash-success { background: #052c1a; border: 1px solid rgba(34,197,94,.3); color: #4ade80; }
.flash-error   { background: #2c0505; border: 1px solid rgba(239,68,68,.3); color: #f87171; }
.flash-warning { background: #2c1a05; border: 1px solid rgba(245,158,11,.3); color: #fbbf24; }
.flash-info    { background: #051a2c; border: 1px solid rgba(59,130,246,.3); color: #60a5fa; }

/* ── DASHBOARD ───────────────────────────────────────────── */
.dash-header {
  padding: 40px 0 0;
}
.dash-welcome {
  background: linear-gradient(135deg, var(--dark2) 0%, rgba(255,195,0,.05) 100%);
  border: 1px solid rgba(255,195,0,.12);
  border-radius: var(--radius2);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
}
.dash-welcome-text p { font-size: .85rem; color: var(--grey); margin-bottom: 4px; }
.dash-welcome-text h3 { font-size: 1.4rem; margin: 0; }

/* Wallet Cards */
.wallet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px; }
@media (max-width: 768px) { .wallet-grid { grid-template-columns: 1fr; } }

.wallet-card {
  border-radius: var(--radius2);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.wallet-card.total { background: linear-gradient(135deg, #1a1400, #2a2000); border: 1px solid rgba(255,195,0,.25); }
.wallet-card.task  { background: linear-gradient(135deg, #0a1a0a, #0f2a0f); border: 1px solid rgba(34,197,94,.2); }
.wallet-card.ref   { background: linear-gradient(135deg, #0a0a1a, #0f0f2a); border: 1px solid rgba(99,102,241,.2); }

.wallet-icon { font-size: 1.6rem; margin-bottom: 16px; }
.wallet-card.total .wallet-icon { color: var(--gold); }
.wallet-card.task .wallet-icon  { color: var(--success); }
.wallet-card.ref .wallet-icon   { color: #818cf8; }

.wallet-balance { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; }
.wallet-card.total .wallet-balance { color: var(--gold); }
.wallet-card.task .wallet-balance  { color: var(--success); }
.wallet-card.ref .wallet-balance   { color: #818cf8; }

.wallet-label { font-size: .8rem; color: var(--grey); margin-top: 4px; text-transform: uppercase; letter-spacing: 1px; }

/* Stats Grid */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 28px; }
.stat-box {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: all .3s;
}
.stat-box:hover { border-color: rgba(255,195,0,.2); }
.stat-box-val { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; color: var(--gold); }
.stat-box-lbl { font-size: .78rem; color: var(--grey); margin-top: 4px; }

/* Quick Actions */
.quick-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 28px; }
.quick-action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px;
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius2);
  transition: all .3s;
  cursor: pointer;
  text-decoration: none;
  color: var(--white);
}
.quick-action-card:hover { border-color: rgba(255,195,0,.25); transform: translateY(-3px); box-shadow: var(--glow); color: var(--white); }
.qa-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.qa-icon.gold   { background: rgba(255,195,0,.12); color: var(--gold); }
.qa-icon.green  { background: rgba(34,197,94,.12); color: var(--success); }
.qa-icon.blue   { background: rgba(99,102,241,.12); color: #818cf8; }
.qa-icon.red    { background: rgba(239,68,68,.12); color: var(--danger); }
.qa-icon.purple { background: rgba(168,85,247,.12); color: #c084fc; }

.qa-label { font-size: .85rem; font-weight: 600; text-align: center; }
.qa-badge { font-size: .72rem; color: var(--grey); }

/* Recent Transactions */
.tx-table { width: 100%; border-collapse: collapse; }
.tx-table th {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--grey);
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.tx-table td {
  padding: 14px 16px;
  font-size: .875rem;
  border-bottom: 1px solid rgba(255,255,255,.04);
  vertical-align: middle;
}
.tx-table tr:last-child td { border-bottom: none; }
.tx-table tr:hover td { background: rgba(255,255,255,.02); }

.tx-credit { color: var(--success); font-weight: 700; }
.tx-debit  { color: var(--danger); font-weight: 700; }

/* ── FORMS ───────────────────────────────────────────────── */
.form-group { margin-bottom: 22px; }
.form-label { display: block; font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.7); margin-bottom: 8px; }
.form-control {
  width: 100%;
  padding: 13px 16px;
  background: var(--dark3);
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: .9rem;
  transition: all .2s;
  outline: none;
}
.form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255,195,0,.1); }
.form-control::placeholder { color: var(--grey2); }

.form-control.is-invalid { border-color: var(--danger); }
.invalid-feedback { font-size: .8rem; color: var(--danger); margin-top: 5px; }

.input-icon-wrap { position: relative; }
.input-icon-wrap .form-control { padding-left: 44px; }
.input-icon {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--grey);
  pointer-events: none;
}

.form-check { display: flex; align-items: flex-start; gap: 10px; }
.form-check-input {
  width: 18px; height: 18px;
  border-radius: 5px;
  border: 1.5px solid rgba(255,255,255,.15);
  background: var(--dark3);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--gold);
}

/* Auth Pages */
.auth-wrap {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: radial-gradient(ellipse at top right, rgba(255,195,0,.07), transparent 60%), var(--black);
}
.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius3);
  padding: 44px;
}
.auth-card h2 { font-size: 1.8rem; margin-bottom: 6px; }
.auth-card p.sub { font-size: .9rem; color: var(--grey); margin-bottom: 32px; }

/* ── VIDEO CARDS ─────────────────────────────────────────── */
.video-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius2);
  overflow: hidden;
  transition: all .3s;
}
.video-card:hover { border-color: rgba(255,195,0,.2); transform: translateY(-3px); }

.video-thumb {
  position: relative;
  background: var(--dark3);
  aspect-ratio: 16/9;
  overflow: hidden;
}
.video-thumb iframe, .video-thumb video {
  width: 100%; height: 100%;
  border: none;
}
.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.video-play-btn {
  width: 60px; height: 60px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--black);
  cursor: pointer;
  transition: all .2s;
  border: none;
}
.video-play-btn:hover { transform: scale(1.1); box-shadow: var(--glow); }

.video-timer-badge {
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,195,0,.3);
  border-radius: 100px;
  padding: 4px 14px;
  font-size: .8rem;
  color: var(--gold);
  font-weight: 700;
}

.video-body { padding: 18px; }
.video-title { font-size: .95rem; font-weight: 700; margin-bottom: 8px; }
.video-reward { display: flex; align-items: center; gap: 6px; font-weight: 800; color: var(--gold); font-family: var(--font-display); }

/* Claim button */
.claim-btn {
  width: 100%;
  margin-top: 14px;
  padding: 11px;
  background: var(--gold);
  color: var(--black);
  border: none;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: .9rem;
  cursor: pointer;
  transition: all .25s;
  display: none;
  font-family: var(--font-body);
}
.claim-btn.visible { display: flex; align-items: center; justify-content: center; gap: 8px; }
.claim-btn:hover { background: var(--gold2); }
.claim-btn:disabled { opacity: .5; cursor: not-allowed; }

/* ── CLICK TASKS ─────────────────────────────────────────── */
.click-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius2);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all .3s;
}
.click-card:hover { border-color: rgba(255,195,0,.2); }
.click-icon {
  width: 56px; height: 56px;
  background: rgba(255,195,0,.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
  flex-shrink: 0;
}
.click-info { flex: 1; }
.click-info h5 { font-size: .95rem; margin-bottom: 4px; }
.click-info p { font-size: .82rem; color: var(--grey); }
.click-timer {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold);
  min-width: 40px;
  text-align: center;
}
.countdown-ring {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ── SOCIAL TASKS ────────────────────────────────────────── */
.social-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius2);
  overflow: hidden;
  transition: all .3s;
}
.social-card:hover { border-color: rgba(255,195,0,.2); transform: translateY(-2px); }
.social-card-top { padding: 22px 22px 0; }
.social-platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.platform-whatsapp { background: rgba(37,211,102,.12); color: #25D366; }
.platform-tiktok   { background: rgba(0,0,0,.3); color: #fff; border: 1px solid rgba(255,255,255,.15); }
.platform-instagram { background: rgba(225,48,108,.12); color: #E1306C; }
.platform-facebook  { background: rgba(24,119,242,.12); color: #1877F2; }
.platform-telegram  { background: rgba(0,136,204,.12); color: #08C; }
.platform-twitter   { background: rgba(29,161,242,.12); color: #1DA1F2; }

.social-card-bottom {
  padding: 16px 22px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.05);
  margin-top: 16px;
}

/* ── WALLET PAGE ─────────────────────────────────────────── */
.tx-type-credit { 
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 100px;
  background: rgba(34,197,94,.12); color: var(--success);
  font-size: .78rem; font-weight: 700;
}
.tx-type-debit {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 100px;
  background: rgba(239,68,68,.12); color: var(--danger);
  font-size: .78rem; font-weight: 700;
}

/* ── STATUS BADGES ───────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 12px; border-radius: 100px;
  font-size: .75rem; font-weight: 700;
}
.badge-gold    { background: rgba(255,195,0,.12); color: var(--gold); }
.badge-success { background: rgba(34,197,94,.12); color: var(--success); }
.badge-danger  { background: rgba(239,68,68,.12); color: var(--danger); }
.badge-warning { background: rgba(245,158,11,.12); color: var(--warn); }
.badge-info    { background: rgba(59,130,246,.12); color: #60a5fa; }
.badge-grey    { background: rgba(255,255,255,.08); color: var(--grey); }

/* ── PROGRESS BAR ────────────────────────────────────────── */
.progress-wrap { background: rgba(255,255,255,.06); border-radius: 100px; overflow: hidden; height: 8px; }
.progress-fill { height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--gold), var(--gold2)); transition: width .5s ease; }

/* ── MODAL ───────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius3);
  padding: 36px;
  max-width: 480px;
  width: 100%;
  animation: modalIn .25s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close { float: right; background: none; border: none; color: var(--grey); font-size: 1.2rem; cursor: pointer; margin-top: -4px; }

/* ── PAGINATION ──────────────────────────────────────────── */
.pagination {
  display: flex; gap: 6px; align-items: center; flex-wrap: wrap;
}
.page-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,.07);
  color: rgba(255,255,255,.7);
  font-size: .85rem;
  transition: all .2s;
  text-decoration: none;
}
.page-btn:hover, .page-btn.active { background: var(--gold); color: var(--black); border-color: var(--gold); }

/* ── ADMIN PANEL ─────────────────────────────────────────── */
.admin-layout { display: flex; min-height: calc(100vh - 68px); }
.admin-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--dark);
  border-right: 1px solid rgba(255,255,255,.06);
  padding: 24px 0;
}
.admin-main { flex: 1; padding: 40px; min-width: 0; }

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  transition: all .2s;
  border-left: 3px solid transparent;
}
.sidebar-link:hover, .sidebar-link.active {
  color: var(--gold);
  background: rgba(255,195,0,.06);
  border-left-color: var(--gold);
}
.sidebar-label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--grey2);
  padding: 14px 20px 6px;
}

/* ── ALERTS ──────────────────────────────────────────────── */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: .9rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}
.alert-info    { background: rgba(59,130,246,.1); border: 1px solid rgba(59,130,246,.2); color: #93c5fd; }
.alert-success { background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.2); color: #86efac; }
.alert-warning { background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.2); color: #fde68a; }
.alert-danger  { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.2); color: #fca5a5; }

/* ── REFERRAL PAGE ───────────────────────────────────────── */
.ref-code-box {
  background: var(--dark3);
  border: 2px dashed rgba(255,195,0,.3);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.ref-code { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; color: var(--gold); letter-spacing: 2px; }

/* ── PROFILE ─────────────────────────────────────────────── */
.avatar-big {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-display);
  display: flex; align-items: center; justify-content: center;
  border: 3px solid rgba(255,195,0,.3);
}

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer { background: var(--dark); border-top: 1px solid rgba(255,255,255,.06); }
.footer-top { padding: 60px 0 40px; }
.footer-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; gap: 60px; flex-wrap: wrap;
}
.footer-brand { max-width: 280px; }
.footer-tagline { font-size: .88rem; color: rgba(255,255,255,.45); line-height: 1.7; margin-bottom: 20px; }
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-badge {
  padding: 5px 12px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 100px;
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  display: flex; align-items: center; gap: 5px;
}
.footer-links { display: flex; gap: 60px; flex-wrap: wrap; flex: 1; }
.footer-col h5 {
  font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--gold); margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: .875rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 10px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.05); }
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.35); }

/* ── SCROLL ANIMATIONS ───────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── UTILITIES ───────────────────────────────────────────── */
.d-none { display: none !important; }
.d-flex { display: flex !important; }
.d-grid { display: grid !important; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.fw-bold  { font-weight: 700 !important; }
.fw-black { font-weight: 800 !important; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.mb-4 { margin-bottom: 32px !important; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.w-100 { width: 100%; }
.overflow-hidden { overflow: hidden; }
.position-relative { position: relative; }
.opacity-0 { opacity: 0; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 991px) {
  .hero-container { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-img-wrap img { height: 280px; }
  .steps-grid::before { display: none; }
  .cta-block { padding: 50px 30px; }
  .admin-sidebar { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .hero { padding: 40px 0 60px; }
  .hero-stats { gap: 24px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .wallet-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 28px 20px; }
  .quick-actions { grid-template-columns: repeat(2, 1fr); }
  .footer-container { flex-direction: column; gap: 40px; }
  .footer-links { gap: 32px; }
  .footer-brand { max-width: 100%; }
  .d-md-none { display: none !important; }

  /* Homepage inline two-column grids → single column */
  .hero-container,
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* Auth form two-column grid */
  .auth-card [style*="grid-template-columns:1fr 1fr"],
  .auth-card [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  /* Nav: hide login text on very small screens, keep Get Started */
  .btn-nav-ghost { display: none; }

  /* Card padding tighter on mobile */
  .card { padding: 20px 16px; }

  /* Wallet card grid */
  .wallet-grid { grid-template-columns: 1fr !important; }

  /* Admin stats grid */
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (min-width: 768px) {
  .d-none { display: none !important; }
  .d-md-flex { display: flex !important; }
}

@media (max-width: 576px) {
  .feature-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { flex-direction: column; gap: 16px; }

  /* All two-column grids collapse */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3, 1fr)"],
  [style*="grid-template-columns:repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Auth form on small screens */
  .auth-card { padding: 24px 16px; }
  .auth-card [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  /* Nav brand text stays, just tighten */
  .nav-logo span { font-size: 1.05rem; }
  .btn-nav-solid { padding: 7px 12px; font-size: .8rem; }

  /* Stat boxes 2 cols on mobile */
  .stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .quick-actions { grid-template-columns: repeat(2, 1fr) !important; }

  /* Click cards stack vertically */
  .click-card { flex-direction: column; align-items: flex-start; }
}

/* ── MOBILE-FRIENDLY GRID HELPERS ────────────────────────── */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.three-col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.four-col-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .two-col-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .three-col-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .four-col-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 14px !important; }
}
@media (max-width: 480px) {
  .three-col-grid { grid-template-columns: 1fr !important; }
}


/* ============================================================
   INCOMENEST THEME OVERRIDES — navy bg, gold-glow cards, neon blue panels
============================================================ */
body {
  background: radial-gradient(ellipse at top, #0a2670 0%, #071a4d 35%, #050D26 75%) fixed;
}
.ip-nav { border-bottom: 1px solid rgba(255,193,7,.25); }

/* Gold-glow black cards */
.feature-card, .earn-item, .card, .wallet-card, .hero-floating-card {
  background: linear-gradient(160deg, #0a0a0a 0%, #1a1405 100%) !important;
  border: 2px solid rgba(255,193,7,.75) !important;
  box-shadow: 0 0 14px rgba(255,193,7,.35), inset 0 0 14px rgba(255,193,7,.12);
}
.feature-card:hover, .earn-item:hover, .card:hover {
  box-shadow: 0 0 26px rgba(255,193,7,.6), inset 0 0 18px rgba(255,193,7,.2);
}
.earn-item-amount, .hero-stat-val, .floating-val {
  color: #FFF3A0; text-shadow: 0 0 12px rgba(255,193,7,.6);
}

/* Titles */
.hero-title { text-shadow: 0 2px 18px rgba(0,0,0,.4); }
.hero-title .accent, .text-gold, .section-title .text-gold {
  color: var(--gold); text-shadow: 0 0 18px rgba(255,193,7,.6);
}
.hero-title .accent2 { color: var(--gold2); text-shadow: 0 0 18px rgba(255,193,7,.6); }

/* Buttons */
.btn-primary, .btn-nav-solid {
  background: linear-gradient(180deg, #FFE066 0%, #FFC107 100%);
  color: #1a1200;
  box-shadow: 0 0 18px rgba(255,193,7,.45);
}
.btn-outline {
  border: 2px solid var(--neon); color: #fff;
  box-shadow: var(--neon-glow), inset 0 0 12px rgba(47,123,255,.25);
}
.btn-outline:hover { background: rgba(47,123,255,.2); }

/* Neon blue panels */
.cta-block, .card-glass {
  background: linear-gradient(160deg, #0f3bbd 0%, #0a2a8a 100%) !important;
  border: 2px solid #4f95ff !important;
  box-shadow: var(--neon-glow), inset 0 0 24px rgba(79,149,255,.25);
}
.step-card { background: rgba(8,21,56,.6); border: 1px solid rgba(47,123,255,.4); border-radius: var(--radius2); }
.step-number { box-shadow: 0 0 16px rgba(255,193,7,.5); }

/* Green "active" accents */
.hero-badge-dot { background: var(--active); box-shadow: 0 0 10px var(--active); }
.text-success { color: var(--active) !important; }

/* Footer / scrollbar */
.site-footer { background: #040b20; border-top: 1px solid rgba(255,193,7,.2); }
::-webkit-scrollbar-thumb { background: var(--neon); }