/**
 * index.css - Estilos Específicos da Página Inicial (Esportes)
 */

/* Banner Slider */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-slider .slide {
    display: none;
    width: 100%;
}

.hero-slider .slide.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.hero-slider .slide-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
}

.slider-nav {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dot {
    width: 9px;
    height: 9px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #ffffff;
    width: 22px;
    border-radius: 10px;
}

/* Seção de Torneios Populares */
.hot-tournaments-section {
    padding: 15px 10px 5px 10px;
    background: var(--nav-bg);
    border-bottom: 1px solid var(--divider-color);
}

.section-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-left: 5px;
}

.section-title-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.section-title-text {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Container de Rolagem de Torneios */
.tournaments-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.tournaments-scroll::-webkit-scrollbar {
    display: none;
}

/* Card do Torneio */
.tournament-card {
    flex: 0 0 auto;
    width: 140px;
    height: 85px;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s;
    scroll-snap-align: start;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tournament-card:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

.tournament-card.active {
    border: 2px solid #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.card-top {
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.card-flag {
    width: 20px;
    height: 20px;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px;
}

.card-sport-name {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    text-transform: uppercase;
}

.card-league-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.card-bg-icon {
    position: absolute;
    bottom: -5px;
    right: -5px;
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.15);
    transform: rotate(-15deg);
    z-index: 1;
}

/* Barra de Navegação por Datas */
.date-nav-full {
    display: flex;
    width: 100%;
    background: transparent;
    padding: 10px 10px;
    margin-bottom: 10px;
    border-bottom: none;
    justify-content: center;
    gap: 15px;
}

.date-link-full {
    flex: 0 1 auto;
    min-width: 120px;
    text-align: center;
    padding: 10px 0;
    color: var(--nav-text-inactive) !important;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    border-bottom: none;
    transition: 0.2s;
    background: var(--nav-bg-inactive) !important;
    border: 1px solid var(--divider-color);
    border-radius: 8px;
}

.date-link-full:hover {
    color: var(--text-main);
    border-color: var(--nav-active-bg);
}

.date-link-full.active {
    color: var(--nav-text-active) !important;
    background-color: var(--nav-active-bg) !important;
    border-color: var(--nav-active-bg) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Select de Filtro de Status */
#status-filter-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: var(--bg-card) !important;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23a0a0a0%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 7px;
    padding: 4px 25px 4px 10px !important;
    border-radius: 4px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--text-main) !important;
    font-size: 0.7rem !important;
    font-weight: 600;
    cursor: pointer;
    height: 26px !important;
}

#status-filter-select:focus {
    border-color: rgba(255, 255, 255, 0.3) !important;
    outline: none;
}

#status-filter-select option {
    background-color: var(--bg-card);
    color: var(--text-main);
}

/* Animação dos jogos da Liga */
.league-games {
    animation: fadeIn 0.4s ease-out;
}

/* Estilos de Apostas Turbinadas */
.boosted-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.boosted-container::-webkit-scrollbar {
    display: none;
}

.boosted-card {
    flex: 0 0 280px;
    background-color: var(--bg-card) !important;
    border-radius: 16px !important;
    border: 1px solid var(--divider-color) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    position: relative;
    transition: transform 0.2s ease;
}

.boosted-card:hover {
    transform: translateY(-2px);
}

