/* ============================================
   USDT Rewards Landing Page - Main Styles
   Mobile-First Responsive Design
   ============================================ */

/* --- CSS Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111827;
  --bg-card: rgba(255, 255, 255, 0.05);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --neon-green: #00ff88;
  --deep-green: #00cc6a;
  --gold: #f5a623;
  --bright-gold: #ffd700;
  --text-primary: #ffffff;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --border-color: rgba(255, 255, 255, 0.1);
  --shadow-green: 0 0 20px rgba(0, 255, 136, 0.3);
  --shadow-gold: 0 0 20px rgba(245, 166, 35, 0.3);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; font-family: inherit; min-height: 44px; }
ul, ol { list-style: none; }

/* --- Utility --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.gold-text {
  background: linear-gradient(135deg, var(--gold), var(--bright-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gold-text-gradient {
  background: linear-gradient(135deg, var(--gold), var(--bright-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* --- Background Particles --- */
.bg-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-particle {
  position: absolute;
  background: var(--neon-green);
  border-radius: 50%;
  opacity: 0;
  animation: particle-float linear infinite;
}

@keyframes particle-float {
  0% { opacity: 0; transform: translateY(0) scale(0.5); }
  10% { opacity: 0.4; }
  90% { opacity: 0.1; }
  100% { opacity: 0; transform: translateY(-100vh) scale(1); }
}

/* --- Live Notification Bar --- */
.live-bar {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 998;
  background: rgba(0, 255, 136, 0.08);
  border-bottom: 1px solid rgba(0, 255, 136, 0.15);
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--neon-green);
  backdrop-filter: blur(10px);
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--neon-green);
  border-radius: 50%;
  animation: live-pulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.4); }
  50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(0, 255, 136, 0); }
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s var(--ease-out);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.97);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--neon-green);
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--neon-green), var(--deep-green));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
}

.nav-links { display: none; gap: 28px; align-items: center; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s var(--ease-out);
  position: relative;
}
.nav-links a:hover { color: var(--neon-green); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon-green);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: none;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--gold), var(--bright-gold));
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 13px;
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease-out);
  min-height: 40px;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s var(--ease-out);
  border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 20px;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.3s var(--ease-out);
  z-index: 999;
  pointer-events: none;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
  transition: color 0.3s var(--ease-out);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--neon-green); }
.mobile-menu .mobile-cta {
  display: block;
  margin-top: 16px;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--gold), var(--bright-gold));
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  border-radius: var(--radius-sm);
  border-bottom: none;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 20px 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('/public/hero-bg.jpeg') center/cover no-repeat;
  opacity: 0.35;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.85) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: var(--neon-green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  animation: pulse-border 2s ease-in-out infinite;
  flex-wrap: wrap;
  justify-content: center;
}

@keyframes pulse-border {
  0%, 100% { border-color: rgba(0, 255, 136, 0.3); }
  50% { border-color: rgba(0, 255, 136, 0.7); }
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background: var(--neon-green);
  border-radius: 50%;
  animation: live-pulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

.badge-count {
  padding: 2px 8px;
  background: rgba(0, 255, 136, 0.15);
  border-radius: 20px;
  font-size: 11px;
}

.hero-title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.hero-title .line-free {
  display: block;
  color: var(--text-primary);
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}
.hero-title .line-usdt {
  display: block;
  background: linear-gradient(135deg, var(--gold) 0%, var(--bright-gold) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(245, 166, 35, 0.4));
}
.hero-title .line-rewards {
  display: block;
  color: var(--text-primary);
  font-size: 0.65em;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
}
.hero-subtitle .highlight { color: var(--neon-green); font-weight: 600; }

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  margin-bottom: 40px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 40px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--bright-gold) 100%);
  color: var(--bg-primary);
  font-size: 16px;
  font-weight: 800;
  border-radius: var(--radius-lg);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
  min-height: 56px;
  width: 100%;
  max-width: 320px;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease-out);
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(245, 166, 35, 0.5); }
.btn-primary:active { transform: translateY(-1px); }
.btn-primary.btn-lg { padding: 20px 48px; font-size: 17px; }
.btn-arrow { font-size: 20px; transition: transform 0.3s var(--ease-out); }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  border: 2px solid var(--border-color);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease-out);
  min-height: 48px;
  width: 100%;
  max-width: 320px;
}
.btn-secondary:hover { border-color: var(--neon-green); color: var(--neon-green); background: rgba(0, 255, 136, 0.05); }

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
}

