/* ================================================
   DOGEFAUCET — Premium Dark Theme
   ================================================ */

/* --- TOKENS & RESET --- */
:root {
  --doge-gold: #F5CA00;
  --doge-gold-light: #FFE246;
  --doge-gold-dark: #C2A633;
  --doge-dark: #0A0C10;
  --doge-bg: #0D1117;
  --doge-surface: #161B22;
  --doge-surface-2: #1C2333;
  --doge-border: rgba(245, 202, 0, 0.12);
  --doge-border-hover: rgba(245, 202, 0, 0.3);
  --text-primary: #F0F6FC;
  --text-secondary: #8B949E;
  --text-muted: #58677A;
  --purple: #7B61FF;
  --green: #00D2A8;
  --red: #FF6B6B;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-gold: 0 0 40px rgba(245, 202, 0, 0.15);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

/* --- BACKGROUND --- */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(245, 202, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 202, 0, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.bg-glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 40% 40% at 70% 20%, rgba(245, 202, 0, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 30% 30% at 20% 70%, rgba(123, 97, 255, 0.04) 0%, transparent 60%);
}

/* --- GLASS CARD --- */
.glass-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--doge-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.glass-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(245,202,0,0.03) 0%, transparent 50%);
  pointer-events: none;
}
.glass-card:hover {
  border-color: var(--doge-border-hover);
  box-shadow: var(--shadow-gold), var(--shadow-card);
}

/* --- NAVBAR --- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13, 17, 23, 0.85);
  border-bottom: 1px solid var(--doge-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.nav-container {
  max-width: 1280px; margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex; align-items: center; gap: 32px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon { width: 36px; height: 36px; animation: spinSlow 20s linear infinite; }
@keyframes spinSlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.logo-text { font-size: 20px; font-weight: 800; color: var(--text-primary); }
.logo-accent { color: var(--doge-gold); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-link {
  padding: 8px 16px; border-radius: var(--radius-sm);
  color: var(--text-secondary); text-decoration: none;
  font-weight: 500; font-size: 14px;
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.live-badge {
  display: flex; align-items: center; gap: 6px;
  background: rgba(0, 210, 168, 0.1);
  border: 1px solid rgba(0, 210, 168, 0.3);
  border-radius: 999px; padding: 4px 12px;
  font-size: 12px; font-weight: 700; color: var(--green);
  letter-spacing: 0.05em;
}
.pulse-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}
.btn-connect {
  padding: 8px 20px; border-radius: var(--radius-sm);
  background: var(--doge-gold); color: #000;
  border: none; cursor: pointer;
  font-weight: 700; font-size: 14px; font-family: inherit;
  transition: all var(--transition);
}
.btn-connect:hover { background: var(--doge-gold-light); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(245,202,0,0.4); }

/* --- HERO --- */
.hero {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto;
  padding: 120px 24px 80px;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 80px;
  min-height: 100vh;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245, 202, 0, 0.1);
  border: 1px solid rgba(245, 202, 0, 0.25);
  border-radius: 999px; padding: 6px 16px;
  font-size: 13px; color: var(--doge-gold); font-weight: 600;
  margin-bottom: 24px;
}
.badge-icon { width: 14px; height: 14px; }
.hero-title {
  font-size: clamp(40px, 5vw, 72px); font-weight: 800;
  line-height: 1.1; margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.gradient-text {
  background: linear-gradient(135deg, var(--doge-gold-light), var(--doge-gold), var(--doge-gold-dark));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle {
  color: var(--text-secondary); font-size: 18px; max-width: 480px;
  margin-bottom: 36px; line-height: 1.7;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--doge-gold), var(--doge-gold-dark));
  color: #000; font-weight: 700; font-size: 15px;
  text-decoration: none; border: none; cursor: pointer; font-family: inherit;
  transition: all var(--transition); box-shadow: 0 4px 20px rgba(245,202,0,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(245,202,0,0.5); }
.btn-icon { width: 20px; height: 20px; }

.btn-secondary {
  display: inline-flex; align-items: center;
  padding: 14px 28px; border-radius: var(--radius-md);
  background: rgba(255,255,255,0.05); color: var(--text-primary);
  border: 1px solid var(--doge-border); font-weight: 600; font-size: 15px;
  text-decoration: none; cursor: pointer; font-family: inherit;
  transition: all var(--transition);
}
.btn-secondary:hover { border-color: var(--doge-border-hover); background: rgba(255,255,255,0.08); transform: translateY(-2px); }

.hero-stats {
  display: flex; gap: 32px; align-items: center;
}
.hero-stat { text-align: left; }
.stat-value { display: block; font-size: 24px; font-weight: 800; color: var(--doge-gold); font-family: 'JetBrains Mono', monospace; }
.stat-label { display: block; font-size: 12px; color: var(--text-muted); font-weight: 500; margin-top: 2px; }
.stat-divider { width: 1px; height: 40px; background: var(--doge-border); }

/* --- 3D COIN --- */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.doge-coin-3d { position: relative; }
.coin-outer {
  width: 280px; height: 280px;
  animation: coinFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 0 40px rgba(245,202,0,0.4));
}
@keyframes coinFloat {
  0%, 100% { transform: translateY(0) rotate3d(0,1,0,0deg); }
  50% { transform: translateY(-20px) rotate3d(0,1,0,5deg); }
}
.coin-inner {
  width: 100%; height: 100%;
  border-radius: 50%;
  animation: coinSpin 8s linear infinite;
}
.coin-svg { width: 100%; height: 100%; }
.coin-shadow {
  position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%);
  width: 180px; height: 24px;
  background: radial-gradient(ellipse, rgba(245,202,0,0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: shadowPulse 4s ease-in-out infinite;
}
@keyframes shadowPulse {
  0%, 100% { opacity: 0.8; width: 180px; }
  50% { opacity: 0.4; width: 140px; }
}
.coin-particles { position: absolute; inset: -40px; pointer-events: none; }
.particle {
  position: absolute; color: var(--doge-gold); font-size: 20px;
  animation: particleFloat linear infinite;
  opacity: 0.7;
}
.p1 { top: 10%; left: 5%; animation-duration: 3s; animation-delay: 0s; font-size: 14px; }
.p2 { top: 20%; right: 5%; animation-duration: 4s; animation-delay: 1s; }
.p3 { bottom: 20%; left: 10%; animation-duration: 3.5s; animation-delay: 0.5s; font-size: 18px; }
.p4 { bottom: 10%; right: 10%; animation-duration: 2.5s; animation-delay: 1.5s; font-size: 12px; }
.p5 { top: 50%; right: -5%; animation-duration: 5s; animation-delay: 2s; font-size: 16px; }
@keyframes particleFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.7; }
  50% { transform: translateY(-15px) scale(1.2); opacity: 1; }
}

