/* ============================================
   BITMINEPR0 — DARK CRYPTO THEME
   Palette: Acid Neon + Volcanic Glass
   Fonts: Clash Display + Space Mono + Outfit
============================================ */

:root {
  --bg-primary: #0A0A0F;
  --bg-secondary: #0F0F1A;
  --bg-card: #13131F;
  --bg-card-hover: #1A1A2E;
  --border: rgba(255,255,255,0.07);
  --border-glow: rgba(247,147,26,0.3);

  --neon-orange: #F7931A;
  --neon-yellow: #FFD700;
  --neon-green: #00FF88;
  --neon-blue: #00D4FF;
  --neon-pink: #FF3CAC;

  --text-primary: #F0EEE8;
  --text-secondary: #8A8A9A;
  --text-muted: #4A4A5A;

  --gradient-main: linear-gradient(135deg, #F7931A 0%, #FFD700 100%);
  --gradient-glow: linear-gradient(135deg, rgba(247,147,26,0.2) 0%, rgba(255,215,0,0.1) 100%);
  --gradient-card: linear-gradient(145deg, #13131F 0%, #1A1A2E 100%);

  --font-display: 'Clash Display', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --font-body: 'Outfit', sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 30px rgba(247,147,26,0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}
a { color: var(--neon-orange); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--neon-yellow); }
input, button { font-family: var(--font-body); }
ul { list-style: none; }

/* ===== PARTICLES ===== */
#particles {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--neon-orange); border-radius: 3px; }

/* ===== CONTAINER ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(10,10,15,0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.nav-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  width: 38px; height: 38px;
  background: var(--gradient-main);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(247,147,26,0.4);
}
.logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}
.logo-accent { color: var(--neon-orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-link {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  text-decoration: none;
}
.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
.nav-balance {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.balance-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.balance-val {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--neon-orange);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--gradient-main);
  color: #000;
  border: none;
  padding: 10px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  font-family: var(--font-body);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(247,147,26,0.4);
}
.btn-primary.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 12px; }
.btn-primary.btn-full { width: 100%; padding: 14px; font-size: 16px; }

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  padding: 10px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}
.btn-ghost:hover {
  border-color: var(--neon-orange);
  color: var(--neon-orange);
  background: rgba(247,147,26,0.05);
}
.btn-ghost.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 12px; }

.btn-sm {
  background: rgba(247,147,26,0.1);
  color: var(--neon-orange);
  border: 1px solid rgba(247,147,26,0.2);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}
.btn-sm:hover { background: rgba(247,147,26,0.2); }

/* ===== GRADIENT TEXT ===== */
.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  max-width: 1280px;
  margin: 0 auto;
  gap: 60px;
  position: relative;
  z-index: 1;
}
.hero-content { flex: 1; max-width: 600px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(247,147,26,0.1);
  border: 1px solid rgba(247,147,26,0.2);
  color: var(--neon-orange);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease both;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s 0.1s ease both;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  animation: fadeInUp 0.6s 0.2s ease both;
}
.hero-sub strong { color: var(--neon-green); }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 36px;
  animation: fadeInUp 0.6s 0.3s ease both;
}
.hstat { text-align: center; }
.hstat-val {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--neon-orange);
}
.hstat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hstat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s 0.4s ease both;
}

/* Hero Visual */
.hero-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 400px;
}
.btc-orb {
  position: relative;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(247,147,26,0.2);
  animation: spin linear infinite;
}
.ring1 { width: 220px; height: 220px; animation-duration: 20s; border-color: rgba(247,147,26,0.3); }
.ring2 { width: 280px; height: 280px; animation-duration: 30s; animation-direction: reverse; }
.ring3 { width: 340px; height: 340px; animation-duration: 40s; border-color: rgba(247,147,26,0.1); }
.orb-core {
  width: 140px; height: 140px;
  background: var(--gradient-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  box-shadow: 0 0 60px rgba(247,147,26,0.5), 0 0 120px rgba(247,147,26,0.2);
  animation: pulse 3s ease-in-out infinite;
  z-index: 2;
}

.floating-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  animation: float ease-in-out infinite;
}
.fc1 { top: 10%; right: -10%; animation-duration: 4s; animation-delay: 0s; }
.fc2 { bottom: 15%; left: -5%; animation-duration: 5s; animation-delay: 1s; }
.fc3 { top: 55%; right: -15%; animation-duration: 4.5s; animation-delay: 0.5s; }
.fc-icon { font-size: 24px; }
.fc-val {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--neon-green);
}
.fc-label { font-size: 11px; color: var(--text-muted); }

