/* =====================================================
   HEADER
   ===================================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 68px;
    background: linear-gradient(180deg, #0a0a0a 0%, #111111 100%);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 232, 112, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px 0 4px;
    z-index: var(--z-header);
    gap: 6px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 232, 112, 0.03);
    overflow: visible;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.menu-toggle {
    display: flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.menu-toggle:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

.logo {
    display: flex;
    align-items: center;
    overflow: visible;
}

.logo-img {
    height: 62px;
    width: auto;
    object-fit: contain;
    margin: -8px 0;
}

.header-center {
    flex: 1;
    max-width: 480px;
}

.search-bar {
    position: relative;
    width: 100%;
}

.search-bar .search-icon {
    position: absolute;
    left: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.2rem;
}

.search-bar input {
    width: 100%;
    padding: var(--space-sm) var(--space-lg) var(--space-sm) 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: var(--font-sm);
    transition: all var(--transition-fast);
}

.search-bar input:focus {
    border-color: var(--primary);
    background: var(--bg-elevated);
    box-shadow: var(--shadow-glow);
}

.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: none;
    max-height: 400px;
    overflow-y: auto;
    z-index: var(--z-dropdown);
}

.search-results.active {
    display: block;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    margin-top: 8px;
}

.user-balance {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: var(--font-sm);
    font-weight: 600;
}

.user-balance .material-symbols-outlined {
    font-size: 1.1rem;
    color: var(--green);
}

.user-menu-wrapper {
    position: relative;
}

.user-avatar-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.user-avatar-btn:hover {
    border-color: var(--primary);
}

.user-avatar-btn .material-symbols-outlined {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 220px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: var(--z-dropdown);
    overflow: hidden;
}

.user-dropdown.active {
    display: block;
}

.dropdown-header {
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border);
}

.dropdown-header strong {
    display: block;
    font-size: var(--font-base);
}

.dropdown-header small {
    color: var(--text-muted);
    font-size: var(--font-xs);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    font-size: var(--font-sm);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.user-dropdown a:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

.user-dropdown a .material-symbols-outlined {
    font-size: 1.1rem;
}

.dropdown-divider {
    border-top: 1px solid var(--border);
    margin: var(--space-xs) 0;
}

.dropdown-logout {
    color: var(--danger) !important;
}

/* =====================================================
   SIDEBAR
   ===================================================== */

.sidebar {
    position: fixed;
    top: var(--header-height);
    left: 0;
    bottom: 0;
    width: var(--sidebar-width);
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border);
    overflow-y: auto;
    /* Impede o scroll da sidebar de "vazar" pro site quando chega no topo/fim
       (scroll chaining). Sem isso o dedo continuando o gesto scrolla o body
       atrás — foi o bug que impedia o usuário de chegar no botão "Sair". */
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    /* Reserva espaço no rodapé pra bottom-nav mobile (64px) não cobrir o
       último item (botão Sair). O padding só ocupa espaço quando o conteúdo
       chega ao fim, então em desktop não tem efeito visível. */
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px) + 16px);
    z-index: var(--z-sidebar);
    transition: transform var(--transition-slow);
    transform: translateX(-100%);
}

.sidebar.open {
    transform: translateX(0);
}

.sidebar-nav {
    padding: var(--space-lg) 0;
}

.nav-section {
    margin-bottom: var(--space-lg);
}

.nav-section-title {
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--font-xs);
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    font-size: var(--font-sm);
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
}

.nav-item:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}

.nav-item.active {
    background: var(--green-glow);
    color: var(--green);
    border-left-color: var(--green);
}

.nav-item .material-symbols-outlined {
    font-size: 1.25rem;
}

.live-badge {
    margin-left: auto;
    background: var(--live);
    color: white;
    font-size: var(--font-xs);
    font-weight: 700;
    padding: 1px 6px;
    border-radius: var(--radius-full);
    min-width: 20px;
    text-align: center;
    display: none;
}

.live-badge:not(:empty) {
    display: inline-block;
}

/* =====================================================
   APP WRAPPER
   ===================================================== */

.app-wrapper {
    display: flex;
    padding-top: var(--header-height);
    /* iOS Safari: 100vh = viewport MÁXIMA (URL bar oculta) — cria espaço
       extra ao rolar. 100dvh = viewport dinâmica, ajusta com a URL bar. */
    min-height: 100vh;      /* fallback pra navegadores antigos */
    min-height: 100dvh;
}

