/* ========================================
   CSS Variables
======================================== */
:root {
    --primary: #0f1a16;
    --secondary: #162620;
    --accent: #10b981;
    --accent-light: #34d399;
    --accent-dark: #6d28d9;
    --dark: #0a0f0d;
    --card-bg: #1b2a24;
    --card-hover: #263b32;
    --success: #22c55e;
    --success-light: #4ade80;
    --warning: #f59e0b;
    --gold: #f59e0b;
    --gold-light: #fbbf24;
    --danger: #ef4444;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --border-color: rgba(255, 255, 255, 0.06);
}

/* ========================================
   Base Styles
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--dark);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: var(--secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 2px;
}

/* Main App Container */
#app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Corpo (sidebar + conteúdo), abaixo do header de largura total */
#appBody {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

@media (min-width: 768px) {
    #appBody {
        flex-direction: row;
    }
}

/* Content Container */
#content-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: auto;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

/* Main Content Area */
#mainContent {
    padding-bottom: 100px;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
    min-height: 0;
}

#mainContent .main-container {
    min-height: calc(100dvh - 8rem);
}

@media (max-width: 767px) {
    #mainContent {
        padding-bottom: 0;
    }

    #mainContent .main-container {
        min-height: calc(100dvh - 7rem);
        padding-bottom: 1rem;
    }
}

.app-footer {
    width: 100%;
    margin-left: 0;
    padding: 22px 16px 88px;
    color: rgba(218, 245, 234, 0.78);
    background: linear-gradient(180deg, #0a110e 0%, #050a07 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.mobile-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;
    text-align: center;
}

.footer-logo {
    height: 30px;
    width: auto;
    max-width: 136px;
    object-fit: contain;
}

.responsavel,
.footer-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.responsavel .age {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #21ff8c;
    border-radius: 50%;
    color: #fff;
    font-size: 13px;
    line-height: 1;
}

.footer-badges {
    gap: 10px;
}

.footer-badges span {
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(33, 255, 140, 0.08);
    border: 1px solid rgba(33, 255, 140, 0.18);
    color: rgba(218, 245, 234, 0.9);
    font-size: 10px;
    letter-spacing: 0.06em;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding-top: 2px;
}

.footer-links button {
    border: 0;
    padding: 0 9px;
    background: transparent;
    color: rgba(218, 245, 234, 0.8);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.footer-links button + button {
    border-left: 1px solid rgba(218, 245, 234, 0.26);
}

.footer-links button:hover {
    color: #21ff8c;
}

.footer-copy {
    margin: 2px 0 0;
    color: rgba(218, 245, 234, 0.58);
    font-size: 10.5px;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .app-footer {
        padding-bottom: 34px;
    }
}

/* Container principal - mobile first */
.main-container {
    width: 100%;
    max-width: 100%;
    padding: 0 16px;
    margin: 0 auto;
    min-width: 0;
}

/* ========================================
   Header
======================================== */
.app-header {
    background: linear-gradient(180deg, #0a110e 0%, #050a07 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: var(--success-light);
    font-size: 16px;
    filter: drop-shadow(0 0 6px rgba(74, 222, 128, 0.55));
    transform: rotate(-15deg);
}

.logo-text {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.theme-toggle {
    position: relative;
    width: 36px;
    height: 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--success) 0%, var(--success-light) 100%);
    border: none;
    cursor: pointer;
    padding: 0;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.45);
}

.theme-toggle-thumb {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background: #ffffff;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.balance-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.25s ease;
}

.balance-pill:hover {
    background: rgba(255, 255, 255, 0.08);
}

#headerReloadIcon {
    color: var(--accent-light);
}

#headerReloadIcon:hover {
    color: #ffffff;
}

.profile-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.profile-btn:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* ========================================
   Header — nav desktop / botões / toggle
======================================== */
/* Regra própria (não depende do Tailwind CDN) garantindo que o menu
   Início/Sinuca/Slots/Futebol/Bingo do header apareça a partir de 768px. */
#desktopNav {
    display: none !important;
}
@media (min-width: 768px) {
    #desktopNav {
        display: flex !important;
    }
}

.header-nav-item {
    display: flex;
    align-items: center;
    height: 34px;
    padding: 0 16px;
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    white-space: nowrap;
    color: #ffffff;
    transition: color 0.2s ease;
}

.header-nav-item:hover {
    color: #ffffff;
}

.header-nav-item.active {
    color: var(--accent-light);
}

.header-icon-btn {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: background 0.2s ease;
}

.header-icon-btn:hover {
    background: rgba(255, 255, 255, 0.06);
}

.header-hamburger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
}

.header-hamburger span {
    display: block;
    height: 2.5px;
    border-radius: 999px;
    background: currentColor;
}

.header-hamburger span:nth-child(1) { width: 20px; }
.header-hamburger span:nth-child(2) { width: 20px; }
.header-hamburger span:nth-child(3) { width: 14px; }

.header-btn-login,
.header-btn-register {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    height: 30px;
    padding: 0 14px;
    border: none;
    cursor: pointer;
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
    background: transparent;
    color: #ffffff;
    flex-shrink: 0;
}

.header-btn-login::before,
.header-btn-register::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: 7px;
    transform: skewX(-12deg);
}

.header-btn-login > span:not(.header-pix-badge),
.header-btn-register > span:not(.header-pix-badge) {
    position: relative;
    z-index: 1;
}

.header-btn-login::before {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.header-btn-login:hover {
    color: var(--accent-light);
}

.header-btn-register {
    color: #06210f;
    font-weight: 900;
}

.header-btn-register::before {
    background: linear-gradient(180deg, var(--accent-light) 0%, var(--accent) 100%);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}

.header-btn-register:hover::before {
    filter: brightness(1.08);
}

.header-pix-badge {
    position: absolute;
    top: -8px;
    right: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    height: 14px;
    min-width: 40px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--gold);
    color: #1a1208;
    font-size: 8px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.02em;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.header-pix-badge img {
    height: 9px;
    width: 9px;
    object-fit: contain;
}

#sidebar {
    transition: width 0.25s ease, opacity 0.2s ease;
}

@media (max-width: 767.98px) {
    #sidebar {
        display: flex !important;
        position: fixed !important;
        top: 48px;
        left: 0;
        bottom: 72px;
        width: min(280px, 84vw) !important;
        height: auto;
        z-index: 45;
        transform: translateX(-110%);
        opacity: 0;
        pointer-events: none;
        overflow-y: auto;
        transition: transform 0.22s ease, opacity 0.18s ease;
        box-shadow: 18px 0 40px rgba(0, 0, 0, 0.42);
    }

    body.sidebar-mobile-open #sidebar {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }
}

#sidebar.sidebar-collapsed {
    width: 72px !important;
    opacity: 1;
    overflow: visible;
}

#sidebar.sidebar-collapsed .sidebar-grid-box,
#sidebar.sidebar-collapsed .sidebar-card-header,
#sidebar.sidebar-collapsed .sidebar-nav-label {
    display: none !important;
}

#sidebar.sidebar-collapsed .sidebar-nav {
    padding: 12px 8px !important;
    align-items: center;
}

#sidebar.sidebar-collapsed .sidebar-card {
    width: 52px;
    padding: 6px !important;
    align-items: center;
}

#sidebar.sidebar-collapsed .sidebar-card-content {
    align-items: center;
}

#sidebar.sidebar-collapsed .sidebar-nav-item {
    width: 40px !important;
    height: 40px;
    padding: 0 !important;
    justify-content: center;
    gap: 0 !important;
}

/* ========================================
   Football Page
======================================== */
.football-page {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.football-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(16,185,129,0.18));
    border: 1px solid rgba(255,255,255,0.08);
}

.football-eyebrow {
    font-size: 11px;
    letter-spacing: 0.22em;
    font-weight: 700;
    color: #93c5fd;
    margin-bottom: 6px;
}

.football-hero h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 6px;
}

.football-hero p {
    color: var(--text-secondary);
    font-size: 14px;
    max-width: 420px;
}

.football-hero-badge {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    font-size: 24px;
    color: #60a5fa;
}

