/* ======================================================
   EL DESMARQUE DEL FÚTBOL
   STYLE.CSS - VERSIÓN ACTUALIZADA
====================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#0f172a;
    color:#ffffff;
    font-family:Arial,Helvetica,sans-serif;
    overflow-x:hidden;
}

/*==============================
NAVBAR
===============================*/

.navbar{
    background:#111827 !important;
    border-bottom:3px solid #facc15;
    position:sticky;
    top:0;
    z-index:9999;
}

.navbar-brand img{
    transition:.35s;
}

.navbar-brand img:hover{
    transform:scale(1.05);
}

.nav-link{
    color:#d1d5db !important;
    font-weight:600;
    margin-left:8px;
    transition:.30s;
}

.nav-link:hover{
    color:#facc15 !important;
}

.nav-link.active{
    color:#ffffff !important;
}

/*==============================
TICKER
===============================*/

.ticker{
    background:#d90429;
    height:42px;
    display:flex;
    align-items:center;
    overflow:hidden;
    color:#fff;
    font-weight:bold;
    border-top:1px solid rgba(255,255,255,.15);
    border-bottom:1px solid rgba(255,255,255,.15);
}

.ticker-wrap{
    width:100%;
    overflow:hidden;
}

.ticker-move{
    display:inline-block;
    white-space:nowrap;
    padding-left:100%;
    animation:ticker 28s linear infinite;
    font-size:17px;
}

@keyframes ticker{
    from{
        transform:translateX(0);
    }
    to{
        transform:translateX(-100%);
    }
}

/*==============================
PARTIDO DESTACADO
===============================*/

.card{
    border-radius:18px;
}

.card-img{
    border-radius:18px;
    transition:.45s;
}

.card:hover .card-img{
    transform:scale(1.02);
}

.card-img-overlay{
    padding:40px;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.92),
        rgba(0,0,0,.50),
        rgba(0,0,0,.20)
    );
    color:#fff;
}

.card-img-overlay h1{
    color:#ffffff !important;
    text-shadow:0 5px 15px rgba(0,0,0,.85);
    font-size:3.5rem;
    font-weight:900;
    line-height:1.05;
    word-break: break-word;
    overflow-wrap: break-word;
}

.card-img-overlay h2{
    color:#ffd54a !important;
    font-size:1.8rem;
    font-weight:700;
}

.card-img-overlay h3,
.card-img-overlay h5,
.card-img-overlay small{
    color:#ffffff !important;
    text-shadow:0 2px 10px rgba(0,0,0,.9);
}

.badge{
    padding:10px 15px;
    border-radius:40px;
}

.btn-danger{
    border-radius:50px;
    font-size:18px;
    font-weight:800;
    padding:14px 34px;
    transition:.30s;
}

.btn-danger:hover{
    transform:translateY(-4px);
    box-shadow:0 15px 35px rgba(220,38,38,.45);
}

/*======================================================
SECCIONES Y CARDS
======================================================*/

.section{
    padding:70px 0;
}

.section-title{
    font-size:2.2rem;
    font-weight:900;
    color:#ffffff;
    margin-bottom:35px;
    position:relative;
}

.section-title::after{
    content:"";
    width:80px;
    height:4px;
    background:#facc15;
    display:block;
    margin-top:12px;
    border-radius:50px;
}

.news-card{
    background:#1f2937;
    border-radius:18px;
    overflow:hidden;
    transition:.35s;
    height:100%;
}

.news-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,.35);
}

.news-card-body{
    padding:25px;
}

.news-card h3{
    font-size:24px;
    font-weight:700;
    margin-bottom:15px;
}

.news-card p{
    color:#d1d5db;
    line-height:1.6;
}

/*======================================================
COUNTDOWN
======================================================*/

.countdown{
    display:flex;
    gap:18px;
    margin-top:25px;
}

.count-item{
    background:#ffffff;
    color:#111827;
    width:80px;
    height:80px;
    border-radius:15px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    font-weight:700;
}

.count-item span{
    font-size:28px;
}

.count-item small{
    font-size:13px;
}

/*======================================================
PANTALLA DE ESPERA DE TRANSMISIÓN
======================================================*/

.live-waiting{
    background:radial-gradient(circle at center, #1f2937, #0b1220);
    padding:40px 20px;
    text-align:center;
    color:#fff;
    min-height:550px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
}

.logo-live{
    width:140px;
    margin-bottom:20px;
    animation:pulseLogo 3s infinite;
}

.live-waiting h2{
    font-size:32px;
    font-weight:900;
    margin-bottom:10px;
}

.live-subtitle{
    font-size:20px;
    color:#facc15;
    font-weight:bold;
    margin:10px 0;
}

.staff-card{
    background:#111827;
    padding:20px;
    border-radius:15px;
    border-left:4px solid #facc15;
    width:100%;
    max-width:650px;
    text-align:left;
}

.staff-card h4{
    color:#facc15;
    margin-bottom:10px;
}

.max-w-700{
    max-width:650px;
}

@keyframes pulseLogo{
    0%{transform:scale(1)}
    50%{transform:scale(1.05)}
    100%{transform:scale(1)}
}

/*======================================================
FOOTER
======================================================*/

footer{
    background:#090f1c;
    margin-top:70px;
    padding:60px 0 25px;
    border-top:3px solid #facc15;
}

footer h4{
    color:#facc15;
    font-weight:700;
    margin-bottom:20px;
}

footer p{
    color:#cbd5e1;
    line-height:1.8;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.10);
    margin-top:35px;
    padding-top:20px;
    text-align:center;
    color:#94a3b8;
    font-size:15px;
}

/*======================================================
RESPONSIVE
======================================================*/

@media(max-width:992px){
    .card-img-overlay h1{
        font-size:2.6rem;
    }
    .card-img{
        height:520px !important;
    }
}

@media(max-width:768px){
    .card-img-overlay{
        padding:20px;
        text-align:center;
    }
    .card-img-overlay h1{
        font-size:2rem;
    }
    .card-img{
        height:420px !important;
    }
    .btn-danger{
        width:100%;
    }
    .countdown{
        justify-content:center;
        flex-wrap:wrap;
    }
    .live-waiting h2{
        font-size:24px;
    }
}
