*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Vazirmatn',sans-serif;
    background:#071521;
    color:white;
    line-height:1.8;
}

html{
    scroll-behavior:smooth;
}

a{
    text-decoration:none;
    color:inherit;
}

img{
    width:100%;
    display:block;
}


/* HEADER */

.header{
    width:100%;
    background:
    linear-gradient(
    180deg,
    rgba(7,21,33,.95),
    rgba(7,21,33,.75)
    );
    position:relative;
}


.top-news{
    background:#00bfff;
    color:#06131e;
    display:flex;
    gap:20px;
    justify-content:center;
    align-items:center;
    padding:10px;
    font-weight:700;
}


.top-news span{
    background:#071521;
    color:white;
    padding:5px 15px;
    border-radius:20px;
}



/* NAVBAR */

.navbar{

    width:90%;
    margin:auto;
    padding:25px 0;

    display:flex;
    justify-content:space-between;
    align-items:center;

}


.logo{

    display:flex;
    align-items:center;
    gap:15px;

}


.logo h1{

    font-size:25px;
    font-weight:900;

}


.logo p{

    font-size:12px;
    color:#9bb5c7;

}


.menu{

    display:flex;
    list-style:none;
    gap:25px;

}


.menu li a{

    color:#dcecff;
    transition:.3s;

}


.menu li a:hover{

    color:#00cfff;

}



.search{

    border:none;
    background:#102536;
    color:white;
    width:45px;
    height:45px;
    border-radius:50%;
    cursor:pointer;
    font-size:18px;

}



/* HERO */

.hero{

    width:90%;
    margin:40px auto;

    min-height:600px;

    display:grid;
    grid-template-columns:1fr 1fr;

    gap:40px;
    align-items:center;

}



.hero-content{

    padding:40px;

}


.tag{

    display:inline-block;
    background:#00bfff;
    color:#06131e;

    padding:7px 20px;

    border-radius:30px;

    font-weight:800;

}



.hero-content h2{

    font-size:55px;
    line-height:1.3;

    margin:25px 0;

}


.hero-content p{

    color:#b5c8d8;

    font-size:18px;

}


.blink-text {
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 45% {
        opacity:1;
    }

    50%, 95% {
        opacity:0;
    }

    100% {
        opacity:1;
    }
}

.hero-buttons{

    margin-top:35px;

    display:flex;
    gap:20px;

}


.hero-buttons a{

    background:#00bfff;

    color:#06131e;

    padding:14px 35px;

    border-radius:40px;

    font-weight:800;

    transition:.3s;

}



.hero-buttons a:hover{

    transform:translateY(-5px);

    box-shadow:
    0 10px 30px rgba(0,191,255,.4);

}



.hero-image img{

    height:500px;

    object-fit:cover;

    border-radius:30px;

    box-shadow:
    0 30px 80px rgba(0,0,0,.5);

}



/* BREAKING NEWS */

.breaking-box{

    width:90%;

    margin:50px auto;

    background:#102536;

    border-radius:20px;

    overflow:hidden;

    display:flex;

    align-items:center;

}



.breaking-box{
    position:relative;
    height:70px;
}


.charge-bar{

    position:absolute;
    top:0;
    left:0;

    height:100%;
    width:0%;

    background:#00bfff;

    animation:charge 20s linear infinite;

    opacity:0.5;

}

.breaking-content{

    position:relative;
    z-index:2;

    width:100%;
    text-align:left;

    font-weight:700;

}


@keyframes charge{

    0%{
        width:0%;
    }

    100%{
        width:100%;
    }

}

.breaking-title{

    background:#00bfff;

    color:#06131e;

    padding:20px;

    font-weight:900;
}


.breaking-items{

    display:flex;

    gap:40px;

    padding:0 30px;

    color:#d8e8f5;

}



/* SECTION */

.section{

    width:90%;

    margin:80px auto;

}


.section-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:35px;

}


