/* ============================================================
   LOBINHO.BET CASINO — DESIGN SYSTEM GLOBAL
   ============================================================ */

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
input, textarea, select { font-family: inherit; }
ul, ol { list-style: none; }

/* ── DESIGN TOKENS ───────────────────────────────────────── */
:root {
  --bg-deep:      #060912;
  --bg-dark:      #0A0F1E;
  --bg-card:      #0F1628;
  --bg-card2:     #141c30;
  --bg-input:     #1a2238;
  --bg-overlay:   rgba(6,9,18,0.92);
  --gold:         #F5A623;
  --gold-light:   #FFD166;
  --gold-dark:    #C8841A;
  --gold-glow:    rgba(245,166,35,0.35);
  --gold-subtle:  rgba(245,166,35,0.08);
  --purple:       #7C3AED;
  --purple-light: #A78BFA;
  --purple-glow:  rgba(124,58,237,0.3);
  --green:        #10B981;
  --green-light:  #34D399;
  --green-glow:   rgba(16,185,129,0.25);
  --red:          #EF4444;
  --red-light:    #F87171;
  --red-glow:     rgba(239,68,68,0.25);
  --blue:         #3B82F6;
  --blue-light:   #60A5FA;
  --text-primary:   #F0F4FF;
  --text-secondary: #94A3B8;
  --text-muted:     #64748B;
  --text-disabled:  #475569;
  --border:         rgba(255,255,255,0.07);
  --border-hover:   rgba(245,166,35,0.4);
  --border-focus:   rgba(245,166,35,0.7);
  --border-card:    rgba(255,255,255,0.05);
  --gradient-gold:   linear-gradient(135deg, #F5A623 0%, #FFD166 50%, #F5A623 100%);
  --gradient-dark:   linear-gradient(180deg, #0F1628 0%, #060912 100%);
  --gradient-card:   linear-gradient(145deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  --gradient-purple: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.5);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg:    0 8px 32px rgba(0,0,0,0.6);
  --shadow-xl:    0 20px 60px rgba(0,0,0,0.7);
  --shadow-gold:  0 0 20px rgba(245,166,35,0.3), 0 4px 16px rgba(0,0,0,0.5);
  --shadow-card:  0 4px 24px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.04);
  --space-1:  4px;  --space-2:  8px;  --space-3:  12px; --space-4:  16px;
  --space-5:  20px; --space-6:  24px; --space-8:  32px; --space-10: 40px;
  --space-12: 48px; --space-16: 64px; --space-20: 80px;
  --radius-sm:  6px; --radius: 10px; --radius-md: 14px;
  --radius-lg:  20px; --radius-xl: 28px; --radius-full: 9999px;
  --font-sans:    'Inter', system-ui, sans-serif;
  --font-display: 'Montserrat', 'Inter', sans-serif;
  --text-xs: 11px; --text-sm: 13px; --text-base: 15px; --text-md: 17px;
  --text-lg: 20px; --text-xl: 24px; --text-2xl: 30px; --text-3xl: 38px;
  --text-4xl: 48px; --text-5xl: 60px;
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:     cubic-bezier(0, 0, 0.2, 1);
  --duration-fast: 150ms;
  --duration:     250ms;
  --duration-slow: 400ms;
  --z-base: 1; --z-dropdown: 100; --z-navbar: 200; --z-modal: 300; --z-toast: 400;
}

/* ── SCROLLBAR ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--gold-dark), var(--gold)); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
::selection { background: var(--gold-subtle); color: var(--gold-light); }

/* ── TIPOGRAFIA ──────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
p { color: var(--text-secondary); line-height: 1.7; }
small { font-size: var(--text-xs); color: var(--text-muted); }

/* ── UTILITÁRIOS ─────────────────────────────────────────── */
.hidden { display: none !important; }
.text-gold   { color: var(--gold); }
.text-muted  { color: var(--text-muted); }
.text-green  { color: var(--green); }
.text-red    { color: var(--red); }
.text-center { text-align: center; }
.font-bold   { font-weight: 700; }
.font-black  { font-weight: 900; }
.truncate    { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* ── NAVBAR ──────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-navbar);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-6);
  background: rgba(6,9,18,0.88);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
}
.navbar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-glow), transparent);
  opacity: 0.6;
}
.navbar.scrolled {
  background: rgba(6,9,18,0.97);
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
  user-select: none;
  transition: opacity var(--duration) var(--ease);
}
.navbar-logo:hover { opacity: 0.85; }
.navbar-logo .logo-icon {
  width: 34px; height: 34px;
  background: var(--gradient-gold);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-gold);
  flex-shrink: 0;
}
.logo-real { color: var(--text-primary); }
.logo-bet  { color: var(--gold); }

