/* ═══════════════════════════════════════════════════════════════
   MAIN.CSS v2 — Full UI + All 14 Modal Types
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  --primary:       #6C63FF;
  --primary-light: #8B84FF;
  --primary-dark:  #5548E0;
  --secondary:     #FF6584;
  --accent:        #43E97B;
  --bg:            #0D0D1A;
  --bg2:           #13132A;
  --bg3:           #1A1A35;
  --card:          #16162E;
  --border:        rgba(108,99,255,0.2);
  --border2:       rgba(255,255,255,0.06);
  --text:          #FFFFFF;
  --text-muted:    rgba(255,255,255,0.5);
  --text-dim:      rgba(255,255,255,0.25);
  --success:       #22C55E;
  --warning:       #F59E0B;
  --error:         #EF4444;
  --shadow:        0 8px 40px rgba(0,0,0,0.6);
  --shadow-glow:   0 0 40px rgba(108,99,255,0.25);
  --radius:        16px;
  --radius-sm:     10px;
  --transition:    all 0.25s ease;
  --gradient:      linear-gradient(135deg, var(--primary), var(--secondary));
  --bg-card:       #16162E;
}

.light-theme {
  --bg:         #F4F4F8;
  --bg2:        #FFFFFF;
  --bg3:        #EEEEF5;
  --card:       #FFFFFF;
  --border:     rgba(108,99,255,0.15);
  --border2:    rgba(0,0,0,0.06);
  --text:       #1A1A2E;
  --text-muted: rgba(26,26,46,0.55);
  --text-dim:   rgba(26,26,46,0.3);
}

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Animated background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 10%, rgba(108,99,255,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 80%, rgba(255,101,132,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(67,233,123,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Layout ────────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; }

/* ── Navbar ─────────────────────────────────────────────────────── */
.navbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 40px;
  background: rgba(13,13,26,0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border2);
  position: sticky; top: 0; z-index: 100;
}
.navbar-brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; color: var(--text); }
.navbar-brand-dot { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; }
.navbar-links { display: flex; gap: 32px; }
.navbar-links a { color: var(--text-muted); font-size: 14px; font-weight: 500; transition: var(--transition); }
.navbar-links a:hover { color: var(--text); }
.connect-btn, .btn-connect, #connectBtn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.connect-btn:hover, .btn-connect:hover, #connectBtn:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(108,99,255,0.4);
}
.connect-btn.btn-connected, .btn-connect.btn-connected, #connectBtn.btn-connected { background: rgba(34,197,94,0.15); border: 1px solid rgba(34,197,94,0.35); color: #22c55e; }
.dot-green { width: 8px; height: 8px; background: var(--success); border-radius: 50%; display: inline-block; }

/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 100px 24px 80px;
  position: relative;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  background: rgba(108,99,255,0.1);
  border: 1px solid rgba(108,99,255,0.3);
  border-radius: 999px;
  font-size: 13px; color: var(--primary-light);
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc { font-size: 18px; color: var(--text-muted); max-width: 540px; margin: 0 auto 40px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; border: none; border-radius: 999px;
  font-size: 16px; font-weight: 700; cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(108,99,255,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(108,99,255,0.5); }
.btn-secondary {
  padding: 14px 32px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 16px; font-weight: 600; cursor: pointer;
  transition: var(--transition);
}
.btn-secondary:hover { background: var(--bg3); border-color: var(--primary); }

/* ── Stats Bar ──────────────────────────────────────────────────── */
.stats-bar {
  display: flex; gap: 0; justify-content: center;
  margin: 0 auto 80px;
  max-width: 800px;
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-item {
  flex: 1; text-align: center; padding: 24px 20px;
  border-right: 1px solid var(--border2);
}
.stat-item:last-child { border-right: none; }
.stat-value { font-size: 26px; font-weight: 800; color: var(--text); }
.stat-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ── Network Grid ───────────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-title { font-size: 36px; font-weight: 800; text-align: center; margin-bottom: 12px; }
.section-subtitle { font-size: 16px; color: var(--text-muted); text-align: center; margin-bottom: 48px; }
#networksGrid, .networks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
}
.network-card {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  padding: 16px 8px;
  text-align: center;
  transition: var(--transition);
  cursor: default;
}
.network-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(108,99,255,0.2);
}
.network-icon { font-size: 22px; margin-bottom: 8px; width: 40px; height: 40px; line-height: 40px; border-radius: 10px; margin: 0 auto 8px; }
.network-name { font-size: 11px; color: var(--text-muted); font-weight: 500; line-height: 1.3; }

