/*==================================
LIVE HERO
==================================*/

.live-hero{

    height:340px;

    background:url("../img/live-banner.png")
    center center/cover no-repeat;

    position:relative;
}

.hero-overlay{

    width:100%;
    height:100%;

    display:flex;
    align-items:center;

    background:
            linear-gradient(
                    rgba(2,19,45,.45),
                    rgba(2,19,45,.90)
            );
}

.live-badge{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:10px 20px;

    border-radius:50px;

    background:
            rgba(255,0,0,.15);

    border:
            1px solid rgba(255,0,0,.25);

    color:#ff5555;

    font-weight:700;

    letter-spacing:1px;
}

.pulse{

    width:10px;
    height:10px;

    border-radius:50%;

    background:#ff2d2d;

    animation:pulse 1s infinite;
}

@keyframes pulse{

    0%{

        box-shadow:
                0 0 0 0 rgba(255,0,0,.7);

    }

    100%{

        box-shadow:
                0 0 0 15px rgba(255,0,0,0);

    }

}

.live-hero h1{

    margin-top:20px;

    font-size:62px;

    color:#fff;

    font-weight:800;
}

.live-hero p{

    margin-top:15px;

    max-width:650px;

    color:#d7e4ff;

    font-size:18px;
}

/*==================================
SECTION
==================================*/

.live-section{

    background:#02132d;

    padding:80px 0 120px;
}

.container{

    max-width:1320px;

    margin:auto;

    padding:0 20px;
}

/*==================================
SEARCH
==================================*/

.live-top{

    display:flex;

    gap:15px;

    margin-bottom:35px;

    flex-wrap:wrap;
}

.live-top input{

    flex:1;

    min-width:250px;

    height:60px;

    padding:0 22px;

    border-radius:16px;

    outline:none;

    border:
            1px solid rgba(255,255,255,.08);

    background:
            rgba(255,255,255,.05);

    color:#fff;

    transition:.3s;
}

.live-top input:focus{

    border-color:#2563eb;

    box-shadow:
            0 0 0 4px rgba(37,99,235,.15);
}

.live-top button{

    border:none;

    padding:0 35px;

    border-radius:16px;

    color:#fff;

    cursor:pointer;

    font-weight:600;

    background:
            linear-gradient(
                    135deg,
                    #2563eb,
                    #06b6d4
            );

    transition:.3s;
}

.live-top button:hover{

    transform:translateY(-3px);
}

/*==================================
FILTERS
==================================*/

.match-filters{

    display:flex;

    gap:12px;

    flex-wrap:wrap;

    margin-bottom:45px;
}

.match-filters button{

    border:none;

    padding:12px 22px;

    border-radius:40px;

    background:
            rgba(255,255,255,.05);

    color:#fff;

    cursor:pointer;

    transition:.3s;
}

.match-filters button:hover{

    background:#2563eb;
}

.match-filters .active{

    background:
            linear-gradient(
                    135deg,
                    #ff2d2d,
                    #ff7b00
            );
}

/*==================================
GRID
==================================*/

.live-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(380px,1fr));

    gap:30px;
}

/*==================================
CARD
==================================*/

.live-card{

    display:flex;

    flex-direction:column;

    min-height:470px;

    padding:28px;

    border-radius:28px;

    background:
            rgba(255,255,255,.05);

    border:
            1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(18px);

    transition:.35s;
}

.live-card:hover{

    transform:
            translateY(-10px);

    border-color:#2563eb;

    box-shadow:
            0 25px 45px rgba(0,0,0,.35);
}

/*==================================
CARD HEADER
==================================*/

.card-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:25px;
}

.tournament{

    color:#5db8ff;

    font-weight:700;
}

.status{

    display:flex;

    align-items:center;

    gap:8px;

    color:#ff4a4a;

    font-weight:700;
}

.dot{

    width:10px;
    height:10px;

    border-radius:50%;

    background:red;

    animation:pulse 1s infinite;
}

/*==================================
TEAMS
==================================*/

.score-area{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:30px;
}

.team{

    text-align:center;
}

.team-logo{

    width:70px;
    height:70px;

    margin:auto auto 15px;

    display:flex;

    justify-content:center;
    align-items:center;

    border-radius:50%;

    background:
            linear-gradient(
                    135deg,
                    #2563eb,
                    #06b6d4
            );

    font-size:30px;
}

.team h4{

    color:#fff;

    margin-bottom:10px;
}

.team h2{

    color:#58b8ff;

    margin-bottom:8px;

    font-size:32px;
}

.team span{

    color:#c7d8f7;

    font-size:14px;
}

.vs{

    font-size:28px;

    color:#fff;

    font-weight:800;
}
/*==================================
MATCH INFO
==================================*/

.match-info{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:15px;

    margin-bottom:25px;
}

.match-info div{

    padding:14px;

    text-align:center;

    border-radius:14px;

    background:
            rgba(255,255,255,.05);

    color:#d7e4ff;

    font-size:14px;

    transition:.3s;
}

.match-info div:hover{

    background:
            rgba(37,99,235,.15);
}