.main-content {
    flex: 1;
    padding: var(--space-sm) var(--space-2xl) var(--space-xl);
    min-width: 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* =====================================================
   BET SLIP SIDEBAR
   ===================================================== */

.betslip-sidebar {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    width: var(--betslip-width);
    background: linear-gradient(180deg, #1c1c1c 0%, #141414 100%);
    border-left: 1px solid rgba(0, 232, 112, 0.08);
    overflow-y: auto;
    z-index: var(--z-sidebar);
}

.betslip {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Header */
.betslip-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-lg);
    background: linear-gradient(135deg, rgba(0, 232, 112, 0.08) 0%, rgba(0, 166, 81, 0.04) 100%);
    border-bottom: 1px solid rgba(0, 232, 112, 0.12);
}

.betslip-header-left {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.betslip-header-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #00E870 0%, #00A651 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 16px rgba(0, 232, 112, 0.3);
}

.betslip-header-icon .material-symbols-outlined {
    font-size: 20px;
    color: #0a0a0a;
}

.betslip-header h3 {
    font-size: var(--font-base);
    font-weight: 700;
    color: #f0f0f0;
    margin: 0;
    line-height: 1.2;
}

.betslip-header-sub {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.betslip-close-mobile {
    display: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.betslip-close-mobile:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.betslip-close-mobile .material-symbols-outlined {
    font-size: 18px;
}

/* Tabs */
.betslip-tabs {
    display: flex;
    gap: 2px;
    padding: var(--space-sm);
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(0, 232, 112, 0.06);
}

.betslip-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px var(--space-md);
    font-size: var(--font-sm);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    text-align: center;
    transition: all 0.25s ease;
    border-radius: 8px;
    border: 1px solid transparent;
}

.betslip-tab .material-symbols-outlined {
    font-size: 16px;
}

.betslip-tab:hover {
    color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.04);
}

.betslip-tab.active {
    color: #00E870;
    background: rgba(0, 232, 112, 0.08);
    border-color: rgba(0, 232, 112, 0.2);
    box-shadow: 0 0 12px rgba(0, 232, 112, 0.08);
}

/* Aba Múltipla bloqueada (turbinada no bilhete ou só 1 aposta) */
.betslip-tab.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.betslip-tab.disabled:hover {
    color: rgba(255, 255, 255, 0.4);
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

/* Items container */
.betslip-items {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-md);
}

/* Empty state */
.betslip-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-3xl) var(--space-lg);
    text-align: center;
}

.betslip-empty-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 232, 112, 0.08) 0%, rgba(0, 232, 112, 0.02) 100%);
    border: 1px solid rgba(0, 232, 112, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.betslip-empty-icon .material-symbols-outlined {
    font-size: 28px;
    color: rgba(0, 232, 112, 0.3);
}

.betslip-empty p {
    font-size: var(--font-sm);
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.5;
    margin: 0 0 var(--space-sm);
}

.betslip-empty-hint {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.2);
}

/* Bet items */
.betslip-item {
    background: linear-gradient(135deg, rgba(0, 232, 112, 0.04) 0%, rgba(0, 0, 0, 0.2) 100%);
    border: 1px solid rgba(0, 232, 112, 0.1);
    border-radius: 12px;
    margin-bottom: var(--space-sm);
    overflow: hidden;
    transition: all 0.25s ease;
}

/* ODD TURBINADA no bilhete — item com destaque neon verde + selo com RAIO VERDE
   (design moderno/futurista). Ativado por .betslip-item--boosted (item.boosted). */
.betslip-item--boosted {
    border-color: rgba(0, 255, 128, 0.45);
    background: linear-gradient(135deg, rgba(0, 255, 128, 0.10) 0%, rgba(0, 0, 0, 0.28) 100%);
    box-shadow: 0 0 0 1px rgba(0, 255, 128, 0.06) inset, 0 0 18px rgba(0, 255, 128, 0.14);
}
.betslip-item-turbo {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 3px;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #00ff80;
    background: rgba(0, 22, 13, 0.9);
    border: 1px solid rgba(0, 255, 128, 0.5);
    box-shadow: 0 0 12px rgba(0, 255, 128, 0.25);
    text-shadow: 0 0 8px rgba(0, 255, 128, 0.4);
}
.betslip-item-turbo .material-symbols-outlined {
    font-size: 13px;
    color: #00ff80;                                     /* raio verde */
    filter: drop-shadow(0 0 4px rgba(0, 255, 128, 0.6));
}
.betslip-item--boosted .betslip-item-odds-value {
    color: #00ff80;
    text-shadow: 0 0 10px rgba(0, 255, 128, 0.4);
}