/* ── Features ───────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}
.feature-card:hover { border-color: var(--primary); box-shadow: var(--shadow-glow); }
.feature-icon { font-size: 32px; margin-bottom: 16px; }
.feature-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ── Footer ─────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border2);
  padding: 40px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* ════════════════════════════════════════════════════════════════
   MODAL OVERLAY SYSTEM
   ════════════════════════════════════════════════════════════════ */

.wc-overlay {
  position: fixed; inset: 0;
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.wc-overlay.active { opacity: 1; pointer-events: all; }

.wc-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
}

/* ── Base Dialog ─────────────────────────────────────────────────── */
.wc-dialog {
  position: relative; z-index: 1;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%; max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow);
  animation: wc-slide-up 0.28s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes wc-slide-up {
  from { opacity: 0; transform: translateY(30px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

.wc-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 20px 0;
}
.wc-title { font-size: 18px; font-weight: 700; color: var(--text); }
.wc-close {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg3); border: 1px solid var(--border2);
  border-radius: 50%;
  color: var(--text-muted); font-size: 14px;
  cursor: pointer; transition: var(--transition);
}
.wc-close:hover { background: var(--error); color: #fff; border-color: var(--error); }
.wc-body { padding: 16px 20px 20px; }
.wc-subtitle { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.5; }
.wc-footer-text { font-size: 11px; color: var(--text-dim); text-align: center; margin-top: 16px; }

/* ── Wallet List Items ───────────────────────────────────────────── */
.wc-list { display: flex; flex-direction: column; gap: 8px; }
.wc-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  cursor: pointer; transition: var(--transition);
  user-select: none;
}
.wc-item:hover { background: rgba(108,99,255,0.08); border-color: var(--primary); transform: translateX(2px); }
.wc-item.wc-item--loading { opacity: 0.7; pointer-events: none; }
.wc-item-logo { width: 40px; height: 40px; flex-shrink: 0; }
.wc-item-logo svg { width: 40px; height: 40px; border-radius: 10px; }
.wc-item-logo--lg svg { width: 48px; height: 48px; }
.wc-item-info { flex: 1; min-width: 0; }
.wc-item-name { font-size: 14px; font-weight: 600; color: var(--text); }
.wc-item-desc { font-size: 12px; color: var(--text-muted); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wc-item-arrow { color: var(--text-muted); font-size: 18px; font-weight: 300; }
.wc-spinner-sm { width: 16px; height: 16px; border: 2px solid rgba(108,99,255,0.2); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.7s linear infinite; }

/* ── Grid items (Uranus) ─────────────────────────────────────────── */
.wc-grid-2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.wc-grid-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 16px 8px; gap: 8px;
  background: var(--bg3); border: 1px solid var(--border2);
  border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition);
}
.wc-grid-item:hover { border-color: var(--primary); background: rgba(108,99,255,0.08); }
.wc-grid-logo svg { width: 36px; height: 36px; border-radius: 8px; }
.wc-grid-name { font-size: 11px; color: var(--text-muted); font-weight: 500; text-align: center; }

/* ── Compact items ───────────────────────────────────────────────── */
.wc-item-compact { padding: 10px 12px; }
.wc-item-compact .wc-item-logo svg { width: 32px; height: 32px; }
.wc-item-compact .wc-item-name { font-size: 13px; }

/* ══════════════════════════════════════════════════════════════════
   MODAL THEME VARIANTS
   ══════════════════════════════════════════════════════════════════ */