.football-filter-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.football-status-pill {
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: var(--text-secondary);
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.football-status-pill.active {
    background: linear-gradient(135deg, #2563eb, #10b981);
    color: white;
    border-color: transparent;
}

.football-match-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.football-match-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.football-match-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.football-league-badge {
    font-size: 12px;
    font-weight: 700;
    color: #93c5fd;
    background: rgba(59,130,246,0.16);
    padding: 6px 10px;
    border-radius: 999px;
}

.football-status-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 999px;
}

.football-status-badge.live {
    background: rgba(239,68,68,0.16);
    color: #fca5a5;
}

.football-status-badge.finished {
    background: rgba(16,185,129,0.16);
    color: #86efac;
}

.football-status-badge.scheduled {
    background: rgba(245,158,11,0.16);
    color: #fcd34d;
}

.football-match-body {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
}

.football-team {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.football-team-badge {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.football-team-flag {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.football-team-initials {
    font-size: 11px;
    font-weight: 800;
    color: #dbeafe;
    letter-spacing: 0.04em;
}

.football-team-name {
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
}

.football-team-score {
    font-size: 22px;
    font-weight: 800;
    color: var(--gold-light);
}

.football-vs {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-secondary);
}

.football-match-meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 12px;
    flex-wrap: wrap;
}

.football-odds-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.football-odd-pill {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 8px 10px;
    text-align: center;
    font-weight: 700;
}

.football-odd-pill small {
    display: block;
    margin-top: 2px;
    color: var(--text-secondary);
    font-size: 10px;
    text-transform: uppercase;
}

/* ========================================
   Football - Match Detail (Professional)
======================================== */
.football-detail-card {
    background: linear-gradient(180deg, rgba(8,12,10,0.6), rgba(4,6,5,0.5));
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 20px;
    max-width: 980px;
    margin: 12px auto;
    box-shadow: 0 12px 30px rgba(0,0,0,0.55);
}

.football-detail-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.football-detail-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.football-detail-team {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 0;
}

.football-detail-logo {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.football-detail-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.football-detail-name {
    font-size: 16px;
    font-weight: 800;
    color: #f8fafc;
}

.football-detail-score {
    font-size: 28px;
    font-weight: 900;
    color: var(--gold-light);
}

.football-detail-vs {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-secondary);
    margin: 0 8px;
}

.football-detail-meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 13px;
    margin-top: 12px;
    align-items: center;
}

.football-detail-odds {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 14px;
}

.football-odd-pill {
    padding: 12px 10px;
    font-size: 15px;
    border-radius: 12px;
}

.football-action-btn {
    margin-top: 16px;
    padding: 12px 14px;
    font-size: 15px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.15);
}

@media (max-width: 720px) {
    .football-detail-teams { flex-direction: column; align-items: stretch; }
    .football-detail-vs { margin: 6px 0; }
    .football-detail-logo { width: 56px; height: 56px; }
    .football-detail-score { font-size: 22px; }
}

.football-action-btn {
    width: 100%;
    border: none;
    border-radius: 14px;
    padding: 10px 12px;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #10b981, #059669);
}

.football-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 12px;
}

.football-slip-ticket {
    position: sticky;
    top: 95px;
    align-self: start;
    background: rgba(11, 17, 16, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.38);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ticket-header {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #f8fafc;
    margin-bottom: 16px;
}

.ticket-body {
    display: grid;
    gap: 10px;
}

.ticket-line {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 14px;
}

.ticket-line strong {
    color: #ffffff;
}

.ticket-note {
    color: #a8f5c0;
    font-weight: 700;
}

.ticket-actions {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.ticket-btn {
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: #f8fafc;
    border-radius: 12px;
    padding: 12px 10px;
    font-weight: 700;
}

.ticket-btn:hover:not(:disabled) {
    background: rgba(255,255,255,0.08);
}

.ticket-btn-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
}

.ticket-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 1100px) {
    .football-detail-layout {
        grid-template-columns: 1fr;
    }
    .football-slip-ticket {
        position: static;
        margin-top: 18px;
    }
    .fb-slip-panel {
        display: none;
    }
    .football-slip-mobile-bar {
        position: fixed;
        left: 14px;
        right: 14px;
        bottom: 12px;
        z-index: 1400;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 14px 16px;
        border-radius: 20px;
        background: rgba(7, 12, 10, 0.97);
        box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
        border: 1px solid rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(14px);
        min-height: 72px;
    }
}

.football-slip-mobile-bar {
    display: none;
}

.fb-slip-panel {
    position: sticky;
    top: 96px;
    align-self: start;
    width: 320px;
}

@media (max-width: 720px) {
    .football-detail-layout {
        padding: 0 6px;
    }
    .football-slip-ticket {
        display: none;
    }
    .fb-slip-panel {
        display: none;
    }
}
    .football-slip-mobile-info {
        display: flex;
        flex-direction: column;
        gap: 4px;
        color: #f8fafc;
        min-width: 0;
    }
    .football-slip-mobile-info strong {
        font-size: 14px;
        font-weight: 800;
    }
    .football-slip-mobile-info span {
        font-size: 12px;
        color: var(--text-secondary);
    }
    .football-slip-mobile-action {
        white-space: nowrap;
        flex-shrink: 0;
        border: none;
        border-radius: 14px;
        padding: 12px 14px;
        background: linear-gradient(135deg, #10b981, #059669);
        color: #fff;
        font-weight: 700;
        cursor: pointer;
    }
    .football-detail-card {
        margin-bottom: 120px;
    }
}

.football-tabs {
    display: flex;
    gap: 6px;
    max-width: 980px;
    margin: 14px auto 0;
    overflow-x: auto;
    padding-bottom: 2px;
}

.football-tab-btn {
    flex: 0 0 auto;
    padding: 9px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(8,12,10,0.5);
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
}

.football-tab-btn.active {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    border-color: transparent;
}

.football-tab-content {
    max-width: 980px;
    margin: 10px auto 12px;
    background: linear-gradient(180deg, rgba(8,12,10,0.6), rgba(4,6,5,0.5));
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 16px;
    min-height: 60px;
}

.football-tab-empty {
    color: var(--text-secondary);
    font-size: 14px;
    text-align: center;
    padding: 20px 8px;
}

.football-standings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.football-standings-table th {
    text-align: left;
    color: var(--text-secondary);
    font-weight: 700;
    padding: 8px 6px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.football-standings-table td {
    padding: 8px 6px;
    color: #e2e8f0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.football-standings-table tr.highlight {
    background: rgba(16, 185, 129, 0.12);
}

.football-standings-team {
    font-weight: 700;
    color: #f8fafc;
}

.football-h2h-section {
    margin-bottom: 16px;
}

.football-form-label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.football-h2h-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 6px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 13px;
    color: #e2e8f0;
}

.football-h2h-date {
    color: var(--text-secondary);
    flex-shrink: 0;
}

.football-form-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 720px) {
    .football-form-columns { grid-template-columns: 1fr; }
}

/* Subtle animations and skeletons for a more professional feel */
.fade-in { animation: fadeInUp .36s ease both; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(6px); } to { opacity:1; transform: translateY(0); } }

.skeleton { background: linear-gradient(90deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.03) 100%); border-radius: 8px; position: relative; overflow: hidden; }
.skeleton::after { content: ''; position: absolute; left: -120px; top: 0; height: 100%; width: 120px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent); animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { 0% { left: -120px } 100% { left: 100% } }
.football-match-loading { display: flex; flex-direction: column; gap: 12px; padding: 20px; }
.header-skeleton { height: 18px; width: 40%; }
.teams-skeleton { height: 84px; width: 100%; border-radius: 12px; }
.odds-skeleton { height: 56px; width: 100%; border-radius: 12px; }