/* --- TICKER --- */
.ticker-wrap {
  position: relative; z-index: 1;
  background: rgba(245,202,0,0.05);
  border-top: 1px solid var(--doge-border);
  border-bottom: 1px solid var(--doge-border);
  overflow: hidden; padding: 12px 0;
}
.ticker-track {
  display: flex; width: max-content;
  animation: tickerScroll 30s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ticker-item {
  display: flex; align-items: center; gap: 8px;
  padding: 0 24px; font-size: 13px; color: var(--text-secondary);
  white-space: nowrap;
}
.ticker-coin { font-weight: 700; color: var(--doge-gold); }
.ticker-price { font-family: 'JetBrains Mono', monospace; color: var(--text-primary); }
.ticker-change { font-weight: 700; font-family: 'JetBrains Mono', monospace; }
.ticker-change.up { color: var(--green); }
.ticker-change.down { color: var(--red); }
.ticker-sep { color: var(--text-muted); padding: 0 8px; }
.ticker-highlight { color: var(--text-primary); font-weight: 600; }

/* --- SECTIONS --- */
section { position: relative; z-index: 1; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-title { font-size: clamp(28px, 4vw, 48px); font-weight: 800; margin-bottom: 12px; letter-spacing: -0.02em; }
.section-subtitle { color: var(--text-secondary); font-size: 16px; }

/* --- CLAIM SECTION --- */
.claim-section {
  max-width: 1280px; margin: 0 auto;
  padding: 100px 24px;
}
.claim-wrapper {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 32px; align-items: start;
}

.claim-card {
  padding: 36px;
}

/* Reward Display */
.claim-reward-display {
  text-align: center;
  padding: 28px;
  background: rgba(245,202,0,0.05);
  border: 1px solid rgba(245,202,0,0.15);
  border-radius: var(--radius-md);
  margin-bottom: 28px;
}
.reward-label { font-size: 12px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; }
.reward-amount {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-bottom: 8px;
}
.reward-icon { width: 44px; height: 44px; }
.reward-value {
  font-size: 48px; font-weight: 800; color: var(--doge-gold);
  font-family: 'JetBrains Mono', monospace; line-height: 1;
  animation: rewardPulse 2s ease-in-out infinite;
}
@keyframes rewardPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
.reward-unit { font-size: 18px; font-weight: 700; color: var(--doge-gold-dark); }
.reward-usd { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.reward-bar {
  height: 6px; background: rgba(255,255,255,0.08);
  border-radius: 999px; margin-bottom: 8px; overflow: hidden;
}
.reward-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--doge-gold-dark), var(--doge-gold), var(--doge-gold-light));
  border-radius: 999px;
  transition: width 1s ease;
  animation: barShimmer 2s ease-in-out infinite;
}
@keyframes barShimmer {
  0% { filter: brightness(1); }
  50% { filter: brightness(1.3); }
  100% { filter: brightness(1); }
}
.reward-meta { font-size: 11px; color: var(--text-muted); }