.section-header h2{

    font-size:35px;

}


.section-header a{

    color:#00bfff;

}
/* NEWS CARDS */

.news-grid{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;

}


.news-card{

    background:#102536;

    border-radius:25px;

    overflow:hidden;

    transition:.4s;

    border:1px solid rgba(255,255,255,.05);

}


.news-card:hover{

    transform:translateY(-10px);

    box-shadow:
    0 20px 50px rgba(0,191,255,.15);

}


.news-card img{

    height:400px;

    object-fit:cover;

}


.news-content{

    padding:25px;

}


.news-content span{

    background:#00bfff;

    color:#06131e;

    padding:10px 15px;

    border-radius:20px;

    font-size:20px;

    font-weight:800;
    
    display: flex;

    justify-content: center;

    align-items: center;

}


.news-content h3{

    margin:20px 0 10px;

    font-size:22px;

}


.news-content p{

    color:#afc2d1;

    font-size:15px;

}


.news-content a{

    display:inline-block;

    margin-top:px;

    color:#071521;

    font-weight:bold;

}



/* FEATURED NEWS */


.featured{

    width:90%;

    margin:50px auto;

}


.featured-box{

    display:grid;

    grid-template-columns:1fr 1fr;

    background:#102536;

    border-radius:30px;

    overflow:hidden;

}


.featured-image img{

    height:100%;

    object-fit:cover;

}



.featured-text{

    padding:50px;

}



.featured-text h2{

    font-size:35px;

    margin:20px 0;

}


.featured-text p{

    color:#b6c9d8;

}



.category{

    background:#00bfff;

    color:#06131e;

    padding:7px 20px;

    border-radius:20px;

}



.read-more{

    display:inline-block;

    margin-top:30px;

    background:#00bfff;

    color:#06131e;

    padding:12px 30px;

    border-radius:30px;

    font-weight:800;

}



/* MATCHES */


.matches{

    width:90%;

    margin:80px auto;

}



.match-list{

    display:flex;

    flex-direction:column;

    gap:20px;

}


/* TABLE */


.league{

    width:90%;

    margin:80px auto;

}









/* GALLERY */


.gallery{

    width:90%;

    margin:80px auto;

}



.gallery-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

}



.gallery-grid img{

    height:250px;

    object-fit:cover;

    border-radius:25px;

    transition:.4s;

}



.gallery-grid img:hover{

    transform:scale(1.05);

}



/* VIDEOS */


.videos{

    width:90%;

    margin:80px auto;

}



.video-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}



.video-card{

    height:260px;

    background:

    linear-gradient(
    135deg,
    #102536,
    #071521
    );

    border-radius:25px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

}



.play{

    width:70px;

    height:70px;

    border-radius:50%;

    background:#00bfff;

    color:#06131e;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:25px;

    margin-bottom:20px;

}



/* FOOTER */


footer{

    background:#040c14;

    margin-top:100px;

    padding:60px 10%;

    text-align:center;

}


.footer-content h2{

    font-size:35px;

    margin-bottom:20px;

}


.footer-content p{

    color:#a8bac9;

}


.footer-content ul{

    list-style:none;

    display:flex;

    justify-content:center;

    gap:30px;

    margin:30px 0;

}


.footer-content a:hover{

    color:#00bfff;

}

/* ====================== MOBILE ====================== */

