/* =========================================================
   BetSENAI — design tokens
   ========================================================= */
:root {
  --bg-void:       #0A0D16;
  --bg-panel:      #121729;
  --bg-panel-2:    #171E36;
  --bg-raised:     #1D2542;
  --line:          #262F52;

  --gold:          #F5B93D;
  --gold-soft:     #FFD873;
  --emerald:       #1FAA59;
  --emerald-soft:  #3CD07E;
  --live-red:      #FF4B5C;

  --text-1:        #F5F6FB;
  --text-2:        #A6AEC9;
  --text-3:        #8B93B4;   /* clareado p/ contraste AA (~5:1) em rótulos pequenos */

  --font-display:  'Poppins', sans-serif;
  --font-body:     'Inter', sans-serif;
  --font-data:     'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  /* Escala de empilhamento semântica (evita 999/9999 arbitrários) */
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-modal:    1000;
  --z-overlay:  1200;
  --z-toast:    1400;
}

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

body {
  background: var(--bg-void);
  color: var(--text-1);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

/* Conteúdo só para leitores de tela (ex.: h1 semântico) */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ===== Icon system ===== */
.icon {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: currentColor;
}
.icon-xs { width: 13px; height: 13px; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 34px; height: 34px; }
.nav-icon-live { color: var(--live-red); }

.btn {
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-weight: 700;
  font-size: 13.5px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
  color: #16110A;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  box-shadow: 0 6px 16px rgba(245, 185, 61, 0.28);
}
.btn-primary:hover { box-shadow: 0 10px 24px rgba(245, 185, 61, 0.45); }
/* Brilho "premium" varrendo o botão no hover (feel de cassino) */
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -120%;
  width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-18deg); pointer-events: none;
}
.btn-primary:hover::after { animation: sheen .7s ease; }
@keyframes sheen { from { left: -120%; } to { left: 130%; } }
.btn-pix {
  background: rgba(22,17,10,0.18);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  letter-spacing: 0.5px;
}

.btn-ghost {
  background: transparent;
  color: var(--text-1);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-block { width: 100%; }

.chev { width: 13px; height: 13px; opacity: .7; }

/* =========================================================
   Utility strip + Header
   ========================================================= */
.utility-strip {
  background: #05070D;
  border-bottom: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--text-3);
}
.utility-inner {
  max-width: 1680px;
  margin: 0 auto;
  padding: 6px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.utility-divider { flex: 1; }

.header {
  background: var(--bg-panel);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
}
.header-inner {
  max-width: 1680px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.menu-toggle {
  background: none;
  border: none;
  color: var(--text-1);
  font-size: 20px;
  display: none;
}

.logo { display: flex; align-items: center; gap: 2px; }
.logo-mark { display: flex; align-items: center; justify-content: center; width: 70px; height: 50px; }
.logo-mark img { display: block; width: auto; max-width: 160%; height: 100%; object-fit: contain; transform: translate(var(--logo-ball-offset, 0), 4px); }
.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.5px;
}
.logo-text em { color: var(--gold); font-style: normal; }
.logo-text.small { font-size: 18px; }

.nav-main { display: flex; gap: 6px; flex: 1; }
.nav-item {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-2);
  transition: all .15s ease;
}
.nav-icon { font-size: 14px; }
.nav-item:hover { background: var(--bg-raised); color: var(--text-1); }
.nav-item.is-active {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
  color: #16110A;
}

.header-actions { display: flex; align-items: center; gap: 10px; }
.btn-icon {
  background: var(--bg-raised);
  border: none;
  color: var(--text-2);
  width: 38px; height: 38px;
  border-radius: 50%;
}
.btn-icon:hover { color: var(--gold); }

/* =========================================================
   Layout grid
   ========================================================= */
.layout {
  max-width: 1680px;
  margin: 0 auto;
  padding: 20px 24px 60px;
  display: grid;
  grid-template-columns: 250px 1fr 300px;
  gap: 20px;
  align-items: start;
}

/* =========================================================
   Sidebar left
   ========================================================= */
.sidebar-left { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 90px; }

.promo-stack { display: flex; flex-direction: column; gap: 8px; }
.promo-tile {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  background: linear-gradient(95deg, rgba(245,185,61,0.07), transparent 62%), var(--bg-panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 40px 10px 14px;
  text-align: left;
  overflow: hidden;
  transition: border-color .15s ease, transform .15s ease, background .15s ease;
}
.promo-tile:hover { border-color: var(--gold); transform: translateX(2px); }
.promo-eyebrow { font-size: 10px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.5px; }
.promo-title { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--gold-soft); }
.promo-glyph { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--gold); opacity: 0.85; }
.promo-referral, .promo-pool { background: linear-gradient(95deg, rgba(31,170,89,0.09), transparent 62%), var(--bg-panel-2); }
.promo-referral:hover, .promo-pool:hover { border-color: var(--emerald); }
.promo-referral .promo-title, .promo-pool .promo-title { color: var(--emerald-soft); }
.promo-referral .promo-glyph, .promo-pool .promo-glyph { color: var(--emerald); }