.boosted-header {
    background-color: var(--boosted-header-bg, transparent) !important;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.boosted-title {
    color: var(--boosted-title-color, #ffffff) !important;
    font-weight: 800;
    font-size: 0.85rem;
}

.boosted-info,
.boosted-sel-market {
    color: var(--boosted-text-color, #a0a0a0) !important;
    font-size: 0.75rem;
}

.boosted-match,
.boosted-sel-name {
    color: var(--boosted-title-color, #ffffff) !important;
    font-weight: 700;
}

.boosted-fire {
    background: var(--boosted-fire-bg, rgba(255, 255, 255, 0.1)) !important;
    color: var(--boosted-fire-text, #ffffff) !important;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 800;
}

.boosted-new-val {
    color: var(--boosted-btn-text, #FFD700) !important;
    font-weight: 900;
}

.boosted-btn {
    border-radius: 12px !important;
    background: var(--boosted-btn-bg, #3e3e3e) !important;
    color: var(--boosted-btn-text, #FFD700) !important;
    padding: 8px 12px;
    border: none;
    font-weight: 800;
    cursor: pointer;
    transition: filter 0.2s;
}

.boosted-btn:hover {
    filter: brightness(1.15);
}

.boosted-card.locked {
    opacity: 0.7;
    pointer-events: none;
    filter: grayscale(0.8);
}

.boosted-card.locked .boosted-btn {
    background: #333 !important;
    color: #777 !important;
}

/* Piscar Odds ao Atualizar */
.blink-up {
    animation: blinkGreen 1.5s ease-out;
}

.blink-down {
    animation: blinkRed 1.5s ease-out;
}

@keyframes blinkGreen {
    0% {
        background-color: rgba(16, 185, 129, 0.4) !important;
    }

    100% {
        background-color: inherit;
    }
}

@keyframes blinkRed {
    0% {
        background-color: rgba(239, 68, 68, 0.4) !important;
    }

    100% {
        background-color: inherit;
    }
}

/* ==========================================================================
   CAROUSEL BANNER DE JOGOS EM DESTAQUE (ESTILO 1WIN / BRABET)
   ========================================================================== */
.featured-matches-section {
    position: relative;
    padding: 14px 10px 18px 10px;
    background: var(--nav-bg, rgba(255, 255, 255, 0.02));
    border-bottom: 1px solid var(--divider-color, rgba(255, 255, 255, 0.08));
    overflow: hidden;
}

.featured-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 0 4px;
}
.featured-title-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.featured-slider-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}
.feat-nav-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-color, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.feat-nav-btn:hover {
    background: var(--primary-color, #10B981);
    color: #000000;
    border-color: transparent;
    transform: scale(1.08);
}

/* Viewport e Trilho do Carousel */
.featured-carousel-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding-bottom: 6px;
    cursor: grab;
    user-select: none;
}
.featured-carousel-viewport:active {
    cursor: grabbing;
}
.featured-carousel-track {
    display: flex;
    transition: transform 0.38s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* Card Individual (Slide) */
.swiper-slide.sc-rlqmlk-1 {
    flex: 0 0 calc(33.333% - 8px);
    max-width: calc(33.333% - 8px);
    box-sizing: border-box;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 1024px) {
    .swiper-slide.sc-rlqmlk-1 {
        flex: 0 0 calc(50% - 6px);
        max-width: calc(50% - 6px);
    }
}

@media (max-width: 640px) {
    .swiper-slide.sc-rlqmlk-1 {
        flex: 0 0 88%;
        max-width: 88%;
    }
}

/* Card Estrutura Visual */
.sc-18xw1ca-0.kqbVmn.sc-rlqmlk-2.hsoIyR {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--feat-card-bg, #14171d);
    border: 1px solid var(--feat-card-border, rgba(255, 255, 255, 0.1));
    color: var(--feat-text, #ffffff);
    min-height: 180px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: all 0.25s ease;
}
.sc-18xw1ca-0:hover {
    border-color: rgba(var(--primary-rgb, 16, 185, 129), 0.5);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
}

.sc-1djzvw3-0.tbUMD {
    position: relative;
    width: 100%;
    height: 100%;
}

.sc-1djzvw3-2.cNkUaB {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}
.sc-1djzvw3-2.cNkUaB::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20, 23, 29, 0.94) 0%, rgba(20, 23, 29, 0.78) 55%, rgba(20, 23, 29, 0.92) 100%);
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--feat-card-bg, #14171d) 94%, transparent) 0%,
        color-mix(in srgb, var(--feat-card-bg, #14171d) 78%, transparent) 55%,
        color-mix(in srgb, var(--feat-card-bg, #14171d) 92%, transparent) 100%);
    pointer-events: none;
}
.sc-1djzvw3-3.jOdvV {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    filter: brightness(0.9);
}

.sc-1djzvw3-10.elDAzq {
    position: relative;
    z-index: 2;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
    box-sizing: border-box;
}

/* Header do Card: Categoria / Liga & Status */
.sc-i0i4ac-0.kvMldC {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}
.sc-o2zkz8-0.dWLVDS .sc-o2zkz8-5.eEMoLh {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--feat-text, #94a3b8);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.sc-o2zkz8-1.kqcXxF {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color, #10B981);
}
.sc-o2zkz8-4.cotyiY {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 170px;
}
.sc-16ixfl8-0.kfOJvJ.sc-i0i4ac-4.ehcbQe {
    background: color-mix(in srgb, var(--feat-text, #ffffff) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--feat-text, #ffffff) 18%, transparent);
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 0.68rem;
    font-weight: 800;
    color: #f2fc40;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.2px;
}

/* Confronto / Times */
.sc-1djzvw3-8.jjiMhI {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 4px 0 10px 0;
    transition: opacity 0.2s ease;
}
.sc-1djzvw3-8.jjiMhI:hover {
    opacity: 0.9;
}
.sc-1djzvw3-9 {
    display: flex;
    align-items: center;
    gap: 8px;
}
.sc-1djzvw3-6.hpqCaj {
    flex-shrink: 0;
}
.sc-tu0l0b-0.jaLcWa {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    box-sizing: border-box;
}
.sc-tu0l0b-2.hSOGfg {
    width: 24px;
    height: 24px;
    object-fit: contain;
}
.sc-1djzvw3-7.dkxpaW {
    color: var(--feat-text, #ffffff);
    font-size: 0.88rem;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mercado 1x2 e Outcome Plates */
.sc-1djzvw3-11.fzpRhV {
    margin-top: auto;
}
.sc-rw1scb-0.kNtrsa {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.sc-1w0fsw0-0.lokgLt {
    display: flex;
    align-items: center;
}
.sc-1w0fsw0-1.gQDCpW {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--feat-odd-label, #94a3b8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.sc-2gsnxx-0.bFHGxn.sc-rw1scb-1.icLCpv {
    display: flex;
    gap: 6px;
    width: 100%;
}

/* Plates de ODD (cores controladas em Temas > Destaques) */
.sc-18xw1ca-0 .sc-7elhv3-0.btcqhm.sc-2m648q-1.ubVNw {
    flex: 1;
    min-height: 36px;
    background: var(--feat-odd-bg, rgba(255, 255, 255, 0.07)) !important;
    border: 1px solid var(--feat-card-border, rgba(255, 255, 255, 0.12)) !important;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    box-sizing: border-box;
    cursor: pointer;
    transition: all 0.18s ease;
    user-select: none;
}
.sc-18xw1ca-0 .sc-7elhv3-0:hover,
.sc-18xw1ca-0 .sc-7elhv3-0.selected,
.sc-18xw1ca-0 .sc-7elhv3-0.active {
    background: var(--feat-odd-active-bg, var(--primary-color, #10B981)) !important;
    border-color: var(--feat-odd-active-bg, var(--primary-color, #10B981)) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.25) !important;
}
.sc-18xw1ca-0 .sc-7elhv3-0:hover *,
.sc-18xw1ca-0 .sc-7elhv3-0.selected *,
.sc-18xw1ca-0 .sc-7elhv3-0.active * {
    color: var(--feat-odd-active-text, #000000) !important;
}

.sc-18xw1ca-0 .sc-7elhv3-2.KrVIL,
.sc-18xw1ca-0 .sc-7elhv3-2.KrVIL * {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--feat-odd-label, #94a3b8) !important;
    text-transform: uppercase;
    transition: color 0.18s;
}
.sc-18xw1ca-0 .sc-1oeg2ad-0.iHqrmd,
.sc-18xw1ca-0 .sc-1oeg2ad-0.iHqrmd * {
    font-size: 0.86rem;
    font-weight: 900;
    color: var(--feat-odd-text, #ffffff) !important;
    font-variant-numeric: tabular-nums;
    transition: color 0.18s;
}
/* Re-aplica cor ativa com maior especificidade sobre os rótulos/números */
.sc-18xw1ca-0 .sc-7elhv3-0:hover .sc-7elhv3-2 *,
.sc-18xw1ca-0 .sc-7elhv3-0.selected .sc-7elhv3-2 *,
.sc-18xw1ca-0 .sc-7elhv3-0.active .sc-7elhv3-2 *,
.sc-18xw1ca-0 .sc-7elhv3-0:hover .sc-1oeg2ad-0 *,
.sc-18xw1ca-0 .sc-7elhv3-0.selected .sc-1oeg2ad-0 *,
.sc-18xw1ca-0 .sc-7elhv3-0.active .sc-1oeg2ad-0 *,
.sc-18xw1ca-0 .sc-7elhv3-0:hover .sc-7elhv3-2,
.sc-18xw1ca-0 .sc-7elhv3-0.selected .sc-7elhv3-2,
.sc-18xw1ca-0 .sc-7elhv3-0.active .sc-7elhv3-2,
.sc-18xw1ca-0 .sc-7elhv3-0:hover .sc-1oeg2ad-0,
.sc-18xw1ca-0 .sc-7elhv3-0.selected .sc-1oeg2ad-0,
.sc-18xw1ca-0 .sc-7elhv3-0.active .sc-1oeg2ad-0 {
    color: var(--feat-odd-active-text, #000000) !important;
}

/* ==========================================================================
   SWIPER PAGINATION (CONFORME ESPECIFICAÇÃO FORNECIDA PELO USUÁRIO)
   ========================================================================== */
.swiper-pagination {
    position: relative;
    text-align: center;
    transition: 300ms opacity;
    transform: translate3d(0, 0, 0);
    z-index: 10;
    margin-top: 10px;
}
.swiper-pagination.swiper-pagination-hidden {
    opacity: 0;
}
.swiper-pagination-horizontal {
    bottom: var(--swiper-pagination-bottom, 0px);
    top: var(--swiper-pagination-top, auto);
    left: 0;
    width: 100%;
}
.swiper-pagination-bullet {
    width: var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));
    height: var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));
    display: inline-block;
    border-radius: var(--swiper-pagination-bullet-border-radius, 50%);
    background: var(--swiper-pagination-bullet-inactive-color, #ffffff);
    opacity: var(--swiper-pagination-bullet-inactive-opacity, 0.25);
    margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 4px);
    cursor: pointer;
    transition: all 0.25s ease;
}
.swiper-pagination-bullet-active {
    opacity: var(--swiper-pagination-bullet-opacity, 1);
    background: var(--swiper-pagination-color, var(--primary-color, #10B981)) !important;
    width: 20px;
    border-radius: 6px;
}