@media (max-width:768px){



    
.menu{
    display:none;
}

.search{
    display:block;
}


.navbar{
    width:95%;
    flex-direction:column;
    gap:20px;
    text-align:center;
}

.logo{
    justify-content:center;
}


.logo h1{
font-size:clamp(24px,4vw,30px);


}





.menu{
    width:100%;
    justify-content:center;
    flex-wrap:wrap;
    gap:18px;
}

.menu li a{
    font-size:18px;
}




.search{
    display:block;
}


.hero{

    width:95%;
    grid-template-columns:1fr;
    text-align:center;
    margin-top:20px;

}

.hero-content{

    padding:10px;

}

.hero-content h2{

    font-size:45px;

}


.hero-content h2{
font-size:clamp(36px,6vw,55px);


}


.hero-buttons{

    flex-direction:column;
    align-items:center;

}

.hero-buttons a{

    width:90%;

}

.hero-image{

    order:-1;

}

.hero-image img{

    height:auto;

}



.section-header{

    flex-direction:column;
    gap:15px;
    text-align:center;

}

.section-header h2{

    font-size:30px;

}



.news-grid{

    grid-template-columns:1fr;

}

.news-card img{

    height:auto;

}



.featured-box{

    grid-template-columns:1fr;

}

.featured-text{

    padding:30px;

}



.gallery-grid{

    grid-template-columns:1fr;

}



.video-grid{

    grid-template-columns:1fr;

}



.footer-content ul{

    flex-direction:column;
    gap:15px;

}

}

/* ================= HAMBURGER MENU ================= */

.mobile-menu{
    position:fixed;
    top:0;
    right:-280px;
    width:250px;
    height:100vh;

    background:#102536;

    display:flex;
    flex-direction:column;

    padding-top:90px;

    transition:.4s;

    z-index:999;
}

.mobile-menu a{

    padding:18px 25px;

    color:white;

    border-bottom:1px solid rgba(255,255,255,.1);

    transition:.3s;
}

.mobile-menu a:hover{

    background:#00bfff;
    color:#071521;

}

.mobile-menu.active{

    right:0;

}

.mobile-menu{

    position:fixed;

    top:0;
    right:-300px;

    width:260px;
    height:100vh;

    background:#071521;

    box-shadow:-10px 0 30px rgba(0,0,0,.4);

    display:flex;
    flex-direction:column;

    transition:.35s ease;

    z-index:1001;

    padding-top:20px;

}

.mobile-menu.active{

    right:0;

}

.close-menu{

    width:45px;
    height:45px;

    margin:15px;

    align-self:flex-start;

    border:none;

    background:#102536;

    color:white;

    border-radius:50%;

    font-size:22px;

    cursor:pointer;

    transition:.3s;

}

.close-menu:hover{

    background:#00bfff;

    color:#071521;

    transform:rotate(90deg);

}

.mobile-menu a{

    padding:18px 30px;

    color:white;

    font-size:18px;

    transition:.3s;

}

.mobile-menu a:hover{

    background:#00bfff;

    color:#071521;

    padding-right:40px;

}

.overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.55);

    opacity:0;

    visibility:hidden;

    transition:.3s;

    z-index:1000;

}

.overlay.active{

    opacity:1;

    visibility:visible;

}

@media (max-width:768px){

    .search{
        display:flex;
        justify-content:center;
        align-items:center;
    }

    .menu{
        display:none;
    }

}

/* HOME FOUR CARDS */

.home-cards{

    margin-top:50px;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}


.home-card{

    height:180px;

    background:#102536;

    border-radius:25px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

    border:1px solid rgba(255,255,255,.08);

    transition:.4s ease;

    position:relative;

    overflow:hidden;

}



.home-card::before{

    content:"";

    position:absolute;

    width:0;
    height:0;

    background:#00bfff;

    border-radius:50%;

    transition:.5s;

    opacity:.15;

}



.home-card:hover::before{

    width:300px;

    height:300px;

}



.home-card:hover{

    transform:translateY(-10px);

    box-shadow:
    0 20px 50px rgba(0,191,255,.25);

    border-color:#00bfff;

}



.home-card h3{

    position:relative;

    z-index:2;

    font-size:24px;

}



.home-card p{

    position:relative;

    z-index:2;

    color:#a8bac9;

    margin-top:10px;

}


/* MOBILE */

@media(max-width:768px){

    .home-cards{

        grid-template-columns:1fr 1fr;

        gap:15px;

    }


    .home-card{

        height:150px;

    }

}



