@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #0c0e12;
  --surface: #131720;
  --card: #1a1f2e;
  --card-hover: #1f2536;
  --border: #252b3b;
  --border-light: #2e3549;
  --primary: #f7931a;
  --primary-dark: #d97706;
  --primary-glow: rgba(247,147,26,0.15);
  --text: #e8ecf4;
  --text-secondary: #7c8498;
  --text-muted: #4a5268;
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.6);
  --transition: 0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }

/* TYPOGRAPHY */
h1,h2,h3,h4,h5 { font-family: 'Syne', sans-serif; line-height: 1.2; }
.mono { font-family: 'JetBrains Mono', monospace; }

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12,14,18,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #000;
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.3px;
}

.nav-logo-text span { color: var(--primary); }

.nav-center {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--text);
  background: var(--card);
}

.nav-link.active { color: var(--primary); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-balance {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
}

.nav-balance-icon { font-size: 14px; }

.nav-icon-btn {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all var(--transition);
  text-decoration: none;
}

.nav-icon-btn:hover { color: var(--text); border-color: var(--border-light); }

.notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  background: var(--error);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg);
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 5px 12px 5px 6px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  position: relative;
}

.nav-user:hover { border-color: var(--border-light); }

.nav-avatar {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--primary);
  color: #000;
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px;
  min-width: 160px;
  box-shadow: var(--shadow);
  display: none;
  z-index: 200;
}

.nav-dropdown.open { display: block; }

.nav-dropdown a, .nav-dropdown button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  transition: all var(--transition);
}

.nav-dropdown a:hover, .nav-dropdown button:hover {
  background: var(--card-hover);
  color: var(--text);
}

.nav-dropdown .divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

/* LAYOUT */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 680px; margin: 0 auto; padding: 0 20px; }

.page { padding: 32px 0; }