/* Tighter status badge styles */
.football-status-badge { text-transform: uppercase; letter-spacing: 0.8px; padding: 8px 12px; border-radius: 999px; font-size: 12px; }
.football-status-badge.live { background: linear-gradient(90deg, rgba(239,68,68,0.16), rgba(245,158,11,0.08)); color: #ffb4b4; }
.football-status-badge.finished { background: linear-gradient(90deg, rgba(16,185,129,0.12), rgba(16,185,129,0.06)); color: #bbf7d0; }
.football-status-badge.scheduled { background: linear-gradient(90deg, rgba(99,102,241,0.08), rgba(34,197,94,0.04)); color: #fef3c7; }

/* Odds pill hover and transition */
.football-odd-pill { transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.football-odd-pill:hover { transform: translateY(-4px); box-shadow: 0 10px 20px rgba(2,6,23,0.45); background: rgba(255,255,255,0.06); }

/* Logo placeholder initials */
.team-initials-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-weight: 900; color: #e6f0ff; background: linear-gradient(135deg,#0f172a,#051014); }


.football-action-btn.locked {
    background: rgba(255,255,255,0.08);
    color: var(--text-secondary);
}

.football-skeleton-card, .football-empty-state {
    border-radius: 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.football-empty-state {
    flex-direction: column;
    gap: 8px;
    padding: 24px;
}

.football-empty-state i {
    font-size: 24px;
    color: #60a5fa;
}

/* ========================================
   Football Sportsbook
======================================== */
.football-book {
    gap: 14px;
    color: #ffffff;
}

.fb-top-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(0, 76, 52, 0.86), rgba(0, 54, 38, 0.92));
    border: 1px solid rgba(0, 255, 136, 0.12);
}

.fb-tabs,
.fb-filter-bar,
.fb-quick-leagues {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fb-tabs {
    flex-wrap: wrap;
}

.fb-back,
.fb-tab,
.fb-status-pill,
.fb-quick-chip,
.fb-league-row,
.fb-league-title,
.fb-feature-card,
.fb-event-card,
.fb-odd,
.fb-bet-button {
    border: 0;
    font-family: inherit;
}

.fb-back {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: transparent;
    color: rgba(218, 245, 234, 0.62);
}

.fb-tab {
    min-height: 42px;
    border-radius: 8px;
    padding: 0 16px;
    background: transparent;
    color: rgba(218, 245, 234, 0.72);
    font-size: 13px;
    font-weight: 800;
}

.fb-tab.active {
    background: #00e879;
    color: #001b12;
}

.fb-search {
    width: min(460px, 100%);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    min-height: 46px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(218, 245, 234, 0.72);
}

.fb-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #ffffff;
    font-size: 14px;
}

.fb-search input::placeholder {
    color: rgba(218, 245, 234, 0.58);
}

.fb-shell {
    display: grid;
    grid-template-columns: 288px minmax(0, 1fr) 320px;
    gap: 14px;
    min-width: 0;
}

.fb-sidebar,
.fb-league-group,
.fb-detail-card {
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(0, 65, 45, 0.92), rgba(0, 36, 27, 0.96));
    border: 1px solid rgba(0, 255, 136, 0.14);
    overflow: hidden;
}

.fb-sidebar {
    align-self: start;
    max-height: calc(100vh - 150px);
    position: sticky;
    top: 82px;
}

.fb-sidebar-head,
.fb-league-title {
    height: 54px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #00ff88;
    font-size: 12px;
    font-weight: 900;
}

.fb-sidebar-head {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.fb-league-list {
    max-height: calc(100vh - 204px);
    overflow-y: auto;
    padding: 8px 10px;
}

.fb-league-row {
    width: 100%;
    min-height: 42px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    padding: 0 6px;
    background: transparent;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 13px;
    font-weight: 800;
    text-align: left;
}

.fb-league-row span {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.fb-league-row i:first-child {
    color: rgba(202, 255, 227, 0.86);
}

.fb-league-row small {
    color: rgba(218, 245, 234, 0.62);
}

.fb-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.fb-section-title,
.fb-section-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fb-section-row {
    justify-content: space-between;
    flex-wrap: wrap;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 255, 136, 0.14);
}

.fb-section-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 950;
}

.fb-section-title i {
    color: #00ff88;
}

.fb-section-title small {
    color: #00ff88;
    font-size: 12px;
}

.fb-featured-grid,
.fb-event-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.fb-feature-card,
.fb-event-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding: 12px;
    border-radius: 7px;
    background: rgba(0, 75, 52, 0.82);
    border: 1px solid rgba(0, 255, 136, 0.14);
    color: #ffffff;
    text-align: left;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.fb-feature-card {
    background: linear-gradient(180deg, rgba(0, 92, 63, 0.9), rgba(0, 68, 47, 0.88));
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.fb-feature-card.active,
.fb-event-card.active,
.fb-feature-card:hover,
.fb-event-card:hover {
    border-color: rgba(0, 255, 136, 0.42);
    background: rgba(0, 86, 59, 0.92);
    transform: translateY(-2px);
}

.fb-card-league,
.fb-event-meta,
.fb-market-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: rgba(218, 245, 234, 0.68);
    font-size: 11px;
    font-weight: 800;
}

.fb-card-league span,
.fb-event-meta span {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 7px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.fb-card-teams {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fb-team-line {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
}

.fb-team-line span {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.fb-team-line b {
    color: #ffffff;
}

.fb-team-logo {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background: rgba(255, 255, 255, 0.08);
}

.fb-team-logo-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, #0ea5e9, #7c3aed);
    font-size: 8px;
    font-weight: 950;
}

.fb-odds-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.fb-odd {
    min-width: 0;
    min-height: 44px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.065);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    cursor: pointer;
}

.fb-odd:hover {
    background: rgba(0, 255, 136, 0.18);
}

.fb-odd strong {
    font-size: 14px;
    font-weight: 950;
}

.fb-odd small {
    max-width: 100%;
    color: rgba(218, 245, 234, 0.66);
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.fb-quick-leagues {
    overflow-x: auto;
}

.fb-quick-chip {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 7px;
    background: rgba(0, 75, 52, 0.86);
    border: 1px solid rgba(0, 255, 136, 0.16);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 900;
}

.fb-quick-chip i,
.fb-quick-chip small {
    color: #00ff88;
}

.fb-status-pill {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 7px;
    background: rgba(0, 75, 52, 0.72);
    color: rgba(218, 245, 234, 0.72);
    font-size: 13px;
    font-weight: 900;
}

.fb-status-pill.active {
    background: #00e879;
    color: #001b12;
}

.fb-league-title {
    width: 100%;
    background: rgba(0, 75, 52, 0.82);
    color: #ffffff;
    text-align: left;
}

.fb-league-title span {
    display: flex;
    align-items: center;
    gap: 9px;
}

.fb-event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 10px;
    margin-top: 0;
}

.fb-event-grid.fb-hidden {
    display: none;
}

.fb-league-title i.fa-chevron-down {
    transition: transform 0.2s ease;
}

.fb-league-title i.fa-chevron-down.collapsed {
    transform: rotate(-90deg);
}

.fb-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(218, 245, 234, 0.62);
    font-style: normal;
    font-size: 10px;
    font-weight: 950;
    text-transform: uppercase;
    white-space: nowrap;
}

.fb-live-badge.live {
    color: #ff4f4f;
}

.fb-live-badge.live i {
    animation: fbLivePulse 1.4s ease-in-out infinite;
}

@keyframes fbLivePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.85); }
}

.fb-live-badge.scheduled {
    color: #9dfbd0;
}

.fb-detail-card {
    padding: 16px;
}

.fb-detail-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.fb-detail-head span {
    color: #9dfbd0;
    font-size: 12px;
    font-weight: 900;
}

.fb-detail-head h2 {
    margin: 4px 0 0;
    color: #ffffff;
    font-size: 22px;
    font-weight: 950;
}

.fb-detail-scoreboard {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    margin-top: 16px;
    padding: 16px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.18);
}

.fb-detail-team {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.fb-detail-team .fb-team-logo {
    width: 42px;
    height: 42px;
}

.fb-detail-team strong {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 15px;
}

.fb-detail-team b {
    margin-left: auto;
    font-size: 24px;
    color: #00ff88;
}

.fb-detail-vs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: rgba(218, 245, 234, 0.7);
}

.fb-detail-vs strong {
    color: #ffffff;
    font-size: 18px;
}

.fb-detail-market {
    margin-top: 14px;
}

.fb-detail-market > span {
    display: block;
    margin-bottom: 8px;
    color: #9dfbd0;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.fb-odd.large {
    min-height: 58px;
}

.fb-odd.large strong {
    font-size: 18px;
}

.fb-bet-button {
    width: 100%;
    min-height: 48px;
    margin-top: 14px;
    border-radius: 8px;
    background: #00e879;
    color: #001b12;
    font-size: 14px;
    font-weight: 950;
}

.fb-bet-button.locked {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(218, 245, 234, 0.62);
}

.fb-skeleton-card,
.fb-skeleton-row,
.fb-empty-state,
.fb-empty-mini {
    background: linear-gradient(90deg, rgba(255,255,255,0.035), rgba(255,255,255,0.075), rgba(255,255,255,0.035));
    background-size: 240% 100%;
    animation: shimmerBg 1.4s linear infinite;
}

.fb-skeleton-card {
    min-height: 152px;
    border-radius: 7px;
}

.fb-skeleton-row {
    height: 42px;
    border-radius: 6px;
    margin-bottom: 7px;
}

.fb-empty-state,
.fb-empty-mini {
    min-height: 160px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(218, 245, 234, 0.7);
    font-weight: 800;
}

.fb-empty-mini {
    min-height: 90px;
    font-size: 12px;
}

@keyframes shimmerBg {
    from { background-position: 100% 0; }
    to { background-position: -100% 0; }
}

@media (max-width: 1199.98px) {
    .fb-shell {
        grid-template-columns: 1fr;
    }

    .fb-sidebar {
        position: static;
        max-height: none;
    }

    .fb-league-list {
        max-height: 220px;
    }

    .fb-featured-grid,
    .fb-event-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .football-book {
        padding: 10px;
    }

    .fb-top-panel {
        flex-direction: column;
        align-items: stretch;
    }

    .fb-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .fb-tab {
        flex: 0 0 auto;
    }

    .fb-sidebar {
        display: none;
    }

    .fb-featured-grid {
        display: flex;
        overflow-x: auto;
    }

    .fb-feature-card {
        min-width: 280px;
    }

    .fb-section-row {
        align-items: stretch;
    }

    .fb-filter-bar {
        width: 100%;
        overflow-x: auto;
    }

    .fb-status-pill {
        flex: 0 0 auto;
    }

    .fb-detail-scoreboard {
        grid-template-columns: 1fr;
    }

    .fb-detail-vs {
        order: 2;
    }

    .fb-detail-team:last-child {
        order: 3;
    }
}

