/* =====================================
   FIFA WORLD CUP 2026 BANGLADESH
===================================== */

:root{
    --primary:#002B7F;
    --secondary:#0A84FF;
    --gold:#FFD700;
    --dark:#081120;
    --dark2:#111827;
    --white:#ffffff;
    --gray:#cbd5e1;
    --live:#ef4444;
    --success:#10b981;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Noto Sans Bengali',sans-serif;
    background:var(--dark);
    color:var(--white);
    overflow-x:hidden;
    line-height:1.6;
}

/* ======================
   CONTAINER
====================== */

.container{
    width:90%;
    max-width:1300px;
    margin:auto;
}

/* ======================
   HEADER
====================== */

.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;

    background:rgba(0,0,0,.55);
    backdrop-filter:blur(15px);

    border-bottom:1px solid rgba(255,255,255,.08);
}

.header-wrapper{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 0;
}

.logo img{
    height:55px;
}

.nav{
    display:flex;
    gap:25px;
}

.nav a{
    color:#fff;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.nav a:hover{
    color:var(--gold);
}

/* ======================
   HERO
====================== */

.hero{
    min-height:100vh;

    display:flex;
    justify-content:center;
    align-items:center;

    text-align:center;

    position:relative;

    background:
    linear-gradient(
        rgba(0,0,0,.60),
        rgba(0,0,0,.80)
    ),
    url("../assets/images/hero.jpg");

    background-size:cover;
    background-position:center;
}

.hero-overlay{
    position:absolute;
    inset:0;
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:850px;
    padding:20px;
}

.hero h1{
    font-size:4rem;
    color:var(--gold);
    margin-bottom:15px;

    text-shadow:
    0 0 15px rgba(255,215,0,.4),
    0 0 35px rgba(255,215,0,.2);
}

.hero-subtitle{
    font-size:1.4rem;
    margin-bottom:20px;
}

.hero-info{
    font-size:1.2rem;
    margin-bottom:15px;
}

.hero-date{
    color:var(--gray);
    margin-bottom:30px;
}

/* ======================
   BUTTON
====================== */

.btn{
    display:inline-block;

    background:var(--gold);
    color:#000;

    padding:14px 28px;

    border-radius:50px;

    text-decoration:none;
    font-weight:700;

    transition:.3s;
}

.btn:hover{
    transform:translateY(-3px);
}

/* ======================
   SECTION
====================== */

.section{
    padding:90px 0;
}

.section-title{
    text-align:center;
    font-size:2rem;
    color:var(--gold);
    margin-bottom:40px;
}

/* ======================
   FILTER BUTTONS
====================== */

.filters{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:12px;
    margin-bottom:30px;
}

.filter-btn,
.filters button{

    border:none;

    background:#1e293b;
    color:#fff;

    padding:10px 18px;

    border-radius:50px;

    cursor:pointer;

    transition:.3s;
}

.filter-btn:hover,
.filters button:hover{
    background:var(--secondary);
}

.active{
    background:var(--secondary);
}

/* ======================
   MATCH GRID
====================== */

#allMatches,
#liveMatches{
    display:grid;

    grid-template-columns:
    repeat(
        auto-fit,
        minmax(320px,1fr)
    );

    gap:25px;
}

#nextMatch{
    max-width:700px;
    margin:auto;
}

/* ======================
   MATCH CARD
====================== */

.match-card{

    background:
    rgba(255,255,255,.07);

    backdrop-filter:blur(20px);

    border:
    1px solid
    rgba(255,255,255,.08);

    border-radius:24px;

    padding:25px;

    transition:.3s;

    box-shadow:
    0 10px 30px
    rgba(0,0,0,.25);
}

.match-card:hover{

    transform:translateY(-6px);

    border-color:
    rgba(255,215,0,.45);
}

.match-teams{

    text-align:center;

    font-size:1.3rem;

    font-weight:700;

    line-height:1.8;

    margin:15px 0;
}

.match-time{

    text-align:center;

    color:var(--gray);

    margin-bottom:10px;
}

.match-countdown{

    margin-top:15px;

    text-align:center;

    color:var(--gold);

    font-weight:700;
}

/* ======================
   BADGE
====================== */

.badge{

    display:inline-block;

    padding:8px 14px;

    border-radius:50px;

    font-size:.85rem;

    font-weight:700;
}

.upcoming{
    background:#2563eb;
}

.live{
    background:var(--live);
    animation:pulse 1.5s infinite;
}

.finished{
    background:var(--success);
}

@keyframes pulse{

    0%{
        transform:scale(1);
    }

    50%{
        transform:scale(1.08);
    }

    100%{
        transform:scale(1);
    }

}

/* ======================
   GROUP BOX
====================== */

.group-box{

    background:
    rgba(255,255,255,.05);

    border-radius:20px;

    padding:30px;

    text-align:center;
}

/* ======================
   KNOCKOUT
====================== */

.knockout-box{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:15px;

    text-align:center;
}

.knockout-box div{

    background:
    rgba(255,255,255,.08);

    padding:15px 20px;

    border-radius:12px;
}

/* ======================
   LOADING
====================== */

.loading{

    text-align:center;

    padding:40px;

    color:var(--gray);
}

/* ======================
   FOOTER
====================== */

.footer{

    background:#050b16;

    padding:50px 0;

    text-align:center;

    border-top:
    1px solid
    rgba(255,255,255,.08);
}

.footer h3{

    color:var(--gold);

    margin-bottom:15px;
}

.footer p{

    color:var(--gray);

    margin-bottom:10px;
}

/* ======================
   SCROLLBAR
====================== */

::-webkit-scrollbar{
    width:8px;
}

::-webkit-scrollbar-track{
    background:#111;
}

::-webkit-scrollbar-thumb{
    background:var(--gold);
    border-radius:10px;
}

/* ======================
   MOBILE
====================== */

@media(max-width:768px){

    .hero h1{
        font-size:2.5rem;
    }

    .hero-subtitle{
        font-size:1rem;
    }

    .nav{
        display:none;
    }

    .section{
        padding:70px 0;
    }

    .section-title{
        font-size:1.6rem;
    }

    .match-card{
        padding:18px;
    }

    #allMatches,
    #liveMatches{
        grid-template-columns:1fr;
    }

}