/* SIDEBAR LAYOUT */
.layout-with-ads {
  display: grid;
  grid-template-columns: 160px 1fr 160px;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.ad-sidebar { display: flex; flex-direction: column; gap: 16px; padding-top: 32px; }

/* AD SLOTS */
.ad-slot {
  background: var(--card);
  border: 1px dashed var(--border-light);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 11px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  gap: 4px;
  overflow: hidden;
  position: relative;
}

.ad-slot-label {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ad-banner-top {
  width: 100%;
  height: 90px;
  background: var(--card);
  border: 1px dashed var(--border-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.ad-banner-bottom {
  width: 100%;
  height: 90px;
  background: var(--card);
  border: 1px dashed var(--border-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 32px;
}

.ad-sidebar .ad-slot {
  width: 160px;
  height: 600px;
}

.ad-slot-sm {
  width: 100%;
  height: 250px;
  margin: 16px 0;
}

/* CARDS */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.card-sm { padding: 16px; }
.card-lg { padding: 32px; }

.card-title {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}

/* FAUCET SECTION */
.faucet-hero {
  text-align: center;
  padding: 32px 0;
}

.faucet-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.faucet-title span { color: var(--primary); }

.faucet-subtitle {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 32px;
}

/* TIMER */
.timer-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.timer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.timer-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.timer-display {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 2px;
  margin-bottom: 16px;
  transition: all 0.5s;
}

.timer-display.ready {
  color: var(--success);
  animation: pulse-ready 1.5s ease-in-out infinite;
}

@keyframes pulse-ready {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.timer-progress-wrap {
  width: 100%;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 24px;
}

.timer-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  border-radius: 2px;
  transition: width 1s linear;
}

/* CLAIM BUTTON */
.claim-area { position: relative; }

.btn-claim {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 40px;
  background: var(--primary);
  color: #000;
  border: none;
  border-radius: var(--radius);
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: -0.2px;
  box-shadow: 0 4px 20px rgba(247,147,26,0.3);
  min-width: 220px;
}

.btn-claim:hover:not(:disabled) {
  background: #ffaa40;
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(247,147,26,0.45);
}

.btn-claim:active:not(:disabled) { transform: translateY(0); }

.btn-claim:disabled {
  background: var(--border-light);
  color: var(--text-muted);
  cursor: not-allowed;
  box-shadow: none;
}

.btn-claim .claim-amount {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  background: rgba(0,0,0,0.15);
  padding: 2px 8px;
  border-radius: 4px;
}

/* BELL */
.bell-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  user-select: none;
}

.bell-toggle input { display: none; }

.bell-icon {
  font-size: 18px;
  transition: all var(--transition);
}

.bell-toggle:has(input:checked) .bell-icon {
  color: var(--primary);
  filter: drop-shadow(0 0 6px var(--primary));
}

/* EARNINGS TABLE */
.earnings-table {
  width: 100%;
  border-collapse: collapse;
}

.earnings-table th {
  text-align: left;
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
}

.earnings-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.earnings-table tr:last-child td { border-bottom: none; }

.earnings-table tr:hover td { background: var(--card-hover); }

.earnings-period {
  color: var(--text-secondary);
  font-size: 13px;
}

.earnings-sat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
}

.earnings-btc {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-muted);
}

/* BONUS BADGE */
.bonus-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(247,147,26,0.12);
  border: 1px solid rgba(247,147,26,0.3);
  color: var(--primary);
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #000;
  font-weight: 600;
}

.btn-primary:hover { background: #ffaa40; }

.btn-secondary {
  background: var(--card-hover);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover { border-color: var(--border-light); background: var(--card-hover); }

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-ghost:hover { background: var(--card); color: var(--text); }

.btn-success {
  background: rgba(16,185,129,0.15);
  color: var(--success);
  border: 1px solid rgba(16,185,129,0.3);
}

.btn-danger {
  background: rgba(239,68,68,0.15);
  color: var(--error);
  border: 1px solid rgba(239,68,68,0.3);
}

.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-lg { padding: 13px 28px; font-size: 16px; font-weight: 600; }
.btn-block { width: 100%; }

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* FORMS */
.form-group { margin-bottom: 18px; }

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 7px;
}

.form-input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  transition: border-color var(--transition);
  outline: none;
}

.form-input:focus { border-color: var(--primary); }

.form-input.mono { font-family: 'JetBrains Mono', monospace; font-size: 13px; }

.form-input.error { border-color: var(--error); }
.form-input.success { border-color: var(--success); }

.form-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 5px;
}

.form-error {
  font-size: 12px;
  color: var(--error);
  margin-top: 5px;
  display: none;
}

.form-error.show { display: block; }

/* TABS */
.tabs {
  display: flex;
  gap: 4px;
  background: var(--surface);
  padding: 4px;
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.tab {
  flex: 1;
  padding: 8px 16px;
  text-align: center;
  border-radius: 7px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
  border: none;
  background: none;
  font-family: 'DM Sans', sans-serif;
}

.tab.active {
  background: var(--card);
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ALERTS */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 13px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}

.alert-success { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.25); color: #34d399; }
.alert-error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.25); color: #f87171; }
.alert-warning { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.25); color: #fbbf24; }
.alert-info { background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.25); color: #60a5fa; }
.alert-icon { font-size: 15px; flex-shrink: 0; margin-top: 1px; }

/* STATS ROW */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.stat-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
}

.stat-value.orange { color: var(--primary); }
.stat-value.green { color: var(--success); }

/* MODALS */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open { display: flex; }

.modal {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-lg);
  animation: modal-in 0.2s ease;
}

