/* ── Google Fonts & Reset ────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700;800&display=swap');

:root {
  /* ── Paleta Luxury Light Purple / Morado Ametista ───────────────── */
  --bg-body: #f8f9fd;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-secondary: #f3f4f9;
  --bg-card: #ffffff;
  --bg-card-subtle: #fbfbfe;
  
  --purple-50: #f5f3ff;
  --purple-100: #ede9fe;
  --purple-200: #ddd6fe;
  --purple-300: #c4b5fd;
  --purple-400: #a78bfa;
  --purple-500: #8b5cf6;
  --purple-600: #7c3aed;
  --purple-700: #6d28d9;
  --purple-800: #5b21b6;
  --purple-900: #4c1d95;
  --purple-950: #2e1065;

  --accent-purple: #7c3aed;
  --accent-purple-gradient: linear-gradient(135deg, #7c3aed 0%, #6d28d9 50%, #4c1d95 100%);
  --accent-purple-light-gradient: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  --accent-purple-glow: rgba(124, 58, 237, 0.25);
  --accent-purple-subtle: rgba(124, 58, 237, 0.08);

  --accent-gold: #f59e0b;
  --accent-gold-dark: #d97706;
  --accent-gold-gradient: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  --accent-emerald: #10b981;
  --accent-emerald-gradient: linear-gradient(135deg, #34d399 0%, #059669 100%);
  --accent-rose: #f43f5e;
  --accent-rose-gradient: linear-gradient(135deg, #fb7185 0%, #e11d48 100%);
  --accent-cyan: #06b6d4;
  --accent-cyan-gradient: linear-gradient(135deg, #22d3ee 0%, #0891b2 100%);

  --text-main: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --border-subtle: #e2e8f0;
  --border-purple: rgba(124, 58, 237, 0.22);
  --border-hover: rgba(124, 58, 237, 0.45);

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --shadow-xs: 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(124, 58, 237, 0.08), 0 8px 16px -6px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 20px 40px -10px rgba(124, 58, 237, 0.14), 0 10px 20px -5px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 25px var(--accent-purple-glow);

  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  font-family: var(--font-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: 
    radial-gradient(at 0% 0%, rgba(124, 58, 237, 0.07) 0px, transparent 55%),
    radial-gradient(at 100% 0%, rgba(6, 182, 212, 0.06) 0px, transparent 50%),
    radial-gradient(at 50% 100%, rgba(245, 158, 11, 0.04) 0px, transparent 60%);
  background-attachment: fixed;
  overflow-x: hidden;
  line-height: 1.5;
}

/* ── Custom Scrollbar ────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-body); }
::-webkit-scrollbar-thumb { background: var(--purple-200); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--purple-500); }

/* ── Typography & Helpers ────────────────────────────────────── */
h1, h2, h3, h4, h5 { font-weight: 800; letter-spacing: -0.03em; color: var(--text-main); }
.mono { font-family: var(--font-mono); }
.text-purple { color: var(--accent-purple); }
.text-gold { color: var(--accent-gold-dark); }
.text-emerald { color: var(--accent-emerald); }
.text-cyan { color: var(--accent-cyan); }
.text-rose { color: var(--accent-rose); }
.text-muted { color: var(--text-muted); }

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ── Header & Navigation Bar (Lujoso, Amplio y Sticky) ───────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.9rem 2.5rem;
  box-shadow: var(--shadow-xs);
}

.header-inner {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: var(--text-main);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent-purple-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 18px var(--accent-purple-glow);
  position: relative;
}

.brand span.domain {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-purple);
  background: var(--purple-100);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-left: 6px;
  border: 1px solid var(--purple-200);
}

/* ── Navigation Tabs ─────────────────────────────────────────── */
.nav-tabs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-secondary);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn svg { width: 18px; height: 18px; stroke: currentColor; }
.tab-btn:hover { color: var(--accent-purple); background: var(--purple-100); }

.tab-btn.active {
  color: #ffffff;
  background: var(--accent-purple-gradient);
  box-shadow: 0 4px 15px var(--accent-purple-glow);
}
.tab-btn.active svg { stroke: #ffffff; }

/* ── Header User Widget ──────────────────────────────────────── */
.user-widget {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-auth {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.925rem;
  font-weight: 800;
  color: #ffffff;
  background: var(--accent-purple-gradient);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 6px 18px var(--accent-purple-glow);
  transition: all var(--transition-fast);
}

.btn-auth:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-purple-glow);
}

.user-badge-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: #ffffff;
  border: 1.5px solid var(--purple-200);
  padding: 0.45rem 1.15rem 0.45rem 0.6rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.user-badge-card:hover {
  border-color: var(--accent-purple);
  box-shadow: 0 6px 20px var(--accent-purple-glow);
  transform: translateY(-1px);
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--accent-purple-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px var(--accent-purple-glow);
}

.user-info-mini { display: flex; flex-direction: column; }
.user-info-mini .name { font-size: 0.9rem; font-weight: 800; color: var(--text-main); line-height: 1.2; }
.user-info-mini .balance { font-size: 0.8rem; color: var(--accent-purple); font-weight: 800; }

/* ── Main Container (Ancho y Fluido hasta 1600px) ────────────── */
.main-container {
  max-width: 1600px;
  width: 100%;
  margin: 1.8rem auto;
  padding: 0 2.5rem 5rem 2.5rem;
  flex: 1;
}

.tab-view { display: none; animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
.tab-view.active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Hero Banner (Gran Impacto Visual) ───────────────────────── */
.hero-banner {
  background: linear-gradient(135deg, #ffffff 0%, #fdfcff 40%, #f5f0ff 100%),
              radial-gradient(circle at 90% 20%, rgba(124, 58, 237, 0.15) 0%, transparent 60%);
  border: 1.5px solid var(--purple-100);
  border-radius: var(--radius-xl);
  padding: 3rem;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
}

.hero-content h1 {
  font-size: 2.75rem;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--purple-950) 0%, var(--purple-700) 60%, #4338ca 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 720px;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  gap: 1.5rem;
}

.stat-box {
  background: #ffffff;
  border: 1.5px solid var(--purple-100);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.75rem;
  text-align: center;
  min-width: 175px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.stat-box:hover {
  transform: translateY(-3px);
  border-color: var(--purple-300);
  box-shadow: var(--shadow-md);
}

.stat-box .val {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--accent-purple);
}

.stat-box .lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-top: 5px;
}

/* ── Section Headers & Category Pills ────────────────────────── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1.55rem;
}

.section-title svg { color: var(--accent-purple); }

.category-filter {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 4px;
}

.cat-btn {
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.925rem;
  font-weight: 800;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  box-shadow: var(--shadow-xs);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cat-btn:hover {
  color: var(--accent-purple);
  border-color: var(--purple-300);
  background: var(--purple-50);
}

.cat-btn.active {
  background: var(--accent-purple-gradient);
  border-color: var(--purple-600);
  color: #ffffff;
  box-shadow: 0 4px 15px var(--accent-purple-glow);
}

/* ── Store Grid & Cards (Gran Tamaño y Tarjetas Premium) ─────── */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.75rem;
}