.betslip-item:hover {
    border-color: rgba(0, 232, 112, 0.2);
    box-shadow: 0 0 16px rgba(0, 232, 112, 0.06);
}

.betslip-item-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 12px 6px;
}

.betslip-item-icon {
    font-size: 14px;
    color: #00E870;
    opacity: 0.6;
}

.betslip-item-match {
    flex: 1;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Turbinada de DOIS jogos: um por linha. Precisa desligar o nowrap acima,
   senao o <br> nao quebra nada. So vale quando ha 2+ jogos (is-multi). */
.betslip-item-match.is-multi {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.35;
}

.betslip-item-remove {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    flex-shrink: 0;
}

.betslip-item-remove .material-symbols-outlined {
    font-size: 16px;
}

.betslip-item-remove:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

/* MÚLTIPLA: card único com as pernas ligadas por linha (padrão Odd Turbinada).
   Reaproveita .ticket-bet-header/.ticket-bet-odd/.stepper-* já existentes. */
.betslip-multi-card {
    padding: 12px 14px;
}
.betslip-multi-card .ticket-bet-header {
    margin-bottom: 2px;
}
.betslip-multi-card .ticket-bet-legs-stepper {
    padding: 2px 0 0;
}
/* Botão de remover cada perna (o bilhete ainda é editável, ao contrário do
   bilhete já apostado). Alinhado ao topo da linha. */
.betslip-leg-remove {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    flex-shrink: 0;
    margin-top: 1px;
}
.betslip-leg-remove .material-symbols-outlined {
    font-size: 16px;
}
.betslip-leg-remove:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.betslip-item-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 12px 10px;
    gap: var(--space-sm);
}

.betslip-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.betslip-item-market {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 500;
}

.betslip-item-pick {
    font-size: var(--font-sm);
    font-weight: 700;
    color: #f0f0f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.betslip-item-odds {
    flex-shrink: 0;
}

.betslip-item-odds-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    padding: 6px 10px;
    background: rgba(0, 232, 112, 0.1);
    border: 1px solid rgba(0, 232, 112, 0.25);
    border-radius: 8px;
    font-size: var(--font-sm);
    font-weight: 800;
    color: #00E870;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 8px rgba(0, 232, 112, 0.25);
}

/* Per-item stake (custom mode) */
.betslip-item-stake {
    padding: 8px 12px 10px;
    border-top: 1px solid rgba(0, 232, 112, 0.06);
}

.betslip-item-stake-field {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 232, 112, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.betslip-item-stake-field:focus-within {
    border-color: #00E870;
    box-shadow: 0 0 8px rgba(0, 232, 112, 0.12);
}

.betslip-item-stake-currency {
    padding: 0 8px;
    color: #00E870;
    font-weight: 700;
    font-size: 11px;
}

.betslip-item-stake-input {
    border: none;
    background: transparent;
    padding: 8px 8px 8px 0;
    flex: 1;
    font-weight: 700;
    font-size: var(--font-sm);
    color: #f0f0f0;
    outline: none;
    width: 100%;
    min-width: 0;
}

.betslip-item-stake-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.betslip-item-return {
    display: block;
    margin-top: 4px;
    font-size: 10px;
    color: rgba(0, 232, 112, 0.5);
    font-weight: 500;
    text-align: right;
}

/* Custom toggle */
.betslip-custom-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 8px;
    margin-bottom: var(--space-md);
    background: rgba(0, 0, 0, 0.2);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.25s ease;
}

.betslip-custom-toggle .material-symbols-outlined {
    font-size: 16px;
}

.betslip-custom-toggle:hover {
    background: rgba(0, 232, 112, 0.04);
    border-color: rgba(0, 232, 112, 0.2);
    color: rgba(255, 255, 255, 0.55);
}

.betslip-custom-toggle.active {
    background: rgba(0, 232, 112, 0.06);
    border-style: solid;
    border-color: rgba(0, 232, 112, 0.2);
    color: #00E870;
}

.betslip-custom-toggle.active .material-symbols-outlined {
    color: #00E870;
}

