/* ============================================================
   AetherBlocks v38 — Complete Design System
   Dark Web3 | Luxury Corporate | Solereum-Inspired
   ============================================================ */

/* ── CSS VARIABLES ── */
:root {
  --bg-primary:    #020215;
  --bg-secondary:  #0A0A25;
  --bg-tertiary:   #0F0F35;
  --bg-card:       #0D0D2A;
  --bg-elevated:   #12123A;

  --border-color:  #1E1E4A;
  --border-light:  #2A2A5E;
  --border-glow:   rgba(0,212,255,0.3);

  --cyan:          #00D4FF;
  --cyan-dark:     #0099BB;
  --cyan-glow:     rgba(0,212,255,0.15);
  --purple:        #8B5CF6;
  --purple-dark:   #6D3EDB;
  --purple-glow:   rgba(139,92,246,0.15);
  --gold:          #F59E0B;
  --gold-glow:     rgba(245,158,11,0.15);

  --text-primary:  #E2E8F0;
  --text-secondary:#94A3B8;
  --text-muted:    #64748B;
  --text-disabled: #334155;

  --success:       #22C55E;
  --success-bg:    rgba(34,197,94,0.1);
  --danger:        #EF4444;
  --danger-bg:     rgba(239,68,68,0.1);
  --warning:       #F59E0B;
  --warning-bg:    rgba(245,158,11,0.1);
  --info:          #3B82F6;
  --info-bg:       rgba(59,130,246,0.1);

  --gradient-cyan-purple: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
  --gradient-dark:        linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-tertiary) 100%);
  --gradient-card:        linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 100%);

  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.5);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.6);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.7);
  --shadow-cyan: 0 0 30px rgba(0,212,255,0.2);
  --shadow-purple: 0 0 30px rgba(139,92,246,0.2);
  --shadow-glow:  0 0 60px rgba(0,212,255,0.1), 0 0 120px rgba(139,92,246,0.05);

  --font-ui:   'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  --font-display: 'Inter', sans-serif;

  --sidebar-width: 260px;
  --header-height: 64px;
  --bottomnav-height: 72px;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-ui);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--cyan); opacity: 0.85; }
button { cursor: pointer; font-family: inherit; }
input,select,textarea { font-family: inherit; }
ul,ol { list-style: none; }