@keyframes modal-in {
  from { transform: scale(0.95) translateY(10px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.modal-title {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.modal-close {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all var(--transition);
}

.modal-close:hover { color: var(--text); }

/* AD MODAL */
.ad-modal-content {
  background: var(--surface);
  border: 1px dashed var(--border-light);
  border-radius: var(--radius);
  height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--text-muted);
  gap: 8px;
}

.ad-modal-timer {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--text-secondary);
}

.ad-skip-countdown {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

/* CAPTCHA */
.captcha-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.captcha-question {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  user-select: none;
  min-width: 80px;
}

.captcha-input {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 8px 12px;
  color: var(--text);
  font-size: 16px;
  font-family: 'JetBrains Mono', monospace;
  outline: none;
  max-width: 80px;
  text-align: center;
}

.captcha-input:focus { border-color: var(--primary); }

.captcha-refresh {
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px;
  display: flex;
  font-size: 14px;
  transition: all var(--transition);
}

.captcha-refresh:hover { color: var(--text); border-color: var(--border-light); }

/* LOGIN PAGE */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-bg {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(247,147,26,0.06), transparent);
  pointer-events: none;
}

.login-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  width: 100%;
  max-width: 440px;
  position: relative;
}

.login-logo {
  text-align: center;
  margin-bottom: 28px;
}

.login-logo-icon {
  width: 52px;
  height: 52px;
  background: var(--primary);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: #000;
  margin-bottom: 10px;
}

.login-logo h1 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.login-logo h1 span { color: var(--primary); }

.login-logo p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* REFERRAL */
.ref-code-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.ref-code {
  flex: 1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 2px;
}

.ref-url {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-secondary);
  word-break: break-all;
  flex: 1;
}

/* LEVEL BADGES */
.level-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Syne', sans-serif;
}

.level-1 { background: rgba(107,114,128,0.15); color: #9ca3af; border: 1px solid rgba(107,114,128,0.3); }
.level-2 { background: rgba(59,130,246,0.15); color: #60a5fa; border: 1px solid rgba(59,130,246,0.3); }
.level-3 { background: rgba(16,185,129,0.15); color: #34d399; border: 1px solid rgba(16,185,129,0.3); }
.level-4 { background: rgba(168,85,247,0.15); color: #c084fc; border: 1px solid rgba(168,85,247,0.3); }
.level-5 { background: rgba(247,147,26,0.15); color: var(--primary); border: 1px solid rgba(247,147,26,0.35); }

/* NOTIFICATIONS */
.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  margin-bottom: 8px;
  transition: all var(--transition);
  cursor: pointer;
}

.notif-item.unread {
  border-color: rgba(247,147,26,0.25);
  background: rgba(247,147,26,0.04);
}

.notif-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.notif-icon.orange { background: rgba(247,147,26,0.15); }
.notif-icon.green { background: rgba(16,185,129,0.15); }
.notif-icon.blue { background: rgba(59,130,246,0.15); }
.notif-icon.red { background: rgba(239,68,68,0.15); }

.notif-body { flex: 1; }

.notif-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2px;
}

.notif-text {
  font-size: 13px;
  color: var(--text-secondary);
}

.notif-time {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* TABLES */
.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
}

.data-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-secondary);
}

.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover td { background: var(--card-hover); }

/* STATUS BADGES */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-pending { background: rgba(245,158,11,0.15); color: var(--warning); }
.badge-success { background: rgba(16,185,129,0.15); color: var(--success); }
.badge-error { background: rgba(239,68,68,0.15); color: var(--error); }
.badge-info { background: rgba(59,130,246,0.15); color: var(--info); }

/* SECTION HEADER */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
}

/* DEPOSIT INFO */
.deposit-address-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  word-break: break-all;
  color: var(--text);
  letter-spacing: 0.5px;
}

/* TOAST */
.toast-container {
  position: fixed;
  top: 72px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  min-width: 260px;
  max-width: 340px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toast-in 0.3s ease;
  pointer-events: all;
}

.toast.removing { animation: toast-out 0.3s ease forwards; }