/* ========================================
   Bottom Navigation
======================================== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: linear-gradient(180deg, #0a110e 0%, #050a07 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 10px 8px calc(10px + env(safe-area-inset-bottom, 0px));
}

.nav-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    color: var(--text-secondary);
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 11px;
    min-width: 60px;
}

.nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 16px;
    transition: all 0.25s ease;
}

.nav-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.nav-item:hover {
    color: var(--accent-light);
}

.nav-item.active {
    color: var(--accent-light);
}

.nav-item.active .nav-icon {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: #05261c;
    box-shadow: 0 6px 14px rgba(16, 185, 129, 0.45);
}

.nav-item.deposit-btn {
    position: relative;
    color: var(--accent-light);
}

.deposit-fab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #6ee7b7 0%, var(--accent-light) 35%, var(--accent) 70%, #047857 100%);
    color: #05261c;
    font-size: 18px;
    font-weight: 800;
    box-shadow:
        0 10px 22px rgba(16, 185, 129, 0.5),
        0 0 0 4px rgba(16, 185, 129, 0.15),
        inset 0 -2px 4px rgba(0, 0, 0, 0.25),
        inset 0 2px 4px rgba(255, 255, 255, 0.55);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-item.deposit-btn:hover .deposit-fab {
    transform: translateY(-2px) scale(1.04);
}

/* ========================================
   Welcome Card
======================================== */
.welcome-card {
    background:
        radial-gradient(circle at 100% 0%, rgba(34, 197, 94, 0.35) 0%, rgba(34, 197, 94, 0.05) 35%, transparent 60%),
        linear-gradient(135deg, #1b2a24 0%, #151a35 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    position: relative;
    overflow: hidden;
    padding: 16px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.welcome-card .greeting {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.welcome-card .user-name {
    color: var(--accent-light);
    font-weight: 700;
    text-transform: lowercase;
}

.welcome-card .balance-label {
    font-size: 9px;
    font-weight: 700;
    color: rgba(156, 163, 175, 0.5);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-top: 6px;
}

.invite-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    background: linear-gradient(135deg, #059669 0%, #34d399 50%, #10b981 100%);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: all 0.25s ease;
}

.invite-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(16, 185, 129, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* ========================================
   Game Cards
======================================== */
.games-grid {
    display: flex;
    gap: 8px;
    width: 100%;
}

.games-grid .game-card {
    flex: 1;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 120px;
}

.games-grid .game-card:hover {
    transform: scale(1.02);
}

.games-grid .game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

.game-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: scale(1.02);
}

.game-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

/* Aposta Casada Banner */
.game-card img[alt="Aposta Casada"] {
    height: 200px;
    object-fit: cover;
}

/* Casino and Bingo Cards */
.games-grid .game-card img[alt="Cassino"],
.games-grid .game-card img[alt="Bingo"] {
    height: 120px;
    object-fit: cover;
}

/* Sinuca Toggle */
.sinuca-toggle {
    width: 36px;
    height: 18px;
    border-radius: 9px;
    background: transparent;
    padding: 0;
}

.sinuca-toggle-track {
    display: inline-flex;
    align-items: center;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: var(--border-color);
    position: relative;
    transition: background 0.3s ease;
}

.sinuca-toggle-track.active {
    background: var(--success);
}

.sinuca-toggle-thumb {
    position: absolute;
    left: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: white;
    transition: transform 0.3s ease;
}

.sinuca-toggle-thumb.active {
    transform: translateX(18px);
}

header.hidden,
#bottomNav.hidden {
    display: none;
}

/* ========================================
   Home Feature Blocks
======================================== */
.home-hero-banner {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    min-height: 180px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}

.home-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.home-main {
    min-width: 0;
    max-width: 100%;
}

.home-winners-panel {
    min-width: 0;
}

.home-winners-card {
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(16, 185, 129, 0.16);
    background: linear-gradient(180deg, #0a110e 0%, #050a07 100%);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.home-winners-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px 14px;
    background: radial-gradient(circle at 100% 0%, rgba(16, 185, 129, 0.26), transparent 52%);
}

.home-winners-head h3 {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
}

.home-winners-head p {
    margin: 7px 0 0;
    color: #00ff88;
    font-size: 10px;
    font-weight: 900;
    line-height: 1.25;
    text-transform: uppercase;
}

.home-winners-trophy {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent;
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.42));
}

.home-winners-trophy img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.home-winners-list {
    height: 520px;
    overflow: hidden;
    position: relative;
}

.home-winners-list::before,
.home-winners-list::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 32px;
    z-index: 2;
    pointer-events: none;
}

.home-winners-list::before {
    top: 0;
    background: linear-gradient(180deg, #07100c 0%, rgba(7, 16, 12, 0) 100%);
}

.home-winners-list::after {
    bottom: 0;
    background: linear-gradient(0deg, #07100c 0%, rgba(7, 16, 12, 0) 100%);
}

.home-winners-scroll {
    display: flex;
    flex-direction: column;
    animation: winners-scroll-up 34s linear infinite;
}

.home-winners-card:hover .home-winners-scroll {
    animation-play-state: paused;
}

@keyframes winners-scroll-up {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-50%);
    }
}

.home-winner-row {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 76px;
    padding: 10px 14px;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.035);
    background: rgba(16, 185, 129, 0.06);
    color: #ffffff;
    text-align: left;
    cursor: pointer;
}

.home-winner-row:nth-child(even) {
    background: rgba(16, 185, 129, 0.11);
}

.home-winner-row:hover {
    background: rgba(16, 185, 129, 0.18);
}

.home-winner-row img {
    width: 54px;
    height: 54px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}

.home-winner-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.home-winner-info strong {
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.home-winner-info small {
    margin-top: 3px;
    color: rgba(218, 245, 234, 0.68);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-winner-info em {
    margin-top: 4px;
    color: #9dfbd0;
    font-size: 9px;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
}

.home-winner-info b {
    margin-top: 5px;
    color: #00ff88;
    font-size: 14px;
    font-weight: 900;
}

@media (max-width: 1199.98px) {
    .home-layout {
        display: block;
    }

    .home-winners-panel {
        width: min(100%, 640px);
        margin: 32px auto 28px;
    }

    .home-winners-card {
        border-radius: 18px;
        border-color: rgba(16, 185, 129, 0.22);
        box-shadow: 0 18px 52px rgba(0, 0, 0, 0.34);
    }

    .home-winners-head {
        min-height: 108px;
        padding: 22px 26px 18px;
        background:
            radial-gradient(circle at 92% 24%, rgba(16, 185, 129, 0.34), transparent 35%),
            linear-gradient(180deg, rgba(11, 45, 33, 0.92), rgba(5, 14, 10, 0.92));
    }

    .home-winners-head h3 {
        font-size: clamp(24px, 5.6vw, 32px);
        line-height: 0.96;
    }

    .home-winners-head p {
        max-width: 390px;
        margin-top: 10px;
        font-size: clamp(12px, 3.2vw, 16px);
        line-height: 1.12;
    }

    .home-winners-trophy {
        width: clamp(58px, 15vw, 82px);
        height: clamp(58px, 15vw, 82px);
    }

    .home-winners-list {
        height: clamp(300px, 42vh, 360px);
    }

    .home-winner-row {
        grid-template-columns: clamp(58px, 15vw, 76px) minmax(0, 1fr);
        gap: 16px;
        min-height: 94px;
        padding: 12px 26px;
    }

    .home-winner-row img {
        width: clamp(58px, 15vw, 76px);
        height: clamp(58px, 15vw, 76px);
        border-radius: 8px;
    }

    .home-winner-info strong {
        font-size: clamp(16px, 4vw, 20px);
    }

    .home-winner-info small {
        margin-top: 5px;
        font-size: clamp(11px, 3vw, 15px);
    }

    .home-winner-info em {
        margin-top: 5px;
        font-size: clamp(10px, 2.8vw, 13px);
    }

    .home-winner-info b {
        margin-top: 7px;
        font-size: clamp(20px, 5.4vw, 28px);
    }
}

@media (min-width: 1200px) {
    .home-layout {
        grid-template-columns: minmax(0, 1fr) 264px;
        align-items: start;
    }

    .home-winners-panel {
        position: sticky;
        top: 76px;
        max-height: calc(100vh - 96px);
        overflow-y: auto;
    }
}

#homeBannerContainer,
#homeBannerContainer > div,
#homeBannerCarouselTrack {
    max-width: 100%;
    min-width: 0;
}

#homeBannerContainer {
    overflow: hidden;
}

.home-hero-banner img,
.home-bingo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-hero-overlay,
.home-bingo-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px;
    background: linear-gradient(180deg, rgba(5, 10, 7, 0.05) 0%, rgba(5, 10, 7, 0.85) 100%);
}

.home-hero-badge {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.9);
    color: white;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.home-hero-overlay h3,
.home-bingo-overlay h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 4px;
}

.home-hero-overlay p,
.home-bingo-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin-bottom: 10px;
}

.home-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 10px 14px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: #171717;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.25);
}

.home-slot-carousel {
    overflow: hidden;
    border-radius: 18px;
    padding: 4px 0;
    max-width: 100%;
}

.home-slot-track {
    display: flex;
    gap: 10px;
    width: max-content;
    animation: home-slot-scroll 16s linear infinite;
    will-change: transform;
}

.home-slot-card {
    flex: 0 0 132px;
    width: 132px;
    position: relative;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(17, 24, 39, 0.95) 100%);
    color: white;
    cursor: pointer;
    text-align: left;
    overflow: hidden;
    height: 190px;
    min-height: 190px;
}

.home-category-banners {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.home-category-banner-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-category-banner-card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 1;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.home-category-banner-card:hover {
    transform: translateY(-2px);
    border-color: rgba(16, 185, 129, 0.4);
}

.home-category-banner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-category-banner-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.home-category-banner-card:hover .home-category-banner-overlay {
    opacity: 1;
}

.home-category-banner-play {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    border-radius: 999px;
    background: linear-gradient(135deg, #10e879, #059669);
    color: #001b12;
    font-size: 15px;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    transform: translateY(6px);
    transition: transform 0.2s ease;
}

.home-category-banner-card:hover .home-category-banner-play {
    transform: translateY(0);
}

.home-slot-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.18), rgba(59, 130, 246, 0.16));
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-slot-image img,
.home-slot-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-slot-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: rgba(255, 255, 255, 0.9);
}