/* ===== TICKER ===== */
.ticker-bar {
  background: rgba(247,147,26,0.05);
  border-top: 1px solid rgba(247,147,26,0.1);
  border-bottom: 1px solid rgba(247,147,26,0.1);
  padding: 12px 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.ticker-inner {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  width: max-content;
}
.ticker-item { font-size: 13px; color: var(--text-secondary); }
.ticker-item strong { color: var(--neon-orange); }
.ticker-sep { color: var(--text-muted); }

/* ===== SECTIONS ===== */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}
.section-dark { background: var(--bg-secondary); }
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 16px;
  color: var(--text-secondary);
}

/* ===== DASHBOARD GRID ===== */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.dash-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.dash-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-main);
  opacity: 0;
  transition: var(--transition);
}
.dash-card:hover {
  border-color: rgba(247,147,26,0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.dash-card:hover::before { opacity: 1; }
.primary-card {
  grid-column: span 1;
  border-color: rgba(247,147,26,0.2);
  background: linear-gradient(145deg, #1A1208 0%, #13131F 100%);
}
.dash-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.dash-icon {
  width: 36px; height: 36px;
  background: rgba(247,147,26,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.dash-label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.dash-big-val {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  word-break: break-all;
}
.dash-sub-val {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.dash-progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 8px;
}
.dash-progress-fill {
  height: 100%;
  background: var(--gradient-main);
  border-radius: 2px;
  transition: width 0.5s ease;
}
.dash-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
}
.speed-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 40px;
  margin-bottom: 8px;
}
.speed-bar {
  flex: 1;
  background: var(--gradient-main);
  border-radius: 2px;
  opacity: 0.6;
  transition: height 0.3s ease;
}
.earning-trend {
  font-size: 13px;
  color: var(--text-muted);
}
.trend-up { color: var(--neon-green); font-weight: 700; }
.level-val { color: var(--neon-yellow) !important; }
.level-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.level-badge {
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.level-badge.active {
  background: rgba(247,147,26,0.15);
  color: var(--neon-orange);
  border-color: rgba(247,147,26,0.3);
}

/* ===== MINING SECTION ===== */
.mining-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
}
.mining-main { display: flex; flex-direction: column; gap: 20px; }

.mining-engine {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}
.engine-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  height: 180px;
}
.engine-ring {
  width: 160px; height: 160px;
  border-radius: 50%;
  border: 3px solid rgba(247,147,26,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.engine-ring.active {
  border-color: var(--neon-orange);
  box-shadow: 0 0 30px rgba(247,147,26,0.3);
  animation: spin 3s linear infinite;
}
.engine-core {
  width: 120px; height: 120px;
  background: var(--bg-card);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 2px solid var(--border);
}
.engine-icon { font-size: 36px; }
.engine-status {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 2px;
}
.engine-status.mining { color: var(--neon-green); }

.engine-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.estat {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
}
.estat-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.estat-val {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--neon-orange);
}

.engine-controls {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.btn-mine {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-main);
  color: #000;
  border: none;
  padding: 14px 36px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}
.btn-mine:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(247,147,26,0.4); }
.btn-mine.active { background: linear-gradient(135deg, #FF4444, #FF8800); }
.mine-btn-icon { font-size: 18px; }

.btn-boost {
  background: rgba(0,212,255,0.1);
  color: var(--neon-blue);
  border: 1px solid rgba(0,212,255,0.2);
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}
.btn-boost:hover { background: rgba(0,212,255,0.2); transform: translateY(-2px); }

/* Mining Log */
.mining-log {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.log-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}
.log-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--neon-green);
}
.live-dot {
  width: 6px; height: 6px;
  background: var(--neon-green);
  border-radius: 50%;
  animation: blink 1s ease-in-out infinite;
}
.log-body {
  padding: 16px 20px;
  max-height: 160px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.log-entry {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  border-left: 3px solid transparent;
}
.log-info { color: var(--text-secondary); border-left-color: var(--neon-blue); background: rgba(0,212,255,0.03); }
.log-success { color: var(--neon-green); border-left-color: var(--neon-green); background: rgba(0,255,136,0.03); }
.log-earn { color: var(--neon-orange); border-left-color: var(--neon-orange); background: rgba(247,147,26,0.03); }

/* Mining Sidebar */
.mining-sidebar { display: flex; flex-direction: column; gap: 20px; }

.boost-card, .bonus-card, .tasks-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.boost-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.boost-list { display: flex; flex-direction: column; gap: 10px; }
.boost-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}
.boost-item:hover { border-color: rgba(247,147,26,0.2); background: rgba(247,147,26,0.05); }
.active-boost { border-color: rgba(0,255,136,0.2) !important; background: rgba(0,255,136,0.03) !important; }
.boost-info { display: flex; flex-direction: column; gap: 2px; }
.boost-name { font-size: 13px; font-weight: 600; }
.boost-speed { font-family: var(--font-mono); font-size: 11px; color: var(--neon-orange); }
.boost-badge {
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(0,255,136,0.1);
  color: var(--neon-green);
}
.boost-badge.unlock {
  background: rgba(0,212,255,0.1);
  color: var(--neon-blue);
}

/* Daily Bonus */
.bonus-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}
.bonus-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}
.bonus-day:hover { border-color: rgba(247,147,26,0.3); }
.bonus-day.claimed {
  background: rgba(0,255,136,0.05);
  border-color: rgba(0,255,136,0.2);
}
.bonus-day.special {
  background: rgba(247,147,26,0.05);
  border-color: rgba(247,147,26,0.2);
}
.day-num { font-size: 12px; font-weight: 700; color: var(--text-secondary); }
.day-val { font-size: 9px; color: var(--text-muted); text-align: center; }
.btn-claim {
  width: 100%;
  background: var(--gradient-main);
  color: #000;
  border: none;
  padding: 10px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}
