/* ═══════════════════════════════════════════════════════════
   FOXBET — Layout Maxibet | Cores: Preto + Laranja
══════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --accent:       #ff6b00;
  --accent-h:     #ff8c2a;
  --accent-glow:  rgba(255,107,0,.4);
  --accent-dim:   rgba(255,107,0,.12);

  --bg:           #0a0a0a;
  --bg-sidebar:   #0d0d0d;
  --bg-card:      #141414;
  --bg-card2:     #1c1c1c;
  --bg-input:     #1c1c1c;
  --bg-hover:     #222;

  --border:       rgba(255,255,255,.07);
  --border-s:     rgba(255,255,255,.04);

  --text:         #f0f0f0;
  --text-2:       #888;
  --text-3:       #555;

  --green:        #22c55e;
  --red:          #ef4444;
  --gold:         #f59e0b;

  --r-s:   6px;
  --r:     10px;
  --r-l:   14px;
  --r-xl:  16px;

  --sw:    210px;   /* sidebar width */
  --th:     56px;   /* topbar height */
  --ease:  .16s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
a { color: var(--accent); text-decoration: none; }
button { font-family: inherit; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  font-size: 14px;
}

::-webkit-scrollbar       { width: 3px; height: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 3px; }

/* ══════════════════════════════════════════════════════════
   SIDEBAR
══════════════════════════════════════════════════════════ */
.sidebar {
  position: fixed;
  top: 0; left: 0;
  width: var(--sw);
  height: 100vh;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 200;
  transition: transform var(--ease);
  scrollbar-width: none;
}
.sidebar::-webkit-scrollbar { display: none; }

.sidebar-logo {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-img { height: 46px; width: auto; object-fit: contain; }

/* Pills de promoção — estilo do print */
.promo-pills {
  padding: 10px 8px 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.promo-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: var(--r-s);
  border: none;
  cursor: pointer;
  font-size: 11.5px;
  font-weight: 700;
  text-align: left;
  width: 100%;
  transition: filter var(--ease);
  line-height: 1.25;
}
.promo-pill:hover { filter: brightness(1.2); }
.promo-pill .pill-emoji { margin-left: auto; font-size: 15px; flex-shrink: 0; }
.promo-pill i { font-size: 12px; flex-shrink: 0; }

.promo-pill.green  { background: #122012; color: #4ade80; border: 1px solid rgba(74,222,128,.12); }
.promo-pill.orange { background: #221408; color: var(--accent); border: 1px solid rgba(255,107,0,.14); }
.promo-pill.red    { background: #200e0e; color: #f87171; border: 1px solid rgba(248,113,113,.12); }

/* Navegação */
.sidebar-nav { padding: 2px 0; }

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border-left: 2px solid transparent;
  text-decoration: none;
  transition: all var(--ease);
}
.nav-item i {
  width: 16px; text-align: center;
  font-size: 13px; color: var(--text-3);
  flex-shrink: 0; transition: color var(--ease);
}
.nav-item:hover             { color: var(--text); background: var(--bg-hover); }
.nav-item:hover i           { color: var(--accent); }
.nav-item.active            { color: var(--text); background: var(--accent-dim); border-left-color: var(--accent); }
.nav-item.active i          { color: var(--accent); }

.badge-live {
  margin-left: auto;
  background: #dc2626; color: #fff;
  font-size: 8px; font-weight: 800;
  padding: 1px 5px; border-radius: 3px;
  letter-spacing: .4px;
  animation: blink 1.8s infinite;
}
@keyframes blink { 50% { opacity: .4; } }

.sidebar-divider { height: 1px; background: var(--border); margin: 5px 12px; }

/* ══════════════════════════════════════════════════════════
   TOPBAR — logo centralizado, igual ao print
══════════════════════════════════════════════════════════ */
.topbar {
  position: fixed;
  top: 0; left: var(--sw); right: 0;
  height: var(--th);
  background: var(--bg-sidebar);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 14px;
  z-index: 199;
  gap: 8px;
}

/* Esquerda: toggle + tabs */
.topbar-left {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Centro: logo */
.topbar-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.topbar-center img { height: 32px; width: auto; }

/* Direita: auth / user */
.topbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.menu-toggle {
  display: none;
  background: none; border: none;
  color: var(--text-2); font-size: 17px;
  cursor: pointer; padding: 6px;
  border-radius: var(--r-s);
}
.menu-toggle:hover { color: var(--text); }

/* Tabs CASSINO / ESPORTES sublinhados */
.topbar-tabs { display: flex; gap: 0; }

.tab-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-3);
  padding: 0 14px;
  height: var(--th);
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  transition: color var(--ease), border-color var(--ease);
}
.tab-btn:hover  { color: var(--text); }
.tab-btn.active { color: var(--text); border-bottom-color: var(--accent); }

/* Botões auth */
.auth-buttons { display: flex; gap: 6px; }

.btn-register {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.18);
  color: var(--text);
  padding: 6px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 12.5px; font-weight: 700;
  transition: all var(--ease);
  white-space: nowrap;
}
.btn-register:hover { border-color: var(--accent); color: var(--accent); }

.btn-login {
  background: var(--accent);
  border: none; color: #fff;
  padding: 6px 18px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 12.5px; font-weight: 700;
  transition: background var(--ease);
  white-space: nowrap;
  box-shadow: 0 0 12px var(--accent-glow);
}
.btn-login:hover { background: #e56000; }

/* User bar (logado) */
.user-bar { display: flex; align-items: center; gap: 6px; }

.btn-deposit {
  display: flex; align-items: center; gap: 6px;
  background: var(--accent); border: none; color: #fff;
  padding: 6px 14px; border-radius: 20px;
  cursor: pointer; font-size: 12.5px; font-weight: 700;
  position: relative; transition: background var(--ease);
  box-shadow: 0 0 10px var(--accent-glow);
}
.btn-deposit:hover { background: #e56000; }

.pix-chip {
  position: absolute; top: -7px; right: -4px;
  background: #00b37e; color: #fff;
  font-size: 7px; font-weight: 800;
  padding: 1px 4px; border-radius: 3px;
}

.balance-btn {
  display: flex; align-items: center; gap: 5px;
  background: var(--bg-card2); border: 1px solid var(--border);
  color: var(--text); padding: 6px 12px; border-radius: 20px;
  cursor: pointer; font-size: 13px; font-weight: 600;
  transition: border-color var(--ease);
}
.balance-btn:hover { border-color: var(--accent); }
.balance-btn i { color: var(--text-2); font-size: 11px; }

.avatar-wrap { position: relative; cursor: pointer; }
.avatar-circle {
  width: 34px; height: 34px;
  background: var(--accent-dim);
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}

/* Dropdown user */
.user-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  width: 220px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--r-l);
  box-shadow: 0 12px 40px rgba(0,0,0,.7);
  z-index: 999; overflow: hidden;
  animation: fadeDown .15s ease;
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.user-drop-header {
  padding: 13px; background: var(--bg-card2);
  border-bottom: 1px solid var(--border);
  display: flex; gap: 10px; align-items: center;
}
.user-drop-avatar {
  width: 40px; height: 40px;
  background: var(--accent-dim); border: 1.5px solid var(--accent);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 19px; flex-shrink: 0;
}
.user-drop-name { font-weight: 700; font-size: 13.5px; }
.user-drop-vip  { color: var(--gold); font-size: 11px; margin: 2px 0; display: flex; align-items: center; gap: 4px; }
.user-drop-date { color: var(--text-3); font-size: 10px; }
.user-drop-menu { padding: 4px 0; }
.user-drop-menu a {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 13px; color: var(--text-2); font-size: 13px;
  transition: all var(--ease); cursor: pointer;
}
.user-drop-menu a:hover { background: var(--bg-hover); color: var(--text); }
.user-drop-menu a i { width: 14px; color: var(--text-3); font-size: 12px; }
.user-drop-menu a:hover i { color: var(--accent); }

/* Seletor de servidor — bandeiras grandes */
.server-selector { justify-content: flex-start !important; gap: 8px; }
.server-selector #currentServerFlag { font-size: 18px; flex-shrink: 0; }
.server-selector #currentServerLabel { flex: 1; }

.server-submenu {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 5px;
}
.server-submenu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 10px;
  background: none;
  border: none;
  color: var(--text-2);
  cursor: pointer;
  border-radius: var(--r-s);
  font-size: 13px;
  font-weight: 500;
  transition: all var(--ease);
}
.server-submenu button:hover { background: var(--bg-hover); color: var(--text); }
.server-submenu button span:nth-child(2) { flex: 1; }

/* Bandeira grande */
.server-flag-img {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,.4);
}
.server-selector .server-flag-img { width: 22px; height: 15px; }
.server-submenu .server-flag-img  { width: 28px; height: 19px; }
.server-check { margin-left: auto; color: var(--accent); font-weight: 900; font-size: 15px; min-width: 16px; text-align: right; }
.user-drop-footer { border-top: 1px solid var(--border); padding: 6px 13px 10px; }
.user-drop-footer a {
  display: flex; align-items: center; gap: 8px;
  color: #f87171; font-size: 13px; padding: 6px 0;
}