.store-card {
  background: #ffffff;
  border: 1.5px solid var(--purple-100);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.store-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-purple-gradient);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.store-card:hover {
  transform: translateY(-5px);
  border-color: var(--purple-300);
  box-shadow: var(--shadow-lg);
}

.store-card:hover::before {
  opacity: 1;
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  background: var(--purple-50);
  border: 1.5px solid var(--purple-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-purple);
  box-shadow: var(--shadow-xs);
}

.card-badge {
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--purple-100);
  color: var(--purple-800);
  border: 1px solid var(--purple-200);
  letter-spacing: 0.04em;
}

.card-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

.card-body p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.75rem;
  min-height: 48px;
}

.card-footer {
  border-top: 1.5px solid var(--bg-secondary);
  padding-top: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.price-tag {
  display: flex;
  flex-direction: column;
}

.price-coins {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--accent-purple);
}

.price-usdt {
  font-size: 0.9rem;
  color: var(--accent-cyan);
  font-weight: 800;
}

.btn-buy-coins {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--purple-50);
  color: var(--purple-800);
  border: 1.5px solid var(--purple-200);
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.925rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-buy-coins:hover {
  background: var(--accent-purple-gradient);
  border-color: var(--purple-600);
  color: #fff;
  box-shadow: 0 4px 15px var(--accent-purple-glow);
}

.btn-buy-binance {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fffbeb;
  color: #92400e;
  border: 1.5px solid #fde68a;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.925rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-buy-binance:hover {
  background: var(--accent-gold-gradient);
  border-color: var(--accent-gold);
  color: #fff;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

/* ── P2P Market Layout ───────────────────────────────────────── */
.p2p-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 1.75rem;
}