.btn-claim:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(247,147,26,0.3); }

/* Tasks */
.task-list { display: flex; flex-direction: column; gap: 10px; }
.task-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.task-item.done { opacity: 0.5; }
.task-info { display: flex; flex-direction: column; gap: 2px; }
.task-name { font-size: 13px; font-weight: 500; }
.task-reward { font-family: var(--font-mono); font-size: 11px; color: var(--neon-green); }
.task-btn {
  background: rgba(247,147,26,0.1);
  color: var(--neon-orange);
  border: 1px solid rgba(247,147,26,0.2);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}
.task-btn:hover { background: rgba(247,147,26,0.2); }
.task-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ===== REFERRAL ===== */
.referral-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
}
.referral-main { display: flex; flex-direction: column; gap: 20px; }

.ref-link-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.ref-link-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 16px;
}
.ref-link-box {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.ref-link-box input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--neon-orange);
  font-family: var(--font-mono);
  font-size: 13px;
  outline: none;
}
.btn-copy {
  background: var(--gradient-main);
  color: #000;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  font-family: var(--font-body);
}
.btn-copy:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(247,147,26,0.3); }

.ref-share-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.share-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  border: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}
.share-btn svg { width: 16px; height: 16px; }
.share-btn:hover { transform: translateY(-2px); }
.whatsapp { background: #25D366; color: #fff; }
.telegram { background: #0088CC; color: #fff; }
.facebook { background: #1877F2; color: #fff; }

.ref-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.ref-stat {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.ref-stat-val {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--neon-orange);
  margin-bottom: 6px;
}
.ref-stat-label { font-size: 12px; color: var(--text-muted); }

/* Referral Sidebar */
.referral-sidebar { display: flex; flex-direction: column; gap: 20px; }
.how-it-works {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.how-it-works h3 {
  font-family: var(--font-display);
  font-size: 16px;
  margin-bottom: 20px;
}
.hiw-step {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}
.hiw-num {
  width: 32px; height: 32px;
  background: var(--gradient-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #000;
  flex-shrink: 0;
}
.hiw-text strong { display: block; font-size: 14px; margin-bottom: 4px; }
.hiw-text p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

.ref-leaderboard {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.ref-leaderboard h3 {
  font-family: var(--font-display);
  font-size: 16px;
  margin-bottom: 16px;
}
.lb-list { display: flex; flex-direction: column; gap: 10px; }
.lb-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
}
.lb-rank {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
  flex-shrink: 0;
}
.lb-rank.gold { background: rgba(255,215,0,0.2); color: var(--neon-yellow); }
.lb-rank.silver { background: rgba(192,192,192,0.2); color: #C0C0C0; }
.lb-rank.bronze { background: rgba(205,127,50,0.2); color: #CD7F32; }
.lb-name { flex: 1; font-size: 13px; }
.lb-earn { font-family: var(--font-mono); font-size: 12px; color: var(--neon-orange); }

/* ===== WITHDRAW ===== */
.withdraw-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
}
.withdraw-form-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.withdraw-method-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.method-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 8px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}
.method-tab img { width: 40px; height: 20px; object-fit: contain; }
.method-icon { font-size: 20px; }
.method-tab.active {
  color: var(--neon-orange);
  border-bottom-color: var(--neon-orange);
  background: rgba(247,147,26,0.05);
}
.method-tab:hover { color: var(--text-primary); }

.withdraw-form { padding: 28px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.required { color: var(--neon-orange); }
.balance-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(247,147,26,0.05);
  border: 1px solid rgba(247,147,26,0.15);
  border-radius: 10px;
  padding: 14px 16px;
}
.balance-display span:first-child {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--neon-orange);
}
.pkr-equiv { font-size: 13px; color: var(--text-muted); }

.input-with-icon {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
}
.input-with-icon:focus-within {
  border-color: var(--neon-orange);
  box-shadow: 0 0 0 3px rgba(247,147,26,0.1);
}
.input-icon {
  padding: 0 14px;
  font-size: 18px;
  border-right: 1px solid var(--border);
}
.input-with-icon input {
  flex: 1;
  background: none;
  border: none;
  padding: 13px 16px;
  color: var(--text-primary);
  font-size: 15px;
  outline: none;
}
.input-with-icon input::placeholder { color: var(--text-muted); }

.amount-input-wrap { display: flex; gap: 10px; }
.amount-input-wrap .input-with-icon { flex: 1; }
.btn-max {
  background: rgba(247,147,26,0.1);
  color: var(--neon-orange);
  border: 1px solid rgba(247,147,26,0.2);
  padding: 0 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}
.btn-max:hover { background: rgba(247,147,26,0.2); }
.amount-equiv { font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.form-group small { font-size: 11px; color: var(--text-muted); margin-top: 6px; display: block; }

.withdraw-summary {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 20px;
}
.ws-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 0;
  color: var(--text-secondary);
}
.ws-row:not(:last-child) { border-bottom: 1px solid var(--border); }
.ws-total { font-weight: 700; color: var(--text-primary); font-size: 15px; }
.fee-free { color: var(--neon-green); font-weight: 700; }

.btn-withdraw {
  width: 100%;
  background: var(--gradient-main);
  color: #000;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 12px;
  font-family: var(--font-body);
}
.btn-withdraw:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(247,147,26,0.4); }
.withdraw-note { text-align: center; font-size: 12px; color: var(--text-muted); }

/* Withdraw Info */
.withdraw-info { display: flex; flex-direction: column; gap: 20px; }
.info-card, .rate-card, .recent-withdrawals {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.info-card h3, .rate-card h3, .recent-withdrawals h3 {
  font-family: var(--font-display);
  font-size: 16px;
  margin-bottom: 14px;
}
.info-list { display: flex; flex-direction: column; gap: 10px; }
.info-list li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-secondary); }
.info-icon { font-size: 14px; }

.rate-display { text-align: center; padding: 12px 0; }
.rate-big {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--neon-orange);
}
.rate-sub { font-size: 12px; color: var(--text-muted); }
.rate-change { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 8px; }

.rw-list { display: flex; flex-direction: column; gap: 10px; }
.rw-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
}
.rw-info { display: flex; flex-direction: column; gap: 2px; }
.rw-name { font-size: 13px; font-weight: 500; }
.rw-method { font-size: 11px; color: var(--text-muted); }
.rw-amount { font-family: var(--font-mono); font-size: 13px; color: var(--neon-green); font-weight: 700; }