/* ══════════════════════════════════════════════════════════
   MAIN CONTENT
══════════════════════════════════════════════════════════ */
.main-content {
  margin-left: var(--sw);
  margin-top: var(--th);
  min-height: calc(100vh - var(--th));
  padding: 16px 20px 48px;
}
.page        { display: block; }
.page.hidden { display: none; }

/* ══════════════════════════════════════════════════════════
   CARROSSEL DE BANNERS
══════════════════════════════════════════════════════════ */
.hero-carousel {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: 18px;
  aspect-ratio: 16 / 5;
  background: #111;
  cursor: pointer;
  user-select: none;
}
.carousel-track {
  display: flex;
  width: 100%; height: 100%;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}
.carousel-slide { flex: 0 0 100%; width: 100%; height: 100%; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.1);
  color: #fff; width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 12px;
  opacity: 0; transition: opacity var(--ease), background var(--ease);
  z-index: 10;
}
.hero-carousel:hover .carousel-btn { opacity: 1; }
.carousel-btn:hover { background: rgba(255,107,0,.7); }
.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

.carousel-dots {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 10;
}
.carousel-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.3); border: none; cursor: pointer;
  transition: all var(--ease); padding: 0;
}
.carousel-dot.active {
  background: var(--accent); width: 20px;
  border-radius: 4px; box-shadow: 0 0 8px var(--accent-glow);
}

/* ══════════════════════════════════════════════════════════
   SEARCH BAR
══════════════════════════════════════════════════════════ */
.search-bar {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 11px 16px;
  margin-bottom: 20px;
  transition: border-color var(--ease);
}
.search-bar:focus-within { border-color: rgba(255,107,0,.4); }
.search-bar i  { color: var(--text-3); font-size: 13px; }
.search-bar input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--text); font-size: 13.5px; font-family: inherit;
}
.search-bar input::placeholder { color: var(--text-3); }

/* ══════════════════════════════════════════════════════════
   CATEGORIAS — circulares, igual ao print
══════════════════════════════════════════════════════════ */
.categories-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 20px;
  scrollbar-width: none;
  justify-content: flex-start;
}
.categories-row::-webkit-scrollbar { display: none; }

.cat-btn {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: var(--text-2);
  cursor: pointer;
  padding: 4px 4px;
  min-width: 62px;
  transition: color var(--ease);
  text-align: center;
}

.cat-icon {
  width: 54px; height: 54px;
  background: var(--bg-card);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border);
  transition: all var(--ease);
}
.cat-icon i { font-size: 20px; color: var(--text-2); transition: color var(--ease); }

.cat-label { font-size: 11px; font-weight: 600; line-height: 1.2; }
.cat-sub   { font-size: 9.5px; color: var(--text-3); margin-top: -3px; }

.cat-btn:hover .cat-icon,
.cat-btn.active .cat-icon {
  background: var(--accent);
  border-color: var(--accent-h);
  box-shadow: 0 0 18px var(--accent-glow);
}
.cat-btn:hover .cat-icon i,
.cat-btn.active .cat-icon i { color: #fff; }
.cat-btn:hover,
.cat-btn.active { color: var(--text); }

/* ══════════════════════════════════════════════════════════
   TOP GANHOS — strip horizontal compacta
══════════════════════════════════════════════════════════ */
.winners-strip {
  display: flex;
  align-items: stretch;
  background: linear-gradient(90deg, #1a1200, #221700);
  border: 1px solid rgba(245,158,11,.2);
  border-radius: var(--r-l);
  overflow: hidden;
  margin-bottom: 26px;
  min-height: 72px;
}
.winners-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  background: linear-gradient(180deg, #221700, #1a1200);
  border-right: 1px solid rgba(245,158,11,.15);
  flex-shrink: 0;
  gap: 3px;
  min-width: 80px;
}
.winners-label i { color: var(--gold); font-size: 18px; }
.winners-label span {
  color: var(--gold); font-size: 10px; font-weight: 800;
  text-align: center; letter-spacing: .5px; line-height: 1.3;
}
.winners-scroll {
  display: flex; gap: 0;
  overflow-x: auto; flex: 1;
  scrollbar-width: none;
}
.winners-scroll::-webkit-scrollbar { display: none; }

.winner-card {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-right: 1px solid rgba(245,158,11,.1);
  flex-shrink: 0;
  min-width: 150px;
  transition: background var(--ease);
  cursor: pointer;
}
.winner-card:hover { background: rgba(245,158,11,.05); }
.winner-thumb {
  width: 44px; height: 44px;
  object-fit: cover; border-radius: 6px;
  flex-shrink: 0; background: #111;
}
.winner-info  { flex: 1; min-width: 0; }
.winner-name  { font-size: 11px; font-weight: 700; color: var(--text-2); }
.winner-game  { font-size: 10px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px; }
.winner-amount { font-size: 12.5px; font-weight: 800; color: var(--gold); }

/* ══════════════════════════════════════════════════════════
   SECTION HEADER
══════════════════════════════════════════════════════════ */
.section-header {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 12px; margin-top: 28px;
}
.section-header:first-of-type { margin-top: 0; }
.section-header h2 { font-size: 16px; font-weight: 800; color: var(--text); }
.section-header-left { display: flex; align-items: center; gap: 8px; }
.section-badge {
  width: 26px; height: 26px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.section-badge.crash { background: rgba(239,68,68,.15); border: 1px solid rgba(239,68,68,.3); }
.ver-todos {
  font-size: 12px; font-weight: 600; color: var(--accent);
  display: flex; align-items: center; gap: 4px;
  transition: color var(--ease);
}
.ver-todos:hover { color: var(--accent-h); }
.ver-todos i { font-size: 10px; }

/* ══════════════════════════════════════════════════════════
   GAMES GRID — cards portrait grandes igual ao print
══════════════════════════════════════════════════════════ */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 10px;
}

.game-card {
  background: var(--bg-card);
  border-radius: var(--r);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease;
  /* aspect portrait 2:3 */
  aspect-ratio: 2 / 3;
  border: 1px solid var(--border-s);
}
.game-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0,0,0,.7);
  z-index: 2;
}

/* Imagem ocupa todo o card */
.game-card-img-wrap {
  position: absolute; inset: 0;
}
.game-card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .3s ease;
}
.game-card:hover .game-card-img-wrap img { transform: scale(1.06); }

/* Overlay escuro no hover */
.game-card-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.6);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .18s ease;
  z-index: 3;
}
.game-card:hover .game-card-overlay { opacity: 1; }

.game-play-btn {
  background: var(--accent); border: none; color: #fff;
  padding: 8px 18px; border-radius: 20px;
  font-size: 12px; font-weight: 800; cursor: pointer;
  display: flex; align-items: center; gap: 5px;
  box-shadow: 0 4px 16px var(--accent-glow);
  transform: translateY(6px); transition: transform .18s ease;
}
.game-card:hover .game-play-btn { transform: translateY(0); }