/* ── TYPOGRAPHY ── */
h1{font-size:clamp(28px,4vw,48px); font-weight:700; line-height:1.2; letter-spacing:-0.02em;}
h2{font-size:clamp(22px,3vw,36px); font-weight:700; line-height:1.3;}
h3{font-size:clamp(18px,2.5vw,28px); font-weight:600; line-height:1.4;}
h4{font-size:clamp(16px,2vw,22px); font-weight:600;}
h5{font-size:16px; font-weight:600;}
p{color:var(--text-secondary); line-height:1.7;}
.text-mono { font-family: var(--font-mono); font-size: 13px; }
.text-gradient {
  background: var(--gradient-cyan-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-cyan    { color: var(--cyan); }
.text-purple  { color: var(--purple); }
.text-success { color: var(--success); }
.text-danger  { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-muted   { color: var(--text-muted); }
.text-sm      { font-size: 13px; }
.text-xs      { font-size: 11px; }
.text-lg      { font-size: 18px; }

/* ── LAYOUT ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.row { display: flex; flex-wrap: wrap; gap: 24px; }
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 24px; }
.text-center { text-align: center; }
.w-full { width: 100%; }
.mt-sm { margin-top: 8px; }
.mt-md { margin-top: 16px; }
.mt-lg { margin-top: 24px; }
.mt-xl { margin-top: 40px; }
.mb-sm { margin-bottom: 8px; }
.mb-md { margin-bottom: 16px; }
.mb-lg { margin-bottom: 24px; }
.p-sm  { padding: 8px; }
.p-md  { padding: 16px; }
.p-lg  { padding: 24px; }

/* ── CARDS ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}
.card:hover { border-color: var(--border-light); }
.card-glow { box-shadow: var(--shadow-cyan); border-color: var(--border-glow); }
.card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}
.card-header h3 { font-size: 16px; font-weight: 600; }
.card-elevated { background: var(--bg-elevated); border-color: var(--border-light); }
.stat-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 80px; height: 80px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
}
.stat-card.cyan::before { background: var(--cyan); }
.stat-card.purple::before { background: var(--purple); }
.stat-card.gold::before { background: var(--gold); }
.stat-value { font-size: 28px; font-weight: 700; font-family: var(--font-mono); color: var(--text-primary); }
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.stat-change { font-size: 13px; font-weight: 600; margin-top: 8px; }
.stat-change.up   { color: var(--success); }
.stat-change.down { color: var(--danger); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 24px;
  border: none; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 600;
  cursor: pointer; transition: var(--transition);
  white-space: nowrap; user-select: none;
  text-decoration: none; position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0);
  transition: var(--transition);
}
.btn:hover::after { background: rgba(255,255,255,0.06); }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn:disabled:active { transform: none; }
.btn-primary {
  background: var(--gradient-cyan-purple);
  color: #020215;
  box-shadow: 0 4px 20px rgba(0,212,255,0.3);
}
.btn-primary:hover { box-shadow: 0 6px 30px rgba(0,212,255,0.4); transform: translateY(-1px); color: #020215; }
.btn-secondary { background: var(--bg-elevated); color: var(--text-primary); border: 1px solid var(--border-light); }
.btn-secondary:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-success { background: var(--success-bg); color: var(--success); border: 1px solid rgba(34,197,94,0.3); }
.btn-success:hover { background: rgba(34,197,94,0.2); }
.btn-danger  { background: var(--danger-bg);  color: var(--danger);  border: 1px solid rgba(239,68,68,0.3); }
.btn-danger:hover  { background: rgba(239,68,68,0.2); }
.btn-warning { background: var(--warning-bg); color: var(--warning); border: 1px solid rgba(245,158,11,0.3); }
.btn-outline {
  background: transparent; color: var(--cyan);
  border: 1px solid var(--cyan);
}
.btn-outline:hover { background: var(--cyan-glow); }
.btn-ghost { background: transparent; color: var(--text-secondary); border: none; }
.btn-ghost:hover { color: var(--text-primary); background: var(--bg-elevated); }
.btn-sm { padding: 8px 16px; font-size: 12px; border-radius: var(--radius-sm); }
.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: var(--radius-lg); }
.btn-full { width: 100%; }
.btn-icon { padding: 10px; border-radius: var(--radius-md); aspect-ratio: 1; }
.btn-loading::before {
  content: '';
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block; margin-right: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── FORMS ── */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.form-label { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.form-label span.required { color: var(--danger); margin-left: 3px; }
.form-control {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  padding: 12px 16px;
  font-size: 14px;
  font-family: inherit;
  width: 100%;
  transition: var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-glow); }
.form-control::placeholder { color: var(--text-muted); }
.form-control.error { border-color: var(--danger); }
.form-control.success { border-color: var(--success); }
.form-control:disabled { opacity: 0.5; cursor: not-allowed; }
.form-control.mono { font-family: var(--font-mono); letter-spacing: 0.05em; }
.input-group { position: relative; }
.input-group .form-control { padding-right: 48px; }
.input-group-suffix {
  position: absolute; right: 12px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted); font-size: 13px;
  display: flex; align-items: center; gap: 8px;
}
.input-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.input-icon + .form-control { padding-left: 44px; }
.form-hint { font-size: 12px; color: var(--text-muted); }
.form-error { font-size: 12px; color: var(--danger); display: flex; align-items: center; gap: 4px; }
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
  -webkit-appearance: none;
  appearance: none;
}
select.form-control option { background: var(--bg-tertiary); color: var(--text-primary); }
textarea.form-control { min-height: 100px; resize: vertical; }
.toggle-password { cursor: pointer; }
.checkbox-group,.radio-group { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.checkbox-group input,.radio-group input { accent-color: var(--cyan); width: 16px; height: 16px; }
.otp-inputs { display: flex; gap: 10px; }
.otp-input {
  width: 50px; height: 60px;
  background: var(--bg-tertiary); border: 1px solid var(--border-color);
  border-radius: var(--radius-md); color: var(--text-primary);
  font-size: 24px; font-weight: 700; font-family: var(--font-mono);
  text-align: center; outline: none; transition: var(--transition);
}
.otp-input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-glow); }
.range-slider { -webkit-appearance: none; width: 100%; height: 4px; border-radius: 2px; background: var(--border-color); outline: none; }
.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 18px;
  border-radius: 50%; background: var(--gradient-cyan-purple); cursor: pointer;
  box-shadow: 0 0 10px rgba(0,212,255,0.4);
}