/* Footer — compacto, deixando mais espaço para os cards das apostas */
.betslip-footer {
    padding: 10px 14px;
    border-top: 1px solid rgba(0, 232, 112, 0.1);
    background: linear-gradient(180deg, rgba(0, 232, 112, 0.03) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.betslip-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.betslip-summary-label {
    font-size: var(--font-sm);
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

.betslip-total-odds {
    font-size: var(--font-base);
    font-weight: 800;
    color: #00E870;
    text-shadow: 0 0 8px rgba(0, 232, 112, 0.2);
}

/* Stake input */
.betslip-stake {
    margin-bottom: 6px;
}

.betslip-stake label {
    display: block;
    font-size: 11px;
    color: #ffffff;
    margin-bottom: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.betslip-stake-field {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(0, 232, 112, 0.12);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.betslip-stake-field:focus-within {
    border-color: #00E870;
    box-shadow: 0 0 12px rgba(0, 232, 112, 0.15);
}

.betslip-stake-currency {
    padding: 0 12px;
    color: #00E870;
    font-weight: 700;
    font-size: var(--font-sm);
}

.betslip-stake-field input {
    border: none;
    background: transparent;
    padding: 9px 12px 9px 0;
    flex: 1;
    font-weight: 700;
    font-size: var(--font-base);
    color: #f0f0f0;
    outline: none;
}

.betslip-stake-field input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

/* Quick stakes */
.betslip-quick-stakes {
    display: flex;
    gap: 6px;
    margin: 8px 0;
}

.quick-stake {
    flex: 1;
    padding: 6px 4px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 232, 112, 0.1);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
    transition: all 0.25s ease;
    cursor: pointer;
}

.quick-stake:hover {
    background: rgba(0, 232, 112, 0.08);
    border-color: rgba(0, 232, 112, 0.3);
    color: #00E870;
    box-shadow: 0 0 10px rgba(0, 232, 112, 0.08);
}

/* Return row */
.betslip-cost-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
    padding: 7px var(--space-md);
    background: rgba(255, 215, 0, 0.04);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 8px;
}

.betslip-cost-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--font-sm);
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
}

.betslip-cost-label .material-symbols-outlined {
    font-size: 16px;
    color: #FFD700;
}

.betslip-cost-value {
    font-size: var(--font-sm);
    font-weight: 700;
    color: #FFD700;
}

.betslip-return-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 232, 112, 0.08);
}

.betslip-return-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--font-sm);
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
}

.betslip-return-label .material-symbols-outlined {
    font-size: 16px;
    color: #00E870;
}

.betslip-return-value {
    font-size: var(--font-md);
    font-weight: 800;
    color: #00E870;
    text-shadow: 0 0 12px rgba(0, 232, 112, 0.3);
}

/* Place bet button */
.betslip-btn-place {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    margin-top: 10px;
    background: linear-gradient(135deg, #00E870 0%, #00A651 100%);
    border: none;
    border-radius: 12px;
    font-size: var(--font-base);
    font-weight: 700;
    color: #0a0a0a;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 232, 112, 0.25);
}

.betslip-btn-place .material-symbols-outlined {
    font-size: 20px;
}

.betslip-btn-place:hover:not(:disabled) {
    background: linear-gradient(135deg, #00ff7f 0%, #00C261 100%);
    box-shadow: 0 4px 24px rgba(0, 232, 112, 0.4);
    transform: translateY(-1px);
}

.betslip-btn-place:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    box-shadow: none;
}

/* Clear button */
.betslip-btn-clear {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    margin-top: 6px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    font-size: var(--font-sm);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.25s ease;
}

.betslip-btn-clear .material-symbols-outlined {
    font-size: 16px;
}

.betslip-btn-clear:hover {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.25);
    color: #ef4444;
}

/* =====================================================
   BILHETE CONFIRMADO (TICKET + CASH OUT)
   ===================================================== */

.betslip-ticket-overlay {
    position: absolute;
    inset: 0;
    z-index: 50;
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: var(--space-md);
}

.betslip-ticket {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px; /* distância uniforme entre os cards/botões */
    width: 100%;
    animation: ticketSlideIn 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Status Header */
.ticket-status-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: var(--space-md);
    padding-right: 48px; /* espaço para o X flutuante no canto */
    border-radius: var(--radius-lg);
    margin-bottom: 0;
}

.ticket-status-header.active {
    background: linear-gradient(135deg, rgba(0, 232, 112, 0.1) 0%, rgba(0, 166, 81, 0.05) 100%);
    border: 1px solid rgba(0, 232, 112, 0.2);
}