.hero-stat-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.hero-stat-icon.green { background: rgba(0, 255, 136, 0.12); }
.hero-stat-icon.gold { background: rgba(245, 166, 35, 0.12); }

.hero-stat-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero-stat-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

/* --- Countdown Timer --- */
.countdown-section {
  padding: 40px 20px;
  text-align: center;
}

.countdown-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.countdown-value {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--neon-green);
}

.countdown-unit-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
  text-align: center;
}

.countdown-separator {
  display: flex;
  align-items: center;
  font-size: 22px;
  color: var(--text-muted);
  padding-bottom: 20px;
}

.countdown-progress-wrap {
  max-width: 400px;
  margin: 20px auto 0;
  height: 6px;
  background: var(--bg-card);
  border-radius: 3px;
  overflow: hidden;
}
.countdown-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--neon-green), var(--gold));
  border-radius: 3px;
  transition: width 1s var(--ease-out);
}
.countdown-progress-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* --- Features Section --- */
.features { padding: 60px 20px; }

.section-header { text-align: center; margin-bottom: 48px; }
.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: var(--neon-green);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.section-title { font-size: 30px; font-weight: 800; margin-bottom: 12px; line-height: 1.2; }
.section-desc { font-size: 15px; color: var(--text-secondary); max-width: 500px; margin: 0 auto; }

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 800px;
  margin: 0 auto;
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease-out);
}
.feature-card:hover { background: var(--bg-card-hover); border-color: rgba(0, 255, 136, 0.3); transform: translateY(-2px); }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}
.feature-icon.green { background: rgba(0, 255, 136, 0.12); }
.feature-icon.gold { background: rgba(245, 166, 35, 0.12); }

.feature-info h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.feature-info p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

/* --- Tasks Section --- */
.tasks-section {
  padding: 60px 20px;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

.tasks-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.tasks-balance {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}
.tasks-balance-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; }
.tasks-balance-value {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--neon-green);
}
.tasks-balance-value .currency { font-size: 14px; color: var(--text-secondary); margin-left: 4px; }

/* Task Progress */
.tasks-progress-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tasks-progress-info span {
  font-size: 13px;
  color: var(--text-secondary);
}
.tasks-progress-wrap {
  height: 6px;
  background: var(--bg-card);
  border-radius: 3px;
  overflow: hidden;
}
.tasks-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--neon-green), var(--deep-green));
  border-radius: 3px;
  width: 0%;
  transition: width 0.5s var(--ease-out);
}

.tasks-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 700px;
  margin: 0 auto;
}

.task-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.task-item:hover { border-color: rgba(0, 255, 136, 0.2); }
.task-item.completed { border-color: rgba(0, 255, 136, 0.3); background: rgba(0, 255, 136, 0.04); }
.task-item.loading { opacity: 0.7; pointer-events: none; }
.task-item.completed::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--neon-green);
}

.task-checkbox {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
  background: none;
  color: transparent;
  font-size: 14px;
  font-weight: 700;
  min-height: 32px;
}
.task-item.completed .task-checkbox { background: var(--neon-green); border-color: var(--neon-green); color: var(--bg-primary); }