/* ── BADGES ── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: var(--radius-full);
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-cyan    { background: var(--cyan-glow);   color: var(--cyan);    border: 1px solid rgba(0,212,255,0.2); }
.badge-purple  { background: var(--purple-glow); color: var(--purple);  border: 1px solid rgba(139,92,246,0.2); }
.badge-success { background: var(--success-bg);  color: var(--success); border: 1px solid rgba(34,197,94,0.2); }
.badge-danger  { background: var(--danger-bg);   color: var(--danger);  border: 1px solid rgba(239,68,68,0.2); }
.badge-warning { background: var(--warning-bg);  color: var(--warning); border: 1px solid rgba(245,158,11,0.2); }
.badge-muted   { background: rgba(100,116,139,0.1); color: var(--text-muted); border: 1px solid var(--border-color); }
.badge-gold    { background: var(--gold-glow); color: var(--gold); border: 1px solid rgba(245,158,11,0.2); }

/* ── TABLES ── */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th {
  background: var(--bg-tertiary);
  color: var(--text-muted); text-transform: uppercase;
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  padding: 12px 16px; text-align: left;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}
.table td { padding: 14px 16px; border-bottom: 1px solid var(--border-color); color: var(--text-secondary); }
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: rgba(255,255,255,0.02); }
.table .mono { font-family: var(--font-mono); font-size: 12px; }
.table .amount-positive { color: var(--success); font-weight: 600; }
.table .amount-negative { color: var(--danger);  font-weight: 600; }