/* Nome + provider em baixo do card — sobreposição com gradiente */
.game-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.6) 50%, transparent 100%);
  padding: 28px 8px 8px;
  z-index: 2;
  transition: opacity .18s ease;
}
.game-card-name {
  font-size: 11px; font-weight: 800;
  color: #fff; text-align: center;
  text-transform: uppercase; letter-spacing: .3px;
  margin-bottom: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-shadow: 0 1px 4px rgba(0,0,0,.8);
}
.game-card-provider {
  font-size: 9px; font-weight: 600; color: var(--accent);
  text-align: center; letter-spacing: .3px; text-transform: uppercase;
}

.game-live-badge {
  position: absolute; top: 6px; left: 6px;
  background: rgba(220,38,38,.9); color: #fff;
  font-size: 8.5px; font-weight: 800;
  padding: 2px 6px; border-radius: 4px;
  display: flex; align-items: center; gap: 3px;
  z-index: 4;
}
.live-dot {
  width: 5px; height: 5px; background: #fff;
  border-radius: 50%; animation: blink 1s infinite; flex-shrink: 0;
}

/* ── MINIGAMES GRID ─────────────────────────────────────── */
.minigames-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.minigame-card {
  background: var(--bg-card); border: 1px solid var(--border-s);
  border-radius: var(--r-l); overflow: hidden; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
  aspect-ratio: 16 / 9; position: relative;
}
.minigame-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,.6);
}
.minigame-img-wrap { position: absolute; inset: 0; }
.minigame-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.minigame-card:hover .minigame-img-wrap img { transform: scale(1.07); }
.minigame-card:hover .game-card-overlay { opacity: 1; }
.minigame-cat-badge {
  position: absolute; top: 7px; right: 7px;
  font-size: 9.5px; font-weight: 700;
  padding: 2px 7px; border-radius: 4px; border: 1px solid;
  backdrop-filter: blur(4px); z-index: 2;
}

/* ══════════════════════════════════════════════════════════
   PAGE TITLE
══════════════════════════════════════════════════════════ */
.page-title {
  font-size: 18px; font-weight: 800;
  margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}
.page-title i { color: var(--accent); font-size: 16px; }

/* ══════════════════════════════════════════════════════════
   BONUSES
══════════════════════════════════════════════════════════ */
.bonuses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 10px; }
.bonus-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-l); overflow: hidden;
  transition: transform .15s, border-color .15s;
}
.bonus-card:hover { transform: translateY(-2px); border-color: rgba(255,107,0,.3); }
.bonus-card-top { padding: 14px; display: flex; align-items: flex-start; gap: 10px; border-bottom: 1px solid var(--border); }
.bonus-icon { font-size: 26px; line-height: 1; }
.bonus-card-top h3 { font-size: 13.5px; font-weight: 700; margin-bottom: 3px; }
.bonus-card-value  { color: var(--accent); font-size: 15px; font-weight: 700; }
.bonus-badge {
  margin-left: auto; flex-shrink: 0;
  font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 4px;
  background: var(--accent-dim); color: var(--accent);
  border: 1px solid rgba(255,107,0,.25);
}
.bonus-card p { padding: 10px 14px; color: var(--text-2); font-size: 12.5px; line-height: 1.6; }
.bonus-card-footer { padding: 0 14px 14px; }
.btn-claim {
  width: 100%; background: var(--accent); border: none; color: #fff;
  padding: 9px; border-radius: var(--r-s); cursor: pointer;
  font-size: 13px; font-weight: 700; transition: background var(--ease);
}
.btn-claim:hover { background: #e56000; }

/* ══════════════════════════════════════════════════════════
   WALLET
══════════════════════════════════════════════════════════ */
.wallet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.wallet-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-l); padding: 18px; }
.wallet-label { color: var(--text-3); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.wallet-value { font-size: 22px; font-weight: 700; color: var(--accent); margin-bottom: 12px; }
.wallet-value.bonus { font-size: 16px; color: var(--gold); margin-bottom: 0; }
.wallet-actions { display: flex; flex-direction: column; gap: 8px; }
.btn-pix-deposit, .btn-withdraw {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  border: none; padding: 10px; border-radius: var(--r-s);
  cursor: pointer; font-size: 13px; font-weight: 600; transition: all var(--ease);
}
.btn-pix-deposit { background: var(--accent); color: #fff; }
.btn-pix-deposit:hover { background: #e56000; }
.btn-withdraw { background: var(--bg-card2); border: 1px solid var(--border); color: var(--text-2); }
.btn-withdraw:hover { border-color: var(--accent); color: var(--text); }

.tx-list { display: flex; flex-direction: column; gap: 6px; }
.tx-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-s); padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
}
.tx-type { display: flex; align-items: center; gap: 7px; font-size: 13px; flex: 1; }
.tx-type i { color: var(--text-3); width: 14px; }
.tx-amount { font-weight: 700; font-size: 13px; }
.tx-amount.deposit    { color: var(--green); }
.tx-amount.withdrawal { color: var(--red); }
.tx-status { font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 3px; }
.tx-status.pending   { background: rgba(245,158,11,.15); color: var(--gold); }
.tx-status.completed { background: rgba(34,197,94,.15);  color: var(--green); }
.tx-status.failed    { background: rgba(239,68,68,.15);  color: var(--red); }
.tx-date { color: var(--text-3); font-size: 11px; }

/* ══════════════════════════════════════════════════════════
   DEPOSIT / WITHDRAW
══════════════════════════════════════════════════════════ */
.deposit-container {
  max-width: 480px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--r-l); padding: 22px;
}
.deposit-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.pix-badge {
  display: flex; align-items: center; gap: 5px;
  background: rgba(0,179,126,.12); color: #00b37e;
  border: 1px solid rgba(0,179,126,.25);
  padding: 5px 10px; border-radius: 6px; font-size: 12px; font-weight: 700;
}
.amount-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.preset-btn {
  background: var(--bg-card2); border: 1px solid var(--border);
  color: var(--text-2); padding: 6px 14px; border-radius: var(--r-s);
  cursor: pointer; font-size: 12.5px; transition: all var(--ease);
}
.preset-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
.input-group { margin-bottom: 12px; }
.input-group label { display: block; color: var(--text-2); font-size: 11.5px; margin-bottom: 6px; font-weight: 500; }
.input-field {
  width: 100%; background: var(--bg-input); border: 1px solid var(--border);
  color: var(--text); padding: 9px 12px; border-radius: var(--r-s);
  font-size: 13px; outline: none; transition: border-color var(--ease);
}
.input-field:focus { border-color: rgba(255,107,0,.5); }
.input-prefix {
  display: flex; align-items: center; background: var(--bg-input);
  border: 1px solid var(--border); border-radius: var(--r-s);
  overflow: hidden; transition: border-color var(--ease);
}
.input-prefix:focus-within { border-color: rgba(255,107,0,.5); }
.input-prefix span {
  padding: 9px 12px; background: var(--bg-card2);
  color: var(--text-3); border-right: 1px solid var(--border); font-size: 13px;
}
.input-prefix input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--text); padding: 9px 12px; font-size: 13px;
}
.hint { color: var(--text-3); font-size: 11px; margin-top: 4px; display: block; }
.btn-generate-pix {
  width: 100%; background: var(--accent); border: none; color: #fff;
  padding: 11px; border-radius: var(--r-s); font-size: 14px; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 7px;
  transition: background var(--ease); box-shadow: 0 4px 16px var(--accent-glow);
}
.btn-generate-pix:hover { background: #e56000; }
.btn-generate-pix:disabled { opacity: .55; cursor: not-allowed; }
.pix-success-icon { text-align: center; font-size: 2.5rem; margin-bottom: 6px; }
#pixResult h3 { text-align: center; font-size: 16px; margin-bottom: 4px; }
#pixResult > p { text-align: center; color: var(--text-2); font-size: 12.5px; margin-bottom: 14px; }
.pix-qr { display: flex; justify-content: center; margin: 12px 0; }
.pix-qr img { width: 170px; height: 170px; border-radius: var(--r-s); border: 2px solid var(--accent); }
.pix-copy-area { display: flex; gap: 6px; margin-bottom: 10px; }
.pix-copy-area input {
  flex: 1; background: var(--bg-input); border: 1px solid var(--border);
  color: var(--text-3); padding: 8px 10px; border-radius: var(--r-s);
  font-size: 11.5px; outline: none;
}
.pix-copy-area button {
  background: var(--accent); border: none; color: #fff;
  padding: 8px 12px; border-radius: var(--r-s); cursor: pointer; font-size: 12px;
}
.pix-timer { text-align: center; color: var(--text-3); font-size: 12px; margin-bottom: 8px; }
.pix-timer span { color: var(--accent); font-weight: 700; }
.pix-pending { text-align: center; color: var(--text-3); font-size: 12px; margin-bottom: 14px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.btn-new-pix {
  width: 100%; background: var(--bg-card2); border: 1px solid var(--border);
  color: var(--text-2); padding: 9px; border-radius: var(--r-s);
  cursor: pointer; font-size: 13px; transition: all var(--ease);
}
.btn-new-pix:hover { border-color: var(--accent); color: var(--text); }

/* ══════════════════════════════════════════════════════════
   ESPORTES
══════════════════════════════════════════════════════════ */
.sports-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; margin-bottom: 14px; flex-wrap: wrap;
}
.sports-header-left { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.sports-credits {
  font-size: 11px; color: var(--text-3);
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 3px 9px; border-radius: 4px;
}
.sports-credits span { color: var(--accent); font-weight: 700; }
.sport-type-tabs { display: flex; gap: 5px; flex-wrap: wrap; }
.sport-type-btn {
  display: flex; align-items: center; gap: 6px;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-3); padding: 7px 14px; border-radius: 20px;
  cursor: pointer; font-size: 12.5px; font-weight: 600;
  transition: all var(--ease); white-space: nowrap;
}
.sport-type-btn:hover  { border-color: var(--accent); color: var(--text); }
.sport-type-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.leagues-bar {
  display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px;
  margin-bottom: 18px; scrollbar-width: none;
}
.leagues-bar::-webkit-scrollbar { display: none; }
.league-pill {
  flex-shrink: 0; background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-2); padding: 6px 13px; border-radius: 20px;
  cursor: pointer; font-size: 12.5px; font-weight: 500; white-space: nowrap;
  transition: all var(--ease);
}
.league-pill:hover  { border-color: var(--accent); color: var(--text); }
.league-pill.active { background: var(--accent-dim); border-color: var(--accent); color: var(--accent); font-weight: 700; }