/* Spinner */
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid var(--border-color);
  border-top-color: var(--neon-green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(0, 255, 136, 0.3);
  border-top-color: var(--neon-green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
}

.task-info { flex: 1; min-width: 0; }
.task-name-row { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.task-icon-emoji { font-size: 16px; flex-shrink: 0; }
.task-name { font-size: 14px; font-weight: 600; }
.task-desc { font-size: 12px; color: var(--text-muted); }

.task-reward {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  padding: 4px 8px;
  background: rgba(245, 166, 35, 0.1);
  border-radius: var(--radius-sm);
}
.task-reward-amount { font-family: var(--font-mono); font-size: 15px; font-weight: 700; color: var(--gold); }
.task-reward-label { font-size: 9px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

.task-btn {
  padding: 8px 14px;
  background: rgba(0, 255, 136, 0.15);
  color: var(--neon-green);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
  min-height: 36px;
}
.task-btn:hover { background: rgba(0, 255, 136, 0.25); }
.task-btn.claimed { background: rgba(0, 255, 136, 0.08); color: var(--text-muted); pointer-events: none; }
.task-btn.loading { background: rgba(0, 255, 136, 0.1); color: var(--text-muted); pointer-events: none; }

/* Withdraw button */
.withdraw-wrap {
  text-align: center;
  margin-top: 24px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.btn-withdraw {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--neon-green), var(--deep-green));
  color: var(--bg-primary);
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease-out);
  min-height: 52px;
}
.btn-withdraw:hover { transform: translateY(-2px); box-shadow: var(--shadow-green); }
.withdraw-hint { font-size: 12px; color: var(--text-muted); margin-top: 10px; }

/* --- How It Works --- */
.how-it-works { padding: 60px 20px; }

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.step-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  position: relative;
  transition: all 0.3s var(--ease-out);
}
.step-card:hover { border-color: rgba(0, 255, 136, 0.3); transform: translateY(-4px); }

.step-number {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--neon-green), var(--deep-green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--bg-primary);
}

.step-icon { font-size: 36px; margin-bottom: 12px; }
.step-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.step-arrow {
  display: none;
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--text-muted);
}

/* --- Wallet Preview --- */
.wallet-section {
  padding: 60px 20px;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.wallet-preview {
  max-width: 400px;
  margin: 0 auto;
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.9), rgba(10, 10, 10, 0.95));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.wallet-header {
  padding: 24px;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.08), rgba(0, 204, 106, 0.04));
  border-bottom: 1px solid var(--border-color);
}
.wallet-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.wallet-chip {
  display: inline-block;
  width: 32px;
  height: 24px;
  background: linear-gradient(135deg, var(--gold), var(--bright-gold));
  border-radius: 4px;
}
.wallet-brand {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}
.wallet-header-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.wallet-balance-display {
  font-family: var(--font-mono);
  font-size: 38px;
  font-weight: 700;
  color: var(--neon-green);
  line-height: 1;
}
.wallet-balance-display .usdt-label {
  font-size: 16px;
  color: var(--text-secondary);
  margin-left: 6px;
  font-family: var(--font-sans);
  font-weight: 600;
}
.wallet-address {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 13px;
}
.addr-label { color: var(--text-muted); }
.addr-value { color: var(--text-secondary); font-family: var(--font-mono); font-size: 12px; }

.wallet-body { padding: 24px; }

.wallet-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.wallet-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 11px;
  font-weight: 500;
  transition: all 0.3s var(--ease-out);
  min-height: 44px;
}
.wallet-action-btn:hover { background: rgba(0, 255, 136, 0.1); border-color: rgba(0, 255, 136, 0.3); }
.wallet-action-btn .action-icon { font-size: 20px; }

.wallet-transactions h4 {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.wallet-tx-list { display: flex; flex-direction: column; gap: 8px; }
.wallet-tx {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
}
.wallet-tx-left { display: flex; align-items: center; gap: 10px; }
.wallet-tx-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.wallet-tx-icon.earn { background: rgba(0, 255, 136, 0.12); }
.wallet-tx-icon.bonus { background: rgba(245, 166, 35, 0.12); }
.wallet-tx-icon.withdraw { background: rgba(255, 100, 100, 0.12); }
.wallet-tx-name { font-size: 13px; font-weight: 500; }
.wallet-tx-time { font-size: 11px; color: var(--text-muted); }
.wallet-tx-amount { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--neon-green); }
.wallet-tx-amount.negative { color: #ff6b6b; }

@keyframes tx-slide-in {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

/* --- Trust Badges --- */
.trust-section { padding: 30px 20px; }
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
}
.trust-icon { font-size: 14px; }

/* --- Testimonials --- */
.testimonials { padding: 60px 20px; }

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease-out);
}
.testimonial-card:hover { border-color: rgba(245, 166, 35, 0.3); }