/* ── MODAL ── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(2,2,21,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px;
  width: 100%; max-width: 480px;
  max-height: 90vh; overflow-y: auto;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.25s;
  position: relative;
}
.modal-overlay.active .modal { transform: scale(1) translateY(0); }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.modal-header h3 { font-size: 18px; font-weight: 700; }
.modal-close {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-elevated); border: 1px solid var(--border-color);
  color: var(--text-muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { color: var(--text-primary); border-color: var(--border-light); }
.modal-footer { display: flex; gap: 12px; margin-top: 24px; }

/* ── TOASTS ── */
.toast-container {
  position: fixed; top: 20px; right: 20px;
  z-index: 9999; display: flex; flex-direction: column; gap: 10px;
  max-width: 380px; width: calc(100vw - 40px);
}
.toast {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex; align-items: flex-start; gap: 12px;
  box-shadow: var(--shadow-lg);
  transform: translateX(120%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.toast.show { transform: translateX(0); }
.toast.removing { transform: translateX(120%); opacity: 0; }
.toast-icon { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.toast-content { flex: 1; }
.toast-title { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 2px; }
.toast-message { font-size: 13px; color: var(--text-secondary); }
.toast-close { color: var(--text-muted); cursor: pointer; font-size: 16px; flex-shrink: 0; padding: 2px; }
.toast.success { border-left: 3px solid var(--success); }
.toast.error   { border-left: 3px solid var(--danger); }
.toast.warning { border-left: 3px solid var(--warning); }
.toast.info    { border-left: 3px solid var(--info); }
.toast-progress {
  position: absolute; bottom: 0; left: 0;
  height: 3px; border-radius: 0 0 0 var(--radius-lg);
  animation: toast-progress 4s linear forwards;
}
.toast.success .toast-progress { background: var(--success); }
.toast.error   .toast-progress { background: var(--danger); }
.toast.warning .toast-progress { background: var(--warning); }
.toast.info    .toast-progress { background: var(--info); }
@keyframes toast-progress { from { width: 100%; } to { width: 0%; } }

/* ── TABS ── */
.tabs { display: flex; gap: 4px; background: var(--bg-tertiary); padding: 4px; border-radius: var(--radius-lg); }
.tab-btn {
  flex: 1; padding: 10px 16px; border: none;
  border-radius: var(--radius-md); background: transparent;
  color: var(--text-muted); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: var(--transition); text-align: center;
}
.tab-btn.active { background: var(--bg-elevated); color: var(--text-primary); box-shadow: var(--shadow-sm); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ── DROPDOWN ── */
.dropdown { position: relative; display: inline-block; }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--bg-secondary); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); min-width: 200px;
  box-shadow: var(--shadow-lg); padding: 8px;
  z-index: 100; display: none;
  animation: fadeIn 0.15s;
}
.dropdown-menu.show { display: block; }
.dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  color: var(--text-secondary); font-size: 14px;
  cursor: pointer; transition: var(--transition);
}
.dropdown-item:hover { background: var(--bg-elevated); color: var(--text-primary); }
.dropdown-divider { border-top: 1px solid var(--border-color); margin: 6px 0; }

/* ── PROGRESS BAR ── */
.progress { background: var(--border-color); border-radius: var(--radius-full); height: 6px; overflow: hidden; }
.progress-bar { height: 100%; border-radius: var(--radius-full); background: var(--gradient-cyan-purple); transition: width 0.5s; }
.progress-bar.success { background: var(--success); }
.progress-bar.danger  { background: var(--danger); }

/* ── TOOLTIP ── */
[data-tooltip] { position: relative; }
[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute; bottom: calc(100% + 6px); left: 50%;
  transform: translateX(-50%);
  background: var(--bg-elevated); color: var(--text-primary);
  font-size: 12px; padding: 6px 10px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-color); white-space: nowrap;
  pointer-events: none; opacity: 0; z-index: 10;
  transition: opacity 0.15s;
}
[data-tooltip]:hover::after { opacity: 1; }

/* ── LOADING ── */
.skeleton {
  background: linear-gradient(90deg, var(--bg-elevated) 25%, var(--bg-tertiary) 50%, var(--bg-elevated) 75%);
  background-size: 400% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}
@keyframes skeleton-shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
.skeleton-text { height: 14px; margin: 6px 0; }
.spinner {
  width: 32px; height: 32px; border: 3px solid var(--border-color);
  border-top-color: var(--cyan); border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}
.spinner-sm { width: 16px; height: 16px; border-width: 2px; }
.page-loader {
  position: fixed; inset: 0; background: var(--bg-primary);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; flex-direction: column; gap: 20px;
}
.page-loader.hide { animation: fadeOut 0.4s forwards; }
@keyframes fadeOut { to { opacity: 0; pointer-events: none; } }