.navbar-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
.nav-link {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--duration-fast) var(--ease);
  white-space: nowrap;
}
.nav-link:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.nav-link.active { color: var(--gold); }

.navbar-right { display: flex; align-items: center; gap: var(--space-3); }

.balance-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  transition: all var(--duration) var(--ease);
  cursor: default;
}
.balance-badge:hover { border-color: var(--border-hover); background: var(--bg-card2); }
.bal-icon { font-size: 14px; }
.bal-label { color: var(--text-muted); font-size: var(--text-xs); font-weight: 500; }
.bal-amount { color: var(--gold); font-weight: 700; font-size: var(--text-sm); }

.user-menu { position: relative; }
.avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: #000;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: all var(--duration) var(--ease-bounce);
  user-select: none; flex-shrink: 0;
}
.avatar:hover { transform: scale(1.08); box-shadow: 0 0 24px var(--gold-glow); }

.user-dropdown {
  position: absolute;
  top: calc(100% + 10px); right: 0;
  min-width: 210px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-2) 0;
  box-shadow: var(--shadow-xl);
  animation: dropdownIn 0.18s var(--ease-bounce);
}
.user-dropdown::before {
  content: '';
  position: absolute;
  top: -6px; right: 14px;
  width: 12px; height: 12px;
  background: var(--bg-card2);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  transform: rotate(45deg);
}
.user-dropdown.hidden { display: none; }

.dropdown-header {
  padding: var(--space-3) var(--space-4) var(--space-3);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-2);
}
.dropdown-name  { font-size: var(--text-sm); font-weight: 700; color: var(--text-primary); }
.dropdown-email { font-size: var(--text-xs); color: var(--text-muted); margin-top: 2px; }

.dropdown-item {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  background: none; border: none;
  width: 100%; text-align: left; cursor: pointer;
  transition: all var(--duration-fast) var(--ease);
}
.dropdown-item:hover { background: rgba(255,255,255,0.04); color: var(--text-primary); }
.dropdown-item.danger:hover { background: var(--red-glow); color: var(--red-light); }
.dropdown-item .item-icon { color: var(--text-muted); flex-shrink: 0; }
.dropdown-separator { height: 1px; background: var(--border); margin: var(--space-2) 0; }

/* ── BOTÕES ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-2);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  border: none; cursor: pointer;
  transition: all var(--duration) var(--ease);
  white-space: nowrap; position: relative; overflow: hidden;
  letter-spacing: 0.01em; text-decoration: none; user-select: none;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--duration-fast);
}
.btn:hover::after { background: rgba(255,255,255,0.06); }
.btn:active { transform: scale(0.98) !important; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none !important; }

.btn-gold {
  background: var(--gradient-gold);
  color: #000; font-weight: 700;
  box-shadow: 0 2px 12px rgba(245,166,35,0.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,166,35,0.5); }

.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--gold); color: var(--gold);
  background: var(--gold-subtle); transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text-secondary);
}
.btn-ghost:hover { background: rgba(255,255,255,0.09); color: var(--text-primary); }

.btn-green {
  background: linear-gradient(135deg, #059669, var(--green));
  color: #fff; box-shadow: 0 2px 10px var(--green-glow);
}
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 6px 18px var(--green-glow); }

.btn-red {
  background: linear-gradient(135deg, #DC2626, var(--red));
  color: #fff; box-shadow: 0 2px 10px var(--red-glow);
}
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 6px 18px var(--red-glow); }

.btn-purple {
  background: var(--gradient-purple);
  color: #fff; box-shadow: 0 2px 10px var(--purple-glow);
}
.btn-purple:hover { transform: translateY(-2px); box-shadow: 0 6px 18px var(--purple-glow); }

.btn-xs    { padding: 5px 12px; font-size: var(--text-xs); border-radius: var(--radius-sm); }
.btn-sm    { padding: 7px 14px; font-size: var(--text-sm); }
.btn-md    { padding: 11px 22px; font-size: var(--text-base); }
.btn-lg    { padding: 14px 30px; font-size: var(--text-md); border-radius: var(--radius-md); }
.btn-xl    { padding: 17px 40px; font-size: var(--text-lg); border-radius: var(--radius-md); font-weight: 800; }
.btn-block { width: 100%; }
.btn-icon  { width: 38px; height: 38px; padding: 0; border-radius: var(--radius); }

/* ── CARDS ───────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}
.card-sm { padding: var(--space-4); border-radius: var(--radius); }
.card-lg { padding: var(--space-8); border-radius: var(--radius-lg); }
.card-glow { border-color: var(--border-hover); box-shadow: var(--shadow-card), 0 0 30px var(--gold-glow); }
.card-glass {
  background: rgba(15,22,40,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: rgba(255,255,255,0.08);
}

/* ── FORMULÁRIOS ─────────────────────────────────────────── */
.form-group { margin-bottom: var(--space-5); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }

.form-label {
  display: flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-xs); font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}
.label-req { color: var(--gold); }

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: var(--text-base);
  outline: none;
  transition: all var(--duration) var(--ease);
  appearance: none; -webkit-appearance: none;
}
.form-input:hover { border-color: rgba(255,255,255,0.12); }
.form-input:focus {
  border-color: var(--border-focus);
  background: rgba(26,34,56,0.9);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.12);
}
.form-input::placeholder { color: var(--text-disabled); }
.form-input:disabled { opacity: 0.4; cursor: not-allowed; }

.input-wrap { position: relative; }
.input-icon {
  position: absolute; left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted); pointer-events: none; font-size: 15px;
}
.input-wrap .form-input { padding-left: 44px; }

.amount-chips { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-bottom: var(--space-3); }
.chip {
  padding: 6px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs); font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease);
}
.chip:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-subtle); }
.chip.active { border-color: var(--gold); color: var(--gold); background: var(--gold-subtle); }

/* ── BADGE ───────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.04em;
}
.badge-gold   { background: rgba(245,166,35,0.15); color: var(--gold); border: 1px solid rgba(245,166,35,0.3); }
.badge-green  { background: rgba(16,185,129,0.12); color: var(--green-light); border: 1px solid rgba(16,185,129,0.25); }
.badge-red    { background: rgba(239,68,68,0.12); color: var(--red-light); border: 1px solid rgba(239,68,68,0.25); }
.badge-purple { background: rgba(124,58,237,0.12); color: var(--purple-light); border: 1px solid rgba(124,58,237,0.25); }
.badge-muted  { background: rgba(100,116,139,0.12); color: var(--text-muted); border: 1px solid rgba(100,116,139,0.2); }
.badge-dot::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex-shrink: 0; }

/* ── TABS ────────────────────────────────────────────────── */
.tabs {
  display: flex; gap: 2px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  padding: 4px; border-radius: var(--radius);
  margin-bottom: var(--space-5);
}
.tab-btn {
  flex: 1; padding: 9px 14px; border: none;
  border-radius: calc(var(--radius) - 2px);
  background: transparent; color: var(--text-muted);
  font-size: var(--text-sm); font-weight: 600;
  cursor: pointer; transition: all var(--duration) var(--ease);
  white-space: nowrap;
}
.tab-btn:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }
.tab-btn.active { background: var(--gradient-gold); color: #000; box-shadow: 0 2px 8px rgba(245,166,35,0.3); }

/* ── MODAL ───────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  z-index: var(--z-modal); padding: var(--space-4);
  animation: fadeIn 0.2s var(--ease);
}
.modal-overlay.hidden { display: none; }

.modal {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  width: 100%; max-width: 460px;
  box-shadow: var(--shadow-xl), 0 0 60px rgba(0,0,0,0.6);
  position: relative;
  animation: modalIn 0.28s var(--ease-bounce);
  max-height: 90vh; overflow-y: auto;
}
.modal::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient-gold);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.modal-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: var(--space-6);
}
.modal-title { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 800; letter-spacing: -0.02em; }
.modal-subtitle { font-size: var(--text-sm); color: var(--text-muted); margin-top: 3px; }
.modal-close {
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  color: var(--text-muted); font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--duration-fast) var(--ease);
  flex-shrink: 0; margin-left: var(--space-3);
}
.modal-close:hover { background: var(--red-glow); color: var(--red-light); border-color: transparent; }

/* ── TOAST ───────────────────────────────────────────────── */
#toast {
  position: fixed; bottom: var(--space-6); right: var(--space-6);
  z-index: var(--z-toast);
  display: flex; flex-direction: column; gap: var(--space-2);
  max-width: 340px; width: calc(100vw - 40px);
}
.toast-item {
  display: flex; align-items: flex-start; gap: var(--space-3);
  padding: 14px 16px; border-radius: var(--radius-md);
  font-size: var(--text-sm); font-weight: 500;
  box-shadow: var(--shadow-xl);
  animation: toastIn 0.3s var(--ease-bounce);
  border: 1px solid transparent;
  backdrop-filter: blur(12px);
  line-height: 1.4;
}
.toast-success { background: rgba(16,185,129,0.18); border-color: rgba(16,185,129,0.3); color: #fff; }
.toast-error   { background: rgba(239,68,68,0.18);  border-color: rgba(239,68,68,0.3);  color: #fff; }
.toast-info    { background: rgba(124,58,237,0.18); border-color: rgba(124,58,237,0.3); color: #fff; }
.toast-warning { background: rgba(245,166,35,0.15); border-color: rgba(245,166,35,0.3); color: #fff; }

/* ── SPINNER ─────────────────────────────────────────────── */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,0.15);
  border-top-color: currentColor; border-radius: 50%;
  animation: spin 0.7s linear infinite; flex-shrink: 0;
}
.spinner-sm { width: 14px; height: 14px; }
.spinner-lg { width: 32px; height: 32px; border-width: 3px; }
.spinner-xl { width: 48px; height: 48px; border-width: 4px; }

.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card2) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
}

