/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0d0b1e;
  --bg2: #1a1535;
  --bg3: #231d47;
  --accent: #a855f7;
  --accent-hover: #9333ea;
  --accent-glow: rgba(168, 85, 247, 0.3);
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --text: #ffffff;
  --text-muted: #9ca3af;
  --border: rgba(168, 85, 247, 0.2);
  --radius: 16px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

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

/* ===== PARTICLES ===== */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.15;
  animation: float linear infinite;
}
@keyframes float {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.15; }
  90% { opacity: 0.15; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 11, 30, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-img { height: 40px; width: auto; object-fit: contain; }
.logo-text { font-size: 1.2rem; font-weight: 700; color: var(--text); letter-spacing: -0.5px; }
.accent { color: var(--accent); }
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

/* ===== NETWORK BANNER ===== */
.network-banner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 2rem 20px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(168,85,247,0.06) 0%, transparent 100%);
}
.banner-logo {
  height: 128px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(168,85,247,0.4));
}
.banner-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}
.banner-text strong { color: var(--accent); }

/* ===== HERO ===== */
.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 100px 2rem 80px;
  max-width: 800px;
  margin: 0 auto;
}
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168,85,247,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(168,85,247,0.15);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 20px;
}
.gradient-text {
  background: linear-gradient(135deg, #a855f7, #ec4899, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-cta { margin-bottom: 24px; }

/* Trust banner */
.trust-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(34,197,94,0.07);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--success);
  margin-bottom: 32px;
}
.trust-sep { opacity: 0.4; }

/* Token panel meta */
.token-panel-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.token-panel-meta p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
.selected-count {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(168,85,247,0.12);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 3px 10px;
}

/* Wallet quota */
.wallet-quota {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: rgba(168,85,247,0.07);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-bottom: 10px;
}
.wallet-quota strong { color: var(--accent); }

/* Footer tagline */
.footer-tagline { font-size: 0.95rem; font-weight: 600; color: var(--accent); margin-bottom: 6px; }

/* Wallet info */
.wallet-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}
.wallet-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-family: monospace;
}
.network-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.dot.green { background: var(--success); box-shadow: 0 0 6px var(--success); }
.dot.purple { background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.btn-disconnect {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 2px 4px;
  border-radius: 4px;
  transition: color 0.2s;
}
.btn-disconnect:hover { color: var(--danger); }

.btn-nettoyage {
  background: linear-gradient(135deg, #a855f7, #ec4899);
  color: white;
  border: none;
  border-radius: 100px;
  padding: 10px 22px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.3px;
  box-shadow: 0 0 20px rgba(168,85,247,0.5), 0 0 40px rgba(236,72,153,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  animation: pulse-glow 2.5s ease-in-out infinite;
}
.btn-nettoyage:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 0 30px rgba(168,85,247,0.7), 0 0 60px rgba(236,72,153,0.3);
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(168,85,247,0.5), 0 0 40px rgba(236,72,153,0.2); }
  50% { box-shadow: 0 0 30px rgba(168,85,247,0.8), 0 0 60px rgba(236,72,153,0.4); }
}

/* ===== HERO OPTIONS ===== */
.hero-options {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 780px;
  margin: 40px auto 0;
  position: relative;
  z-index: 1;
}
.hero-option-card {
  flex: 1;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: border-color 0.3s, transform 0.3s;
}
.hero-option-card:hover { border-color: rgba(168,85,247,0.4); transform: translateY(-3px); }
.hero-option-card.featured {
  border-color: rgba(168,85,247,0.5);
  background: linear-gradient(160deg, #1a1535, #231d47);
  box-shadow: 0 0 40px rgba(168,85,247,0.1);
}
.hero-option-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.hero-option-badge.manual { background: rgba(156,163,175,0.15); color: var(--text-muted); border: 1px solid rgba(156,163,175,0.2); }
.hero-option-badge.free { background: rgba(34,197,94,0.15); color: var(--success); border: 1px solid rgba(34,197,94,0.3); }
.hero-option-icon { font-size: 2.2rem; line-height: 1; }
.hero-option-card h3 { font-size: 1.05rem; font-weight: 700; margin: 0; }
.hero-option-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; margin: 0; }
.hero-addr-box {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  width: 100%;
}
.hero-addr-box code {
  font-family: monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
  word-break: break-all;
  display: block;
}
.hero-addr-label {
  font-size: 0.68rem;
  color: #ef4444;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.hero-copy-btn {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 9px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s, transform 0.2s;
  font-family: 'Inter', sans-serif;
  margin-top: 4px;
}
.hero-copy-btn:hover { background: rgba(168,85,247,0.1); transform: translateY(-1px); }
.hero-option-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  flex-shrink: 0;
}
.hero-option-divider span {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* ===== STATS ===== */
.stats-section {
  position: relative;
  z-index: 1;
  padding: 40px 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.stat-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}
.stat-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -1px;
  margin-bottom: 6px;
}
.stat-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }

/* ===== HOW IT WORKS ===== */
.how-section {
  position: relative;
  z-index: 1;
  padding: 80px 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 48px;
  letter-spacing: -1px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}
.step-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.step-num {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.5;
  letter-spacing: 1px;
}
.step-icon { font-size: 2rem; margin-bottom: 12px; }
.step-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.step-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ===== APP SECTION ===== */
.app-section {
  position: relative;
  z-index: 1;
  padding: 40px 2rem 80px;
}
.app-container {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ===== PANELS ===== */
.panel {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s;
}
.panel:hover { border-color: rgba(168,85,247,0.4); }
.panel-header {
  padding: 24px 28px 16px;
  border-bottom: 1px solid var(--border);
}
.panel-header h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.panel-header p { font-size: 0.85rem; color: var(--text-muted); }
.panel-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.token-actions { display: flex; gap: 8px; }
.panel-body { padding: 24px 28px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
}
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: white;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-outline:hover:not(:disabled) {
  background: rgba(168,85,247,0.1);
  transform: translateY(-2px);
}
.btn-success {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  box-shadow: 0 4px 20px rgba(34,197,94,0.3);
}
.btn-success:hover:not(:disabled) { transform: translateY(-2px); }
.btn-ghost {
  background: rgba(168,85,247,0.1);
  color: var(--accent);
  border: 1px solid var(--border);
  padding: 6px 14px;
  font-size: 0.78rem;
}
.btn-ghost:hover { background: rgba(168,85,247,0.2); }
.btn-sm { padding: 6px 14px; font-size: 0.78rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; border-radius: 12px; }
.btn-icon { font-size: 1rem; }
.w-full { width: 100%; }

/* ===== INFO BOX ===== */
.info-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(168,85,247,0.08);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== LOADER ===== */
.loader-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.spinner {
  width: 24px; height: 24px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== TOKEN LIST ===== */
.token-list { display: flex; flex-direction: column; gap: 10px; }
.token-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: border-color 0.2s;
  cursor: pointer;
}
.token-item:hover { border-color: var(--accent); }
.token-item.selected { border-color: var(--accent); background: rgba(168,85,247,0.08); }
.token-checkbox {
  width: 18px; height: 18px;
  border: 2px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}
.token-item.selected .token-checkbox {
  background: var(--accent);
  border-color: var(--accent);
}
.token-item.selected .token-checkbox::after { content: '✓'; font-size: 0.7rem; color: white; }
.token-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #ec4899);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.token-info { flex: 1; min-width: 0; }
.token-name { font-size: 0.9rem; font-weight: 600; }
.token-addr {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.token-balance {
  text-align: right;
  flex-shrink: 0;
}
.token-amount { font-size: 0.9rem; font-weight: 600; color: var(--accent); }
.token-symbol { font-size: 0.75rem; color: var(--text-muted); }
.token-scam-badge {
  font-size: 0.65rem;
  background: rgba(239,68,68,0.15);
  color: #ef4444;
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: 4px;
  padding: 2px 6px;
  font-weight: 600;
}

/* ===== BURN ADDRESS ===== */
.burn-address-box {
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 20px;
}
.burn-label { font-size: 0.75rem; font-weight: 600; color: #ef4444; margin-bottom: 8px; letter-spacing: 0.5px; }
.burn-addr-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.burn-addr-row code {
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
  word-break: break-all;
  flex: 1;
}
.btn-copy {
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: border-color 0.2s;
  flex-shrink: 0;
}
.btn-copy:hover { border-color: var(--accent); }

.relayer-status {
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  background: rgba(168,85,247,0.1);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.relayer-status.online  { background: rgba(34,197,94,0.1);  color: var(--success); border-color: rgba(34,197,94,0.3); }
.relayer-status.offline { background: rgba(239,68,68,0.1);  color: var(--danger);  border-color: rgba(239,68,68,0.3); }

/* ===== OPTION CARDS ===== */
.option-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  transition: border-color 0.3s;
}
.option-card:last-child { margin-bottom: 0; }
.option-card.featured { border-color: rgba(168,85,247,0.4); }
.option-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.option-header h3 { font-size: 1rem; font-weight: 700; }
.option-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.option-badge.manual { background: rgba(156,163,175,0.15); color: var(--text-muted); }
.option-badge.free { background: rgba(34,197,94,0.15); color: var(--success); border: 1px solid rgba(34,197,94,0.3); }
.option-card p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 16px; line-height: 1.6; }

/* ===== AD OVERLAY ===== */
.ad-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.97);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ad-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 90%;
  max-width: 600px;
  overflow: hidden;
}
.ad-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
}
.ad-label { font-size: 0.72rem; font-weight: 700; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; }
.ad-timer { font-size: 1rem; font-weight: 800; color: var(--accent); font-family: monospace; }
.ad-content { padding: 20px; min-height: 280px; display: flex; align-items: center; justify-content: center; }
.ad-placeholder {
  text-align: center;
  background: var(--bg3);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 48px 24px;
  width: 100%;
}
.ad-logo { font-size: 3rem; margin-bottom: 16px; }
.ad-placeholder p { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.ad-placeholder code { font-size: 0.75rem; color: var(--accent); }
.ad-sub { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0 !important; line-height: 1.6; }
.ad-progress-wrap { padding: 16px 20px 8px; }
.ad-progress-bar {
  background: var(--bg);
  border-radius: 100px;
  height: 8px;
  overflow: hidden;
  margin-bottom: 8px;
}
.ad-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #ec4899);
  border-radius: 100px;
  width: 0%;
  transition: width 1s linear;
}
.ad-progress-label { font-size: 0.75rem; color: var(--text-muted); }
.ad-footer {
  padding: 12px 20px;
  background: var(--bg3);
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.78rem;
  color: var(--success);
  font-weight: 500;
}