.ticket-status-header.active .material-symbols-outlined {
    color: #00E870;
    font-size: 28px;
    animation: ticketPulse 2s ease-in-out infinite;
}

.ticket-status-header.cashout {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 165, 0, 0.05) 100%);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.ticket-status-header.cashout .material-symbols-outlined {
    color: #FFD700;
    font-size: 28px;
}

.ticket-status-header.won {
    background: linear-gradient(135deg, rgba(0, 232, 112, 0.15) 0%, rgba(0, 166, 81, 0.08) 100%);
    border: 1px solid rgba(0, 232, 112, 0.3);
}

.ticket-status-header.won .material-symbols-outlined {
    color: #00E870;
    font-size: 28px;
}

.ticket-status-header.lost {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(185, 28, 28, 0.05) 100%);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.ticket-status-header.lost .material-symbols-outlined {
    color: #ef4444;
    font-size: 28px;
}

.ticket-status-header.void {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.10) 0%, rgba(161, 98, 7, 0.05) 100%);
    border: 1px solid rgba(234, 179, 8, 0.25);
}

.ticket-status-header.void .material-symbols-outlined {
    color: #eab308;
    font-size: 28px;
}

@keyframes ticketPulse {
    0%, 100% { filter: drop-shadow(0 0 0 rgba(0, 232, 112, 0)); }
    50% { filter: drop-shadow(0 0 8px rgba(0, 232, 112, 0.4)); }
}

.ticket-status-header h3 {
    font-size: var(--font-base);
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.ticket-status-sub {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
}

/* Type Row */
.ticket-type-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
}

.ticket-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(0, 232, 112, 0.1) 0%, rgba(0, 166, 81, 0.06) 100%);
    border: 1px solid rgba(0, 232, 112, 0.18);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #00E870;
}

.ticket-type-badge .material-symbols-outlined {
    font-size: 15px;
}

.ticket-combined-odds {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

.ticket-combined-odds strong {
    color: #00E870;
    font-weight: 700;
}

/* Bet Cards */
.ticket-bets-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 0;
}

.ticket-bet-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-lg);
    padding: 12px;
}

