/* css/neon-theme.css — Layout agressivo Neon Black / Yellow (mobile-first) */

:root {
    --bg-color: #050508;
    --glass-bg: rgba(8, 8, 12, 0.78);
    --glass-border: rgba(255, 230, 0, 0.14);
    --primary: #ffe600;
    --primary-glow: rgba(255, 230, 0, 0.45);
    --neon-red: #ff2d55;
    --neon-red-glow: rgba(255, 45, 85, 0.55);
    --danger: var(--neon-red);
    --text-main: #f5f5f7;
    --text-muted: #9a9aa8;
    --accent: rgba(255, 230, 0, 0.08);
    --btn-radius: 14px;
}

@keyframes neon-pulse {
    0%, 100% { box-shadow: 0 0 8px var(--primary-glow), 0 0 0 0 rgba(255, 230, 0, 0.35); }
    50% { box-shadow: 0 0 22px var(--primary-glow), 0 0 0 8px rgba(255, 230, 0, 0); }
}

@keyframes neon-pulse-red {
    0%, 100% { box-shadow: 0 0 8px var(--neon-red-glow); }
    50% { box-shadow: 0 0 22px var(--neon-red-glow), 0 0 36px rgba(255, 45, 85, 0.25); }
}

@keyframes countdown-glow {
    0%, 100% { text-shadow: 0 0 8px var(--primary-glow); }
    50% { text-shadow: 0 0 18px var(--primary-glow), 0 0 28px rgba(255, 230, 0, 0.35); }
}

body {
    background-color: var(--bg-color) !important;
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 230, 0, 0.08), transparent),
        radial-gradient(circle at 100% 100%, rgba(255, 45, 85, 0.06), transparent 42%) !important;
}

.navbar {
    background: rgba(5, 5, 8, 0.92) !important;
    border-bottom: 1px solid var(--glass-border);
}

.glassmorphism {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
}

.text-primary { color: var(--primary) !important; }
.text-danger { color: var(--neon-red) !important; }
.text-gradient {
    background: linear-gradient(90deg, #ffe600, #fff176) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* Buttons */
.btn, .btn-primary, .btn-outline, .btn-filter, .btn-assistir, .btn-watch {
    border-radius: var(--btn-radius) !important;
}

.btn-primary, .btn-assistir-stats, .btn-watch.btn-stats {
    background: linear-gradient(135deg, rgba(255, 230, 0, 0.2), rgba(255, 230, 0, 0.06)) !important;
    border: 1px solid rgba(255, 230, 0, 0.55) !important;
    color: var(--primary) !important;
    animation: neon-pulse 2.4s ease-in-out infinite;
}

.btn-assistir-live, .btn-ver-ao-vivo, .btn-ver-ao-vivo-compact,
.live-badge, .mp-live-badge, .mp-smart-live,
.btn-filter[data-status="live"].active {
    background: rgba(255, 45, 85, 0.12) !important;
    border: 1px solid var(--neon-red) !important;
    color: var(--neon-red) !important;
    animation: neon-pulse-red 1.8s ease-in-out infinite;
}

.btn-filter {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
    padding: 0.5rem 0.95rem;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}

.btn-filter.active {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255, 230, 0, 0.1);
    animation: neon-pulse 2.8s ease-in-out infinite;
}

/* Filters bar — mobile first */
.status-filters {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px !important;
    width: 100%;
    justify-content: stretch;
    align-items: center;
    padding: 10px !important;
    border-radius: 16px !important;
}

.status-filters .search-box-wrap {
    width: 100%;
    min-width: 0 !important;
    flex: 1 1 100% !important;
}

.status-filters .btn-filter {
    flex: 1 1 auto;
    text-align: center;
}

#match-search-input {
    border-color: rgba(255, 230, 0, 0.2) !important;
    background: rgba(0, 0, 0, 0.45) !important;
}

#match-search-input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 2px rgba(255, 230, 0, 0.15);
}

.live-games-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 1.25rem;
}

/* Games grid */
.games-grid {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 14px !important;
}

@media (min-width: 640px) {
    .games-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .status-filters .search-box-wrap { flex: 1 1 200px !important; width: auto; }
}

@media (min-width: 1024px) {
    .games-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 18px !important; }
}

/* Match cards */
.match-card, .sport-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px !important;
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.match-card:hover, .sport-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 230, 0, 0.35) !important;
}