/* ===== HISTORY ===== */
.history-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}
.filter-btn.active, .filter-btn:hover {
  background: rgba(247,147,26,0.1);
  border-color: rgba(247,147,26,0.3);
  color: var(--neon-orange);
}

.history-table-wrap {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.history-table {
  width: 100%;
  border-collapse: collapse;
}
.history-table th {
  padding: 14px 20px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.history-table td {
  padding: 14px 20px;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.history-table tr:last-child td { border-bottom: none; }
.history-table tr:hover td { background: rgba(255,255,255,0.02); }

.empty-state {
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
}
.empty-icon { font-size: 40px; display: block; margin-bottom: 12px; }

.tx-type {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
}
.tx-mining { background: rgba(247,147,26,0.1); color: var(--neon-orange); }
.tx-referral { background: rgba(0,212,255,0.1); color: var(--neon-blue); }
.tx-withdrawal { background: rgba(255,60,172,0.1); color: var(--neon-pink); }
.tx-bonus { background: rgba(0,255,136,0.1); color: var(--neon-green); }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
}
.status-completed { background: rgba(0,255,136,0.1); color: var(--neon-green); }
.status-pending { background: rgba(255,215,0,0.1); color: var(--neon-yellow); }
.status-processing { background: rgba(0,212,255,0.1); color: var(--neon-blue); }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 16px 0 20px;
}
.footer-social { display: flex; gap: 12px; }
.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition);
  text-decoration: none;
}
.social-link:hover { background: rgba(247,147,26,0.1); transform: translateY(-2px); }
.footer-links h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: var(--text-muted); transition: var(--transition); }
.footer-links a:hover { color: var(--neon-orange); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.disclaimer { color: var(--text-muted) !important; font-size: 11px !important; }

/* ===== MODALS ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; animation: fadeIn 0.2s ease; }
.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  width: 100%;
  max-width: 440px;
  position: relative;
  animation: slideUp 0.3s ease;
}
.modal.modal-sm { max-width: 360px; }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255,255,255,0.05);
  border: none;
  color: var(--text-secondary);
  width: 32px; height: 32px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition);
}
.modal-close:hover { background: rgba(255,255,255,0.1); color: var(--text-primary); }
.modal-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--neon-orange);
  margin-bottom: 20px;
}
.modal-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 6px;
}
.modal-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.modal .form-group { margin-bottom: 16px; }
.modal .form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  display: block;
}
.modal input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
  font-family: var(--font-body);
}
.modal input:focus {
  border-color: var(--neon-orange);
  box-shadow: 0 0 0 3px rgba(247,147,26,0.1);
}
.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.form-check input { width: auto; }
.form-check label { font-size: 13px; color: var(--text-secondary); text-transform: none; letter-spacing: 0; }
.modal-switch { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 16px; }

/* Boost Modal */
.boost-modal-content { text-align: center; }
.boost-modal-icon { font-size: 48px; margin-bottom: 16px; }
.boost-modal-content h2 { font-family: var(--font-display); font-size: 22px; margin-bottom: 8px; }
.boost-modal-content p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.ad-timer {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.ad-progress {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  background: rgba(247,147,26,0.1);
  transition: width 1s linear;
  width: 0%;
}
#adTimerText { font-family: var(--font-mono); font-size: 14px; position: relative; z-index: 1; }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  z-index: 3000;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  box-shadow: var(--shadow);
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { border-color: rgba(0,255,136,0.3); color: var(--neon-green); }
.toast.error { border-color: rgba(255,60,172,0.3); color: var(--neon-pink); }
.toast.info { border-color: rgba(247,147,26,0.3); color: var(--neon-orange); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 60px rgba(247,147,26,0.5), 0 0 120px rgba(247,147,26,0.2); }
  50% { box-shadow: 0 0 80px rgba(247,147,26,0.7), 0 0 160px rgba(247,147,26,0.3); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
@keyframes miningPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
  .mining-layout { grid-template-columns: 1fr; }
  .referral-layout { grid-template-columns: 1fr; }
  .withdraw-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero { flex-direction: column; padding: 100px 24px 60px; text-align: center; }
  .hero-stats { justify-content: center; }
  .hero-cta { justify-content: center; }
  .hero-visual { display: none; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 16px;
    gap: 4px;
    z-index: 999;
  }
  .hamburger { display: flex; }
  .nav-balance { display: none; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .engine-stats { grid-template-columns: repeat(2, 1fr); }
  .ref-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .bonus-days { grid-template-columns: repeat(7, 1fr); }
  .history-table { font-size: 12px; }
  .history-table th, .history-table td { padding: 10px 12px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 36px; }
  .section { padding: 60px 0; }
  .modal { padding: 24px; }
  .engine-stats { grid-template-columns: repeat(2, 1fr); }
  .engine-controls { flex-direction: column; }
  .btn-mine, .btn-boost { width: 100%; justify-content: center; }
}