/* Match Cards */
.matches-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; margin-bottom: 8px; }
.mc {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-l); overflow: hidden;
  transition: border-color .15s, transform .15s;
  border-top: 2px solid var(--lc, var(--accent));
}
.mc:hover { border-color: rgba(255,107,0,.4); transform: translateY(-2px); }
.mc-top {
  display: flex; align-items: center; gap: 7px;
  padding: 7px 12px; background: var(--bg-card2);
  border-bottom: 1px solid var(--border);
  font-size: 11px; font-weight: 600; color: var(--text-3);
}
.mc-league-flag { font-size: 13px; }
.mc-league-name { flex: 1; }
.mc-live-badge { display: flex; align-items: center; gap: 4px; color: #ef4444; font-size: 10px; font-weight: 800; }
.mc-live-dot { width: 6px; height: 6px; background: #ef4444; border-radius: 50%; animation: blink 1s infinite; }
.mc-time { font-size: 10.5px; color: var(--text-3); background: var(--bg-input); padding: 2px 7px; border-radius: 3px; }
.mc-bm-count { font-size: 10px; color: var(--text-3); background: var(--bg-input); padding: 2px 6px; border-radius: 3px; }
.mc-mid { padding: 14px 14px 10px; display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.mc-team { flex: 1; text-align: center; }
.mc-logo-wrap {
  width: 44px; height: 44px; margin: 0 auto 6px;
  background: var(--bg-card2); border: 1.5px solid rgba(255,255,255,.08);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.mc-logo-wrap img { width: 36px; height: 36px; object-fit: contain; }
.mc-team-name { font-size: 12px; font-weight: 700; color: var(--text); line-height: 1.3; }
.mc-center { display: flex; flex-direction: column; align-items: center; gap: 2px; flex-shrink: 0; }
.mc-vs { font-size: 11px; font-weight: 800; color: var(--text-3); letter-spacing: 1px; }
.mc-score-live { font-size: 20px; font-weight: 900; color: var(--accent); letter-spacing: 2px; }
.mc-date { font-size: 10px; color: var(--text-3); white-space: nowrap; margin-top: 2px; }
.mc-odds { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 5px; padding: 0 12px 12px; }
.mc-odd {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: var(--bg-card2); border: 1px solid var(--border);
  border-radius: var(--r-s); padding: 8px 4px; cursor: pointer; transition: all var(--ease);
}
.mc-odd:hover { background: var(--accent-dim); border-color: var(--accent); }
.mc-odd.selected { background: var(--accent); border-color: var(--accent); }
.mc-odd-label { font-size: 9.5px; color: var(--text-3); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70px; text-align: center; }
.mc-odd-val { font-size: 14px; font-weight: 800; color: var(--accent); }
.mc-odd.selected .mc-odd-label,
.mc-odd.selected .mc-odd-val { color: #fff; }
.mc-no-odds { font-size: 12px; color: var(--text-3); text-align: center; padding: 8px; grid-column: span 3; }

/* Betslip */
.betslip-fab {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--accent); color: #fff; border: none; border-radius: 50px;
  padding: 12px 20px; display: flex; align-items: center; gap: 8px;
  cursor: pointer; font-size: 14px; font-weight: 700;
  box-shadow: 0 6px 24px var(--accent-glow); z-index: 500;
  transition: all var(--ease); animation: fadeIn .3s ease;
}
.betslip-fab:hover { background: #e56000; transform: translateY(-2px); }
.betslip-count {
  background: #fff; color: var(--accent); border-radius: 50%;
  width: 20px; height: 20px; display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 900;
}
.betslip-fab-odd { font-size: 12px; opacity: .9; }
.betslip-panel {
  position: fixed; bottom: 0; right: 0; width: 340px; max-height: 80vh;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px 14px 0 0; z-index: 600;
  display: flex; flex-direction: column;
  box-shadow: 0 -8px 32px rgba(0,0,0,.6); animation: slideUp .25s ease;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
.bs-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.bs-title { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 7px; }
.bs-title i { color: var(--accent); }
.bs-count { background: var(--accent); color: #fff; border-radius: 50%; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 900; }
.bs-close { background: var(--bg-card2); border: 1px solid var(--border); color: var(--text-3); width: 26px; height: 26px; border-radius: 50%; cursor: pointer; font-size: 11px; display: flex; align-items: center; justify-content: center; }
.bs-body { overflow-y: auto; flex: 1; padding: 10px 14px; }
.bs-item { background: var(--bg-card2); border: 1px solid var(--border); border-radius: var(--r-s); padding: 10px 12px; margin-bottom: 7px; position: relative; }
.bs-item-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.bs-item-title { font-size: 11.5px; color: var(--text-2); }
.bs-item-rm { background: none; border: none; color: var(--text-3); cursor: pointer; font-size: 11px; }
.bs-item-rm:hover { color: var(--red); }
.bs-item-bot { display: flex; align-items: center; justify-content: space-between; }
.bs-item-pick { font-size: 13px; font-weight: 700; }
.bs-item-odd { color: var(--accent); font-weight: 800; font-size: 14px; }
.bs-empty { text-align: center; padding: 24px; color: var(--text-3); font-size: 13px; }
.bs-empty i { font-size: 28px; display: block; margin-bottom: 8px; }
.bs-footer { padding: 12px 14px; border-top: 1px solid var(--border); flex-shrink: 0; }
.bs-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.bs-row label { font-size: 12px; color: var(--text-2); }
.bs-input-wrap { display: flex; align-items: center; background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--r-s); overflow: hidden; }
.bs-input-wrap span { padding: 6px 8px; background: var(--bg-card2); color: var(--text-3); font-size: 12px; border-right: 1px solid var(--border); }
.bs-input-wrap input { background: none; border: none; outline: none; color: var(--text); padding: 6px 8px; font-size: 13px; width: 80px; }
.bs-presets { display: flex; gap: 5px; margin-bottom: 10px; flex-wrap: wrap; }
.bs-presets button { background: var(--bg-card2); border: 1px solid var(--border); color: var(--text-2); padding: 4px 10px; border-radius: var(--r-s); cursor: pointer; font-size: 11.5px; transition: all var(--ease); }
.bs-presets button:hover { border-color: var(--accent); color: var(--accent); }
.bs-summary { margin-bottom: 10px; }
.bs-summary-row { display: flex; justify-content: space-between; padding: 4px 0; font-size: 12.5px; color: var(--text-2); border-bottom: 1px solid var(--border-s); }
.bs-summary-row.win strong { color: var(--green); font-size: 14px; }
.btn-place-bet {
  width: 100%; background: var(--accent); border: none; color: #fff;
  padding: 11px; border-radius: var(--r-s); font-size: 14px; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 7px;
  transition: background var(--ease); box-shadow: 0 4px 16px var(--accent-glow);
}
.btn-place-bet:hover { background: #e56000; }
.btn-place-bet:disabled { opacity: .55; cursor: not-allowed; }

/* Sports estados */
.sports-state { text-align: center; padding: 40px 20px; }
.sports-state i { font-size: 32px; color: var(--text-3); margin-bottom: 12px; display: block; }
.sports-state p { color: var(--text-3); font-size: 14px; }
.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(--r); }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.skel-card { height: 180px; border-radius: var(--r-l); margin-bottom: 10px; }
.live-section-title { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; margin-bottom: 10px; color: #ef4444; }
.live-section-title::before { content: ''; width: 8px; height: 8px; background: #ef4444; border-radius: 50%; animation: blink 1s infinite; }
#liveSection { margin-bottom: 16px; }
.refresh-badge { font-size: 11px; color: var(--text-3); background: var(--bg-card); border: 1px solid var(--border); padding: 3px 8px; border-radius: 4px; cursor: pointer; transition: border-color var(--ease); }
.refresh-badge:hover { border-color: var(--accent); color: var(--accent); }

/* ══════════════════════════════════════════════════════════
   AFILIADOS
══════════════════════════════════════════════════════════ */
.affiliate-stats { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-l); padding: 18px; margin-bottom: 16px; }
.aff-link-row { display: flex; gap: 8px; margin-bottom: 10px; align-items: center; }
.aff-link-row input { flex: 1; background: var(--bg-input); border: 1px solid var(--border); color: var(--text-3); padding: 8px 12px; border-radius: var(--r-s); font-size: 12px; outline: none; }
.aff-link-row button, .aff-code-row button { background: var(--accent); border: none; color: #fff; padding: 8px 14px; border-radius: var(--r-s); cursor: pointer; font-size: 12px; font-weight: 600; white-space: nowrap; }
.aff-code-row { display: flex; gap: 8px; align-items: center; }
.aff-code-row input { width: 130px; background: var(--bg-input); border: 1px solid var(--border); color: var(--text); padding: 8px 12px; border-radius: var(--r-s); font-size: 13px; font-weight: 700; outline: none; text-align: center; }
.aff-numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.aff-num-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-l); padding: 14px; text-align: center; }
.aff-num-val { font-size: 20px; font-weight: 700; color: var(--accent); }
.aff-num-label { color: var(--text-3); font-size: 11px; margin-top: 4px; }
.aff-balance-card { background: var(--bg-card); border: 1px solid rgba(255,107,0,.2); border-radius: var(--r-l); padding: 18px; text-align: center; margin-bottom: 18px; }
.aff-balance-label { color: var(--text-3); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .7px; margin-bottom: 6px; }
.aff-balance-val { font-size: 24px; font-weight: 700; color: var(--accent); margin-bottom: 12px; }
.btn-aff-withdraw { background: var(--bg-input); border: 1px solid var(--border); color: var(--text-2); padding: 9px 22px; border-radius: var(--r-s); cursor: pointer; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.btn-aff-withdraw:hover { border-color: var(--accent); color: var(--text); }
.how-it-works h3 { margin-bottom: 12px; font-size: 14px; }
.hiw-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hiw-step { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-l); padding: 16px; text-align: center; }
.hiw-num { width: 32px; height: 32px; background: var(--accent-dim); border: 1.5px solid rgba(255,107,0,.35); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; font-weight: 800; color: var(--accent); font-size: 13px; }
.hiw-title { font-weight: 700; font-size: 13px; margin-bottom: 5px; }
.hiw-desc  { color: var(--text-3); font-size: 12px; line-height: 1.5; }

/* ══════════════════════════════════════════════════════════
   MODAL
══════════════════════════════════════════════════════════ */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.85); backdrop-filter: blur(8px); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal { background: var(--bg-card); border: 1px solid rgba(255,107,0,.2); border-radius: var(--r-xl); padding: 26px; width: 100%; max-width: 400px; position: relative; animation: scaleIn .2s ease; }
@keyframes scaleIn { from { opacity: 0; transform: scale(.93); } to { opacity: 1; transform: scale(1); } }
.modal-close { position: absolute; top: 14px; right: 14px; width: 28px; height: 28px; background: var(--bg-card2); border: 1px solid var(--border); color: var(--text-3); border-radius: 50%; cursor: pointer; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.modal-close:hover { color: var(--text); }
.modal-brand { color: var(--accent); font-weight: 800; font-size: 12px; letter-spacing: 2px; margin-bottom: 6px; }
.modal h2    { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.modal-sub   { color: var(--text-3); font-size: 12.5px; margin-bottom: 16px; }
.modal-tab-switch { display: flex; gap: 4px; background: var(--bg); border-radius: var(--r-s); padding: 3px; margin-bottom: 16px; }
.tab-switch-btn { flex: 1; padding: 7px; background: none; border: none; color: var(--text-3); border-radius: 5px; cursor: pointer; font-size: 13px; font-weight: 600; transition: all var(--ease); }
.tab-switch-btn.active { background: var(--accent); color: #fff; }
.form-group { display: flex; align-items: center; gap: 8px; background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--r-s); padding: 9px 12px; margin-bottom: 8px; transition: border-color var(--ease); }
.form-group:focus-within { border-color: rgba(255,107,0,.45); }
.form-group i { color: var(--text-3); width: 14px; font-size: 13px; flex-shrink: 0; }
.form-group input { flex: 1; background: none; border: none; outline: none; color: var(--text); font-size: 13.5px; }
.form-group input::placeholder { color: var(--text-3); }
.toggle-pass { background: none; border: none; color: var(--text-3); cursor: pointer; font-size: 13px; padding: 0; }
.toggle-pass:hover { color: var(--text); }
.form-error { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.3); color: #f87171; padding: 8px 10px; border-radius: var(--r-s); font-size: 12.5px; margin-bottom: 8px; }
.btn-modal-submit { width: 100%; background: var(--accent); border: none; color: #fff; padding: 11px; border-radius: var(--r-s); font-size: 14px; font-weight: 700; cursor: pointer; margin-top: 4px; transition: background var(--ease); box-shadow: 0 4px 16px var(--accent-glow); }
.btn-modal-submit:hover    { background: #e56000; }
.btn-modal-submit:disabled { opacity: .5; cursor: not-allowed; }
.modal-switch { text-align: center; color: var(--text-3); font-size: 12px; margin-top: 10px; }
.modal-switch a:hover { color: var(--accent); }
.modal-terms { text-align: center; color: var(--text-3); font-size: 11px; margin-top: 8px; line-height: 1.6; }

/* ── Lembrar-me ─────────────────────────────────────────── */
.remember-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  cursor: pointer;
  font-size: 12.5px;
  color: var(--text-2);
  user-select: none;
}
.remember-label input[type="checkbox"] {
  width: 15px; height: 15px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   TOAST
══════════════════════════════════════════════════════════ */
.toast { position: fixed; bottom: 20px; right: 20px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); padding: 10px 16px; z-index: 99999; font-size: 13px; max-width: 300px; box-shadow: 0 6px 24px rgba(0,0,0,.6); animation: slideUp .25s ease; }
.toast.success { border-color: rgba(34,197,94,.4); }
.toast.error   { border-color: rgba(239,68,68,.4); }
.toast.info    { border-color: rgba(255,107,0,.4); }

/* ══════════════════════════════════════════════════════════
   UTILITY
══════════════════════════════════════════════════════════ */
.hidden { display: none !important; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .sidebar        { transform: translateX(-100%); }
  .sidebar.open   { transform: translateX(0); box-shadow: 6px 0 30px rgba(0,0,0,.7); }
  .topbar         { left: 0; grid-template-columns: auto 1fr auto; }
  .main-content   { margin-left: 0; }
  .menu-toggle    { display: flex; }
  .topbar-center  { justify-content: flex-start; }
  .wallet-grid    { grid-template-columns: 1fr; }
  .aff-numbers    { grid-template-columns: 1fr 1fr; }
  .hiw-steps      { grid-template-columns: 1fr; }
  .winners-strip  { display: none; }
  .matches-grid   { grid-template-columns: 1fr; }
  .games-grid     { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
}

@media (max-width: 600px) {
  .main-content   { padding: 10px 10px 48px; }
  .games-grid     { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .minigames-grid { grid-template-columns: repeat(2, 1fr); }
  .bonuses-grid   { grid-template-columns: 1fr; }
  .aff-numbers    { grid-template-columns: 1fr; }
  .modal          { padding: 18px; }
  .topbar-tabs    { display: none; }
  .betslip-panel  { width: 100%; }
  .hero-carousel  { aspect-ratio: 16/6; }
}

/* Home centralizada: mantém o tema FOXBET e organiza os blocos no espaço útil */
#page-home {
  width: min(100%, 1320px);
  margin-inline: auto;
}

#page-home .hero-carousel {
  aspect-ratio: 16 / 4.4;
}

#page-home .categories-row {
  justify-content: center;
  gap: clamp(10px, 1.45vw, 24px);
  max-width: 1040px;
  margin-inline: auto;
  margin-bottom: 24px;
}

#page-home .cat-btn {
  min-width: 70px;
}

#page-home .winners-strip {
  max-width: 1160px;
  margin-inline: auto;
  margin-bottom: 26px;
}

#page-home .section-header,
#page-home .games-grid,
#page-home .minigames-grid {
  width: 100%;
}

@media (max-width: 900px) {
  #page-home .categories-row {
    justify-content: flex-start;
    gap: 12px;
  }
  #page-home .hero-carousel {
    aspect-ratio: 16 / 6;
  }
}

/* Carteira inspirada na referência, usando a identidade laranja FOXBET */
#page-wallet { width: min(100%, 1120px); margin-inline: auto; }
.wallet-overview { display: grid; grid-template-columns: minmax(260px, .78fr) minmax(0, 1.32fr); gap: 14px; margin-bottom: 14px; }
.wallet-card { min-width: 0; min-height: 245px; padding: 22px 24px; border-radius: 9px; background: #171717; }
.wallet-balance-card { display: flex; flex-direction: column; align-items: flex-start; }
.wallet-card-heading { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; }
.wallet-card-heading > i { color: var(--accent); font-size: 14px; }
.wallet-currency-icon { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: #3c8d48; font-size: 14px; }
.wallet-balance-card .wallet-value { color: var(--text); font-size: clamp(30px, 4vw, 42px); font-weight: 500; margin: 7px 0 auto; }
.wallet-actions { flex-direction: row; gap: 10px; margin-top: 14px; }
.wallet-actions button { min-width: 92px; padding: 9px 14px; }
.btn-pix-deposit { border-radius: 24px; }
.btn-withdraw { background: #45484a; color: #fff; border: 0; }
.wallet-bonus-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, 1fr); gap: 22px; }
.bonus-summary { min-width: 0; }
.wallet-bonus-card .wallet-value { color: var(--text); font-size: 29px; font-weight: 500; margin: 8px 0 10px; }
.bonus-description { display: flex; gap: 8px; align-items: flex-start; color: #c2c2c2; font-size: 12px; margin-bottom: 13px; }
.bonus-description i { color: var(--accent); flex-shrink: 0; }
.wallet-games-button, .wallet-rules-button { width: 100%; border: 0; border-radius: 5px; padding: 9px 10px; font-weight: 700; cursor: pointer; }
.wallet-games-button { color: #111; background: var(--accent); margin-bottom: 8px; }
.wallet-games-button:hover { background: var(--accent-h); }
.wallet-rules-button { color: #ffd400; background: #4b3915; font-weight: 500; }
.wallet-rules-button strong { font-weight: 800; }
.rollover-summary { border-left: 1px solid #454545; padding-left: 20px; min-width: 0; }
.rollover-tag { display: inline-block; background: #725331; color: #fff; border-radius: 4px; padding: 5px 9px; font-size: 12px; font-weight: 700; margin-bottom: 15px; }
.rollover-row { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; margin: 0 0 11px; color: #d0d0d0; }
.rollover-row strong { color: #fff; white-space: nowrap; }
.rollover-track { height: 6px; background: #292929; border-radius: 6px; margin: 0 0 15px; overflow: hidden; }
.rollover-track span { display: block; width: 0; height: 100%; background: var(--accent); }
.wallet-transactions { background: #171717; border: 1px solid var(--border); border-radius: 9px; padding: 22px 18px; }
.wallet-transactions h2 { color: var(--accent); font-size: 23px; margin-bottom: 10px; }
.wallet-periods { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.wallet-period { border: 0; border-radius: 4px; padding: 5px 9px; background: #25232a; color: #c4a7ff; font-size: 11px; font-weight: 700; cursor: pointer; }
.wallet-period.active, .wallet-period:hover { background: var(--accent); color: #111; }
.wallet-transaction-group { margin-top: 14px; }
.wallet-transaction-group h3 { margin-bottom: 12px; font-size: 13px; }
.wallet-transaction-group h3 span { background: var(--accent); color: #111; border-radius: 4px; padding: 4px 9px; }
.wallet-table-scroll { width: 100%; overflow-x: auto; }
.wallet-table { width: 100%; min-width: 440px; border-collapse: collapse; font-size: 12px; }
.wallet-table th { text-align: left; background: #242424; color: #fff; font-weight: 500; padding: 10px 14px; border-top: 2px solid var(--accent); }
.wallet-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.wallet-table tbody tr:hover { background: rgba(255,255,255,.025); }
.wallet-empty { color: #818181; text-align: center; padding: 14px; font-size: 12px; }

@media (max-width: 760px) {
  .wallet-overview { grid-template-columns: 1fr; }
  .wallet-card { min-height: auto; padding: 18px; }
  .wallet-balance-card { min-height: 190px; }
  .wallet-bonus-card { grid-template-columns: 1fr; gap: 16px; }
  .rollover-summary { border-left: 0; border-top: 1px solid #454545; padding: 15px 0 0; }
}
@media (max-width: 480px) {
  .wallet-transactions { padding: 17px 12px; }
  .wallet-transactions h2 { font-size: 20px; }
  .wallet-periods { gap: 6px; }
  .wallet-period { padding: 6px 8px; }
  .rollover-row { font-size: 11px; }
}

/* Modal moderno de depósito PIX */
.deposit-modal-overlay { position: fixed; inset: 0; z-index: 10010; display: flex; align-items: center; justify-content: center; padding: 18px; background: rgba(0,0,0,.88); backdrop-filter: blur(8px); }
.deposit-modal { width: min(100%, 920px); max-height: min(94vh, 720px); overflow-y: auto; border: 1px solid #2b2b36; border-radius: 18px; background: linear-gradient(135deg,#101113 0%,#080a0b 68%,#0b1110 100%); box-shadow: 0 24px 90px rgba(0,0,0,.7); padding: 26px 30px 30px; animation: scaleIn .2s ease; }
.deposit-modal-topbar { display: flex; justify-content: space-between; align-items: center; padding: 0 8px 20px; border-bottom: 1px solid rgba(255,255,255,.06); }
.deposit-modal-logo { width: auto; max-width: 160px; height: 38px; object-fit: contain; }
.deposit-modal-close { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; background: #151719; color: #c5c9c9; font-size: 17px; cursor: pointer; transition: all var(--ease); }
.deposit-modal-close:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-dim); }
.deposit-modal-heading { display: flex; gap: 16px; align-items: center; margin: 20px 4px 16px; }
.deposit-modal-heading > i { color: var(--accent); font-size: 28px; }
.deposit-modal-heading .page-title { color: #f6f6f6; font-size: clamp(21px, 3vw, 27px); margin: 0 0 2px; }
.deposit-modal-heading .page-title i { display: none; }
.deposit-modal-heading p { color: #8d9493; font-size: 13px; }
.deposit-modal-content { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.06fr); column-gap: 24px; align-items: end; }
.deposit-security-note { display: flex; align-items: flex-start; gap: 14px; grid-column: 1; grid-row: 1; padding: 15px 17px; border: 1px solid rgba(255,255,255,.07); border-radius: 12px; background: rgba(255,255,255,.045); }
.deposit-security-icon { flex: 0 0 22px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: #08140e; background: #18d987; font-size: 11px; margin-top: 2px; }
.deposit-security-note strong { font-size: 14px; }
.deposit-security-note p { color: #a6acab; font-size: 11.5px; line-height: 1.45; margin-top: 3px; }
.deposit-modal-form { grid-column: 2; grid-row: 1; min-width: 0; }
.deposit-method-row { display: grid; grid-template-columns: 1.3fr .9fr; gap: 12px; margin-bottom: 14px; }
.deposit-meta-field { min-width: 0; }
.deposit-field-label { display: block; color: #939a99; font-size: 12px; font-weight: 700; margin-bottom: 7px; }
.deposit-method, .deposit-minimum { min-height: 56px; display: flex; align-items: center; gap: 11px; padding: 0 14px; border: 1px solid #303438; border-radius: 12px; background: #171a1b; }
.deposit-method { position: relative; border-color: rgba(255,107,0,.75); box-shadow: 0 0 0 2px rgba(255,107,0,.11); color: var(--accent); }
.deposit-method::before { content: ''; position: absolute; width: 13px; height: 13px; border-radius: 50%; background: var(--accent); right: -6px; top: -6px; box-shadow: 0 0 0 3px #101113; }
.deposit-method > i, .deposit-minimum > i { font-size: 17px; color: var(--accent); }
.deposit-method strong { color: var(--accent-h); font-size: 14px; }
.deposit-method span { margin-left: auto; color: var(--accent-h); font-size: 10px; font-weight: 700; }
.deposit-minimum strong { font-size: 13px; white-space: nowrap; }
.deposit-amount-group { margin: 0 0 15px; }
.deposit-amount-group label { font-size: 12px; font-weight: 700; color: #a4aaa9; margin-bottom: 7px; }
.deposit-amount-input { min-height: 54px; border-radius: 12px; border-color: #303438; background: #171a1b; }
.deposit-amount-input > span:first-child { background: none; border: 0; color: #c7cbca; font-size: 16px; font-weight: 800; padding-right: 0; }
.deposit-amount-input input { min-width: 0; font-size: 16px; font-weight: 800; padding-inline: 8px; }
.deposit-amount-input input::-webkit-outer-spin-button, .deposit-amount-input input::-webkit-inner-spin-button { appearance: none; margin: 0; }
.deposit-amount-input input[type=number] { appearance: textfield; }
.deposit-brl { display: flex; align-items: center; gap: 5px; background: none !important; border: 0 !important; padding-inline: 10px !important; font-size: 15px !important; }
.deposit-brl small { font-size: 9px; font-weight: 800; color: #f0f0f0; }
.deposit-amount-presets { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; margin: 0 0 14px; }
.deposit-amount-presets .preset-btn { min-height: 59px; border: 1px solid #292e30; border-radius: 12px; background: linear-gradient(150deg,#171a1b,#101213); color: #f5f5f5; font-size: 16px; font-weight: 800; transition: all var(--ease); }
.deposit-amount-presets .preset-btn:hover, .deposit-amount-presets .preset-btn.active { border-color: var(--accent); color: var(--accent-h); background: rgba(255,107,0,.1); }
.deposit-submit { min-height: 56px; border-radius: 13px; font-size: 16px; background: var(--accent); color: #17100a; box-shadow: none; }
.deposit-submit:hover:not(:disabled) { background: var(--accent-h); }
.deposit-submit:disabled { opacity: .48; color: #dedede; background: #683b13; }
.deposit-modal-result { grid-column: 2; grid-row: 1; min-width: 0; }
.deposit-modal-result .pix-qr img { width: min(190px, 100%); height: auto; aspect-ratio: 1; object-fit: contain; }
body.deposit-modal-open { overflow: hidden; }
@media (max-width: 680px) {
  .deposit-modal-overlay { align-items: flex-start; padding: 10px; }
  .deposit-modal { max-height: calc(100dvh - 20px); padding: 16px 16px 20px; border-radius: 14px; }
  .deposit-modal-topbar { padding: 0 2px 13px; }
  .deposit-modal-logo { height: 32px; max-width: 140px; }
  .deposit-modal-close { width: 36px; height: 36px; }
  .deposit-modal-heading { margin: 17px 0 15px; gap: 12px; }
  .deposit-modal-heading > i { font-size: 22px; }
  .deposit-modal-heading p { font-size: 12px; }
  .deposit-modal-content { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
  .deposit-modal-form, .deposit-modal-result { order: 1; }
  .deposit-security-note { order: 2; }
  .deposit-method-row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .deposit-method, .deposit-minimum { min-height: 52px; padding-inline: 10px; gap: 7px; }
  .deposit-method span { font-size: 9px; }
  .deposit-amount-presets .preset-btn { min-height: 52px; font-size: 15px; }
  .deposit-submit { min-height: 52px; }
}
@media (max-width: 380px) {
  .deposit-method-row { grid-template-columns: 1fr; }
  .deposit-method, .deposit-minimum { min-height: 46px; }
  .deposit-modal-heading .page-title { font-size: 20px; }
  .deposit-amount-presets { gap: 6px; }
  .deposit-amount-presets .preset-btn { min-height: 48px; font-size: 14px; }
}

/* Modal de saque Pix e avisos de saldo */
.withdraw-modal-overlay, .balance-modal-overlay { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; backdrop-filter: blur(9px); background: rgba(0,0,0,.78); }
.withdraw-modal-overlay { z-index: 10011; }
.withdraw-modal { width: min(100%, 440px); max-height: min(94vh, 760px); overflow-y: auto; position: relative; padding: 26px 23px 23px; border: 1px solid #30323c; border-radius: 19px; background: linear-gradient(145deg,#151719,#0e1011 72%); box-shadow: 0 24px 80px rgba(0,0,0,.72); animation: scaleIn .22s ease; }
.withdraw-modal-close, .balance-modal-close { position: absolute; top: 17px; right: 17px; width: 36px; height: 36px; border: 0; border-radius: 11px; color: #c4c9c8; background: #222627; cursor: pointer; transition: all var(--ease); }
.withdraw-modal-close:hover, .balance-modal-close:hover { color: var(--accent-h); background: var(--accent-dim); }
.withdraw-modal-eyebrow, .balance-modal-eyebrow { color: var(--accent-h); font-size: 11px; font-weight: 900; letter-spacing: 2px; margin-bottom: 4px; }
.withdraw-modal .page-title { font-size: 22px; margin: 0 45px 20px 0; }
.withdraw-modal .page-title i { display: none; }
.withdraw-modal-form .input-group { margin-bottom: 15px; }
.withdraw-modal-form .input-group label { color: #d0d4d3; font-size: 12px; font-weight: 700; margin-bottom: 7px; }
.withdraw-modal-form .input-field, .withdraw-modal-form .input-prefix { min-height: 48px; padding: 0 13px; border: 1px solid #272c2e; border-radius: 10px; background: #090c0d; color: #f5f5f5; font-size: 13px; }
.withdraw-modal-form .input-prefix { padding: 0; }
.withdraw-modal-form .input-prefix > span { padding: 0 0 0 13px; background: none; border: 0; color: var(--accent-h); font-weight: 800; }
.withdraw-modal-form .input-prefix input { min-height: 46px; padding-inline: 8px 13px; font-size: 13px; font-weight: 700; }
.withdraw-modal-form select.input-field { width: 100%; }
.withdraw-modal-form select option { background: #0d1011; color: #f6f6f6; }
.withdraw-modal-form .hint { color: #a4aaa9; font-size: 11px; margin-top: 7px; }
.withdraw-modal-form .hint strong { color: var(--accent-h) !important; }
.withdraw-balance-notice { padding: 10px 12px; margin: 0 0 13px; border: 1px solid rgba(255,107,0,.24); border-radius: 9px; color: #ffd0ad; background: rgba(255,107,0,.09); font-size: 12px; line-height: 1.45; }
.withdraw-submit { min-height: 49px; border-radius: 10px; background: var(--accent); color: #17100a; box-shadow: none; }
.withdraw-submit:disabled { opacity: .45; color: #ddd; background: #683b13; cursor: not-allowed; }
body.withdraw-modal-open, body.balance-modal-open { overflow: hidden; }
.balance-modal-overlay { z-index: 10020; }
.balance-modal { width: min(100%, 390px); position: relative; padding: 30px 25px 23px; border: 1px solid rgba(255,107,0,.25); border-radius: 18px; background: radial-gradient(ellipse at top,rgba(255,107,0,.12),transparent 55%),#111415; box-shadow: 0 24px 80px rgba(0,0,0,.75); text-align: center; animation: scaleIn .22s ease; }
.balance-modal-icon { width: 55px; height: 55px; display: grid; place-items: center; margin: 0 auto 13px; border-radius: 17px; color: var(--accent-h); background: var(--accent-dim); font-size: 22px; }
.balance-modal-eyebrow { margin-bottom: 7px; }
.balance-modal h2 { color: #f7f7f7; font-size: 21px; margin: 0 25px 8px; }
.balance-modal > p { color: #a6acab; font-size: 13px; line-height: 1.5; margin-bottom: 17px; }
.balance-modal-current { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; margin-bottom: 15px; border: 1px solid rgba(255,255,255,.07); border-radius: 10px; background: rgba(255,255,255,.035); color: #a6acab; font-size: 12px; }
.balance-modal-current strong { color: #fff; }
.balance-modal-deposit, .balance-modal-later { width: 100%; min-height: 45px; border: 0; border-radius: 10px; cursor: pointer; font-weight: 800; transition: all var(--ease); }
.balance-modal-deposit { color: #17100a; background: var(--accent); }
.balance-modal-deposit:hover { background: var(--accent-h); transform: translateY(-1px); }
.balance-modal-later { margin-top: 8px; color: #aeb3b2; background: transparent; }
.balance-modal-later:hover { color: #fff; background: rgba(255,255,255,.05); }
@media (max-width: 520px) {
  .withdraw-modal-overlay, .balance-modal-overlay { align-items: flex-end; padding: 10px; }
  .withdraw-modal { padding: 23px 18px 18px; border-radius: 17px 17px 12px 12px; max-height: calc(100dvh - 20px); }
  .balance-modal { padding: 28px 20px 18px; }
}

/* ══════════════════════════════════════════════════════════
   BANNER ESPANHA
══════════════════════════════════════════════════════════ */
.hero-banner-es {
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: 18px;
  cursor: pointer;
  aspect-ratio: 16 / 5;
  background: #111;
}
.hero-banner-es img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.hero-banner-es:hover img { transform: scale(1.02); }

/* ══════════════════════════════════════════════════════════
   MODAL BÔNUS ESPANHA €110
══════════════════════════════════════════════════════════ */
.es-bonus-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: max(14px, env(safe-area-inset-top)) 14px max(14px, env(safe-area-inset-bottom));
  animation: fadeIn .3s ease;
}

.es-bonus-modal {
  background: radial-gradient(120% 90% at 50% 0%, rgba(255,107,0,.12), transparent 56%), linear-gradient(145deg, #171717, #101010);
  border: 1px solid rgba(255,107,0,.28);
  border-radius: 24px;
  padding: clamp(24px, 5vw, 34px) clamp(18px, 5vw, 30px) clamp(20px, 4vw, 28px);
  width: min(100%, 440px);
  max-height: calc(100vh - 28px);
  max-height: calc(100dvh - 28px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  position: relative;
  text-align: center;
  box-shadow:
    0 0 60px rgba(255,107,0,.15),
    0 20px 60px rgba(0,0,0,.6);
  animation: scaleIn .3s cubic-bezier(.175,.885,.32,1.275);
  overflow: hidden;
}

/* Borda superior laranja brilhante */
.es-bonus-modal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), #ffd700, var(--accent), transparent);
}

/* Partículas flutuantes */
.es-bonus-particles {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  overflow: hidden;
}
.es-bonus-particles span {
  position: absolute;
  font-size: 18px;
  animation: particleFall linear infinite;
  opacity: .6;
}
.es-bonus-particles span:nth-child(1) { left: 10%; animation-duration: 4s; animation-delay: 0s; }
.es-bonus-particles span:nth-child(2) { left: 30%; animation-duration: 5s; animation-delay: .5s; font-size: 14px; }
.es-bonus-particles span:nth-child(3) { left: 55%; animation-duration: 3.5s; animation-delay: 1s; }
.es-bonus-particles span:nth-child(4) { left: 75%; animation-duration: 4.5s; animation-delay: .3s; font-size: 14px; }
.es-bonus-particles span:nth-child(5) { left: 90%; animation-duration: 3s; animation-delay: .8s; }

@keyframes particleFall {
  0%   { transform: translateY(-20px) rotate(0deg); opacity: .7; }
  100% { transform: translateY(420px) rotate(360deg); opacity: 0; }
}

.es-bonus-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 30px; height: 30px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--text-2);
  border-radius: 50%;
  cursor: pointer;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--ease);
  z-index: 2;
}
.es-bonus-close:hover { background: rgba(255,255,255,.15); color: var(--text); }

.es-bonus-flag {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.es-bonus-flag img {
  width: 64px;
  border-radius: 5px;
  box-shadow: 0 4px 16px rgba(0,0,0,.5);
}

.es-bonus-badge {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent), #ffd700);
  color: #000;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.5px;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.es-bonus-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.es-bonus-title span {
  color: var(--accent);
  text-shadow: 0 0 20px rgba(255,107,0,.5);
}

.es-bonus-amount {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255,107,0,.1);
  border: 1px solid rgba(255,107,0,.25);
  border-radius: 14px;
  padding: 14px 20px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.es-bonus-eur {
  font-size: 2.4rem;
  font-weight: 900;
  color: #ffd700;
  text-shadow: 0 0 20px rgba(255,215,0,.4);
  line-height: 1;
}
.es-bonus-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-2);
  text-align: left;
  line-height: 1.3;
}

.es-bonus-desc {
  max-width: 34ch;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(13px, 3.5vw, 14px);
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.es-bonus-desc strong { color: var(--text); }

.es-bonus-claim-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--accent), #ff8c00);
  border: none;
  color: #fff;
  padding: 14px;
  border-radius: var(--r);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--ease);
  box-shadow: 0 4px 20px rgba(255,107,0,.5);
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 10px;
}
.es-bonus-claim-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,107,0,.6);
}
.es-bonus-claim-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}

.es-bonus-terms {
  font-size: 11px;
  color: var(--text-3);
  position: relative;
  z-index: 1;
}

@media (max-width: 600px) {
  .es-bonus-overlay { align-items: center; padding-left: 12px; padding-right: 12px; }
  .es-bonus-modal { width: 100%; border-radius: 20px; }
  .es-bonus-title { font-size: clamp(1.25rem, 6vw, 1.5rem); }
  .es-bonus-amount { gap: 8px; padding: 13px 16px; }
  .es-bonus-eur   { font-size: clamp(1.9rem, 10vw, 2.25rem); }
  .hero-banner-es { aspect-ratio: 16 / 6; }
}

@media (max-height: 620px) {
  .es-bonus-overlay { align-items: flex-start; }
  .es-bonus-flag { margin-bottom: 8px; }
  .es-bonus-flag img { width: 52px; }
  .es-bonus-title { margin-bottom: 10px; }
  .es-bonus-amount { margin-bottom: 10px; }
  .es-bonus-desc { margin-bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .es-bonus-overlay, .es-bonus-modal, .es-bonus-particles span { animation: none; }
}