.ticket-bet-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.ticket-bet-status-dot {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ticket-bet-status-dot .material-symbols-outlined {
    font-size: 18px;
}

.ticket-bet-status-dot.pending .material-symbols-outlined {
    color: rgba(255, 255, 255, 0.3);
}

.ticket-bet-status-dot.won .material-symbols-outlined {
    color: #00E870;
}

.ticket-bet-status-dot.lost .material-symbols-outlined {
    color: #ef4444;
}

.ticket-bet-title {
    flex: 1;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

.ticket-bet-odd {
    font-size: var(--font-sm);
    font-weight: 700;
    color: #00E870;
    background: rgba(0, 232, 112, 0.08);
    padding: 2px 8px;
    border-radius: 6px;
}

/* Selo "Odd ajustada" + motivo (2026-07-16). Ocupa o lugar onde antes ficava a
   multiplicação CRUA das pernas — número que o apostador nunca recebe. Âmbar, e
   não verde, pra não parecer valor a receber: é aviso, não ganho. */
.ticket-bet-odd.ticket-odd-adjusted {
    color: var(--warning);
    background: var(--warning-bg);
    font-size: var(--font-xs);
    font-weight: 600;
    letter-spacing: .01em;
}
.ticket-adjust-note {
    font-size: var(--font-xs);
    line-height: 1.45;
    color: var(--text-secondary);
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 6px 8px;
    margin: 6px 0 2px;
}

.ticket-bet-selection {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 6px;
    padding-left: 28px;
}

.ticket-bet-pick {
    font-size: var(--font-sm);
    font-weight: 700;
    color: #fff;
}

.ticket-bet-legs-stepper {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 4px 0;
}

.stepper-leg {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    position: relative;
    padding: 6px 0;
}

/* Linha = barra de progresso vertical: cinza por padrão; o segmento de uma
   perna fica verde só quando aquela perna já bateu (won) — preenche de cima
   pra baixo conforme os jogos vão acertando. */
.stepper-leg:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 15px;
    bottom: -15px;
    width: 2px;
    background: rgba(255, 255, 255, 0.14);
    transition: background 0.3s ease;
}

.stepper-leg.won:not(:last-child)::after {
    background: linear-gradient(to bottom, #00e870, rgba(0, 232, 112, 0.45));
}

.stepper-leg.lost:not(:last-child)::after {
    background: rgba(255, 70, 70, 0.35);
}

/* Bolinha: cinza enquanto pendente; verde ao bater; vermelha ao perder. */
.stepper-dot {
    width: 10px;
    height: 10px;
    min-width: 10px;
    margin-top: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    box-shadow: none;
    position: relative;
    z-index: 1;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.stepper-dot.won {
    background: #00e870;
    box-shadow: 0 0 6px rgba(0, 232, 112, 0.6);
}

.stepper-dot.lost {
    background: #ff4646;
    box-shadow: 0 0 6px rgba(255, 70, 70, 0.5);
}

.stepper-text {
    font-size: 12px;
    font-weight: 600;
    color: #e0e0e0;
    line-height: 1.3;
}

/* Múltipla: pernas (cada seleção) com pick + meta, ligadas pela linha */
.stepper-leg.multi {
    align-items: flex-start;
    padding: 8px 0;
}
.stepper-leg.multi .stepper-dot {
    margin-top: 3px;
}
.stepper-leg.multi:not(:last-child)::after {
    top: 15px;
    bottom: -9px;
}
.stepper-text .stepper-pick {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
}
.stepper-text .stepper-meta {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}
.stepper-text .stepper-prog {
    margin-top: 5px;
}
.stepper-leg.multi .stepper-text {
    flex: 1;
}

/* X de fechar no canto superior (substitui o botão "Fechar Bilhete") */
.ticket-topbar {
    position: sticky;
    top: 0;
    z-index: 60;
    display: flex;
    justify-content: flex-end;
    padding: 0 0 4px;
    pointer-events: none;
}
.ticket-close-x {
    pointer-events: auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.ticket-close-x:hover {
    background: rgba(255, 60, 60, 0.18);
    border-color: rgba(255, 60, 60, 0.5);
}

/* X flutuante no canto do bilhete: dispensa a barra superior (que só ocupava
   espaço), deixando o card de status colado no topo. */
.ticket-close-float {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 6;
    width: 34px;
    height: 34px;
}

.ticket-bet-odds-live {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
}

.ticket-bet-odds-live .material-symbols-outlined {
    font-size: 13px;
}

.ticket-bet-odds-live.down {
    color: #00E870;
    background: rgba(0, 232, 112, 0.1);
}

.ticket-bet-odds-live.up {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.ticket-bet-match {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-left: 28px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
}

.ticket-bet-match .material-symbols-outlined {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.25);
}

.ticket-bet-stake {
    display: flex;
    justify-content: space-between;
    padding: 6px 0 0 28px;
    margin-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
}

.ticket-bet-stake span:last-child {
    color: #FFD700;
    font-weight: 600;
}

/* Summary Box */
.ticket-summary-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(0, 0, 0, 0.2) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-lg);
    padding: 12px;
    margin-bottom: 0;
}

.ticket-summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.ticket-summary-line:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.ticket-summary-line span {
    font-size: var(--font-sm);
    color: rgba(255, 255, 255, 0.5);
}

.ticket-summary-line strong {
    font-size: var(--font-base);
    font-weight: 700;
    color: #fff;
}

.ticket-summary-line.ticket-summary-return strong {
    color: #00E870;
    text-shadow: 0 0 8px rgba(0, 232, 112, 0.25);
}

/* Final Result */
.ticket-final-result {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    border-radius: var(--radius-lg);
    margin-bottom: 0;
    font-size: var(--font-base);
    font-weight: 700;
}

.ticket-final-result.won {
    background: linear-gradient(135deg, rgba(0, 232, 112, 0.12) 0%, rgba(0, 166, 81, 0.06) 100%);
    border: 1px solid rgba(0, 232, 112, 0.25);
    color: #00E870;
}

.ticket-final-result.cashout {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 165, 0, 0.05) 100%);
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: #FFD700;
}

.ticket-final-result.lost {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(185, 28, 28, 0.04) 100%);
    border: 1px solid rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.ticket-final-result .material-symbols-outlined {
    font-size: 22px;
}

.ticket-final-result strong {
    font-size: var(--font-lg);
}

/* Cash Out Button */
.ticket-cashout-btn {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #00ff88 0%, #00e870 42%, #00b85c 100%);
    border: none;
    border-radius: var(--radius-lg);
    color: #04240f;
    font-size: var(--font-base);
    font-weight: 800;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 22px rgba(0, 232, 112, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.45);
    animation: cashoutGlow 2.6s ease-in-out infinite;
    margin-bottom: 0;
    text-align: center;
}