.home-slot-favorite,
.game-card-favorite {
    position: absolute;
    z-index: 3;
    top: 8px;
    left: 8px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(5, 12, 10, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    font-size: 14px;
    backdrop-filter: blur(8px);
}

.home-slot-online,
.game-card-online {
    position: absolute;
    z-index: 3;
    top: 8px;
    right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 46px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(5, 12, 10, 0.82);
    border: 1px solid rgba(52, 211, 153, 0.22);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    backdrop-filter: blur(8px);
}

.home-slot-online i,
.game-card-online i {
    color: #22c55e;
    font-size: 7px;
}

.home-search-bar {
    height: 42px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    padding: 0 14px;
    margin: 2px 0 22px;
    border-radius: 8px;
    background: linear-gradient(180deg, #0a110e 0%, #050a07 100%);
    border: 1px solid rgba(255, 255, 255, 0.04);
    color: rgba(218, 245, 234, 0.7);
}

.home-search-bar i {
    color: rgba(218, 245, 234, 0.72);
    font-size: 14px;
}

.home-search-bar input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #ffffff;
    font-size: 14px;
}

.home-search-bar input::placeholder {
    color: rgba(218, 245, 234, 0.58);
}

.home-quick-categories {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 22px;
}

.home-quick-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    background: transparent;
    border: 0;
    color: #ffffff;
    padding: 0;
}

.home-quick-cat-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.8) 0%, rgba(4, 120, 87, 0.8) 100%);
    border: 1px solid rgba(52, 211, 153, 0.6);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.35);
    font-size: 20px;
    transition: transform 0.15s ease;
    overflow: hidden;
}

.home-quick-cat-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-quick-cat:hover .home-quick-cat-icon {
    transform: translateY(-2px);
}

.home-quick-cat span:last-child {
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
}

@media (min-width: 768px) {
    .home-quick-categories {
        display: none;
    }
}

.home-slot-section-title {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #ffffff !important;
    width: fit-content;
    white-space: nowrap;
}

.home-slot-section-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: transparent;
    color: var(--category-color);
}

.home-slot-section-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (min-width: 640px) {
    .home-slot-section-icon,
    .home-slot-section-icon svg {
        width: 24px;
        height: 24px;
    }
}

.home-bingo-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    min-height: 180px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}

/* Desktop: restringe altura do banner para não ocupar tela inteira */
@media (min-width: 1024px) {
    /* altura fixa para manter medida consistente */
    .home-hero-banner,
    .home-bingo-card {
        height: 320px;
        min-height: 180px;
    }

    /* garante que a imagem inteira apareça sem cortar */
    .home-hero-banner img,
    .home-bingo-card img {
        max-height: 100%;
        width: auto;
        max-width: 100%;
        object-fit: contain;
        display: block;
        margin: 0 auto;
    }

    .home-hero-overlay h3,
    .home-bingo-overlay h3 {
        font-size: 18px;
    }

    .home-hero-overlay p,
    .home-bingo-overlay p {
        font-size: 12px;
    }

    .page-enter {
        width: 100%;
        max-width: 1320px;
        margin: 0 auto;
        padding-left: 8px;
        padding-right: 8px;
    }

    .welcome-card,
    .home-hero-banner,
    .home-slot-carousel,
    .home-bingo-card,
    .service-grid {
        width: 100%;
        max-width: 1320px;
        margin-left: auto;
        margin-right: auto;
    }

    .home-hero-banner {
        height: 320px;
    }

    .desktop-hidden {
        display: block;
    }

    @media (min-width: 1024px) {
        .desktop-hidden {
            display: none !important;
        }
    }
}

.home-bingo-overlay .btn-sm {
    width: fit-content;
    padding: 10px 14px;
    font-size: 12px;
}

@keyframes home-slot-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .home-slot-card {
        flex: 0 0 108px;
        width: 108px;
        height: 168px;
        min-height: 168px;
    }
}

.section-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   Service Grid
======================================== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.service-item {
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 16px;
    padding: 18px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.service-item:hover {
    border-color: rgba(52, 211, 153, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
}

.service-item .service-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.8) 0%, rgba(4, 120, 87, 0.8) 100%);
    border: 1px solid rgba(52, 211, 153, 0.6);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
    color: #ffffff;
    font-size: 18px;
}

.service-item span.service-label {
    font-size: 11px;
    font-weight: 700;
    color: rgba(203, 213, 225, 0.85);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   Buttons
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-success:hover {
    background: #059669;
    transform: translateY(-1px);
}

.btn-warning {
    background: var(--warning);
    color: var(--dark);
}

.btn-warning:hover {
    background: #d97706;
    transform: translateY(-1px);
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--card-hover);
    border-color: var(--accent);
    transform: translateY(-1px);
}