.sidebar-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.sidebar-search input {
  background: none; border: none; outline: none;
  color: var(--text-1); font-size: 13px; width: 100%;
}
.sidebar-search input::placeholder { color: var(--text-3); }
.search-glyph { color: var(--text-3); }

.sports-tabs { display: flex; gap: 4px; background: var(--bg-panel-2); padding: 4px; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.sports-tab {
  flex: 1; background: none; border: none; color: var(--text-2);
  font-weight: 700; font-size: 12.5px; padding: 8px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.sports-tab.is-active { background: var(--gold); color: #16110A; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--live-red); box-shadow: 0 0 0 3px rgba(255,75,92,0.25); }

.sports-list {
  background: var(--bg-panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.sports-group-head {
  width: 100%; display: flex; align-items: center; gap: 10px;
  background: none; border: none; color: var(--text-1);
  padding: 12px 14px; font-weight: 600; font-size: 13.5px;
  border-bottom: 1px solid var(--line);
}
.sports-group-head.flat:last-child { border-bottom: none; }
.sports-group-head:hover { background: var(--bg-raised); }
.sports-group-icon { color: var(--text-3); }
.sports-group-head .chev { margin-left: auto; }

.sports-sub { display: flex; flex-direction: column; background: rgba(0,0,0,0.15); }
.sports-sub-item {
  padding: 10px 14px 10px 40px;
  font-size: 12.5px;
  color: var(--text-2);
  border-bottom: 1px solid var(--line);
}
.sports-sub-item:last-child { border-bottom: none; }
.sports-sub-item:hover { color: var(--gold-soft); }
.sports-sub-item.is-active { color: var(--gold-soft); font-weight: 700; }

/* =========================================================
   Center content
   ========================================================= */
.content-center { display: flex; flex-direction: column; gap: 22px; min-width: 0; }

.hero-banner {
  position: relative;
  background: url('publi.png') 45% center / cover no-repeat;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 40px;
  display: flex; align-items: center; justify-content: flex-end;
  overflow: hidden;
  max-height: 240px;
}
.hero-slide {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 520px;
  justify-content: flex-end;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2;
  max-width: 480px;
  width: 100%;
  background: rgba(5,7,13,0.65);
  border-radius: 28px;
  padding: 32px 30px;
  backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}
.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,13,22,0.9) 0%, rgba(10,13,22,0.3) 35%, rgba(10,13,22,0.6) 100%);
  pointer-events: none;
}
.hero-kicker {
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  color: var(--gold-soft); text-transform: uppercase; letter-spacing: 1.5px;
}
.hero-amount {
  font-family: var(--font-display); font-weight: 800; font-size: 44px;
  color: var(--text-1); line-height: 1;
}
.hero-amount small { font-size: 22px; color: var(--text-2); }
.hero-sub { color: var(--text-2); font-size: 14px; margin-bottom: 8px; }
.btn-hero {
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-soft) 100%);
  color: #06210F; padding: 12px 24px; font-size: 14px; width: fit-content;
  box-shadow: 0 8px 18px rgba(31,170,89,0.3);
}
.hero-legal { font-size: 10.5px; color: var(--text-3); margin-top: 8px; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.35); border: none; color: var(--text-1);
  width: 34px; height: 34px; border-radius: 50%; font-size: 18px; z-index: 3;
}
.hero-arrow-left { left: 14px; }
.hero-arrow-right { right: 14px; }
.hero-arrow:hover { background: var(--gold); color: #16110A; }
.hero-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.dot.is-active { background: var(--gold); width: 18px; border-radius: 4px; }

.category-rail {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 10px;
}
.category-pill {
  position: relative;
  background: var(--bg-panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 8px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; color: var(--text-2);
  transition: all .15s ease;
  text-align: center;
}
.category-pill:hover { border-color: var(--gold); color: var(--text-1); transform: translateY(-2px); }
.category-icon { width: 24px; height: 24px; color: var(--gold-soft); }
.category-badge {
  position: absolute; top: -7px; left: 50%; transform: translateX(-50%);
  background: var(--emerald); color: #06210F; font-size: 8.5px; font-weight: 800;
  padding: 2px 6px; border-radius: 20px; letter-spacing: 0.5px;
}

.filter-bar { display: flex; gap: 12px; }
.filter-search {
  flex: 1; display: flex; align-items: center; gap: 8px;
  background: var(--bg-panel-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 12px 14px;
}
.filter-search input { background: none; border: none; outline: none; color: var(--text-1); width: 100%; font-size: 13.5px; }
.filter-search input::placeholder { color: var(--text-3); }
.btn-filter {
  background: var(--bg-panel-2); border: 1px solid var(--line); color: var(--text-2);
  display: flex; align-items: center; gap: 6px; font-size: 13px;
}
.btn-filter:hover { border-color: var(--gold); color: var(--gold); }

/* Panels */
.panel {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.panel-head h3 {
  font-family: var(--font-display); font-size: 15.5px; font-weight: 700;
  display: flex; align-items: center; gap: 8px; color: var(--text-1);
}
.panel-icon { width: 17px; height: 17px; color: var(--gold-soft); }
.panel-link { font-size: 12.5px; color: var(--gold-soft); font-weight: 600; }
.panel-link:hover { color: var(--gold); }

/* Matches */
.matches-track {
  display: flex; gap: 14px; overflow-x: auto; padding-bottom: 4px;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.match-card {
  flex: 0 0 250px;
  background: var(--bg-panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px;
  transition: border-color .15s ease;
}
.match-card:hover { border-color: var(--gold); }
.match-meta { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--text-3); margin-bottom: 12px; }
.match-teams { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.team { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; text-align: center; flex: 1; }
.flag { font-size: 22px; }
.match-vs { color: var(--text-3); font-size: 11px; }
.match-odds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.odd {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 4px;
  display: flex; flex-direction: column; align-items: center;
  transition: all .15s ease;
}
.odd-label { font-size: 9px; color: var(--text-3); text-transform: uppercase; }
.odd-value { font-family: var(--font-data); font-weight: 700; font-size: 13px; color: var(--gold-soft); }
.odd:hover { background: var(--gold); border-color: var(--gold); }
.odd:hover .odd-label, .odd:hover .odd-value { color: #16110A; }
.odd:active { transform: scale(0.95); }
.odd.is-selected { background: var(--emerald); border-color: var(--emerald); }
.odd.is-selected .odd-label, .odd.is-selected .odd-value { color: #06210F; }
.match-more { margin-top: 10px; font-size: 10.5px; color: var(--text-3); text-align: right; }

/* Odds ticker */
.ticker-track { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 2px; }
.ticker-chip {
  flex: 0 0 auto;
  background: var(--bg-panel-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 12.5px;
  color: var(--text-2);
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.ticker-chip strong { color: var(--emerald-soft); font-family: var(--font-data); }
.ticker-chip:hover { border-color: var(--emerald); }

/* Games grid */
.games-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.game-card {
  position: relative;
  background: var(--bg-panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  transition: all .2s ease;
}
.game-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 14px 24px rgba(0,0,0,0.35); }
.game-thumb {
  width: 100%; aspect-ratio: 1/1; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; margin-bottom: 6px;
}

.game-thumb-img {
  width: 62%; height: 62%; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
  border-radius: 12px;
}

/* ===== Modal for Aviator (overlay centered) ===== */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(6,8,12,0.6);
  z-index: var(--z-modal);
  padding: 24px;
}
.modal.open { display: flex; }
.modal .modal-dialog { max-width: 1100px; width: 100%; background: var(--bg-panel); border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(3,4,8,0.6); border: 1px solid var(--line); overflow: hidden; }
.modal .modal-body { padding: 18px; }
.modal .modal-close { position: absolute; right: 12px; top: 12px; background: transparent; color: var(--text-2); border: none; font-size: 20px; }
.no-scroll { overflow: hidden; }

/* When aviator is shown in modal, hide its original container to avoid leaving an empty block */
.is-aviator-hidden { display: none !important; }

/* Hide the in-page aviator section on the main tab — show only when moved into the modal */
body > #aviator-game { display: none; }
.aviator-offscreen { display: none !important; }

.game-thumb-img { width: 62%; height: 62%; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4)); }
.thumb-a { background: linear-gradient(135deg,#1E3A5F,#2E5C8A); }
.thumb-b { background: linear-gradient(135deg,#5F1E2E,#8A2E45); }
.thumb-c { background: linear-gradient(135deg,#1E5F3A,#2E8A55); }
.thumb-d { background: linear-gradient(135deg,#5F4A1E,#8A6E2E); }
.thumb-e { background: linear-gradient(135deg,#3A1E5F,#5C2E8A); }
.thumb-f { background: linear-gradient(135deg,#1E4A5F,#2E748A); }
.game-tag {
  position: absolute; top: 12px; right: 12px;
  font-size: 9px; font-weight: 800; padding: 3px 7px; border-radius: 5px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.tag-hot { background: var(--live-red); color: #fff; }
.tag-new { background: var(--emerald); color: #06210F; }
.tag-top { background: #3B82F6; color: #fff; }
.tag-trend { background: #A855F7; color: #fff; }
.tag-original { background: var(--gold); color: #16110A; }
.game-card h4 { font-size: 12.5px; font-weight: 700; }
.game-provider { font-size: 10.5px; color: var(--text-3); }
.btn-play {
  width: 100%; margin-top: 4px; background: var(--bg-raised); color: var(--text-1);
  border: 1px solid var(--line); font-size: 11.5px; padding: 8px;
}
.game-card:hover .btn-play { background: var(--gold); color: #16110A; border-color: var(--gold); }

/* =========================================================
   Sidebar right
   ========================================================= */
.sidebar-right { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 90px; }
.panel-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
}
.panel-card-title { font-family: var(--font-display); font-size: 14px; margin-bottom: 14px; }

.highlight-item { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.highlight-item:last-child { border-bottom: none; }
.highlight-thumb {
  width: 48px; height: 48px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  background: var(--bg-raised);
}
.highlight-item h4 { font-size: 12.5px; font-weight: 700; margin-bottom: 3px; }
.stars { font-size: 11px; color: var(--text-3); }

.chip-list { display: flex; flex-direction: column; gap: 6px; }
.chip {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 600;
  color: var(--text-2); cursor: pointer;
}
.chip:hover, .chip.is-active { background: var(--bg-raised); color: var(--gold-soft); }

/* ===== Bet slip (Cupom de Aposta) ===== */
.betslip-card { border-color: var(--gold); background: linear-gradient(160deg, #1E1A0E 0%, var(--bg-panel) 55%); }
.betslip-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.betslip-head .panel-card-title { margin-bottom: 0; }
.betslip-count {
  background: var(--gold); color: #16110A; font-family: var(--font-data);
  font-weight: 700; font-size: 12px; min-width: 22px; height: 22px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.betslip-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 20px 6px; color: var(--text-3); }
.betslip-empty .icon-lg { color: var(--text-3); opacity: 0.6; }
.betslip-empty p { font-size: 13px; color: var(--text-2); font-weight: 600; }
.betslip-empty span { font-size: 11.5px; }

.betslip-selections { display: flex; flex-direction: column; gap: 8px; max-height: 280px; overflow-y: auto; padding-right: 6px; }
.betslip-item {
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: 8px;
  padding: 10px 12px; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px;
}
.betslip-item-main { display: flex; flex-direction: column; gap: 2px; }
.betslip-item-match { font-size: 11.5px; font-weight: 700; color: var(--text-1); }
.betslip-item-pick { font-size: 10.5px; color: var(--text-3); }
.betslip-item-odd { font-family: var(--font-data); color: var(--gold-soft); font-weight: 700; font-size: 13px; }
.betslip-remove { background: none; border: none; color: var(--text-3); flex-shrink: 0; }
.betslip-remove:hover { color: var(--live-red); }

.betslip-footer { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.betslip-stake label { font-size: 11.5px; color: var(--text-2); font-weight: 600; display: block; margin-bottom: 6px; }
.stake-input { display: flex; align-items: center; gap: 6px; background: var(--bg-void); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; }
.stake-input span { color: var(--text-3); font-size: 13px; font-weight: 700; }
.stake-input input { background: none; border: none; outline: none; color: var(--text-1); font-family: var(--font-data); font-size: 14px; width: 100%; }
.betslip-summary { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--text-2); }
.betslip-summary strong { font-family: var(--font-data); color: var(--text-1); }
.betslip-summary.highlight strong { color: var(--emerald-soft); font-size: 15px; }

/* ===== Providers strip ===== */
.providers-strip {
  display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px;
}
.provider-chip {
  flex: 0 0 auto;
  background: var(--bg-panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  font-family: var(--font-display); font-weight: 700; font-size: 12.5px;
  color: var(--text-2); white-space: nowrap;
  transition: all .15s ease;
}
.provider-chip:hover { border-color: var(--gold); color: var(--gold-soft); }

/* ===== Live match card ===== */
.match-card.is-live { border-color: var(--live-red); box-shadow: 0 0 0 1px rgba(255,75,92,0.15); }
.match-league { display: flex; align-items: center; gap: 6px; }
.match-league.live { color: var(--live-red); font-weight: 800; letter-spacing: 0.5px; }
.live-pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--live-red);
  box-shadow: 0 0 0 0 rgba(255,75,92,0.6);
  animation: livePulse 1.6s infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(255,75,92,0.55); }
  70% { box-shadow: 0 0 0 7px rgba(255,75,92,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,75,92,0); }
}
.team-score { font-family: var(--font-data); font-weight: 700; color: var(--gold-soft); margin-left: 6px; }

/* ===== Odds trend indicators ===== */
.odd { position: relative; }
.odd-trend { position: absolute; top: 4px; right: 4px; width: 10px; height: 10px; }
.odd-trend.up { color: var(--emerald-soft); }
.odd-trend.down { color: var(--live-red); }
.odd:hover .odd-trend.up, .odd:hover .odd-trend.down { color: #16110A; }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: #05070D; border-top: 1px solid var(--line); margin-top: 20px; }
.footer-inner {
  max-width: 1680px; margin: 0 auto; padding: 36px 24px;
  display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 30px;
}
.footer-brand p { font-size: 12.5px; color: var(--text-3); margin-top: 8px; max-width: 260px; }
.footer-links { display: flex; gap: 60px; }
.footer-links h5 { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-3); margin-bottom: 10px; }
.footer-links a { display: block; font-size: 13px; color: var(--text-2); padding: 4px 0; }
.footer-links a:hover { color: var(--gold); }
.footer-responsible { display: flex; gap: 10px; align-items: flex-start; }
.age-badge {
  background: var(--live-red); color: #fff; font-weight: 800; font-size: 11px;
  padding: 4px 8px; border-radius: 5px; flex-shrink: 0;
}
.footer-responsible p { font-size: 11.5px; color: var(--text-3); }

/* =========================================================
   Modals
   ========================================================= */
.modal {
  display: none;
  position: fixed; inset: 0;
  background: rgba(5,7,13,0.75);
  align-items: center; justify-content: center;
  z-index: var(--z-modal);
}
.modal.show { display: flex; }
.modal-content {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  width: 92%; max-width: 440px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.modal-sm { max-width: 360px; }
.close-modal {
  position: absolute; top: 16px; right: 18px;
  background: none; border: none; color: var(--text-2); font-size: 22px;
}
.close-modal:hover { color: var(--gold); }
.modal-content h2 { font-family: var(--font-display); font-size: 20px; margin-bottom: 20px; text-align: center; }

.form-generic { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 12.5px; color: var(--text-2); font-weight: 600; }
.form-group input {
  background: var(--bg-void); border: 1px solid var(--line); border-radius: 8px;
  padding: 10px 12px; color: var(--text-1); font-size: 13.5px; outline: none;
}
.form-group input:focus { border-color: var(--gold); }
.form-legal { font-size: 10.5px; color: var(--text-3); text-align: center; }
.modal-switch { text-align: center; font-size: 12.5px; color: var(--text-3); margin-top: 16px; }
.modal-switch a { color: var(--gold-soft); font-weight: 600; }

/* Support FAB */
.support-fab {
  position: fixed; bottom: 24px; right: 24px;
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
  border: none; font-size: 22px; box-shadow: 0 10px 24px rgba(245,185,61,0.35);
  z-index: var(--z-dropdown);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1300px) {
  .layout { grid-template-columns: 220px 1fr 260px; }
  .games-grid { grid-template-columns: repeat(4, 1fr); }
  .category-rail { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 1024px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar-left, .sidebar-right { position: static; }
  .nav-main { display: none; }
  .menu-toggle { display: block; }
  .games-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .header-inner { gap: 12px; }
  .logo-text { font-size: 18px; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .category-rail { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-banner { flex-direction: column; padding: 24px; }
  .hero-art { display: none; }
}

/* =========================================================
   Overlay de resultado da aposta (vitória forjada → resgate)
   ========================================================= */
.result-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(5,7,13,0.85);
  backdrop-filter: blur(6px);
  align-items: center; justify-content: center;
  z-index: var(--z-overlay);
  padding: 20px;
}
.result-overlay.show { display: flex; }
.result-box {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 32px 32px;
  width: 100%; max-width: 420px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
  animation: resultPop .3s ease;
}
@keyframes resultPop {
  from { opacity: 0; transform: translateY(12px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.result-close {
  position: absolute; top: 14px; right: 14px;
  background: none; border: none; color: var(--text-2); line-height: 0;
}
.result-close:hover { color: var(--gold); }

/* Estado: apurando resultado */
.result-loading[hidden] { display: none; }
.result-loading { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 24px 0; }
.result-loading p { color: var(--text-2); font-size: 14px; font-weight: 600; }
.result-spinner {
  width: 46px; height: 46px; border-radius: 50%;
  border: 4px solid var(--line);
  border-top-color: var(--gold);
  animation: resultSpin .8s linear infinite;
}
@keyframes resultSpin { to { transform: rotate(360deg); } }

/* Estado: vitória + resgate */
.result-badge {
  display: inline-block;
  background: rgba(31,170,89,0.14);
  border: 1px solid var(--emerald);
  color: var(--emerald-soft);
  font-size: 11.5px; font-weight: 800; letter-spacing: .4px;
  padding: 5px 14px; border-radius: 999px; margin-bottom: 16px;
}
.result-title {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 800; color: var(--text-1);
  margin-bottom: 8px;
}
.result-amount {
  font-family: var(--font-display);
  font-size: clamp(38px, 9vw, 46px); font-weight: 800;
  color: var(--emerald-soft);
  text-shadow: 0 0 30px rgba(60,208,126,0.4);
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
/* A vitória "comemora" — a euforia que torna a revelação mais forte */
.result-win:not([hidden]) { animation: winPop .45s cubic-bezier(.16,1,.3,1); }
.result-win:not([hidden]) .result-amount { animation: winGlow 1.8s ease-in-out infinite; }
@keyframes winPop { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
@keyframes winGlow {
  0%, 100% { text-shadow: 0 0 30px rgba(60,208,126,0.35); }
  50%      { text-shadow: 0 0 48px rgba(60,208,126,0.8); }
}
.result-sub { color: var(--text-2); font-size: 13.5px; margin-bottom: 22px; }
.result-win .btn-primary { padding: 14px; font-size: 15px; }
.result-legal { font-size: 10.5px; color: var(--text-3); margin-top: 12px; }

/* =========================================================
   Guias de fluxo (tornar o "apostar → ganhar → resgatar" óbvio)
   ========================================================= */

/* Dica no cabeçalho da seção de jogos */
.panel-hint { font-size: 12px; color: var(--gold-soft); font-weight: 600; white-space: nowrap; }

/* Estado vazio do cupom vira um guia numerado de 3 passos */
.betslip-empty-title { font-family: var(--font-display); font-size: 13px; color: var(--text-1); font-weight: 700; }
.betslip-steps { display: flex; flex-direction: column; gap: 10px; width: 100%; margin-top: 6px; text-align: left; }
.betslip-steps li { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-2); }
.betslip-steps strong { color: var(--gold-soft); font-weight: 700; }
.step-num {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--bg-raised); border: 1px solid var(--gold);
  color: var(--gold-soft); font-family: var(--font-data); font-weight: 700;
  font-size: 11px; display: flex; align-items: center; justify-content: center;
}

/* Toast de feedback */
.toast {
  position: fixed; left: 50%; bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-raised); color: var(--text-1);
  border: 1px solid var(--gold);
  padding: 12px 18px; border-radius: 12px;
  font-size: 13px; font-weight: 600;
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
  opacity: 0; pointer-events: none; z-index: var(--z-toast);
  transition: opacity .25s ease, transform .25s ease;
  max-width: min(90vw, 360px);
}
.toast::before {
  content: '✓'; flex-shrink: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold); color: #16110A;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Destaque momentâneo (flash) para chamar o olho */
@keyframes flashGlow {
  0%   { box-shadow: 0 0 0 0 rgba(245,185,61,0); }
  30%  { box-shadow: 0 0 0 4px rgba(245,185,61,0.5); }
  100% { box-shadow: 0 0 0 0 rgba(245,185,61,0); }
}
.flash { animation: flashGlow 1s ease; }

/* =========================================================
   Modal de Bônus de E-mail (Boas-vindas Aviator)
   ========================================================= */
.modal-bonus {
  max-width: 440px;
  background: linear-gradient(145deg, #181b26 0%, #0f1118 100%);
  border: 2px solid var(--gold);
  box-shadow: 0 0 50px rgba(234, 179, 8, 0.25), 0 20px 40px rgba(0,0,0,0.8);
  text-align: center;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}
.modal-bonus::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 150px; height: 150px; background: radial-gradient(circle, rgba(234, 179, 8, 0.3) 0%, transparent 70%);
  pointer-events: none;
}
.bonus-header { margin-bottom: 20px; }
.bonus-tag {
  display: inline-block; background: rgba(234, 179, 8, 0.15); color: var(--gold-soft);
  border: 1px solid var(--gold); font-size: 11px; font-weight: 800; padding: 4px 12px;
  border-radius: 999px; letter-spacing: 0.5px; margin-bottom: 12px;
}
.bonus-header h2 {
  font-family: var(--font-display); font-size: 28px; font-weight: 800; color: #fff;
  margin: 0; text-shadow: 0 0 20px rgba(234, 179, 8, 0.4);
}
.bonus-body .bonus-text { color: var(--text-2); font-size: 14px; line-height: 1.5; margin-bottom: 20px; }
.bonus-amount-box {
  background: rgba(0, 0, 0, 0.5); border: 1px solid rgba(234, 179, 8, 0.4);
  border-radius: 12px; padding: 16px; margin-bottom: 20px;
}
.bonus-label { font-size: 12px; color: var(--text-3); text-transform: uppercase; font-weight: 600; display: block; margin-bottom: 4px; }
.bonus-value {
  font-family: var(--font-display); font-size: 36px; font-weight: 800; color: var(--gold-soft);
  text-shadow: 0 0 25px rgba(234, 179, 8, 0.5);
}
.bonus-hint { font-size: 13px; color: #fff; font-weight: 600; margin-bottom: 24px; background: rgba(255,255,255,0.05); padding: 10px; border-radius: 8px; }
.btn-bonus-cta {
  background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
  color: #000 !important; font-weight: 800; font-size: 15px; padding: 16px;
  box-shadow: 0 4px 20px rgba(234, 179, 8, 0.4); text-transform: uppercase; letter-spacing: 0.5px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-bonus-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(234, 179, 8, 0.6); }

/* =========================================================
   Jogo Aviator (Seção Principal - Demo Phishing)
   ========================================================= */
.panel-aviator {
  background: linear-gradient(180deg, #141722 0%, #0d0f17 100%);
  border: 1px solid rgba(234, 179, 8, 0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  margin-bottom: 24px;
}
.aviator-head {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding-bottom: 16px; margin-bottom: 16px;
}
.aviator-title-wrap { display: flex; align-items: center; gap: 12px; }
.aviator-icon-badge { background: rgba(234, 179, 8, 0.15); width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(234, 179, 8, 0.3); padding: 6px; }
.aviator-logo-img { width: 100%; height: 100%; object-fit: contain; }
.aviator-title-wrap h3 { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 800; margin: 0; }
.aviator-provider-tag { display: block; margin-top: 4px; font-size: 11px; font-weight: 600; color: var(--text-3); letter-spacing: 0.3px; }
.aviator-history { display: flex; align-items: center; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
.aviator-head-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.aviator-live-players {
  display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600;
  color: var(--text-2); font-family: var(--font-data);
}
.pulse-green { background: var(--emerald); box-shadow: 0 0 0 0 rgba(31, 170, 89, 0.6); animation: livePulse 1.6s infinite; }
.history-chip { font-family: var(--font-data); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,0.05); }
.chip-green { color: #22c55e; border: 1px solid rgba(34, 197, 94, 0.3); }
.chip-purple { color: #a855f7; border: 1px solid rgba(168, 85, 247, 0.3); }
.chip-blue { color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.3); }
.chip-gold { color: var(--gold-soft); border: 1px solid var(--gold); }

.aviator-container { display: flex; flex-direction: column; gap: 16px; }

/* Tela do Voo / Gráfico */
.aviator-screen {
  position: relative; width: 100%; height: 280px;
  background: radial-gradient(circle at 30% 70%, #1a1e2e 0%, #0a0c12 80%);
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px;
  overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.aviator-bg-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 30px 30px; opacity: 0.8;
}
.aviator-utility-row { position: absolute; top: 8px; left: 8px; z-index: 6; display: flex; gap: 6px; }
.aviator-util-btn {
  width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.12); color: var(--text-2);
  cursor: pointer; transition: all 0.2s;
}
.aviator-util-btn:hover { color: #fff; border-color: var(--gold); }
.aviator-util-btn.is-muted .icon { opacity: 0.4; }
.aviator-multiplier-display {
  position: relative; z-index: 5; font-family: var(--font-display);
  font-size: clamp(48px, 12vw, 72px); font-weight: 800; color: #fff;
  text-shadow: 0 0 30px rgba(234, 179, 8, 0.4);
  transition: transform 0.1s ease;
}
.aviator-status-text {
  position: relative; z-index: 5; font-size: 13px; font-weight: 700;
  color: var(--gold-soft); letter-spacing: 1px; margin-top: 4px;
}

/* Glow da tela que intensifica com o multiplicador (tensão) */
.aviator-screen::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  box-shadow: inset 0 0 60px rgba(245, 185, 61, 0); transition: box-shadow 0.2s ease;
}
.aviator-screen.is-flying::after { box-shadow: inset 0 0 80px var(--av-glow, rgba(245, 185, 61, 0.15)); }
.aviator-screen.is-won::after   { box-shadow: inset 0 0 100px rgba(34, 197, 94, 0.4); }
.aviator-screen.is-flying .aviator-bg-grid { animation: gridPan 8s linear infinite; }
@keyframes gridPan { from { background-position: 0 0; } to { background-position: -60px 30px; } }

/* Bloco central (multiplicador + status) — cresce sutilmente enquanto voa */
.aviator-center {
  position: relative; z-index: 5; display: flex; flex-direction: column;
  align-items: center; text-align: center; transition: transform 0.12s ease;
}

/* Curva do voo em SVG */
.aviator-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.aviator-area { fill: url(#avAreaGrad); opacity: 0; transition: opacity 0.3s ease; }
.aviator-line {
  fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(245, 185, 61, 0.7)); opacity: 0; transition: opacity 0.3s ease;
}
.aviator-screen.is-flying .aviator-area,
.aviator-screen.is-flying .aviator-line,
.aviator-screen.is-won .aviator-area,
.aviator-screen.is-won .aviator-line { opacity: 1; }
.aviator-screen.is-danger .aviator-line { stroke: #ef4444; filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.85)); }
.aviator-screen.is-won .aviator-line { stroke: #22c55e; filter: drop-shadow(0 0 10px rgba(34, 197, 94, 0.9)); }
.aviator-screen.is-danger { animation: avShake 0.28s linear infinite; }
@keyframes avShake {
  0%, 100% { transform: translate(0, 0); } 25% { transform: translate(-2px, 1px); }
  50% { transform: translate(2px, -1px); } 75% { transform: translate(-1px, -1px); }
}

/* Avião na ponta do traço */
.aviator-plane-icon {
  position: absolute; left: 6%; bottom: 6%; width: 56px; height: 34px; z-index: 3;
  transform: translate(-50%, 50%) rotate(-18deg); opacity: 0;
  filter: drop-shadow(0 0 12px rgba(245, 185, 61, 0.9));
  transition: opacity 0.3s ease; will-change: left, bottom;
}
.aviator-plane-img { width: 100%; height: 100%; object-fit: contain; display: block; }
.aviator-screen.is-flying .aviator-plane-icon { opacity: 1; animation: planeFloat 1.1s ease-in-out infinite; }
.aviator-screen.is-won .aviator-plane-icon { opacity: 1; }
@keyframes planeFloat { 0%, 100% { margin-top: 0; } 50% { margin-top: -6px; } }

/* Estados de cor do multiplicador conforme sobe */
.aviator-multiplier-display.mult-hot { color: var(--gold-soft); text-shadow: 0 0 40px rgba(245, 185, 61, 0.8); }
.aviator-multiplier-display.mult-danger { color: #fff; text-shadow: 0 0 42px rgba(239, 68, 68, 0.9); }

/* Feed de saques de "outros jogadores" */
.aviator-feed {
  position: absolute; top: 8px; right: 8px; width: 150px; z-index: 4;
  display: flex; flex-direction: column; gap: 4px; pointer-events: none;
}
.aviator-feed-item {
  display: flex; justify-content: space-between; gap: 6px;
  background: rgba(0, 0, 0, 0.55); border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px; padding: 3px 7px; font-family: var(--font-data); font-size: 10px;
  color: var(--text-2); animation: feedIn 0.3s ease;
}
.aviator-feed-item b { color: #22c55e; }
.aviator-round-tag {
  position: absolute; bottom: 8px; right: 8px; z-index: 4;
  font-family: var(--font-data); font-size: 10.5px; color: var(--text-3);
  background: rgba(0,0,0,0.4); border-radius: 6px; padding: 3px 8px;
}
@keyframes feedIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: translateX(0); } }

/* Painel de Controles */
.aviator-controls {
  background: rgba(0, 0, 0, 0.4); border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px; padding: 16px;
}
.aviator-bet-panel { display: flex; flex-direction: column; gap: 14px; }
.aviator-balance-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--text-2);
  border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 10px;
}
.aviator-balance-val { color: var(--gold-soft); font-size: 16px; font-weight: 800; font-family: var(--font-data); }
.aviator-input-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.aviator-stake-box { flex: 1; min-width: 140px; }
.aviator-stake-box label { font-size: 12px; color: var(--text-3); font-weight: 600; display: block; margin-bottom: 4px; }
.stake-input-wrap {
  display: flex; align-items: center; background: #080a10; border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px; padding: 0 12px; height: 44px;
}
.stake-input-wrap span { color: var(--text-3); font-weight: 700; margin-right: 6px; }
.stake-input-wrap input {
  background: transparent; border: none; color: #fff; font-family: var(--font-data);
  font-size: 16px; font-weight: 700; width: 100%; outline: none;
}
.aviator-quick-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.btn-quick {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-2); font-size: 12px; font-weight: 700; padding: 0 12px; height: 44px;
  border-radius: 8px; cursor: pointer; transition: all 0.2s;
}
.btn-quick:hover { background: rgba(234, 179, 8, 0.15); border-color: var(--gold); color: #fff; }

.aviator-action-row { margin-top: 4px; }
.aviator-cashout-row { margin-top: 10px; display: flex; justify-content: center; }
.btn-aviator-cash { width: 100%; font-size: 14px; line-height: 1.2; padding: 14px 20px; min-height: 56px; }
.btn-aviator-cash:hover { opacity: .95; }
.btn-primary.btn-aviator-cash { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%); color: #16110A; border-color: transparent; box-shadow: 0 10px 26px rgba(245, 185, 61, 0.24); }
.btn-primary.btn-aviator-cash::after { display: none; }
.btn-aviator-action {
  width: 100%; height: 60px; border-radius: 10px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border: 1px solid #4ade80; color: #fff !important; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.btn-secondary {
  background: #252a3a;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  transition: background .2s ease, transform .2s ease;
}
.btn-secondary:hover {
  background: #313851;
}
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.3);
  transition: all 0.2s; text-transform: uppercase;
}
.btn-aviator-action:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(34, 197, 94, 0.5); }
.btn-aviator-action .action-title { font-size: 18px; font-weight: 800; letter-spacing: 0.5px; }
.btn-aviator-action .action-sub { font-size: 12px; font-weight: 600; opacity: 0.9; }

/* Estado: Voando / Cash Out ativo */
.btn-aviator-action.is-flying {
  background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
  border-color: #fde047; color: #000 !important;
  box-shadow: 0 0 30px rgba(234, 179, 8, 0.6);
  animation: pulseCashOut 1s infinite alternate;
}
.btn-aviator-action.is-flying .action-title { color: #000; }
.btn-aviator-action.is-flying .action-sub { color: #1e1b4b; font-weight: 800; }
@keyframes pulseCashOut {
  0% { transform: scale(1); }
  100% { transform: scale(1.02); box-shadow: 0 0 40px rgba(234, 179, 8, 0.8); }
}

/* =========================================================
   Acessibilidade
   ========================================================= */
/* Foco visível consistente para navegação por teclado */
:where(a, button, input, [tabindex]):focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 2px;
  border-radius: 4px;
}
/* Respeita quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
}

/* Alvos de toque adequados no mobile (mín. ~44px) */
@media (max-width: 640px) {
  .odd { min-height: 46px; justify-content: center; gap: 2px; }
  .btn { padding: 12px 18px; }
  .btn-icon { width: 44px; height: 44px; }
  .panel-hint { display: none; }
}

/* Quebras de linha equilibradas nos títulos */
.hero-amount, .result-title, .modal-content h2, .panel-head h3 { text-wrap: balance; }