@media(max-width:450px){

    .home-card{

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    min-height:180px;
    width:100%;

    background:#102536;

    border-radius:25px;

    padding:25px;

    text-align:center;

    border:1px solid rgba(255,255,255,.08);

    transition:.4s ease;

    position:relative;

    overflow:hidden;

}

}

.card-icon{

    font-size:45px;

    color:#00bfff;

    margin-bottom:15px;

    transition:.4s;

}


.home-card:hover .card-icon{

    transform:translateY(-8px) scale(1.1);

    color:white;

}

.intro-box{

    width:100%;
    margin:0;

    background:#102536;

    border-radius:35px;

    padding:50px;

    display:grid;

    grid-template-columns:1.2fr .8fr;

    gap:40px;

    align-items:center;

}



.intro-text h2{

    font-size:38px;

    margin-bottom:25px;

    color:#00bfff;

}



.intro-text p{

    color:#c3d4e0;

    font-size:20px;

    line-height:2.2;

    text-align:justify;

}



.intro-image img{

    width:100%;

    height:400px;

    object-fit:cover;

    border-radius:30px;

}



@media(max-width:768px){

    
    .intro-box{
    display:flex;
    flex-direction:column;
    background:#102536;
    border-radius:25px;
    padding:25px;
    margin:30px auto;
    }

    
    .intro-image{
    margin-top:25px;
    }


    .intro-image img{

        height:300px;

    }

}

.language-box{

    position:absolute;

    top:25px;

    left:5%;

    background:#102536;

    padding:10px 18px;

    border-radius:35px;

    display:flex;

    align-items:center;

    gap:12px;

    border:1px solid rgba(255,255,255,.1);

    box-shadow:0 10px 30px rgba(0,0,0,.3);

    z-index:999;

}



.language-box a{

    display:flex;

    align-items:center;

    gap:7px;

    color:white;

    font-size:14px;

    transition:.3s;

}



.language-box a:hover{

    color:#00bfff;

}



.language-box img{

    width:24px;

    height:24px;

    border-radius:50%;

}



.language-box span{

    color:#70889a;

}



@media(max-width:768px){

    .language-box{

        top:15px;

        left:15px;

        transform:scale(.85);

    }

}


/* ================= ART PAGE ================= */


.art-gallery{

    width:90%;

    margin:80px auto;

}



.art-title{

    text-align:center;

    margin-bottom:40px;

}



.art-title h2{

    font-size:40px;

    color:#00bfff;

}



.art-title p{

    color:#b5c8d8;

    font-size:18px;

}




.art-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}




.art-card{

    background:#102536;

    border-radius:30px;

    overflow:hidden;

    border:1px solid rgba(255,255,255,.08);

    transition:.4s ease;

}



.art-card:hover{

    transform:translateY(-12px);

    box-shadow:
    0 25px 60px rgba(0,191,255,.2);

}




.art-card img{

    width:100%;

    height:350px;

    object-fit:cover;

    transition:.5s;

}



.art-card:hover img{

    transform:scale(1.05);

}




.art-content{

    padding:25px;

    text-align:center;

}



.art-content h3{

    font-size:24px;

    margin-bottom:10px;

}



.art-content p{

    color:#a9bdcc;

}





.art-button{

    display:inline-block;

    margin-top:15px;

    background:#00bfff;

    color:#06131e;

    padding:10px 25px;

    border-radius:30px;

    font-weight:800;

    transition:.3s;

}



.art-button:hover{

    transform:scale(1.05);

}



/* MOBILE */


@media(max-width:768px){


.art-grid{

    grid-template-columns:1fr;

}



.art-title h2{

    font-size:32px;

}



.art-card img{

    height:280px;

}


}

.news-content{
    text-align:center;
}


.news-content h3{

    text-align:center;

}


.news-content span{

    display:flex;

    justify-content:center;

    align-items:center;

}