/* Brilho que atravessa o botão de tempos em tempos (aspecto "vivo"). */
.ticket-cashout-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 45%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: skewX(-20deg);
    animation: cashoutShine 3.2s ease-in-out infinite;
    pointer-events: none;
}

.ticket-cashout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(0, 232, 112, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.ticket-cashout-btn:active {
    transform: translateY(0);
}

.ticket-cashout-btn.confirming {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.35);
    padding: 12px 16px;
    animation: none;
}
.ticket-cashout-btn.confirming::after { display: none; }

@keyframes cashoutShine {
    0%       { left: -60%; }
    60%, 100% { left: 150%; }
}
@keyframes cashoutGlow {
    0%, 100% { box-shadow: 0 6px 20px rgba(0, 232, 112, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
    50%      { box-shadow: 0 9px 30px rgba(0, 232, 112, 0.6),  inset 0 1px 0 rgba(255, 255, 255, 0.45); }
}
@media (prefers-reduced-motion: reduce) {
    .ticket-cashout-btn { animation: none; }
    .ticket-cashout-btn::after { display: none; }
}

/* Rascunho de bilhete (aguardando confirmação) em Meus Bilhetes */
.draft-card {
    border: 1px solid rgba(0, 232, 112, 0.4) !important;
    background: linear-gradient(180deg, rgba(0, 232, 112, 0.06), rgba(255,255,255,0.02)) !important;
}
.draft-discard {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
}
.draft-discard:hover { color: #ff6b6b; }
.draft-finish-btn {
    width: 100%;
    margin-top: 10px;
    padding: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #00E870 0%, #00A651 100%);
    border: none;
    border-radius: var(--radius-lg);
    color: #0a0a0a;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}
.draft-finish-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,232,112,0.35); }

/* Funil do bilhete compartilhado: ofusca a tela atrás do card (cadastro/depósito) */
body.shared-locked .app-wrapper,
body.shared-locked .main-content,
body.shared-locked .site-header,
body.shared-locked .bottom-nav {
    filter: blur(6px);
    pointer-events: none;
    user-select: none;
    transition: filter 0.3s ease;
}

/* Ações do bilhete (Cash Out + Compartilhar) — visíveis sem rolagem */
.ticket-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 0;
}

.ticket-share-btn {
    width: 100%;
    padding: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(0, 232, 112, 0.4);
    border-radius: var(--radius-lg);
    color: #00e870;
    font-size: var(--font-base);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ticket-share-btn:hover {
    background: rgba(0, 232, 112, 0.12);
    border-color: rgba(0, 232, 112, 0.7);
}

.ticket-share-btn:disabled {
    opacity: 0.6;
    cursor: default;
}

.ticket-share-btn .material-symbols-outlined {
    font-size: 20px;
}

.ticket-cashout-confirm-text {
    display: block;
    font-size: var(--font-sm);
    margin-bottom: 8px;
    font-weight: 700;
}

.ticket-cashout-confirm-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.ticket-cashout-yes,
.ticket-cashout-no {
    padding: 6px 24px;
    border-radius: 6px;
    font-weight: 700;
    font-size: var(--font-sm);
    cursor: pointer;
}

.ticket-cashout-yes {
    background: rgba(0, 0, 0, 0.25);
    color: #0a0a0a;
}

.ticket-cashout-no {
    background: transparent;
    color: rgba(0, 0, 0, 0.5);
}

/* Close Button */
.ticket-close-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    color: rgba(255, 255, 255, 0.45);
    font-size: var(--font-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ticket-close-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
}

.ticket-close-btn .material-symbols-outlined {
    font-size: 16px;
}

/* =====================================================
   MOBILE BET SLIP TOGGLE
   ===================================================== */

.betslip-mobile-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #00E870 0%, #00A651 100%);
    color: #0a0a0a;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 232, 112, 0.35), 0 0 30px rgba(0, 232, 112, 0.15);
    z-index: var(--z-overlay);
    cursor: pointer;
    transition: all 0.3s ease;
}

.betslip-mobile-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 28px rgba(0, 232, 112, 0.5), 0 0 40px rgba(0, 232, 112, 0.2);
}

.betslip-mobile-toggle .material-symbols-outlined {
    font-size: 24px;
}