/* Form */
.claim-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.input-wrapper { position: relative; display: flex; align-items: center; }
.input-icon {
  position: absolute; left: 14px;
  width: 18px; height: 18px; color: var(--text-muted);
  pointer-events: none;
}
.form-input {
  width: 100%; padding: 14px 48px 14px 44px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--doge-border);
  border-radius: var(--radius-md);
  color: var(--text-primary); font-family: 'JetBrains Mono', monospace;
  font-size: 14px; outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus {
  border-color: var(--doge-gold);
  box-shadow: 0 0 0 3px rgba(245,202,0,0.1);
}
.form-input::placeholder { color: var(--text-muted); font-family: 'Space Grotesk', sans-serif; }
.form-hint { font-size: 12px; color: var(--text-muted); }
.input-paste-btn {
  position: absolute; right: 12px;
  background: rgba(245,202,0,0.1);
  border: 1px solid rgba(245,202,0,0.2);
  border-radius: var(--radius-sm); padding: 6px;
  color: var(--doge-gold); cursor: pointer;
  transition: all var(--transition);
}
.input-paste-btn:hover { background: rgba(245,202,0,0.2); transform: scale(1.05); }

/* Captcha */
.captcha-box {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--doge-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color var(--transition);
}
.captcha-box:hover { border-color: var(--doge-border-hover); }
.captcha-check { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.captcha-checkbox {
  width: 22px; height: 22px;
  border: 2px solid var(--text-muted);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
}
.captcha-checkbox.checked {
  background: var(--doge-gold);
  border-color: var(--doge-gold);
}
.check-icon { width: 16px; height: 16px; }
.hidden { display: none; }
.captcha-logo { text-align: center; }
.captcha-text { font-size: 9px; color: var(--text-muted); margin-top: 2px; }

/* Claim Button */
.btn-claim {
  padding: 0;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #555, #333);
  border: 1px solid rgba(255,255,255,0.08);
  cursor: not-allowed; font-family: inherit;
  transition: all var(--transition);
  overflow: hidden; position: relative;
}
.btn-claim.ready {
  background: linear-gradient(135deg, var(--doge-gold-light), var(--doge-gold), var(--doge-gold-dark));
  border-color: var(--doge-gold);
  cursor: pointer;
  animation: btnGlow 2s ease-in-out infinite;
}
@keyframes btnGlow {
  0%, 100% { box-shadow: 0 4px 20px rgba(245,202,0,0.3); }
  50% { box-shadow: 0 4px 40px rgba(245,202,0,0.6); }
}
.btn-claim.ready:hover { transform: translateY(-2px); box-shadow: 0 8px 40px rgba(245,202,0,0.6) !important; }
.btn-claim-inner {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 16px; font-weight: 700;
  color: rgba(255,255,255,0.4);
  height: 100%; width: 100%;
}
.btn-claim.ready .btn-claim-inner { color: #000; }

/* Cooldown */
.cooldown-box {
  margin-top: 20px; padding: 20px;
  background: rgba(123, 97, 255, 0.05);
  border: 1px solid rgba(123, 97, 255, 0.2);
  border-radius: var(--radius-md);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center;
}
.cooldown-icon { font-size: 28px; }
.cooldown-label { font-size: 12px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.cooldown-timer { font-size: 36px; font-weight: 800; font-family: 'JetBrains Mono', monospace; color: var(--purple); }
.cooldown-progress {
  width: 100%; height: 4px;
  background: rgba(123, 97, 255, 0.15);
  border-radius: 999px; overflow: hidden;
}
.cooldown-progress-fill {
  height: 100%; border-radius: 999px;
  background: var(--purple);
  transition: width 1s linear;
}

/* Claim Side */
.claim-side { display: flex; flex-direction: column; gap: 20px; }

/* Balance Card */
.balance-card { padding: 28px; }
.balance-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.balance-title { font-size: 13px; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.08em; }
.balance-amount { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.balance-doge { font-size: 40px; font-weight: 800; font-family: 'JetBrains Mono', monospace; color: var(--doge-gold); }
.balance-unit { font-size: 16px; font-weight: 600; color: var(--doge-gold-dark); }
.balance-usd { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.btn-withdraw {
  width: 100%; padding: 12px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(245,202,0,0.08);
  border: 1px solid rgba(245,202,0,0.2);
  border-radius: var(--radius-md);
  color: var(--doge-gold); font-weight: 600; font-size: 14px;
  cursor: pointer; font-family: inherit;
  transition: all var(--transition); margin-bottom: 8px;
}
.btn-withdraw:hover { background: rgba(245,202,0,0.15); transform: translateY(-1px); }
.balance-note { font-size: 11px; color: var(--text-muted); text-align: center; }

/* Multiplier Card */
.multiplier-card { padding: 24px; }
.mult-title { font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.mult-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.mult-item {
  padding: 12px 8px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--doge-border);
  text-align: center; cursor: pointer;
  transition: all var(--transition);
}
.mult-item:hover:not(.locked) { border-color: var(--doge-border-hover); background: rgba(245,202,0,0.05); }
.mult-item.active {
  background: rgba(245,202,0,0.1);
  border-color: var(--doge-gold);
}
.mult-item.locked { opacity: 0.4; cursor: not-allowed; filter: grayscale(1); }
.mult-value { font-size: 20px; font-weight: 800; color: var(--doge-gold); }
.mult-label { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.mult-current { font-size: 13px; color: var(--text-secondary); }

/* Referral Card */
.referral-card { padding: 24px; }
.ref-title { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.ref-desc { font-size: 13px; color: var(--text-secondary); margin-bottom: 16px; }
.ref-input-wrap { display: flex; gap: 8px; margin-bottom: 16px; }
.ref-input {
  flex: 1; padding: 10px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--doge-border);
  border-radius: var(--radius-sm);
  color: var(--text-muted); font-size: 12px;
  font-family: 'JetBrains Mono', monospace; outline: none;
}
.ref-copy-btn {
  padding: 10px 16px;
  background: var(--doge-gold); color: #000;
  border: none; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 13px; cursor: pointer; font-family: inherit;
  transition: all var(--transition);
}
.ref-copy-btn:hover { background: var(--doge-gold-light); }
.ref-stats { display: flex; gap: 24px; }
.ref-stat { text-align: center; }
.ref-stat-val { display: block; font-size: 20px; font-weight: 800; color: var(--text-primary); }
.ref-stat-label { font-size: 12px; color: var(--text-muted); }

/* --- STATS SECTION --- */
.stats-section {
  max-width: 1280px; margin: 0 auto;
  padding: 60px 24px 100px;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card { padding: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.stat-card-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
}
.stat-card-value { font-size: 32px; font-weight: 800; font-family: 'JetBrains Mono', monospace; color: var(--text-primary); }
.stat-card-label { font-size: 14px; color: var(--text-secondary); font-weight: 500; }
.stat-card-sub { font-size: 12px; color: var(--green); font-weight: 600; }

/* --- LEADERBOARD --- */
.leaderboard-section {
  max-width: 1280px; margin: 0 auto;
  padding: 60px 24px 100px;
}
.leaderboard-card { padding: 0; overflow: hidden; }
.lb-tabs {
  display: flex; border-bottom: 1px solid var(--doge-border);
  padding: 0 24px;
}
.lb-tab {
  padding: 16px 24px; background: none; border: none;
  color: var(--text-muted); font-family: inherit;
  font-weight: 600; font-size: 14px; cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px; transition: all var(--transition);
}
.lb-tab.active, .lb-tab:hover {
  color: var(--doge-gold); border-bottom-color: var(--doge-gold);
}
.lb-table { padding: 0 0 8px; }
.lb-header {
  display: grid; grid-template-columns: 80px 1fr 120px 160px;
  padding: 12px 28px;
  font-size: 11px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.1em;
  border-bottom: 1px solid var(--doge-border);
}
.lb-row {
  display: grid; grid-template-columns: 80px 1fr 120px 160px;
  padding: 16px 28px;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  transition: background var(--transition);
}
.lb-row:hover { background: rgba(245,202,0,0.03); }
.lb-row:last-child { border-bottom: none; }
.lb-rank {
  font-size: 18px; font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
}
.rank-1 { color: #FFD700; }
.rank-2 { color: #C0C0C0; }
.rank-3 { color: #CD7F32; }
.lb-medal { font-size: 20px; }
.lb-addr {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; color: var(--text-secondary);
  display: flex; align-items: center; gap: 8px;
}
.lb-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; background: rgba(245,202,0,0.1);
  border: 1px solid var(--doge-border); flex-shrink: 0;
}
.lb-claims { font-size: 13px; color: var(--text-secondary); font-family: 'JetBrains Mono', monospace; }
.lb-amount {
  font-size: 15px; font-weight: 700; color: var(--doge-gold);
  font-family: 'JetBrains Mono', monospace;
  display: flex; align-items: center; gap: 6px;
}

/* --- HOW IT WORKS --- */
.how-section {
  max-width: 1280px; margin: 0 auto;
  padding: 60px 24px 100px;
}
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card { padding: 36px; position: relative; }
.step-number {
  font-size: 72px; font-weight: 800; font-family: 'JetBrains Mono', monospace;
  color: rgba(245,202,0,0.06); position: absolute; top: 16px; right: 20px;
  line-height: 1; pointer-events: none;
}
.step-icon { margin-bottom: 20px; }
.step-title { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.step-desc { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }

/* --- FAQ --- */
.faq-section {
  max-width: 800px; margin: 0 auto;
  padding: 60px 24px 100px;
}
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { padding: 20px 24px; cursor: pointer; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; font-size: 15px;
  color: var(--text-primary);
}
.faq-arrow {
  flex-shrink: 0; transition: transform var(--transition);
  color: var(--text-muted);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--doge-gold); }
.faq-a {
  max-height: 0; overflow: hidden; color: var(--text-secondary);
  font-size: 14px; line-height: 1.7;
  transition: max-height 0.35s ease, padding-top 0.25s ease;
}
.faq-item.open .faq-a { max-height: 200px; padding-top: 14px; }
.faq-item.open .faq-q { color: var(--doge-gold); }

/* --- FOOTER --- */
.footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--doge-border);
  background: rgba(10, 12, 16, 0.9);
  padding: 64px 0 0;
}
.footer-container {
  max-width: 1280px; margin: 0 auto;
  padding: 0 24px 48px;
  display: grid; grid-template-columns: 1.5fr 2fr;
  gap: 64px;
}
.footer-desc { font-size: 14px; color: var(--text-muted); margin: 12px 0 20px; max-width: 280px; }
.footer-socials { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05); border: 1px solid var(--doge-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); text-decoration: none;
  transition: all var(--transition);
}
.social-link:hover { background: rgba(245,202,0,0.1); border-color: var(--doge-border-hover); color: var(--doge-gold); transform: translateY(-2px); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-title { font-size: 13px; font-weight: 700; color: var(--text-primary); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.footer-col a { font-size: 14px; color: var(--text-muted); text-decoration: none; transition: color var(--transition); }
.footer-col a:hover { color: var(--doge-gold); }
.footer-bottom {
  border-top: 1px solid var(--doge-border);
  max-width: 1280px; margin: 0 auto;
  padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--text-muted);
}

/* --- MODAL --- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal {
  width: 100%; max-width: 480px; padding: 36px;
  position: relative;
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--doge-border);
  border-radius: 6px; padding: 6px 10px;
  color: var(--text-muted); cursor: pointer; font-size: 14px;
  transition: all var(--transition);
}
.modal-close:hover { background: rgba(255,0,0,0.1); color: var(--red); }
.modal-title { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.modal-desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 24px; }
.wallet-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.wallet-option {
  padding: 20px 16px; border-radius: var(--radius-md);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--doge-border);
  cursor: pointer; text-align: center;
  transition: all var(--transition); position: relative;
}
.wallet-option:hover { border-color: var(--doge-gold); background: rgba(245,202,0,0.05); transform: translateY(-2px); }
.wallet-icon { font-size: 28px; margin-bottom: 8px; }
.wallet-name { font-size: 13px; font-weight: 600; }
.wallet-badge {
  position: absolute; top: 8px; right: 8px;
  padding: 2px 8px; border-radius: 999px;
  font-size: 10px; font-weight: 700;
  background: rgba(245,202,0,0.1); color: var(--doge-gold);
  border: 1px solid rgba(245,202,0,0.2);
}
.wallet-badge.popular { background: rgba(0,210,168,0.1); color: var(--green); border-color: rgba(0,210,168,0.2); }
.modal-note { font-size: 12px; color: var(--text-muted); text-align: center; }

/* --- TOAST --- */
.toast-container {
  position: fixed; bottom: 24px; right: 24px; z-index: 300;
  display: flex; flex-direction: column; gap: 10px;
}
.toast {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; border-radius: var(--radius-md);
  background: var(--doge-surface-2);
  border: 1px solid var(--doge-border);
  box-shadow: var(--shadow-card);
  font-size: 14px; font-weight: 500;
  animation: toastSlide 0.3s ease;
  min-width: 280px; max-width: 360px;
}
.toast.success { border-color: rgba(0,210,168,0.4); background: rgba(0,210,168,0.1); }
.toast.error { border-color: rgba(255,107,107,0.4); background: rgba(255,107,107,0.1); }
.toast.info { border-color: rgba(245,202,0,0.3); background: rgba(245,202,0,0.05); }
@keyframes toastSlide { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.toast-icon { font-size: 18px; flex-shrink: 0; }

/* --- COIN RAIN --- */
.coin-rain { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 50; overflow: hidden; }
.rain-coin {
  position: absolute; top: -60px; font-size: 28px;
  animation: rainFall linear forwards;
  user-select: none; pointer-events: none;
  filter: drop-shadow(0 4px 8px rgba(245,202,0,0.6));
}
@keyframes rainFall {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding: 100px 24px 60px; gap: 48px; }
  .hero-visual { order: -1; }
  .hero-subtitle { margin: 0 auto 36px; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .claim-wrapper { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-right { gap: 8px; }
  .live-badge { padding: 4px 8px; font-size: 11px; }
  .btn-connect { padding: 7px 14px; font-size: 13px; }

  .hero { padding: 90px 16px 48px; }
  .hero-stats { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .stat-value { font-size: 18px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .hero-visual { display: none; }

  .claim-section { padding: 60px 16px; }
  .claim-card { padding: 20px; }
  .balance-card, .multiplier-card, .referral-card { padding: 20px; }
  .reward-value { font-size: 36px; }
  .balance-doge { font-size: 32px; }

  .ref-input-wrap { flex-direction: column; gap: 8px; }
  .ref-input { width: 100%; }
  .ref-copy-btn { width: 100%; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-section { padding: 40px 16px 60px; }

  .leaderboard-section { padding: 40px 16px 60px; }
  .lb-header, .lb-row { grid-template-columns: 50px 1fr 110px; }
  .lb-header span:nth-child(3), .lb-claims { display: none; }
  .lb-header, .lb-row { padding: 12px 16px; }
  .lb-tabs { padding: 0 16px; overflow-x: auto; }

  .how-section { padding: 40px 16px 60px; }
  .step-card { padding: 24px 20px; }

  .faq-section { padding: 40px 16px 60px; }

  .footer-container { padding: 0 16px 32px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; padding: 16px; }

  .wallet-options { grid-template-columns: 1fr; }
  .modal { padding: 24px 20px; }

  .toast { min-width: unset; max-width: calc(100vw - 32px); }
  .toast-container { right: 16px; left: 16px; bottom: 16px; }
}

@media (max-width: 480px) {
  .nav-container { padding: 0 14px; gap: 12px; }
  .logo-text { font-size: 17px; }
  .logo-icon { width: 30px; height: 30px; }
  .live-badge { display: none; }
  .btn-connect { font-size: 12px; padding: 7px 12px; }

  .hero-title { font-size: 34px; }
  .hero-subtitle { font-size: 15px; }
  .hero-stats { gap: 12px; }
  .stat-value { font-size: 16px; }
  .stat-label { font-size: 11px; }
  .stat-divider { height: 30px; }

  .claim-card { padding: 16px; }
  .reward-value { font-size: 30px; }
  .claim-reward-display { padding: 20px 16px; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 20px 16px; }
  .stat-card-value { font-size: 22px; }

  .lb-header, .lb-row { grid-template-columns: 44px 1fr 100px; padding: 10px 12px; }
  .lb-tab { padding: 12px 16px; font-size: 13px; }

  .section-title { font-size: 26px; }
  .section-header { margin-bottom: 32px; }

  .footer-links { grid-template-columns: 1fr; gap: 20px; }
}