.p2p-card {
  background: #ffffff;
  border: 1.5px solid var(--purple-100);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.p2p-card:hover {
  border-color: var(--purple-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: var(--accent-purple-gradient);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 6px 18px var(--accent-purple-glow);
  transition: all var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--accent-purple-glow);
}

/* ── Billetera & Banco (Tarjetas Lujosas Grandes) ────────────── */
.wallet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  margin-bottom: 2.75rem;
}

.wallet-card-main {
  background: linear-gradient(135deg, #ffffff 0%, #faf5ff 100%);
  border: 2px solid var(--purple-200);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.bank-card-main {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
  border: 2px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.balance-huge {
  font-size: 2.85rem;
  font-weight: 900;
  margin: 0.85rem 0 1.75rem 0;
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

/* ── Formularios e Inputs Grandes ────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 4px var(--accent-purple-glow);
}

/* ── Zona Drag & Drop para Subir Comprobantes ────────────────── */
.file-upload-dropzone {
  border: 2px dashed var(--purple-300);
  border-radius: var(--radius-lg);
  background: var(--purple-50);
  padding: 2rem 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.file-upload-dropzone:hover,
.file-upload-dropzone.dragover {
  border-color: var(--purple-600);
  background: var(--purple-100);
}

.file-upload-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.dropzone-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.85rem auto;
  border-radius: var(--radius-full);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-purple);
  box-shadow: var(--shadow-sm);
}

.file-preview-box {
  margin-top: 1rem;
  padding: 0.9rem;
  background: #ffffff;
  border: 1.5px solid var(--purple-200);
  border-radius: var(--radius-md);
  display: none;
  align-items: center;
  gap: 0.9rem;
  box-shadow: var(--shadow-sm);
}

.file-preview-img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-subtle);
}

/* ── Tablas Elegantes y Directorio de Jugadores ──────────────── */
.table-container {
  background: #ffffff;
  border: 1.5px solid var(--purple-100);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

th {
  background: var(--bg-secondary);
  padding: 1.15rem 1.75rem;
  color: var(--text-secondary);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  border-bottom: 1.5px solid var(--border-subtle);
}

td {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-weight: 600;
}

tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--purple-50); }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 900;
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.status-pending { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.status-approved { background: #d1fae5; color: #047857; border: 1px solid #a7f3d0; }
.status-rejected { background: #ffe4e6; color: #be123c; border: 1px solid #fecdd3; }

/* ── Modales Grandes y Espaciosos ────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-backdrop.active { opacity: 1; pointer-events: auto; }

.modal-card {
  background: #ffffff;
  border: 1.5px solid var(--purple-100);
  border-radius: var(--radius-xl);
  max-width: 600px;
  width: 100%;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  transform: scale(0.96);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-backdrop.active .modal-card { transform: scale(1); }

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

.modal-close {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  cursor: pointer;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: #ffe4e6;
  color: var(--accent-rose);
  border-color: var(--accent-rose);
}

.qr-box-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--purple-50);
  border: 1.5px solid var(--purple-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.75rem;
}

.qr-img {
  width: 210px;
  height: 210px;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  background: #ffffff;
  padding: 10px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--purple-200);
}

.copy-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1.5px solid var(--purple-200);
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem;
  width: 100%;
  margin-top: 0.75rem;
}

.btn-copy {
  background: transparent;
  border: none;
  color: var(--accent-purple);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 4px;
}

/* ── Toast Notifications ─────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  color: var(--text-main);
  padding: 1.1rem 1.6rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: var(--shadow-lg);
  animation: slideIn 0.25s ease;
}

.toast-success { border-left: 6px solid var(--accent-emerald); }
.toast-error   { border-left: 6px solid var(--accent-rose); }
.toast-info    { border-left: 6px solid var(--accent-purple); }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ── Responsive Adaptations ──────────────────────────────────── */
@media (max-width: 900px) {
  .header { padding: 0.85rem 1.25rem; }
  .header-inner { flex-direction: column; align-items: stretch; gap: 1rem; }
  .nav-tabs { overflow-x: auto; width: 100%; justify-content: flex-start; }
  .main-container { padding: 0 1.25rem 4rem 1.25rem; }
  .hero-banner { flex-direction: column; align-items: flex-start; gap: 1.75rem; padding: 1.75rem; }
  .hero-stats { width: 100%; flex-direction: column; gap: 0.85rem; }
  .stat-box { width: 100%; }
  .wallet-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .store-grid, .p2p-grid { grid-template-columns: 1fr; }
  .table-container { overflow-x: auto; }
}