.testimonial-stars { color: var(--bright-gold); font-size: 14px; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-text { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; font-style: italic; }

.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-green), var(--deep-green));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--bg-primary);
  flex-shrink: 0;
}
.testimonial-author-info { flex: 1; }
.testimonial-name-row { display: flex; align-items: center; gap: 6px; }
.testimonial-name { font-size: 14px; font-weight: 600; }
.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: var(--neon-green);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  color: var(--bg-primary);
}
.testimonial-meta { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.testimonial-earned { color: var(--gold); }

/* --- FAQ Section --- */
.faq-section {
  padding: 60px 20px;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s var(--ease-out);
}
.faq-item.active { border-color: rgba(0, 255, 136, 0.3); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 18px;
  background: none;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  min-height: 44px;
  transition: color 0.3s var(--ease-out);
  gap: 12px;
}
.faq-question:hover { color: var(--neon-green); }
.faq-q-text { flex: 1; }
.faq-icon {
  font-size: 20px;
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
  color: var(--neon-green);
}
.faq-item.active .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease-out), padding 0.3s var(--ease-out);
}
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer-inner {
  padding: 0 18px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- CTA Section --- */
.cta-section {
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-title { font-size: 30px; font-weight: 800; margin-bottom: 16px; line-height: 1.2; }
.cta-desc { font-size: 15px; color: var(--text-secondary); margin-bottom: 32px; max-width: 400px; margin-left: auto; margin-right: auto; }
.cta-trust {
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* --- Footer --- */
.footer {
  padding: 40px 20px;
  border-top: 1px solid var(--border-color);
}
.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 16px;
  color: var(--neon-green);
}
.footer-logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--neon-green), var(--deep-green));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
}
.footer-social { display: flex; gap: 12px; }
.social-link {
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--text-secondary);
  transition: all 0.3s var(--ease-out);
  min-height: 36px;
  display: flex;
  align-items: center;
}
.social-link:hover { border-color: var(--neon-green); color: var(--neon-green); }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.footer-links a { font-size: 13px; color: var(--text-muted); transition: color 0.3s var(--ease-out); }
.footer-links a:hover { color: var(--neon-green); }

.footer-divider { height: 1px; background: var(--border-color); margin: 16px 0; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.footer-copy { font-size: 12px; color: var(--text-muted); }
.footer-networks { font-size: 11px; color: var(--text-muted); }
.footer-disclaimer {
  font-size: 11px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
  opacity: 0.7;
  text-align: center;
}

/* --- Coin Particle Animation --- */
.coin-particle {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  font-size: 20px;
  animation: coin-fly 1s var(--ease-out) forwards;
}
@keyframes coin-fly {
  0% { opacity: 1; transform: translate(0, 0) scale(1) rotate(0deg); }
  100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(0.3) rotate(720deg); }
}

/* --- Toast Notification --- */
.toast-container {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  width: 90%;
  max-width: 400px;
}
.toast {
  padding: 14px 20px;
  background: rgba(17, 24, 39, 0.95);
  border: 1px solid var(--neon-green);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(10px);
  animation: toast-in 0.3s var(--ease-out) forwards;
  pointer-events: all;
  text-align: center;
}
.toast.hiding { animation: toast-out 0.3s var(--ease-out) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toast-out { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-20px); } }