/* Bilhete rascunho pendente (ex.: veio pelo link compartilhado e fechou
   o modal de depósito). O botão pulsa + mostra um label chamando atenção. */
.betslip-mobile-toggle.has-draft {
    animation: draftPulse 1.6s ease-in-out infinite;
}

.betslip-mobile-toggle.has-draft::before {
    /* Tipografia futurista: uppercase compacto, tracking largo,
       glow neon amarelo. Centralizado sobre o botão. */
    content: 'FINALIZE\A SUA APOSTA';
    white-space: pre;
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    color: #ffcc00;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-align: center;
    text-shadow:
        0 0 6px rgba(255, 204, 0, 0.6),
        0 0 14px rgba(255, 204, 0, 0.35),
        0 1px 3px rgba(0, 0, 0, 0.9);
    pointer-events: none;
    animation: draftLabelPulse 1.8s ease-in-out infinite;
}

@keyframes draftPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(0, 232, 112, 0.35), 0 0 0 0 rgba(0, 232, 112, 0.55);
    }
    50% {
        box-shadow: 0 4px 24px rgba(0, 232, 112, 0.5), 0 0 0 14px rgba(0, 232, 112, 0);
    }
}

@keyframes draftLabelPulse {
    0%, 100% { opacity: 0.85; transform: translateX(-50%) translateY(0); }
    50%      { opacity: 1;    transform: translateX(-50%) translateY(-2px); }
}

.betslip-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: white;
    font-size: 11px;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #141414;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

/* =====================================================
   MOBILE OVERLAY
   ===================================================== */

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: calc(var(--z-sidebar) - 1);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-slow);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* =====================================================
   HERO BANNER
   ===================================================== */

.hero-banner {
    position: relative;
    background: linear-gradient(135deg, #071A0B 0%, #0D2812 30%, #0F2A14 50%, #112210 80%, #091A0C 100%);
    border: 1px solid var(--green-dark);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    margin-bottom: var(--space-xl);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--bg-darkest);
    font-size: var(--font-sm);
    font-weight: 800;
    padding: var(--space-xs) var(--space-lg);
    border-radius: var(--radius-full);
    letter-spacing: 2px;
    margin-bottom: var(--space-lg);
}

.hero-title {
    font-size: var(--font-4xl);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-sm);
    background: linear-gradient(135deg, var(--primary) 0%, #FFEC4D 40%, var(--green-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--font-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.hero-desc {
    font-size: var(--font-base);
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
}

.hero-decoration {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    z-index: 1;
}

.hero-glow {
    position: absolute;
    top: 50%;
    right: -10%;
    transform: translateY(-50%);
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 166, 81, 0.2) 0%, rgba(255, 215, 0, 0.08) 50%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

/* =====================================================
   SECTIONS
   ===================================================== */

.section {
    margin-bottom: var(--space-xl);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
}

.section-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-lg);
    font-weight: 700;
}

.section-title .material-symbols-outlined {
    color: var(--green);
    font-size: 1.3rem;
}

.section-link {
    font-size: var(--font-sm);
    font-weight: 500;
    color: var(--green-light);
    transition: opacity var(--transition-fast);
}

.section-link:hover {
    opacity: 0.8;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--live);
    border-radius: 50%;
    display: inline-block;
    animation: pulse-live 1.5s infinite;
}

@keyframes pulse-live {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--live-pulse); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px transparent; }
}

/* =====================================================
   GRIDS
   ===================================================== */

.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-lg);
}

.home-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

/* =====================================================
   EMPTY / LOADING STATES
   ===================================================== */

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-3xl);
    color: var(--text-muted);
    text-align: center;
    grid-column: 1 / -1;
}

.empty-state .material-symbols-outlined {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    opacity: 0.3;
}

.loading-skeleton {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

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

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

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* =====================================================
   TOAST NOTIFICATIONS
   ===================================================== */

.toast-container {
    position: fixed;
    top: calc(var(--header-height) + var(--space-lg));
    right: var(--space-lg);
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.toast {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    min-width: 300px;
    max-width: 400px;
    animation: slideInRight 0.3s ease;
    font-size: var(--font-sm);
}

.toast.success { border-left: 3px solid var(--success); }
.toast.error { border-left: 3px solid var(--danger); }
.toast.warning { border-left: 3px solid var(--warning); }
.toast.info { border-left: 3px solid var(--info); }

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