/**
 * ====================================================================================================
 * LUXA BET - SPORTS CSS ENGINE (TITAN NEON EDITION)
 * ====================================================================================================
 * @description Estilização completa para o módulo de apostas esportivas.
 * IMPLEMENTAÇÃO: Efeitos de profundidade, animações pulsantes e grid dinâmico.
 */

:root {
    --gl-live: #ff2d55;
    --gl-soccer: #00ff88;
    --gl-basketball: #ff9f43;
    --gl-tennis: #f1c40f;
    --gl-esports: #0fbcf9;
    
    --odd-bg: #1a222d;
    --odd-border: rgba(255, 255, 255, 0.05);
    --odd-hover: #ff2d55;
}

/* ----------------------------------------------------------------------
   HERO SECTION ESPORTIVO
   ---------------------------------------------------------------------- */
.sports-hero {
    background: linear-gradient(135deg, #1a222d 0%, #0f141b 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sports-hero-content {
    position: relative;
    z-index: 5;
    max-width: 600px;
}

.sports-hero h1 {
    font-size: 48px;
    font-weight: 950;
    letter-spacing: -2px;
    color: #fff;
    margin-bottom: 15px;
}

.sports-hero p {
    color: #94a3b8;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* INDICADORES AO VIVO */
.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 45, 85, 0.1);
    color: var(--gl-live);
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 900;
    font-size: 12px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 45, 85, 0.2);
    margin-bottom: 20px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--gl-live);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--gl-live);
    animation: pulseLive 1.5s infinite;
}

@keyframes pulseLive {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.hero-stats {
    display: flex;
    gap: 15px;
}

.stat-box {
    background: #151c26;
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-label {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 800;
    display: block;
}

.stat-value {
    color: #fff;
    font-size: 20px;
    font-weight: 950;
}

.stat-value.highlight {
    color: #00ff88;
}

.hero-decoration i {
    font-size: 300px;
    color: #fff;
    opacity: 0.05;
    transform: rotate(-15deg);
}

/* ----------------------------------------------------------------------
   NAVEGAÇÃO E ABAS
   ---------------------------------------------------------------------- */
.sports-nav {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 20px;
    margin-bottom: 25px;
    scrollbar-width: none;
}

.sports-nav::-webkit-scrollbar { display: none; }

.sport-tab {
    background: #151c26;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 14px 24px;
    border-radius: 16px;
    color: #94a3b8;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.sport-tab:hover, .sport-tab.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(255, 45, 85, 0.3);
    transform: translateY(-3px);
}

.sport-tab.active i {
    color: #fff !important;
}

/* ----------------------------------------------------------------------
   CARDS DE EVENTOS
   ---------------------------------------------------------------------- */
.events-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.event-card {
    background: #151c26;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: 0.3s ease;
}

.event-card:hover {
    background: #1a222d;
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateX(5px);
}

.event-info {
    display: flex;
    align-items: center;
    gap: 40px;
    flex: 1;
}

.event-teams {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 280px;
}

.team {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    font-weight: 800;
    font-size: 17px;
}

.team img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 700;
    padding-left: 25px;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.meta-item.live {
    color: var(--gl-live);
}

/* ODDS BUTTONS */
.odds-wrapper {
    display: flex;
    gap: 12px;
}

.odd-box {
    background: var(--odd-bg);
    border: 1px solid var(--odd-border);
    width: 85px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    cursor: pointer;
    transition: 0.25s;
}

.odd-box:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(255, 45, 85, 0.4);
    transform: scale(1.05);
}

.odd-label {
    font-size: 11px;
    color: #64748b;
    font-weight: 800;
    text-transform: uppercase;
}

.odd-value {
    font-size: 18px;
    color: #fff;
    font-weight: 950;
}

.odd-box:hover .odd-label,
.odd-box:hover .odd-value {
    color: #fff;
}

/* ----------------------------------------------------------------------
   PLACEHOLDER DE CARREGAMENTO
   ---------------------------------------------------------------------- */
.sports-placeholder {
    padding: 100px 30px;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 40px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.placeholder-icon {
    font-size: 64px;
    color: var(--primary);
    margin-bottom: 25px;
    filter: drop-shadow(0 0 20px rgba(255, 45, 85, 0.5));
}

.sports-placeholder h3 {
    color: #fff;
    font-size: 28px;
    font-weight: 950;
    margin-bottom: 12px;
}

.sports-placeholder p {
    color: #94a3b8;
    max-width: 550px;
    margin: 0 auto 30px;
    font-size: 16px;
    line-height: 1.6;
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.loading-dots span {
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    animation: bounceDots 0.6s infinite alternate;
}

.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounceDots {
    from { transform: translateY(0); opacity: 0.4; }
    to { transform: translateY(-10px); opacity: 1; }
}