/* --- Modal --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s var(--ease-out);
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-icon { font-size: 48px; margin-bottom: 16px; }
.modal h2 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.modal-desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 20px; line-height: 1.6; }

.modal-tx-info {
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 20px;
  text-align: left;
}
.tx-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 12px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
}
.tx-row:last-child { border-bottom: none; }
.tx-hash { font-family: var(--font-mono); color: var(--neon-green); font-size: 11px; }
.tx-status { color: var(--neon-green); font-weight: 600; }

/* --- Withdraw Modal --- */
.modal-withdraw { text-align: left; max-width: 440px; }
.modal-withdraw h2 { text-align: center; }
.modal-withdraw .modal-icon { text-align: center; }
.modal-withdraw .modal-desc { text-align: center; }

.withdraw-form { display: flex; flex-direction: column; gap: 12px; }
.withdraw-balance-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(0, 255, 136, 0.05);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-secondary);
}
.withdraw-avail { color: var(--neon-green); font-weight: 700; font-family: var(--font-mono); }

.withdraw-label { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.withdraw-network { display: flex; gap: 8px; }
.network-option {
  flex: 1;
  padding: 10px;
  text-align: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  color: var(--text-secondary);
}
.network-option.active { border-color: var(--neon-green); color: var(--neon-green); background: rgba(0, 255, 136, 0.08); }
.network-option.disabled { opacity: 0.4; cursor: not-allowed; }

.withdraw-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 14px;
  font-family: var(--font-mono);
  outline: none;
  transition: border-color 0.3s var(--ease-out);
  min-height: 48px;
}
.withdraw-input:focus { border-color: var(--neon-green); }
.withdraw-input::placeholder { color: var(--text-muted); }

.withdraw-hint-modal { font-size: 11px; color: var(--text-muted); margin-top: -4px; }

.withdraw-fee-info {
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
  padding: 12px 16px;
}
.fee-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
  color: var(--text-secondary);
}
.fee-total { border-top: 1px solid var(--border-color); padding-top: 10px; margin-top: 4px; font-weight: 700; color: var(--neon-green); }

.btn-withdraw-submit { width: 100%; margin-top: 8px; }

/* --- Live Activity Notifications --- */
.live-notifications {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  max-width: 320px;
}

.live-notification {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(17, 24, 39, 0.95);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  transform: translateX(-120%);
  opacity: 0;
  transition: all 0.5s var(--ease-out);
  pointer-events: all;
}
.live-notification.show { transform: translateX(0); opacity: 1; }
.live-notification.hide { transform: translateX(-120%); opacity: 0; }

.live-notif-icon { font-size: 20px; flex-shrink: 0; }
.live-notif-text { font-size: 13px; color: var(--text-secondary); line-height: 1.4; }
.live-notif-text strong { color: var(--text-primary); }
.live-notif-sub { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* --- Scroll Progress --- */
.scroll-progress {
  position: fixed;
  top: 64px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-green), var(--gold));
  z-index: 1001;
  transition: width 0.1s linear;
}

/* --- Balance increment animation --- */
.balance-increment { animation: balance-pop 0.4s var(--ease-out); }
@keyframes balance-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); color: var(--bright-gold); }
  100% { transform: scale(1); }
}

/* ============================================
   RESPONSIVE: Tablet (768px+)
   ============================================ */
@media (min-width: 768px) {
  .hero-title { font-size: 64px; }
  .hero-subtitle { font-size: 19px; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .step-arrow { display: block; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 38px; }
  .cta-title { font-size: 38px; }
  .btn-primary { width: auto; }
  .btn-secondary { width: auto; }
  .hero-cta-group { flex-direction: row; justify-content: center; }
  .tasks-header { flex-direction: row; align-items: center; justify-content: space-between; }
  .footer-top { flex-direction: row; justify-content: space-between; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .live-notifications { left: auto; right: 20px; }
}

/* ============================================
   RESPONSIVE: Desktop (1024px+)
   ============================================ */
@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .hamburger { display: none; }
  .hero { padding: 140px 40px 80px; }
  .hero-title { font-size: 72px; }
  .features-grid { grid-template-columns: repeat(4, 1fr); }
  .container { padding: 0 40px; }
  .countdown-value { width: 80px; height: 80px; font-size: 30px; }
}