/* ── WITHDRAWAL POPUP ── */
.withdrawal-popup {
  position: fixed; bottom: 90px; left: 20px; z-index: 500;
  background: var(--bg-secondary); border: 1px solid var(--border-light);
  border-left: 3px solid var(--success);
  border-radius: var(--radius-lg); padding: 14px 18px;
  max-width: 280px; box-shadow: var(--shadow-lg);
  display: flex; gap: 12px; align-items: center;
  animation: slideInLeft 0.4s cubic-bezier(0.4,0,0.2,1);
}
@keyframes slideInLeft { from{transform:translateX(-100%);opacity:0} to{transform:translateX(0);opacity:1} }
.withdrawal-popup .icon { color: var(--success); flex-shrink: 0; }
.withdrawal-popup .name { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.withdrawal-popup .amount { font-size: 12px; color: var(--text-muted); }
.withdrawal-popup .time  { font-size: 11px; color: var(--text-disabled); }

/* ── ANNOUNCEMENT BAR ── */
.announcement-bar {
  background: linear-gradient(90deg, var(--purple-glow), var(--cyan-glow));
  border-bottom: 1px solid var(--border-color);
  padding: 10px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.announcement-bar .text { font-size: 13px; color: var(--text-primary); flex: 1; text-align: center; }
.announcement-close { background: none; border: none; color: var(--text-muted); cursor: pointer; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ── SECTION HEADERS ── */
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .label {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cyan-glow); color: var(--cyan);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: var(--radius-full); padding: 6px 16px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 20px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--text-secondary); max-width: 600px; margin: 0 auto; font-size: 16px; }

/* ── COPY BUTTON ── */
.copy-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--radius-sm);
  background: var(--bg-elevated); border: 1px solid var(--border-color);
  color: var(--text-muted); font-size: 12px; cursor: pointer;
  transition: var(--transition);
}
.copy-btn:hover { color: var(--cyan); border-color: var(--cyan); }
.copy-btn.copied { color: var(--success); border-color: var(--success); }

/* ── EMPTY STATE ── */
.empty-state {
  text-align: center; padding: 48px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.empty-state svg { color: var(--text-disabled); }
.empty-state h4 { color: var(--text-secondary); }
.empty-state p  { color: var(--text-muted); font-size: 13px; max-width: 300px; }

/* ── QR CODE CONTAINER ── */
.qr-container {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  background: white; border-radius: var(--radius-lg);
  padding: 24px; width: fit-content; margin: 0 auto;
}
.qr-address-box {
  background: var(--bg-tertiary); border: 1px solid var(--border-color);
  border-radius: var(--radius-md); padding: 12px 16px;
  font-family: var(--font-mono); font-size: 12px;
  word-break: break-all; text-align: center;
  color: var(--text-primary); width: 100%;
}

/* ── ANIMATIONS ── */
@keyframes fadeIn { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeOut { from{opacity:1} to{opacity:0} }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.6} }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.animate-fadeIn { animation: fadeIn 0.3s; }
.animate-pulse  { animation: pulse 2s infinite; }

/* ── LIVE INDICATOR ── */
.live-dot {
  width: 8px; height: 8px;
  background: var(--success); border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 6px var(--success);
  animation: pulse 1.5s infinite;
}
.live-dot.danger  { background: var(--danger); box-shadow: 0 0 6px var(--danger); }
.live-dot.warning { background: var(--warning); box-shadow: 0 0 6px var(--warning); }

/* ── DIVIDER ── */
.divider { border: none; border-top: 1px solid var(--border-color); margin: 24px 0; }
.divider-text { display: flex; align-items: center; gap: 16px; margin: 20px 0; }
.divider-text span { color: var(--text-muted); font-size: 13px; white-space: nowrap; }
.divider-text::before,.divider-text::after { content: ''; flex: 1; border-top: 1px solid var(--border-color); }

/* ── UTILITY ── */
.hidden { display: none !important; }
.invisible { visibility: hidden; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.pointer { cursor: pointer; }
.no-select { user-select: none; }
.rounded-full { border-radius: var(--radius-full); }
.opacity-50 { opacity: 0.5; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .container { padding: 0 16px; }
  .hide-md { display: none !important; }
}
@media (max-width: 768px) {
  .hide-sm { display: none !important; }
  .card { padding: 16px; }
  .modal { padding: 24px; }
  h1 { font-size: 28px; }
}
@media (max-width: 480px) {
  .hide-xs { display: none !important; }
  .otp-inputs { gap: 6px; }
  .otp-input { width: 42px; height: 52px; font-size: 20px; }
}