/* ========================================
   Modals
======================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-content {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 24px;
    width: 100%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid var(--border-color);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--text-primary);
    background: var(--secondary);
}

/* ========================================
   Toast Notifications - Premium Style
======================================== */
.toast {
    pointer-events: all;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(18, 28, 22, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 10px 16px 10px 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    animation: toastSlideIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    max-width: 320px;
    min-width: 200px;
    white-space: nowrap;
}

.toast.success {
    border-left: 3px solid #10b981;
    border-color: rgba(16, 185, 129, 0.25);
    border-left-color: #10b981;
}

.toast.error {
    border-left: 3px solid #ef4444;
    border-color: rgba(239, 68, 68, 0.25);
    border-left-color: #ef4444;
}

.toast.warning {
    border-left: 3px solid #f59e0b;
    border-color: rgba(245, 158, 11, 0.25);
    border-left-color: #f59e0b;
}

.toast.info {
    border-left: 3px solid #3b82f6;
    border-color: rgba(59, 130, 246, 0.25);
    border-left-color: #3b82f6;
}

.toast-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

.toast.success .toast-icon {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.toast.error .toast-icon {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.toast.warning .toast-icon {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.toast.info .toast-icon {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.toast-content p {
    font-size: 13px;
    font-weight: 600;
    color: #f1f5f9;
    line-height: 1.3;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(60px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* ========================================
   Form Elements
======================================== */
.input-group {
    margin-bottom: 16px;
}

.input-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-field {
    width: 100%;
    padding: 12px 16px;
    background: var(--secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.input-field::placeholder {
    color: var(--text-secondary);
}

/* ========================================
   Quick Values
======================================== */
.quick-values {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.quick-value {
    background: var(--secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-value:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

/* ========================================
   Página Sinuca / Partida
======================================== */
#sinucaPage {
    background: var(--dark);
}

.bg-primary {
    background: var(--primary);
}

.bg-secondary {
    background: var(--secondary);
}

.bg-dark {
    background: var(--dark);
}

.bg-card-bg {
    background: var(--card-bg);
}

.status-tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
}

.status-tab.active {
    background: rgba(16, 185, 129, 0.12);
    color: var(--text-primary);
    border-color: rgba(16, 185, 129, 0.6);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
}

.game-match-card {
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(145deg, rgba(30, 30, 63, 0.95), rgba(15, 15, 26, 0.95));
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.game-match-card img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.betting-option {
    text-align: left;
    border-radius: 18px;
    padding: 18px;
    background: var(--secondary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    transition: all 0.25s ease;
    min-height: 94px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.betting-option:hover,
.betting-option.selected {
    border-color: var(--accent);
    box-shadow: 0 12px 25px rgba(16, 185, 129, 0.25);
    transform: translateY(-2px);
}

.betting-modal-option {
    width: 100%;
    text-align: left;
    padding: 14px;
    border-radius: 16px;
    background: var(--secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    transition: all 0.25s ease;
}

.betting-modal-option.selected {
    border-color: var(--warning);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.25);
}

.betting-modal-option:hover {
    border-color: var(--accent);
}

.stats-card {
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--secondary);
    border-radius: 18px;
}

.sinuca-match-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(145deg, rgba(30, 30, 63, 0.95), rgba(15, 15, 26, 0.95));
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
    min-height: 400px;
}

.betting-tab {
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.betting-tab:hover {
    background: var(--accent) !important;
    color: white !important;
}

.betting-tab.active {
    background: #3b82f6 !important;
    color: white !important;
    border-color: #60a5fa;
}

/* Match Detail Card - Mobile First */
.match-detail-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    margin: 0 0 16px;
}

.match-detail-image {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.match-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.match-detail-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, transparent 40%, var(--card-bg) 100%);
    pointer-events: none;
}

.match-detail-badge-top {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(10, 11, 26, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    z-index: 2;
}

.match-detail-badge-bottom {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(10, 11, 26, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
    white-space: nowrap;
}

.match-detail-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.match-detail-tabs {
    display: flex;
    gap: 8px;
    width: 100%;
    justify-content: center;
}

.match-detail-tab {
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.match-detail-tab.active {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border-color: rgba(59, 130, 246, 0.3);
}

.match-detail-players {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
}

/* Novo layout - Jogadores com fotos nas extremidades e contadores */
.match-detail-players-new {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
    padding: 12px 0;
}

.match-detail-player-left,
.match-detail-player-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.match-detail-player-left {
    flex-direction: row;
}

.match-detail-player-right {
    flex-direction: row-reverse;
}

.match-detail-avatar-large {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.match-detail-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.match-detail-player-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.match-detail-player-left .match-detail-player-info {
    align-items: flex-start;
}

.match-detail-player-right .match-detail-player-info {
    align-items: flex-end;
}

.match-detail-score-counter {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.match-detail-score-value {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}

.match-detail-vs-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0 4px;
}

.match-detail-vs-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.match-detail-time-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(34, 197, 94, 0.15);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--success);
}

.match-detail-time-badge i {
    font-size: 10px;
}

/* Barra de Odds/Progresso */
.match-detail-odds-bar-container {
    margin: 16px 0;
    padding: 0 4px;
}

.match-detail-odds-bar {
    display: flex;
    height: 40px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.match-detail-odds-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.3s ease;
    position: relative;
}

.match-detail-odds-first {
    background: linear-gradient(135deg, #f97316, #ea580c);
}

.match-detail-odds-second {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.match-detail-odds-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.match-detail-odds-percent {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
}

.match-detail-odds-name {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.match-detail-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.match-detail-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.match-detail-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.match-detail-player-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.match-detail-odds {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-light);
}

.match-detail-score {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.match-detail-score-box {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 900;
    color: var(--text-primary);
}

.match-detail-vs {
    font-size: 10px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 1px;
}

.match-detail-bet-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border-radius: 16px;
    border: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: #1a1208;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.match-detail-bet-btn:active {
    transform: scale(0.98);
}

.match-detail-bet-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

/* ========================================
   Animations
======================================== */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.page-enter {
    animation: fadeIn 0.3s ease;
}

/* ========================================
   Sidebar Styles
======================================== */
#sidebar {
    display: none;
    flex-direction: column;
    width: 256px;
    background: linear-gradient(180deg, #0a110e 0%, #050806 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 48px;
    height: calc(100vh - 48px);
    z-index: 30;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    #sidebar {
        display: flex;
        width: 280px;
    }
}

@media (max-width: 767.98px) {
    #sidebar {
        display: flex !important;
        position: fixed !important;
        top: 48px;
        left: 0;
        bottom: 72px;
        width: min(280px, 84vw) !important;
        height: auto;
        z-index: 45;
        transform: translateX(-110%);
        opacity: 0;
        pointer-events: none;
        overflow-y: auto;
        transition: transform 0.22s ease, opacity 0.18s ease;
        box-shadow: 18px 0 40px rgba(0, 0, 0, 0.42);
    }

    body.sidebar-mobile-open #sidebar {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }
}

@media (min-width: 1024px) {
    #sidebar {
        top: 56px;
        height: calc(100vh - 56px);
    }
}

#sidebar .sidebar-nav {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
}

.sidebar-nav-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.sidebar-nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
}

.sidebar-nav-item.active {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.15) 0%, transparent 100%);
    border-left: 3px solid var(--accent-light);
}

.sidebar-nav-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.sidebar-nav-label {
    font-weight: 500;
}

.sidebar-section-title {
    padding: 16px 12px 8px;
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sidebar-nav-item.active .sidebar-nav-icon {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: white;
}

#sidebar .sidebar-footer {
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

#sidebar .sidebar-footer p {
    font-size: 11px;
    color: #6b7280;
}

.desktop-auth-guard {
    display: flex;
}

@media (min-width: 1024px) {
    .desktop-auth-guard:not(.auth-visible) {
        display: none !important;
    }
}

/* ========================================
   Responsive Design
======================================== */
@media (min-width: 768px) {
    /* Container principal para desktop */
    .main-container {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 32px;
    }

    /* Header mais espaçoso */
    .app-header {
        padding: 16px 0;
    }

    .logo-text {
        font-size: 24px;
    }

    .balance-pill {
        font-size: 16px;
        padding: 10px 20px;
    }

    /* Ocultar navegação inferior no desktop */
    .bottom-nav {
        display: none;
    }

    /* Ajustar padding do main content já que não tem bottom nav */
    #mainContent {
        padding-bottom: 40px;
    }

    /* Grid de serviços com 4 colunas */
    .service-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .service-item {
        padding: 28px 20px;
    }

    .service-item .service-icon {
        width: 56px;
        height: 56px;
        font-size: 20px;
    }

    .service-item span.service-label {
        font-size: 13px;
    }

    /* Welcome card melhorado */
    .welcome-card {
        padding: 20px 18px;
        margin-bottom: 20px;
        max-width: 980px;
    }

    .welcome-card .greeting {
        font-size: 13px;
    }

    .welcome-card .user-name {
        font-size: 20px;
    }

    /* Grid de jogos */
    .games-grid {
        gap: 16px;
    }

    .games-grid .game-card {
        height: 180px;
    }

    /* Matches page */
    .matches-page {
        padding: 0;
    }

    .match-list-card {
        padding: 20px;
    }

    /* Wallet page */
    .wallet-balance-card {
        padding: 40px;
    }

    .wallet-balance-value {
        font-size: 48px;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    /* Ajustes para telas maiores */
    .service-grid {
        gap: 24px;
    }

    .games-grid .game-card {
        height: 200px;
    }

    .main-container {
        padding: 0 48px;
    }
}

/* ========================================
   Utility Classes
======================================== */
.text-accent {
    color: var(--accent-light);
}

.text-success {
    color: var(--success);
}

.text-warning {
    color: var(--warning);
}

.text-danger {
    color: var(--danger);
}

.bg-accent {
    background-color: var(--accent);
}

.bg-success {
    background-color: var(--success);
}

.bg-warning {
    background-color: var(--warning);
}

.bg-danger {
    background-color: var(--danger);
}

.hidden {
    display: none !important;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================================
   Header Back + Title (páginas internas)
======================================== */
.header-back {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
}

.header-title {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
    text-transform: uppercase;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ========================================
   Matches Page
======================================== */
.matches-page {
    padding: 16px;
}

.matches-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.match-status-pill {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary);
    transition: all 0.25s ease;
}

.match-status-pill:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.match-status-pill.active {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: #1a1208;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.45);
}

.match-status-pill i {
    font-size: 12px;
}

/* Skeletons */
.matches-skeleton {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.skeleton-row {
    height: 74px;
    border-radius: 16px;
    background: linear-gradient(
        90deg,
        rgba(30, 33, 58, 0.6) 0%,
        rgba(42, 46, 76, 0.8) 50%,
        rgba(30, 33, 58, 0.6) 100%
    );
    background-size: 200% 100%;
    animation: skeletonShimmer 1.6s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

@keyframes skeletonShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Empty State */
.matches-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: #6b7a9e;
}

.matches-empty i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.matches-empty p {
    font-size: 14px;
    font-weight: 500;
}

/* Match List Card - Mobile First */
.matches-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.match-list-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    overflow: hidden;
}

.match-list-card:active {
    transform: scale(0.98);
    background: var(--card-hover);
}

.match-list-card--bg {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-color: rgba(255, 255, 255, 0.10);
}
.match-list-card--bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,11,26,0.84) 0%, rgba(10,11,26,0.76) 100%);
    border-radius: 16px;
    z-index: 0;
}
.match-list-card--bg > * {
    position: relative;
    z-index: 1;
}
.match-list-card--bg:active {
    background-color: transparent;
}

.match-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.match-list-sport {
    display: flex;
    align-items: center;
    gap: 8px;
}

.match-list-sport-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(52, 211, 153, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    font-size: 12px;
}

.match-list-sport-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.match-list-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
}

.match-list-status.live {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
}

.match-list-status.finished {
    background: rgba(156, 163, 175, 0.1);
    color: var(--text-secondary);
}

.match-list-status.scheduled {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    display: inline-block;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.match-list-body {
    display: flex;
    align-items: center;
    gap: 8px;
}

.match-list-player {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.match-list-player.winner {
    opacity: 1;
}

.match-list-player-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.match-list-avatar {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #2a2e4c;
    border: 2px solid #2a2e4c;
}

.match-list-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-winner {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7px;
    color: #1a1208;
    border: 1px solid var(--card-bg);
}

.match-list-player-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.match-list-player-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.match-list-odds {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-light);
}

.match-list-score {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.match-list-score.winner {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
}

.match-list-vs {
    font-size: 10px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 1px;
    flex-shrink: 0;
    padding: 0 2px;
}

.match-list-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.match-list-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    color: var(--text-secondary);
}

.match-list-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.match-list-meta i {
    font-size: 10px;
}

.match-list-action {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.match-list-action.bet-open {
    color: var(--gold);
}

/* ========================================
   Deposit Page
======================================== */
.quick-amount-btn {
    padding: 16px 8px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
}

.quick-amount-btn:hover {
    border-color: rgba(52, 211, 153, 0.4);
    background: rgba(52, 211, 153, 0.08);
    color: var(--accent-light);
}

.quick-amount-btn.selected {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: #1a1208;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}

/* ========================================
   Games Page
======================================== */
.sport-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.sport-filter-btn:hover {
    border-color: rgba(52, 211, 153, 0.4);
    background: rgba(52, 211, 153, 0.08);
    color: var(--accent-light);
}

.sport-filter-btn.active {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.sport-filter-btn i {
    font-size: 14px;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.games-list,
.games-category-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

@media (min-width: 640px) {
    .games-category-tiles {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.games-category-tile {
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0;
}

.game-item-card {
    position: relative;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(17, 24, 39, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-item-card:hover {
    transform: translateY(-2px);
    border-color: rgba(52, 211, 153, 0.3);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.game-item-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.game-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.game-item-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.22) 0%, rgba(4, 120, 87, 0.28) 100%);
    color: rgba(255, 255, 255, 0.85);
    font-size: 42px;
}

.game-item-name {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 12px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), transparent);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.game-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, transparent 40%, rgba(21, 24, 47, 0.9) 100%);
    pointer-events: none;
}

.game-item-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(10, 11, 26, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.game-item-content {
    display: none;
}

.game-item-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.game-item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.game-item-matches {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
}

.game-item-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
}

.game-item-status.active {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}

.game-item-status.inactive {
    background: rgba(107, 114, 128, 0.15);
    color: #9ca3af;
}

.games-skeleton {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.skeleton-game {
    aspect-ratio: 3 / 4;
    border-radius: 14px;
    background: linear-gradient(
        90deg,
        rgba(30, 33, 58, 0.6) 0%,
        rgba(42, 46, 76, 0.8) 50%,
        rgba(30, 33, 58, 0.6) 100%
    );
    background-size: 200% 100%;
    animation: skeletonShimmer 1.6s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.stell-games-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.stell-game-card,
.skeleton-game-card {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(17, 24, 39, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.stell-game-card:hover,
.skeleton-game-card:hover {
    transform: translateY(-2px);
    border-color: rgba(52, 211, 153, 0.3);
}

.stell-game-image,
.skeleton-game-image {
    width: 100%;
    height: 100%;
}

.stell-game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (min-width: 640px) {
    .games-list,
    .games-skeleton,
    .stell-games-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (min-width: 1024px) {
    .games-list,
    .games-skeleton,
    .stell-games-list {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/* ========================================
   Profile Page
======================================== */
.profile-tabs {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 6px;
}

.profile-tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 12px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.profile-tab:hover {
    color: var(--text-primary);
}

.profile-tab.active {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.profile-card {
    background: linear-gradient(180deg, #1b2a24 0%, #15182f 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.profile-avatar-text {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
}

.profile-name {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.profile-email {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.settings-section {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
}

.settings-section-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.settings-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.25s ease;
}

.settings-item:last-child {
    border-bottom: none;
}

.settings-item:hover {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    margin: 0 -12px;
    padding: 16px 12px;
}

.settings-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(52, 211, 153, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    font-size: 16px;
    flex-shrink: 0;
}

.settings-item-icon.text-danger {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

.settings-item-content {
    flex: 1;
}

.settings-item-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.settings-item-label.text-danger {
    color: var(--danger);
}

.settings-item-value {
    font-size: 13px;
    color: var(--text-secondary);
}

.settings-item-action {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.settings-item-action:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.stat-card {
    background: var(--secondary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 20px;
    text-align: center;
}

.stat-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-light);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   Wallet Page
======================================== */
.wallet-balance-card {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 50%, var(--accent-light) 100%);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.3);
}

.wallet-balance-label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.wallet-balance-value {
    font-size: 36px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
}

.wallet-balance-actions {
    display: flex;
    gap: 12px;
}

.wallet-action-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 12px;
    border: none;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wallet-action-btn.deposit {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.wallet-action-btn.deposit:hover {
    background: rgba(255, 255, 255, 0.3);
}

.wallet-action-btn.withdraw {
    background: rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.wallet-action-btn.withdraw:hover {
    background: rgba(0, 0, 0, 0.3);
}

.transactions-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.transaction-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    transition: background 0.2s ease;
}

.transaction-item-bet {
    cursor: pointer;
}

.transaction-item-bet:hover {
    background: rgba(255, 255, 255, 0.05);
}

.transaction-item:active {
    background: var(--card-hover);
}

.transaction-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.transaction-item-icon.credit {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
}

.transaction-item-icon.debit {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

.transaction-item-content {
    flex: 1;
    min-width: 0;
}

.transaction-item-desc {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.transaction-item-date {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.transaction-item-amount {
    text-align: right;
    flex-shrink: 0;
}

.transaction-item-amount p:first-child {
    font-size: 14px;
}

.transaction-item-status {
    font-size: 10px;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* ════════════════════════════════════════════════
   MATCH PAGE — layout unificado (referência)
════════════════════════════════════════════════ */
.match-page { display: flex; flex-direction: column; }
.match-page-body { display: flex; flex-direction: column; gap: 12px; padding: 12px 12px 16px; }

/* ── HERO (novo) ── */
.mh-hero {
    position: relative;
    min-height: 270px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    margin: 12px 12px 0;
    border-radius: 20px 20px 0 0;
    border: 1px solid rgba(255,255,255,0.08);
    border-bottom: none;
}
.mh-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8,10,24,0.6) 0%, rgba(8,10,24,0.82) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 14px 18px;
    gap: 10px;
    min-height: 270px;
}

/* topo */
.mh-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.mh-sport-badge {
    background: #f59e0b;
    color: #0f1226;
    font-size: 11px;
    font-weight: 900;
    padding: 5px 13px;
    border-radius: 999px;
    letter-spacing: 0.8px;
}
.mh-status-badge {
    background: rgba(8,10,24,0.7);
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(8px);
    color: #d1d5db;
    font-size: 10px;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 5px;
    max-width: 60%;
    text-align: right;
}

/* modalidade */
.mh-modality-pill {
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 20px;
    border-radius: 999px;
    text-align: center;
}

/* jogadores */
.mh-players-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 4px;
    gap: 8px;
}
.mh-player-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}
.mh-av {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255,255,255,0.2);
    background: rgba(0,0,0,0.35);
    flex-shrink: 0;
}
.mh-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mh-av--p1 { border-color: rgba(34,197,94,0.55); }
.mh-av--p2 { border-color: rgba(239,68,68,0.55); }
.mh-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 5px rgba(0,0,0,0.9);
    line-height: 1.25;
}

/* score */
.mh-score-col {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.mh-num {
    font-size: 48px;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    line-height: 1;
    min-width: 34px;
    text-align: center;
}
.mh-vs-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f97316;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(249,115,22,0.55);
}

/* título / subtítulo */
.mh-title-pill {
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(0,0,0,0.45);
    padding: 4px 16px;
    border-radius: 999px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

/* ── BARRA DE APOSTAS (nova) ── */
.mh-bets-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    margin: 0 12px;
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.08);
    border-top: none;
    border-radius: 0 0 20px 20px;
}
.mh-bets-side {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.mh-bets-side--right { flex-direction: row-reverse; }
.mh-bets-av {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.12);
    background: #1b2a24;
    flex-shrink: 0;
}
.mh-bets-av img { width: 100%; height: 100%; object-fit: cover; }
.mh-bets-pct {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    min-width: 34px;
}
.mh-bets-side--right .mh-bets-pct { text-align: right; }
.mh-bets-track {
    flex: 1;
    display: flex;
    height: 12px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
}
.mh-bets-fill { height: 100%; transition: width 0.5s ease; }
.mh-bets-fill--p1 { background: linear-gradient(90deg, #f59e0b, #f97316); }
.mh-bets-fill--p2 { background: linear-gradient(90deg, #16a34a, #22c55e); }

/* ── BARRA DE ODDS (legado) ── */
.odds-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    padding: 12px 16px;
}
.odds-bar-side {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.odds-bar-side--right { flex-direction: row-reverse; }
.odds-bar-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.15);
}
.odds-bar-pct {
    font-size: 13px;
    font-weight: 700;
    color: #d1d5db;
    min-width: 34px;
    text-align: center;
}
.odds-bar-track {
    flex: 1;
    display: flex;
    height: 16px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255,255,255,0.06);
}
.odds-bar-seg { height: 100%; transition: width 0.4s ease; }
.odds-bar-seg--p1 { background: linear-gradient(90deg, #f59e0b, #f97316); }
.odds-bar-seg--p2 { background: linear-gradient(90deg, #16a34a, #22c55e); }

/* ── BARRA DE APOSTAS ── */
.bets-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px 12px;
    margin: -4px 0 4px;
}
.bets-bar-side {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 60px;
}
.bets-bar-side--right { justify-content: flex-end; }
.bets-bar-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.1);
}
.bets-bar-pct {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    min-width: 34px;
    text-align: center;
}
.bets-bar-track {
    flex: 1;
    display: flex;
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255,255,255,0.06);
}
.bets-bar-seg { height: 100%; transition: width 0.4s ease; }
.bets-bar-seg--p1 { background: linear-gradient(90deg, #f59e0b, #f97316); }
.bets-bar-seg--p2 { background: linear-gradient(90deg, #16a34a, #22c55e); }

/* ── CARD DE PARTIDA v2 ── */
.match-card-v2 {
    border-radius: 20px;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 16px;
    cursor: pointer;
    transition: transform 0.15s;
}
.match-card-v2:active { transform: scale(0.98); }

/* Seção da imagem (topo) */
.mc-image {
    position: relative;
    height: 140px;
    background-color: #1b2a24;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px;
}
.mc-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,12,30,0.4) 0%, rgba(10,12,30,0.2) 50%, rgba(10,12,30,0.6) 100%);
}
.mc-image-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mc-image-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}
.mc-badge-sport {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(15,18,38,0.75);
    backdrop-filter: blur(6px);
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.mc-badge-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(15,18,38,0.7);
    backdrop-filter: blur(6px);
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
}
.mc-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(220,38,38,0.85);
    font-size: 10px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
}
.mc-finished-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(50,50,70,0.85);
    font-size: 10px;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
}

/* Seção inferior (escura) */
.mc-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.mc-modalities {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}
.mc-modality-pill {
    padding: 4px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 10px;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

/* Jogadores */
.mc-players {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.mc-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    flex: 1;
}
.mc-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.1);
    background: #1b2a24;
}
.mc-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mc-avatar.winner {
    border-color: #22c55e;
    box-shadow: 0 0 10px rgba(34,197,94,0.35);
}
.mc-player-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-align: center;
}
.mc-odds {
    font-size: 12px;
    font-weight: 700;
    color: #34d399;
}

/* Score */
.mc-score-area {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.mc-score {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255,255,255,0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}
.mc-score.winner {
    background: rgba(34,197,94,0.15);
    color: #22c55e;
}
.mc-vs {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.3);
}

/* Botão */
.mc-bet-btn {
    width: 100%;
    padding: 14px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(90deg, #f59e0b, #f97316);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.15s;
}
.mc-bet-btn:active { transform: scale(0.97); }
.mc-bet-btn--locked {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.4);
    cursor: default;
}

/* ── DETALHES DA PARTIDA ── */
.md-card {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: rgba(255,255,255,0.04);
}
.md-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    padding: 14px 16px 12px;
    background: var(--card-bg);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.md-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    background: var(--card-bg);
    text-align: center;
}
.md-item:last-child { border-radius: 0 0 16px 16px; }
.md-item-header {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}
.md-item-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(255,255,255,0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 13px;
    flex-shrink: 0;
}
.md-item-label {
    font-size: 10px;
    font-weight: 800;
    color: #6b7280;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.md-item-value {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
}
.md-status-badge {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 999px;
    margin-top: 2px;
}
.md-status-badge--open   { background: rgba(34,197,94,0.15);  color: #22c55e; border: 1px solid rgba(34,197,94,0.3); }
.md-status-badge--closed { background: rgba(239,68,68,0.15);   color: #ef4444; border: 1px solid rgba(239,68,68,0.3); }

/* ── BOTÃO APOSTAR ── */
.apostar-btn {
    width: 100%;
    background: #22c55e;
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 2px;
    padding: 16px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.2s, transform 0.1s;
    box-shadow: 0 6px 20px rgba(34,197,94,0.35);
}
.apostar-btn:active  { transform: scale(0.98); }
.apostar-btn:hover   { background: #16a34a; }
.apostar-btn--disabled {
    background: #374151;
    color: #9ca3af;
    box-shadow: none;
    cursor: not-allowed;
}
.apostar-btn--live {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    box-shadow: 0 6px 20px rgba(245,158,11,0.4);
    animation: pulse-glow 2s ease-in-out infinite;
}
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 6px 20px rgba(245,158,11,0.4); }
    50% { box-shadow: 0 6px 30px rgba(245,158,11,0.6); }
}

/* ── MINHAS APOSTAS / STREAM ── */
.match-section-card {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    overflow: hidden;
}
.match-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.match-section-refresh {
    color: #6b7280;
    font-size: 14px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.match-section-empty {
    text-align: center;
    color: #6b7280;
    font-size: 13px;
    padding: 20px 16px;
}

/* ── ITENS DE APOSTA (Minhas Apostas) ── */
.mbi-row {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mbi-row:last-child { border-bottom: none; }
.mbi-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.mbi-label {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}
.mbi-badge {
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 999px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    flex-shrink: 0;
}
.mbi-pending   { background: rgba(251,191,36,0.12);  color: #fbbf24; border: 1px solid rgba(251,191,36,0.25); }
.mbi-won       { background: rgba(34,197,94,0.12);   color: #22c55e; border: 1px solid rgba(34,197,94,0.25);  }
.mbi-lost      { background: rgba(239,68,68,0.12);   color: #ef4444; border: 1px solid rgba(239,68,68,0.25);  }
.mbi-cancelled { background: rgba(107,114,128,0.12); color: #9ca3af; border: 1px solid rgba(107,114,128,0.25); }
.mbi-confirmed { background: rgba(34,197,94,0.15);   color: #22c55e; border: 1px solid rgba(34,197,94,0.35);  }
.mbi-partial   { background: rgba(99,102,241,0.15);  color: #818cf8; border: 1px solid rgba(99,102,241,0.35); }
.mbi-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: #9ca3af;
}
.mbi-details strong { color: #e5e7eb; }
.mbi-matched   { color: #22c55e; }
.mbi-unmatched { color: #fbbf24; }
.mbi-code {
    font-size: 10px;
    color: #4b5563;
    font-family: monospace;
}

.match-stream-card {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    overflow: hidden;
}
.match-stream-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
}

/* ── PAINEL DE APOSTA (MODAL) ── */
.bp-panel { display: flex; flex-direction: column; gap: 0; }
.bp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 16px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    margin-bottom: 16px;
}
.bp-title { font-size: 15px; font-weight: 800; color: #fff; letter-spacing: 1px; }
.bp-close {
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: none; color: #9ca3af; cursor: pointer;
    display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.bp-section-label {
    font-size: 11px;
    font-weight: 800;
    color: #6b7280;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.bp-step {
    width: 20px; height: 20px;
    border-radius: 50%;
    background: rgba(124,58,237,0.2);
    color: var(--accent-light);
    font-size: 11px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
}
.bp-competitors { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.bp-competitor {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}
.bp-competitor--active {
    border-color: rgba(124,58,237,0.5);
    background: rgba(124,58,237,0.1);
}
.bp-comp-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
}
.bp-comp-avatar--icon {
    background: rgba(124,58,237,0.2);
    color: var(--accent-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
}
.bp-comp-name { flex: 1; font-size: 14px; font-weight: 600; color: #fff; }
.bp-comp-odds { font-size: 12px; font-weight: 700; color: #f59e0b; }
.bp-radio {
    width: 20px; height: 20px;
    border-radius: 50%;
    border: 2px solid #374151;
    flex-shrink: 0;
    transition: all 0.2s;
}
.bp-radio--active {
    border-color: var(--accent);
    background: radial-gradient(circle, var(--accent) 50%, transparent 55%);
    box-shadow: 0 0 0 3px rgba(124,58,237,0.2);
}
.bp-amount-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 8px 12px;
}
.bp-amount-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff; font-size: 20px; font-weight: 700;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: background 0.2s;
}
.bp-amount-btn:hover { background: rgba(255,255,255,0.15); }
.bp-amount-display {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
}
.bp-amount-currency { font-size: 14px; font-weight: 700; color: #9ca3af; }
.bp-amount-input {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    width: 100px;
    text-align: center;
    outline: none;
}
.bp-quick-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
    align-items: center;
}
.bp-quick-label { font-size: 10px; font-weight: 700; color: #6b7280; width: 100%; }
.bp-quick-val {
    padding: 6px 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #d1d5db;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.bp-quick-val:hover { background: rgba(255,255,255,0.12); color: #fff; }
.bp-quick-clear {
    padding: 6px 10px;
    background: transparent;
    border: none;
    color: #6b7280;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    margin-left: auto;
}
.bp-slip-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}
.slip-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 12px;
}
.slip-item-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.slip-item-left strong {
    color: #ffffff;
    font-size: 14px;
}
.slip-item-left span {
    color: #9ca3af;
    font-size: 13px;
}
.slip-item-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.slip-remove {
    border: none;
    background: transparent;
    color: #f87171;
    font-size: 12px;
    cursor: pointer;
}
.slip-remove:hover {
    text-decoration: underline;
}
.bp-status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    color: #d1d5db;
    font-weight: 700;
}
.bp-potential {
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.2);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    color: #d1fae5;
    margin-bottom: 14px;
    text-align: center;
}
.bp-potential strong { color: #22c55e; }
.bp-confirm-btn {
    width: 100%;
    background: #22c55e;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 1px;
    padding: 15px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
    box-shadow: 0 4px 16px rgba(34,197,94,0.3);
    margin-bottom: 12px;
}
.bp-confirm-btn:hover { background: #16a34a; }
.bp-confirm-btn--disabled,
.bp-confirm-btn:disabled {
    background: #374151;
    color: #6b7280;
    box-shadow: none;
    cursor: not-allowed;
}
.bp-balance {
    text-align: center;
    font-size: 12px;
    color: #6b7280;
}
.bp-balance strong { color: #d1d5db; }

/* ── NOVAS CLASSES "MINHAS APOSTAS" CARD V2 ── */
.mbi-card-v2 {
    background: rgba(16, 21, 43, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    overflow: hidden;
}
.mbi-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.mbi-card-player {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
}
.mbi-card-badge {
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.mbi-badge-confirmed {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}
.mbi-badge-partial {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}
.mbi-badge-pending {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}
.mbi-badge-won {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.mbi-badge-lost {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}
.mbi-badge-refunded {
    background: rgba(107, 114, 128, 0.15);
    color: #9ca3af;
    border: 1px solid rgba(107, 114, 128, 0.3);
}
.mbi-card-subtitle {
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.mbi-card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 4px 0;
}
.mbi-info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #9ca3af;
}
.mbi-info-row i {
    width: 14px;
    text-align: center;
    color: #6b7280;
}
.mbi-info-row strong {
    color: #ffffff;
    font-weight: 600;
}
.mbi-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 6px;
}
.mbi-grid-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.mbi-grid-label {
    font-size: 9px;
    font-weight: 800;
    color: #6b7280;
    letter-spacing: 0.5px;
}
.mbi-grid-value {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
}
.mbi-val-casado {
    color: #3b82f6 !important;
}
.mbi-val-pendente {
    color: #f59e0b !important;
}
.mbi-val-extornado {
    color: #9ca3af !important;
}
.mbi-card-progress {
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 999px;
    margin-top: 6px;
    overflow: hidden;
}
.mbi-card-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    border-radius: 999px;
    transition: width 0.3s ease;
}