.divider {
  display: flex; align-items: center; gap: var(--space-3);
  margin: var(--space-5) 0;
}
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.divider span { font-size: var(--text-xs); color: var(--text-muted); white-space: nowrap; }

.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 6px var(--green);
  animation: pulse 2s infinite; flex-shrink: 0;
}
.pulse-dot.gold { background: var(--gold); box-shadow: 0 0 6px var(--gold-glow); }

/* ── KEYFRAMES ───────────────────────────────────────────── */
@keyframes spin       { to { transform: rotate(360deg); } }
@keyframes pulse      { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(0.85); } }
@keyframes fadeIn     { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn    { from { opacity: 0; transform: scale(0.92) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes dropdownIn { from { opacity: 0; transform: scale(0.95) translateY(-8px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes toastIn    { from { opacity: 0; transform: translateX(24px) scale(0.95); } to { opacity: 1; transform: translateX(0) scale(1); } }
@keyframes shimmer    { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes floatY     { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes glowPulse  { 0%, 100% { box-shadow: 0 0 20px var(--gold-glow); } 50% { box-shadow: 0 0 40px rgba(245,166,35,0.55), 0 0 80px rgba(245,166,35,0.15); } }
@keyframes fadeInUp   { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn    { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes borderGlow { 0%, 100% { border-color: rgba(245,166,35,0.2); } 50% { border-color: rgba(245,166,35,0.7); } }
@keyframes textFlash  { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* ── RESPONSIVO ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .navbar-links { display: none; }
}
@media (max-width: 768px) {
  .navbar { padding: 0 var(--space-4); height: 60px; }
  .modal { padding: var(--space-5); border-radius: var(--radius-lg); }
  .modal-title { font-size: var(--text-lg); }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  #toast { right: var(--space-4); bottom: var(--space-4); }
}
@media (max-width: 480px) {
  .navbar { padding: 0 var(--space-3); }
  .bal-label { display: none; }
  .btn-xl { padding: 14px 28px; font-size: var(--text-base); }
  .modal { padding: var(--space-4); max-height: 95vh; }
  .card { padding: var(--space-4); }
}
