/* ===========================
   GLOBAL
=========================== */

.matches-section{
    background:#02132d;
    padding:80px 0 120px;
}

.container{
    max-width:1320px;
    margin:auto;
    padding:0 20px;
}

body{
    background:#02132d;
    color:#fff;
    font-family:'Inter',sans-serif;
}

/* ===========================
   HERO
=========================== */

.hero-banner{

    height:340px;

    background:
            url("../img/upcoming-banner.png")
            center center/cover no-repeat;

    position:relative;
}

.hero-overlay{

    width:100%;
    height:100%;

    background:
            linear-gradient(
                    rgba(2,19,45,.45),
                    rgba(2,19,45,.85)
            );

    display:flex;
    align-items:center;
}

.hero-badge{

    display:inline-block;

    padding:10px 18px;

    border-radius:50px;

    background:
            rgba(37,99,235,.2);

    border:
            1px solid rgba(78,161,255,.35);

    color:#56b4ff;

    font-size:13px;

    font-weight:700;

    letter-spacing:1px;
}

.hero-banner h1{

    margin-top:18px;

    font-size:64px;

    font-weight:800;

    color:#fff;
}

.hero-banner p{

    margin-top:15px;

    max-width:600px;

    font-size:18px;

    color:#d6e2ff;
}

/* ===========================
   SEARCH
=========================== */

.top-search{

    display:flex;

    gap:15px;

    margin-bottom:35px;

    flex-wrap:wrap;
}

.top-search input{

    flex:1;

    min-width:250px;

    height:60px;

    padding:0 22px;

    border-radius:16px;

    border:1px solid rgba(255,255,255,.08);

    background:
            rgba(255,255,255,.05);

    color:#fff;

    outline:none;

    transition:.3s;
}

.top-search input:focus{

    border-color:#2563eb;

    box-shadow:
            0 0 0 4px rgba(37,99,235,.15);
}

.top-search button{

    border:none;

    padding:0 35px;

    border-radius:16px;

    color:#fff;

    cursor:pointer;

    font-weight:600;

    background:
            linear-gradient(
                    135deg,
                    #2563eb,
                    #06b6d4
            );

    transition:.3s;
}

.top-search button:hover{

    transform:translateY(-3px);
}

/* ===========================
   FILTER BUTTONS
=========================== */

.filter-buttons{

    display:flex;

    gap:12px;

    flex-wrap:wrap;

    margin-bottom:45px;
}

.filter-buttons button{

    padding:12px 22px;

    border:none;

    cursor:pointer;

    border-radius:50px;

    color:#fff;

    background:
            rgba(255,255,255,.06);

    transition:.3s;
}

.filter-buttons button:hover{

    background:#2563eb;
}

.filter-buttons .active{

    background:
            linear-gradient(
                    135deg,
                    #2563eb,
                    #06b6d4
            );
}

/* ===========================
   GRID
=========================== */

.matches-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(360px,1fr));

    gap:30px;
}

/* ===========================
   CARD
=========================== */

.match-card{

    display:flex;

    flex-direction:column;

    background:
            rgba(255,255,255,.05);

    border:
            1px solid rgba(255,255,255,.08);

    border-radius:26px;

    padding:28px;

    backdrop-filter:blur(20px);

    transition:.35s;

    min-height:420px;
}

.match-card:hover{

    transform:
            translateY(-8px);

    border-color:#2563eb;

    box-shadow:
            0 25px 45px rgba(0,0,0,.35);
}

.match-top{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:30px;
}

.tournament{

    padding:8px 16px;

    border-radius:30px;

    background:#10366f;

    color:#61b8ff;

    font-size:13px;

    font-weight:600;
}

.countdown{

    color:#ffd369;

    font-size:14px;

    font-weight:700;
}

/* ===========================
   TEAMS
=========================== */

.teams{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:30px;
}

.team{

    text-align:center;
}

.team-logo{

    width:72px;
    height:72px;

    margin:auto;

    margin-bottom:15px;

    display:flex;

    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:
            linear-gradient(
                    135deg,
                    #2563eb,
                    #06b6d4
            );

    font-size:32px;
}

.team h4{

    color:#fff;

    font-size:18px;

    font-weight:700;
}

.vs{

    font-size:28px;

    font-weight:800;

    color:#59b6ff;
}

/* ===========================
   DETAILS
=========================== */

.match-details{

    margin-bottom:30px;
}

.match-details div{

    color:#c6d6f6;

    margin-bottom:10px;
}

/* ===========================
   BUTTON
=========================== */