/* ===== INFO SECTION ===== */
.info-section {
  position: relative;
  z-index: 1;
  padding: 40px 2rem 80px;
  max-width: 1000px;
  margin: 0 auto;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.info-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}
.info-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.info-icon { font-size: 2rem; margin-bottom: 12px; }
.info-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.info-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ===== FOOTER ===== */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 48px 2rem;
  text-align: center;
}
.footer-inner { max-width: 600px; margin: 0 auto; }
.footer-logo { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.footer-sub { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 16px; }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 16px; }
.footer-links a { font-size: 0.82rem; color: var(--accent); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-copy { font-size: 0.75rem; color: rgba(156,163,175,0.5); }

/* ===== MODAL ===== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.modal-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 90%;
  max-width: 400px;
  overflow: hidden;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.modal-header h3 { font-size: 1.1rem; font-weight: 700; }
.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 4px;
  border-radius: 4px;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--text); }
.modal-body { padding: 20px 24px; display: flex; flex-direction: column; gap: 12px; }
.wallet-option {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  width: 100%;
  text-align: left;
}
.wallet-option:hover { border-color: var(--accent); transform: translateX(4px); }
.wallet-arrow { margin-left: auto; color: var(--text-muted); }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 12px 24px;
  font-size: 0.85rem;
  font-weight: 500;
  z-index: 9999;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  animation: slideUp 0.3s ease;
}
.toast.success { border-color: var(--success); color: var(--success); }
.toast.error { border-color: var(--danger); color: var(--danger); }
.toast.info { border-color: var(--accent); color: var(--accent); }
@keyframes slideUp {
  from { transform: translateX(-50%) translateY(20px); opacity: 0; }
  to { transform: translateX(-50%) translateY(0); opacity: 1; }
}

.gas-warning {
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.35);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.8rem;
  color: #f59e0b;
  line-height: 1.6;
  margin-bottom: 16px;
}
.gas-warning strong { display: block; margin-bottom: 2px; }

/* ===== MANUAL TOKEN ADD ===== */
.manual-token-add {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.manual-token-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.manual-token-row {
  display: flex;
  gap: 8px;
}
.manual-token-input {
  flex: 1;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  color: var(--text);
  font-size: 0.82rem;
  font-family: monospace;
  outline: none;
  transition: border-color 0.2s;
}
.manual-token-input:focus { border-color: var(--accent); }
.manual-token-input::placeholder { color: rgba(156,163,175,0.4); }
.token-radio {
  width: 20px; height: 20px;
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all 0.2s;
}
.token-item.selected .token-radio { border-color: var(--accent); background: rgba(168,85,247,0.15); }
.token-radio-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

/* ===== CONFIRM MODAL ===== */
.confirm-box { max-width: 480px; }
.confirm-token-info {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 16px;
}
.confirm-token-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #ec4899);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; flex-shrink: 0;
}
.confirm-token-name { font-size: 1rem; font-weight: 700; }
.confirm-token-bal  { font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }
.confirm-warning {
  display: flex; gap: 12px;
  background: rgba(239,68,68,0.07);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 20px;
}
.confirm-warning-icon { font-size: 1.4rem; flex-shrink: 0; color: #ef4444; }
.confirm-warning-text strong { display: block; color: #ef4444; font-size: 0.9rem; margin-bottom: 8px; }
.confirm-warning-text p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 6px; }
.confirm-warning-text p:last-child { margin-bottom: 0; }
.confirm-actions { display: flex; gap: 10px; }

/* ===== UTILITIES ===== */
.hidden { display: none !important; }
@media (max-width: 768px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .info-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero h1 { font-size: 2.2rem; }
  .burn-addr-row code { font-size: 0.68rem; }
  .hero-options { flex-direction: column; }
  .hero-option-divider { padding: 12px 0; }
  .hero-option-divider span { width: 48px; height: 28px; border-radius: 100px; }
}
@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .panel-header-row { flex-direction: column; align-items: flex-start; gap: 10px; }
}