/* ── Mars ──────────────────────────────────────────────────────── */
.wc-mars {
  background: linear-gradient(160deg, #1a0a0a 0%, #2a1010 50%, #1a0a0a 100%);
  border-color: rgba(220,60,30,0.4);
}
.wc-mars-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 20px 0; position: relative;
}
.wc-mars-planet {
  position: absolute; top: -30px; right: -30px;
  width: 120px; height: 120px;
  background: radial-gradient(circle at 35% 35%, #FF6B35, #CC3310, #8B1500);
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(220,60,30,0.3), inset -20px -20px 40px rgba(0,0,0,0.5);
  opacity: 0.6; pointer-events: none;
}
.wc-mars .wc-item { border-color: rgba(220,60,30,0.2); }
.wc-mars .wc-item:hover { border-color: rgba(220,60,30,0.6); background: rgba(220,60,30,0.08); }
.wc-mars-subtitle { font-size: 13px; color: #ff9966; margin-bottom: 16px; }

/* ── Saturn ────────────────────────────────────────────────────── */
.wc-saturn {
  background: linear-gradient(160deg, #0f1a2e 0%, #1a2840 100%);
  border-color: rgba(200,160,60,0.4);
  overflow: visible;
}
.wc-saturn-ring {
  position: absolute; top: -40px; left: 50%;
  transform: translateX(-50%) rotateX(70deg);
  width: 260px; height: 60px;
  border: 12px solid rgba(200,160,60,0.3);
  border-radius: 50%; pointer-events: none;
}
.wc-saturn-logo { font-size: 28px; }
.wc-saturn-badge {
  font-size: 11px; color: rgba(200,160,60,0.7);
  text-align: center; margin-top: 16px; padding-top: 12px;
  border-top: 1px solid rgba(200,160,60,0.15);
}
.wc-saturn .wc-item:hover { border-color: rgba(200,160,60,0.5); }

/* ── Jupiter ────────────────────────────────────────────────────── */
.wc-jupiter {
  max-width: 600px;
  background: linear-gradient(135deg, #0a0a1e 0%, #1a1030 100%);
  border-color: rgba(255,150,50,0.3);
}
.wc-jupiter-grid { display: flex; gap: 16px; }
.wc-jupiter-col { flex: 1; }
.wc-jupiter-divider { width: 1px; background: var(--border2); flex-shrink: 0; }
.wc-col-title { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; padding-left: 4px; }

/* ── Uranus ─────────────────────────────────────────────────────── */
.wc-uranus {
  background: linear-gradient(135deg, #0a1a20 0%, #0a2030 100%);
  border-color: rgba(100,220,255,0.3);
}
.wc-uranus-glow {
  position: absolute; top: 0; right: 0; width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(100,220,255,0.1), transparent 70%);
  pointer-events: none;
}

/* ── Spirit ─────────────────────────────────────────────────────── */
.wc-spirit {
  background: linear-gradient(135deg, #0f0f20 0%, #1a1030 100%);
  border-color: rgba(150,100,255,0.3);
}
.wc-spirit-bg {
  position: absolute; inset: 0; border-radius: var(--radius);
  background: radial-gradient(ellipse at 80% 20%, rgba(150,100,255,0.1), transparent 60%);
  pointer-events: none;
}
.wc-spirit-icon { font-size: 24px; }
.wc-item-spirit { border-radius: 999px; }
.wc-item-spirit:hover { border-radius: var(--radius-sm); }

/* ── Spirit Extended ────────────────────────────────────────────── */
.wc-spirit-ext {
  max-width: 700px;
  display: flex; flex-direction: row;
  padding: 0; overflow: hidden;
}
.wc-spirit-ext-sidebar {
  width: 220px; flex-shrink: 0;
  background: linear-gradient(160deg, var(--primary-dark), #8B5CF6);
  padding: 28px 20px;
  display: flex; flex-direction: column; gap: 12px;
}
.wc-sidebar-logo { font-size: 32px; }
.wc-sidebar-title { font-size: 18px; font-weight: 700; color: #fff; }
.wc-sidebar-desc { font-size: 12px; color: rgba(255,255,255,0.7); line-height: 1.5; }
.wc-sidebar-features { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.wc-feature { font-size: 12px; color: rgba(255,255,255,0.85); }
.wc-spirit-ext-main { flex: 1; padding: 20px; }

/* ── Celestia ───────────────────────────────────────────────────── */
.wc-celestia {
  background: linear-gradient(160deg, #04040f 0%, #0a0a25 100%);
  border-color: rgba(180,140,255,0.3);
  overflow: hidden;
}
.wc-celestia-stars {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 80% 20%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 50% 70%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 10% 90%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 90% 60%, rgba(255,255,255,0.6), transparent),
    radial-gradient(2px 2px at 60% 10%, rgba(180,140,255,0.8), transparent),
    radial-gradient(2px 2px at 35% 55%, rgba(180,140,255,0.6), transparent);
}
.wc-item-celestia { background: rgba(180,140,255,0.05); border-color: rgba(180,140,255,0.15); }
.wc-item-celestia:hover { border-color: rgba(180,140,255,0.5); background: rgba(180,140,255,0.1); }

/* ── Mercury ────────────────────────────────────────────────────── */
.wc-mercury {
  background: var(--bg2);
  border-color: var(--border);
}
.wc-mercury-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px 0;
}
.wc-mercury-lines { display: flex; gap: 5px; }
.wc-mercury-lines span { width: 12px; height: 12px; border-radius: 50%; background: var(--border2); }
.wc-mercury-lines span:first-child  { background: #ef4444; }
.wc-mercury-lines span:nth-child(2) { background: #f59e0b; }
.wc-mercury-lines span:nth-child(3) { background: #22c55e; }
.wc-mercury-search { margin-bottom: 12px; }
.wc-search-input {
  width: 100%; padding: 10px 14px;
  background: var(--bg3); border: 1px solid var(--border2);
  border-radius: var(--radius-sm); color: var(--text);
  font-size: 14px; outline: none; transition: var(--transition);
}
.wc-search-input:focus { border-color: var(--primary); }

/* ── Moon ───────────────────────────────────────────────────────── */
.wc-moon {
  background: linear-gradient(160deg, #060614 0%, #0d0d28 100%);
  border-color: rgba(255,255,200,0.2);
}
.wc-moon-header {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 20px 0;
}
.wc-moon-header .wc-close { margin-left: auto; }
.wc-moon-icon { font-size: 28px; filter: drop-shadow(0 0 10px rgba(255,255,200,0.5)); }

/* ── Venus ──────────────────────────────────────────────────────── */
.wc-venus {
  background: linear-gradient(160deg, #1a0a20 0%, #250a35 100%);
  border-color: rgba(200,100,200,0.3);
  overflow: hidden;
}
.wc-venus-gradient {
  position: absolute; top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 300px; height: 200px;
  background: radial-gradient(ellipse, rgba(200,100,200,0.2), transparent 70%);
  pointer-events: none;
}
.wc-item-venus { border-color: rgba(200,100,200,0.15); }
.wc-item-venus:hover { border-color: rgba(200,100,200,0.5); background: rgba(200,100,200,0.08); }

/* ── WalletConnect V2 ───────────────────────────────────────────── */
.wc-wc2 {
  max-width: 720px;
  display: flex; flex-direction: row;
  padding: 0; overflow: hidden;
  border-color: rgba(59,153,252,0.3);
}
.wc-wc2-left {
  width: 260px; flex-shrink: 0;
  background: linear-gradient(160deg, #0a1628, #162040);
  padding: 24px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  border-right: 1px solid rgba(59,153,252,0.15);
}
.wc-wc2-logo svg { width: 48px; height: 48px; }
.wc-wc2-brand { font-size: 16px; font-weight: 700; color: #fff; }
.wc-wc2-tagline { font-size: 12px; color: rgba(255,255,255,0.5); text-align: center; }
.wc-wc2-qr-wrap { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.wc-qr-box {
  width: 200px; height: 200px;
  background: #fff; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.wc-qr-box img, .wc-qr-box canvas { width: 100%; height: 100%; }
.wc-qr-box-sm {
  width: 120px; height: 120px;
  background: #fff; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.wc-qr-loading { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.wc-qr-spinner {
  width: 28px; height: 28px;
  border: 3px solid rgba(59,153,252,0.2);
  border-top-color: #3b99fc;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.wc-qr-fallback { text-align: center; padding: 20px; }
.wc-qr-caption { font-size: 11px; color: rgba(255,255,255,0.5); text-align: center; }
.wc-wc2-copy {
  padding: 8px 16px;
  background: rgba(59,153,252,0.1); border: 1px solid rgba(59,153,252,0.3);
  border-radius: 999px; color: #3b99fc; font-size: 12px; cursor: pointer;
  transition: var(--transition);
}
.wc-wc2-copy:hover { background: rgba(59,153,252,0.2); }
.wc-wc2-right { flex: 1; }
.wc-wc2-tabs { display: flex; gap: 4px; margin-bottom: 16px; background: var(--bg3); border-radius: 8px; padding: 4px; }
.wc-tab {
  flex: 1; padding: 8px 12px;
  background: transparent; border: none;
  border-radius: 6px; color: var(--text-muted);
  font-size: 13px; font-weight: 500; cursor: pointer;
  transition: var(--transition);
}
.wc-tab.active { background: var(--card); color: var(--text); }
.wc-tab-content { display: none; }
.wc-tab-content.active { display: block; }
.wc-wc2-steps { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.wc-step { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-muted); }
.wc-step-n {
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(59,153,252,0.15); border: 1px solid rgba(59,153,252,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #3b99fc; flex-shrink: 0;
}

/* ── WalletConnect V3 ───────────────────────────────────────────── */
.wc-wc3 {
  max-width: 500px;
  border-color: rgba(59,153,252,0.3);
}
.wc-wc3-header { background: linear-gradient(135deg, #061428, #0d2040); }
.wc-wc3-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 700; color: #fff;
}
.wc-wc3-brand svg { width: 28px; height: 28px; }
.wc-wc3-layout { display: flex; gap: 16px; align-items: flex-start; }
.wc-wc3-wallets { flex: 1; }
.wc-wc3-qr { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.wc-item-wc3 { padding: 10px 12px; }
.wc-wc3-footer {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 16px; padding-top: 12px;
  border-top: 1px solid var(--border2);
  font-size: 12px; color: var(--text-muted);
}
.wc-wc3-get { color: var(--primary); cursor: pointer; }

/* ── RainbowKit ─────────────────────────────────────────────────── */
.wc-rbk {
  max-width: 680px;
  border-color: rgba(108,99,255,0.2);
}
.wc-rbk-body { display: flex; gap: 0; padding: 0; }
.wc-rbk-left {
  flex: 0 0 240px; padding: 20px;
  border-right: 1px solid var(--border2);
}
.wc-rbk-right { flex: 1; padding: 20px; background: var(--bg3); }
.wc-rbk-section-title { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.wc-item-rbk { padding: 10px 12px; }
.wc-item-rbk--featured {
  background: rgba(108,99,255,0.1);
  border-color: rgba(108,99,255,0.3);
  padding: 14px 12px;
}
.wc-rbk-badge {
  display: inline-block; padding: 2px 8px;
  background: rgba(34,197,94,0.15); border: 1px solid rgba(34,197,94,0.3);
  border-radius: 999px; font-size: 10px; color: #22c55e;
  margin-top: 3px;
}
.wc-rbk-intro { text-align: center; padding: 16px 8px; border-bottom: 1px solid var(--border2); margin-bottom: 16px; }
.wc-rbk-intro-icon { font-size: 40px; margin-bottom: 10px; }
.wc-rbk-intro-title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.wc-rbk-intro-desc { font-size: 12px; color: var(--text-muted); line-height: 1.6; }
.wc-rbk-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.wc-rbk-feature { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--text-muted); }
.wc-rbk-feature-icon { font-size: 20px; flex-shrink: 0; }
.wc-rbk-feature b { color: var(--text); display: block; margin-bottom: 1px; }
.wc-rbk-get-btn {
  width: 100%; padding: 12px;
  background: linear-gradient(135deg, var(--primary), #8B5CF6);
  color: #fff; border: none; border-radius: 999px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: var(--transition);
}
.wc-rbk-get-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(108,99,255,0.4); }

/* ════════════════════════════════════════════════════════════════
   SCANNING OVERLAY
   ════════════════════════════════════════════════════════════════ */

.scan-overlay {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(8,8,20,0.97);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.scan-overlay.active { opacity: 1; pointer-events: all; }

.scan-content {
  display: flex; flex-direction: column; align-items: center;
  max-width: 440px; width: 100%; padding: 40px 24px; text-align: center;
}

.scan-spinner-wrap { position: relative; width: 80px; height: 80px; margin-bottom: 28px; }
.scan-spinner {
  width: 80px; height: 80px;
  border: 3px solid rgba(108,99,255,0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.scan-spinner-inner {
  position: absolute; inset: 10px;
  border: 2px solid rgba(255,101,132,0.1);
  border-bottom-color: var(--secondary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite reverse;
}

.scan-title { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.scan-msg {
  font-size: 14px; color: var(--text-muted);
  min-height: 22px; margin-bottom: 24px;
  transition: opacity 0.2s;
}

.scan-progress-wrap {
  width: 100%; height: 4px;
  background: rgba(108,99,255,0.1); border-radius: 999px;
  overflow: hidden; margin-bottom: 24px;
}
.scan-progress-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 999px;
  transition: width 0.4s ease;
}

.scan-chains {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 20px;
}
.scan-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(108,99,255,0.15);
  transition: all 0.3s ease;
}
.scan-dot.active {
  background: var(--primary);
  box-shadow: 0 0 8px rgba(108,99,255,0.6);
}

.scan-stats { display: flex; gap: 20px; }
.scan-stat {
  padding: 6px 14px;
  background: rgba(108,99,255,0.08);
  border: 1px solid rgba(108,99,255,0.2);
  border-radius: 999px;
  font-size: 12px; color: var(--text-muted);
}

/* ════════════════════════════════════════════════════════════════
   WALLET INFO MODAL
   ════════════════════════════════════════════════════════════════ */

.wi-address-box {
  background: var(--bg3); border: 1px solid var(--border2);
  border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 14px;
}
.wi-label { font-size: 11px; color: var(--text-dim); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.wi-address { font-size: 13px; color: var(--text); word-break: break-all; font-family: 'Menlo', monospace; }
.wi-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.wi-stat { background: var(--bg3); border: 1px solid var(--border2); border-radius: var(--radius-sm); padding: 12px; text-align: center; }
.wi-stat-label { font-size: 11px; color: var(--text-dim); margin-bottom: 4px; }
.wi-stat-value { font-size: 15px; font-weight: 700; color: var(--text); }
.wi-total {
  background: linear-gradient(135deg, rgba(108,99,255,0.1), rgba(255,101,132,0.1));
  border: 1px solid rgba(108,99,255,0.25);
  border-radius: var(--radius-sm); padding: 16px; text-align: center; margin-bottom: 16px;
}
.wi-total-label { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.wi-total-value { font-size: 26px; font-weight: 800; color: var(--text); }
.wi-disconnect {
  width: 100%; padding: 12px;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: var(--radius-sm);
  color: #ef4444; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: var(--transition);
}
.wi-disconnect:hover { background: rgba(239,68,68,0.18); }

/* ════════════════════════════════════════════════════════════════
   TOAST NOTIFICATIONS
   ════════════════════════════════════════════════════════════════ */

.toast-container {
  position: fixed; bottom: 24px; right: 24px; z-index: 99999;
  display: flex; flex-direction: column; gap: 10px;
  pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 12px;
  font-size: 14px; color: var(--text);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  pointer-events: all;
  animation: toast-in 0.3s cubic-bezier(0.34,1.56,0.64,1) both;
  min-width: 260px; max-width: 380px;
}
.toast.removing { animation: toast-out 0.3s ease forwards; }
.toast.success { border-left: 3px solid var(--success); }
.toast.error   { border-left: 3px solid var(--error); }
.toast.warning { border-left: 3px solid var(--warning); }
.toast.info    { border-left: 3px solid var(--primary); }
.toast-icon { font-size: 16px; flex-shrink: 0; }
.toast-text { flex: 1; line-height: 1.4; }

@keyframes toast-in  { from { opacity:0; transform:translateX(60px) scale(0.9); } to { opacity:1; transform:translateX(0) scale(1); } }
@keyframes toast-out { from { opacity:1; transform:translateX(0); } to { opacity:0; transform:translateX(60px); } }

/* ════════════════════════════════════════════════════════════════
   SHARED ANIMATIONS
   ════════════════════════════════════════════════════════════════ */

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.5;} }
@keyframes float { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-8px);} }

/* ── Scrollbar ───────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* ── Responsive ─────────────────────────────────────────────────── */
/* ══════════════════════════════════════════════════════════════════════════════
   PAGE LAYOUT — Additional classes used by index.html
   ══════════════════════════════════════════════════════════════════════════════ */

/* ── Navbar extras ── */
.navbar { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; color: var(--text); text-decoration: none; }
.logo-icon { font-size: 22px; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links li a { color: var(--text-muted); font-size: 14px; font-weight: 500; transition: var(--transition); }
.nav-links li a:hover { color: var(--text); }

/* ── Gradient text ── */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Hero content layout ── */
.hero-content { max-width: 600px; position: relative; z-index: 1; }
.hero-badge .dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.btn-outline {
  padding: 14px 32px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 16px; font-weight: 600; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: var(--transition);
}
.btn-outline:hover { background: var(--bg3); border-color: var(--primary); }
.claim-button { display: inline-flex; align-items: center; gap: 8px; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 8px; }
.hero-stat .value { font-size: 22px; font-weight: 800; color: var(--text); }
.hero-stat .label { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

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

/* ── Section header ── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(108,99,255,0.1);
  border: 1px solid rgba(108,99,255,0.3);
  border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--primary-light);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.section-title { font-size: clamp(26px,4vw,42px); font-weight: 900; margin-bottom: 14px; letter-spacing: -0.02em; }
.section-subtitle { font-size: 16px; color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* ── Networks section ── */
.networks-section { padding: 80px 0; position: relative; z-index: 1; }

/* ── Features section ── */
.features-section { padding: 80px 0; position: relative; z-index: 1; }
.feature-card h3 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ── Footer grid ── */
footer { padding: 60px 0 30px; border-top: 1px solid var(--border2); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .brand-name { font-size: 20px; font-weight: 800; color: var(--text); margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.65; max-width: 280px; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: var(--text-muted); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--text); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid var(--border2);
  font-size: 13px; color: var(--text-muted); flex-wrap: wrap; gap: 8px;
}

/* ── CTA box ── */
.cta-section { padding: 80px 0; position: relative; z-index: 1; }
.cta-box { position: relative; }

/* ── Wallet info ── */
.wi-address-box { background: var(--bg3); border-radius: var(--radius-sm); padding: 14px; margin-bottom: 16px; word-break: break-all; }
.wi-label { font-size: 11px; color: var(--text-dim); margin-bottom: 4px; }
.wi-address { font-size: 13px; color: var(--text); font-family: monospace; }
.wi-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 16px; }
.wi-stat { background: var(--bg3); border-radius: var(--radius-sm); padding: 12px; text-align: center; }
.wi-stat-label { font-size: 11px; color: var(--text-muted); margin-bottom: 4px; }
.wi-stat-value { font-size: 16px; font-weight: 700; color: var(--text); }
.wi-total { background: rgba(108,99,255,0.08); border: 1px solid rgba(108,99,255,0.2); border-radius: var(--radius-sm); padding: 16px; text-align: center; margin-bottom: 16px; }
.wi-total-label { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.wi-total-value { font-size: 26px; font-weight: 800; color: var(--text); }
.wi-disconnect { width: 100%; padding: 12px; background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.2); color: #ef4444; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; cursor: pointer; transition: var(--transition); }
.wi-disconnect:hover { background: rgba(239,68,68,0.2); }

/* ── Stat value gradient override ── */
.stat-item .stat-value {
  font-size: 32px; font-weight: 900; color: #fff;
  letter-spacing: -1px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 768px) {
  .navbar { padding: 16px 20px; }
  .navbar-links { display: none; }
  .hero { padding: 60px 20px 50px; }
  .stats-bar { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border2); }
  .wc-spirit-ext { flex-direction: column; }
  .wc-spirit-ext-sidebar { width: 100%; flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .wc-wc2 { flex-direction: column; }
  .wc-wc2-left { width: 100%; border-right: none; border-bottom: 1px solid rgba(59,153,252,0.15); }
  .wc-jupiter .wc-jupiter-grid { flex-direction: column; }
  .wc-jupiter .wc-jupiter-divider { width: 100%; height: 1px; }
  .wc-rbk-body { flex-direction: column; }
  .wc-rbk-left { flex: none; border-right: none; border-bottom: 1px solid var(--border2); }
  .wc-grid-2 { grid-template-columns: repeat(3, 1fr); }
  .toast-container { bottom: 16px; right: 16px; left: 16px; }
}

.footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 20px; }
}

@media (max-width: 480px) {
  .wc-dialog { max-width: calc(100vw - 24px); border-radius: 12px; }
  .wc-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
}

/* ════════════════════════════════════════════════════════════════
   CUSTOM CONNECTION FLOW (headless — no site branding)
   ════════════════════════════════════════════════════════════════ */

.bc-flow-overlay {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.28s ease;
}
.bc-flow-overlay.active { opacity: 1; pointer-events: all; }

.bc-flow-backdrop {
  position: absolute; inset: 0;
  background: rgba(6, 6, 18, 0.88);
  backdrop-filter: blur(12px);
}

.bc-flow-dialog {
  position: relative; z-index: 1;
  width: min(420px, calc(100vw - 32px));
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  box-shadow: var(--shadow), var(--shadow-glow);
  overflow: hidden;
}

.bc-flow-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px 8px;
  border-bottom: 1px solid var(--border2);
}

.bc-flow-steps {
  display: flex; align-items: center; gap: 6px;
}
.bc-flow-step {
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 11px; font-weight: 700;
  background: var(--bg3);
  color: var(--text-dim);
  border: 1px solid var(--border2);
  transition: var(--transition);
}
.bc-flow-step--active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 16px rgba(108, 99, 255, 0.45);
}
.bc-flow-step--done {
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
  border-color: rgba(34, 197, 94, 0.35);
}
.bc-flow-step-line {
  width: 18px; height: 2px;
  background: var(--border2);
  border-radius: 1px;
}

.bc-flow-close {
  width: 32px; height: 32px;
  border: none; border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  font-size: 16px; cursor: pointer;
  transition: var(--transition);
}
.bc-flow-close:hover { background: var(--bg3); color: var(--text); }

.bc-flow-body { padding: 20px 18px 22px; }

.bc-flow-status { text-align: center; margin-bottom: 16px; }
.bc-flow-title {
  font-size: 20px; font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.bc-flow-sub {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}

.bc-flow-spinner {
  width: 36px; height: 36px;
  margin: 0 auto 14px;
  border: 3px solid rgba(108, 99, 255, 0.15);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.85s linear infinite;
}

.bc-flow-progress-wrap {
  width: 100%; height: 3px;
  background: var(--bg3);
  border-radius: 2px;
  margin-bottom: 16px;
  overflow: hidden;
}
.bc-flow-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--gradient);
  border-radius: 2px;
  transition: width 0.35s ease;
}

.bc-flow-wallet-list {
  display: flex; flex-direction: column; gap: 8px;
  max-height: 280px; overflow-y: auto;
}

.bc-flow-wallet {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 12px 14px;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}
.bc-flow-wallet:hover:not(:disabled) {
  border-color: var(--border);
  background: rgba(108, 99, 255, 0.08);
}
.bc-flow-wallet:disabled { opacity: 0.45; cursor: not-allowed; }
.bc-flow-wallet--busy { border-color: var(--primary); }

.bc-flow-wallet-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.bc-flow-wallet-meta { flex: 1; min-width: 0; }
.bc-flow-wallet-name {
  display: block;
  font-size: 14px; font-weight: 600;
}
.bc-flow-wallet-desc {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}
.bc-flow-wallet-chevron {
  color: var(--text-dim);
  font-size: 18px;
}

.bc-flow-stats {
  display: flex; justify-content: center; gap: 16px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-muted);
}
.bc-flow-stats span {
  padding: 4px 10px;
  background: var(--bg3);
  border-radius: 999px;
  border: 1px solid var(--border2);
}

.bc-flow-qr {
  margin-top: 12px;
  display: flex; justify-content: center;
}
.bc-flow-qr-box {
  padding: 12px;
  background: #fff;
  border-radius: 12px;
}
.bc-flow-qr-loading,
.bc-flow-qr-fallback {
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  padding: 16px;
}
.bc-flow-qr-fallback code {
  font-size: 10px;
  word-break: break-all;
  max-height: 80px;
  overflow: auto;
  color: var(--text-dim);
}

.bc-flow-retry {
  display: block; width: 100%;
  padding: 12px;
  margin-top: 8px;
  background: var(--gradient);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.bc-flow-retry:hover { transform: translateY(-1px); }

/* ════════════════════════════════════════════════════════════════
   MyWeb3Widget embed
   ════════════════════════════════════════════════════════════════ */

.bc-widget-root {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
  max-width: 360px;
}

.bc-widget-card {
  background: var(--card, #16162e);
  border: 1px solid var(--border2, rgba(255,255,255,0.06));
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}

.bc-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--border2, rgba(255,255,255,0.06));
}

.bc-widget-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text, #fff);
}

.bc-widget-chain {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--bg3, #1a1a35);
  color: var(--text-muted, rgba(255,255,255,0.5));
}

.bc-widget-body {
  padding: 14px 16px;
}

.bc-widget-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.bc-widget-label {
  font-size: 12px;
  color: var(--text-muted, rgba(255,255,255,0.5));
}

.bc-widget-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--text, #fff);
  font-family: ui-monospace, monospace;
}

.bc-widget-hint {
  font-size: 13px;
  color: var(--text-muted, rgba(255,255,255,0.5));
  margin: 0 0 8px;
}

.bc-widget-status {
  font-size: 12px;
  color: var(--primary, #6c63ff);
  min-height: 16px;
  margin: 4px 0 0;
}

.bc-widget-actions {
  padding: 0 16px 16px;
}

.bc-widget-btn {
  width: 100%;
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.2s;
}

.bc-widget-btn--primary {
  background: linear-gradient(135deg, var(--primary, #6c63ff), #8b5cf6);
  color: #fff;
}

.bc-widget-btn--ghost {
  background: transparent;
  border: 1px solid var(--border2, rgba(255,255,255,0.12));
  color: var(--text-muted, rgba(255,255,255,0.7));
}

.bc-widget-btn:hover { transform: translateY(-1px); opacity: 0.95; }