.view-btn{

    margin-top:auto;

    display:block;

    text-align:center;

    text-decoration:none;

    padding:16px;

    border-radius:16px;

    color:#fff;

    font-weight:700;

    background:
            linear-gradient(
                    135deg,
                    #2563eb,
                    #06b6d4
            );

    transition:.3s;
}

.view-btn:hover{

    color:#fff;

    transform:translateY(-3px);
}
/*=====================================
PAGINATION
=====================================*/

.pagination{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:12px;

    margin-top:70px;

    flex-wrap:wrap;
}

.pagination a{

    width:46px;
    height:46px;

    display:flex;

    justify-content:center;
    align-items:center;

    text-decoration:none;

    border-radius:14px;

    color:#d8e5ff;

    background:
            rgba(255,255,255,.05);

    border:
            1px solid rgba(255,255,255,.08);

    transition:.3s;
}

.pagination a:hover{

    color:#fff;

    background:
            linear-gradient(
                    135deg,
                    #2563eb,
                    #06b6d4
            );

    transform:translateY(-3px);
}

.pagination .active{

    color:#fff;

    background:
            linear-gradient(
                    135deg,
                    #2563eb,
                    #06b6d4
            );

    box-shadow:
            0 12px 25px rgba(37,99,235,.35);
}


/*=====================================
CTA SECTION
=====================================*/

.match-cta{

    padding:110px 0;

    background:#031633;

    position:relative;

    overflow:hidden;
}

.match-cta::before{

    content:"";

    position:absolute;

    width:420px;
    height:420px;

    background:#2563eb;

    border-radius:50%;

    filter:blur(180px);

    opacity:.18;

    left:-150px;
    top:-120px;
}

.match-cta::after{

    content:"";

    position:absolute;

    width:350px;
    height:350px;

    background:#06b6d4;

    border-radius:50%;

    filter:blur(180px);

    opacity:.15;

    right:-120px;
    bottom:-120px;
}

.cta-card{

    position:relative;

    z-index:2;

    text-align:center;

    padding:70px 60px;

    border-radius:32px;

    background:
            rgba(255,255,255,.05);

    border:
            1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(18px);

    box-shadow:
            0 20px 50px rgba(0,0,0,.35);
}

.cta-card h2{

    color:#fff;

    font-size:48px;

    font-weight:800;

    margin-bottom:20px;
}

.cta-card p{

    color:#c8d7f5;

    max-width:700px;

    margin:auto;

    font-size:18px;

    line-height:1.8;

    margin-bottom:40px;
}

.cta-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;
}

.primary-btn{

    text-decoration:none;

    color:#fff;

    padding:16px 36px;

    border-radius:50px;

    font-weight:700;

    background:
            linear-gradient(
                    135deg,
                    #2563eb,
                    #06b6d4
            );

    box-shadow:
            0 12px 30px rgba(37,99,235,.35);

    transition:.3s;
}

.primary-btn:hover{

    color:#fff;

    transform:translateY(-4px);
}

.secondary-btn{

    text-decoration:none;

    color:#fff;

    padding:16px 36px;

    border-radius:50px;

    border:
            1px solid rgba(255,255,255,.12);

    background:
            rgba(255,255,255,.05);

    transition:.3s;
}

.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:20px;
}


/*=====================================
RESPONSIVE
=====================================*/

@media(max-width:1200px){

    .matches-grid{

        grid-template-columns:
        repeat(2,1fr);
    }

}

@media(max-width:991px){

    .hero-banner{

        height:280px;
    }

    .hero-banner h1{

        font-size:48px;
    }

    .hero-banner p{

        font-size:16px;
    }

    .top-search{

        flex-direction:column;
    }

    .top-search button{

        width:100%;
        height:58px;
    }

    .matches-grid{

        grid-template-columns:1fr;
    }

    .cta-card{

        padding:45px 30px;
    }

    .cta-card h2{

        font-size:36px;
    }

}

@media(max-width:576px){

    .hero-banner{

        height:240px;
    }

    .hero-banner h1{

        font-size:34px;
    }

    .hero-banner p{

        font-size:15px;
    }

    .filter-buttons{

        justify-content:center;
    }

    .filter-buttons button{

        flex:1 1 calc(50% - 10px);
    }

    .match-card{

        padding:22px;

        min-height:auto;
    }

    .teams{

        flex-direction:column;

        gap:18px;
    }

    .vs{

        font-size:22px;
    }

    .team-logo{

        width:60px;
        height:60px;

        font-size:26px;
    }

    .cta-card h2{

        font-size:30px;
    }

    .cta-card p{

        font-size:15px;
    }

}