@keyframes toast-in {
  from { transform: translateX(110%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes toast-out {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(110%); opacity: 0; }
}

.toast-icon { font-size: 16px; flex-shrink: 0; }
.toast-msg { flex: 1; font-size: 13px; color: var(--text); }
.toast-success .toast-icon { color: var(--success); }
.toast-error .toast-icon { color: var(--error); }
.toast-warning .toast-icon { color: var(--warning); }
.toast-info .toast-icon { color: var(--info); }

/* ADBLOCK OVERLAY */
.adblock-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.adblock-overlay.show { display: flex; }

.adblock-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 460px;
  text-align: center;
}

.adblock-icon { font-size: 48px; margin-bottom: 16px; }

.adblock-title {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.adblock-text {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.7;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  margin-top: 60px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

.footer a { color: var(--text-muted); text-decoration: none; }
.footer a:hover { color: var(--primary); }

/* ADMIN */
.admin-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: calc(100vh - 60px);
}

.admin-sidebar {
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 24px 12px;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
  text-decoration: none;
  margin-bottom: 2px;
}

.admin-nav-item:hover, .admin-nav-item.active {
  background: var(--card);
  color: var(--text);
}

.admin-nav-item.active { color: var(--primary); }

.admin-content { padding: 28px; }

/* DIVIDER */
.divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .layout-with-ads { grid-template-columns: 1fr; }
  .ad-sidebar { display: none; }
  .nav-center { display: none; }
}

@media (max-width: 600px) {
  .login-card { padding: 24px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .nav-balance { display: none; }
}

/* PROGRESS BAR */
.level-progress {
  background: var(--border);
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  margin: 8px 0;
}

.level-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  border-radius: 3px;
  transition: width 0.5s ease;
}

/* EMPTY STATE */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
}

.empty-state-icon { font-size: 40px; margin-bottom: 12px; opacity: 0.5; }
.empty-state-title { font-size: 15px; font-weight: 500; color: var(--text-secondary); margin-bottom: 6px; }
.empty-state-text { font-size: 13px; }

/* SPIN ANIMATION */
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* COIN ANIMATION */
@keyframes coin-fall {
  0% { transform: translateY(-20px) scale(0.5) rotate(0deg); opacity: 1; }
  100% { transform: translateY(60px) scale(1) rotate(180deg); opacity: 0; }
}

.coin-particle {
  position: absolute;
  font-size: 20px;
  animation: coin-fall 0.8s ease-out forwards;
  pointer-events: none;
}

/* BTC price ticker in nav */
.btc-ticker {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

.btc-ticker span { color: var(--success); }

/* ─── OVERFLOW FIX (Chrome) ───────────────────────── */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

.layout-with-ads {
  max-width: 100%;
  box-sizing: border-box;
}

/* ─── LANDING PAGE STYLES ─────────────────────────── */
.btn-nav-login {
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  transition: all var(--transition);
  background: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.btn-nav-login:hover { color: var(--text); background: var(--card); }

.btn-nav-start {
  padding: 8px 20px;
  background: var(--primary);
  color: #000;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 16px rgba(247,147,26,0.3);
}
.btn-nav-start:hover { background: #ffaa40; transform: translateY(-1px); }

.logo-mark {
  width: 34px; height: 34px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 900;
  font-size: 17px;
  color: #000;
  flex-shrink: 0;
}
.logo-text {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.3px;
}
.logo-text span { color: var(--primary); }

/* coin fall animation */
@keyframes coin-fall {
  0%   { transform: translateY(-20px) scale(0.5) rotate(0deg); opacity: 1; }
  100% { transform: translateY(80px)  scale(1)   rotate(360deg); opacity: 0; }
}

/* ─── PROFILE PAGE ────────────────────────────────── */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 720px;
}

@media (max-width: 600px) {
  .profile-grid { grid-template-columns: 1fr; }
  .nav-center { display: none; }
  .layout-with-ads { grid-template-columns: 1fr; }
  .ad-sidebar { display: none; }
}