.match-card.upcoming-card { border-left: 3px solid var(--primary) !important; }
.match-card.live-card { border-left: 3px solid var(--neon-red) !important; }

.match-card .score.live-score,
.team-row .score.text-danger {
    color: var(--neon-red) !important;
    animation: neon-pulse-red 2s infinite;
    font-weight: 800;
}

.match-status { color: var(--neon-red) !important; }

/* Countdown */
.countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px 10px;
    margin: 10px 0 6px;
    border-radius: 14px;
    background: rgba(255, 230, 0, 0.05);
    border: 1px dashed rgba(255, 230, 0, 0.4);
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 46px;
}

.countdown-unit b {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    animation: countdown-glow 2s ease-in-out infinite;
}

.countdown-unit small {
    font-size: 0.6rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-top: 4px;
}

.countdown-sep {
    color: var(--primary);
    font-weight: 800;
    margin-top: -14px;
    opacity: 0.75;
}

.countdown--compact { padding: 8px; }
.countdown--compact .countdown-unit { min-width: 36px; }
.countdown--compact .countdown-unit b { font-size: 1.05rem; }

.countdown--soon {
    border-color: var(--neon-red);
    background: rgba(255, 45, 85, 0.08);
}

.countdown--soon .countdown-unit b {
    color: var(--neon-red);
    animation: neon-pulse-red 1.2s infinite;
}

.countdown-label {
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
}

/* Featured strip */
.featured-grid .match-card {
    min-width: 280px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1rem;
}

.featured-grid .live-badge {
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 999px;
}

/* Hero carousel */
.hero-news-carousel {
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: #000;
}

.hero-news-ticker {
    background: rgba(255, 230, 0, 0.12);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 8px 14px;
}

.hero-news-ticker i {
    color: var(--neon-red);
    font-size: 6px;
    margin-right: 6px;
    animation: neon-pulse-red 1s infinite;
}

.hero-news-viewport { overflow: hidden; }
.hero-news-track {
    display: flex;
    transition: transform 0.45s ease;
}

.hero-news-slide {
    min-width: 100%;
    position: relative;
}

.hero-news-slide img {
    width: 100%;
    height: clamp(140px, 32vw, 280px);
    object-fit: cover;
    display: block;
}

.hero-news-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 1rem 1.1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
}

.hero-news-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.65);
}

.hero-news-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
}

.hero-news-dot.active {
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

/* Match page (jogo) */
.mp-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.78rem;
}

.mp-scheduled-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 700;
}

.mp-finished-badge {
    color: var(--text-muted);
    font-weight: 700;
}

.mp-venue-hero {
    background: linear-gradient(135deg, #1a1500 0%, #050508 100%) !important;
    border: 1px solid var(--glass-border);
}

.match-tab.active,
.mp-tabs .match-tab.active {
    background: rgba(255, 230, 0, 0.14) !important;
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

.mp-smart-bar.visible {
    background: rgba(5, 5, 8, 0.95);
    border-top: 1px solid var(--glass-border);
    backdrop-filter: blur(14px);
}

.mp-countdown-wrap {
    margin: 1rem 0;
}

/* Sport event page */
.sport-leaders-panel,
#sport-event-root .glassmorphism {
    border-color: var(--glass-border) !important;
}

/* Lang */
.lang-btn {
    border: 1px solid rgba(255, 230, 0, 0.2);
    background: rgba(0, 0, 0, 0.4);
    color: var(--text-muted);
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.75rem;
    cursor: pointer;
}

.lang-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    animation: neon-pulse 3s infinite;
}

/* Footer */
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.footer-nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
}

.footer-nav-link:hover,
.footer-nav-link.active { color: var(--primary); }

.footer-eeat {
    max-width: 520px;
    margin: 0 auto 1rem;
    font-size: 0.82rem;
}

.footer-eeat-title { color: var(--primary); margin-bottom: 0.35rem; }
.footer-eeat-text { color: var(--text-muted); line-height: 1.5; }
.footer-sponsor a { color: var(--primary); }

.about-article { max-width: 720px; margin: 0 auto; line-height: 1.75; }
.about-article h2 { color: var(--primary); margin: 2rem 0 0.75rem; }
.about-article p { margin-bottom: 1rem; color: var(--text-muted); }

.nav-league-link.active { color: var(--primary) !important; }
.ad-monetization-host { position: fixed; z-index: 9990; }