.match-info b{

    display:block;

    color:#58b8ff;

    margin-bottom:8px;

    font-size:13px;

    text-transform:uppercase;

    letter-spacing:1px;
}

/*==================================
LIVE COMMENTARY
==================================*/

.commentary{

    margin-bottom:25px;

    padding:15px 20px;

    border-radius:14px;

    color:#fff;

    font-weight:600;

    background:
            linear-gradient(
                    135deg,
                    rgba(255,0,0,.18),
                    rgba(255,102,0,.12)
            );

    border:
            1px solid rgba(255,80,80,.25);

    animation:commentaryGlow 2s infinite;
}

@keyframes commentaryGlow{

    0%{

        box-shadow:0 0 0 rgba(255,0,0,0);

    }

    50%{

        box-shadow:
                0 0 25px rgba(255,60,60,.18);

    }

    100%{

        box-shadow:0 0 0 rgba(255,0,0,0);

    }

}

/*==================================
BUTTON
==================================*/

.live-btn{

    margin-top:auto;

    display:block;

    text-align:center;

    text-decoration:none;

    color:#fff;

    font-weight:700;

    padding:16px;

    border-radius:16px;

    background:
            linear-gradient(
                    135deg,
                    #2563eb,
                    #06b6d4
            );

    transition:.35s;
}

.live-btn:hover{

    color:#fff;

    transform:translateY(-4px);

    box-shadow:
            0 18px 35px rgba(37,99,235,.35);
}

/*==================================
LIVE STATS
==================================*/

.live-stats{

    display:grid;

    grid-template-columns:
    repeat(4,1fr);

    gap:25px;

    margin:90px 0;
}

.stat-box{

    padding:35px;

    text-align:center;

    border-radius:25px;

    background:
            rgba(255,255,255,.05);

    border:
            1px solid rgba(255,255,255,.08);

    transition:.35s;
}

.stat-box:hover{

    transform:translateY(-8px);

    background:
            rgba(37,99,235,.15);
}

.stat-box h2{

    font-size:46px;

    color:#58b8ff;

    margin-bottom:10px;

    font-weight:800;
}

.stat-box span{

    color:#d6e2ff;

    font-size:16px;
}

/*==================================
CTA
==================================*/

.live-cta{

    margin-top:40px;
}

.cta-card{

    padding:70px;

    border-radius:32px;

    text-align:center;

    background:
            linear-gradient(
                    135deg,
                    rgba(37,99,235,.18),
                    rgba(6,182,212,.12)
            );

    border:
            1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(18px);
}

.cta-card h2{

    font-size:50px;

    color:#fff;

    margin-bottom:20px;

    font-weight:800;
}

.cta-card p{

    color:#d6e2ff;

    max-width:700px;

    margin:0 auto 40px;

    line-height:1.8;
}

.cta-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;
}

.primary-btn,
.secondary-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    text-decoration:none;

    padding:16px 34px;

    border-radius:50px;

    font-weight:700;

    transition:.35s;
}

.primary-btn{

    color:#fff;

    background:
            linear-gradient(
                    135deg,
                    #2563eb,
                    #06b6d4
            );

    box-shadow:
            0 18px 35px rgba(37,99,235,.35);
}

.primary-btn:hover{

    color:#fff;

    transform:translateY(-4px);
}

.secondary-btn{

    color:#fff;

    border:
            1px solid rgba(255,255,255,.15);

    background:
            rgba(255,255,255,.05);
}

.secondary-btn:hover{

    color:#fff;

    background:
            rgba(255,255,255,.08);

    transform:translateY(-4px);
}

/*==================================
SCROLLBAR
==================================*/

::-webkit-scrollbar{

    width:10px;
}

::-webkit-scrollbar-track{

    background:#02132d;
}

::-webkit-scrollbar-thumb{

    background:
            linear-gradient(
                    #2563eb,
                    #06b6d4
            );

    border-radius:30px;
}

/*==================================
RESPONSIVE
==================================*/

@media(max-width:1200px){

    .live-grid{

        grid-template-columns:
        repeat(2,1fr);
    }

    .live-stats{

        grid-template-columns:
        repeat(2,1fr);
    }

}

@media(max-width:991px){

    .live-grid{

        grid-template-columns:1fr;
    }

    .score-area{

        flex-direction:column;

        gap:25px;
    }

    .match-info{

        grid-template-columns:1fr;
    }

    .live-top{

        flex-direction:column;
    }

    .live-top button{

        height:60px;
    }

    .live-hero{

        height:260px;
    }

    .live-hero h1{

        font-size:42px;
    }

    .cta-card{

        padding:45px 30px;
    }

    .cta-card h2{

        font-size:34px;
    }

}

@media(max-width:576px){

    .live-hero{

        height:220px;
    }

    .live-hero h1{

        font-size:32px;
    }

    .match-filters{

        justify-content:center;
    }

    .match-filters button{

        flex:1 1 calc(50% - 10px);
    }

    .live-card{

        min-height:auto;

        padding:22px;
    }

    .live-stats{

        grid-template-columns:1fr;
    }

    .stat-box h2{

        font-size:36px;
    }

    .cta-card h2{

        font-size:28px;
    }

}