/* =========================
   GOOGLE FONT
========================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* =========================
   RESET
========================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#0a0f1f;
    color:#fff;
    overflow-x:hidden;
}

/* =========================
   SCROLLBAR
========================= */
::-webkit-scrollbar{
    width:8px;
}

::-webkit-scrollbar-thumb{
    background:#ff7b00;
    border-radius:20px;
}

/* =========================
   HEADER
========================= */
.header{
    width:100%;
    height:85px;
    background:rgba(0,0,0,0.5);
    backdrop-filter:blur(10px);
    position:fixed;
    top:0;
    left:0;
    z-index:999;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 6%;
    border-bottom:1px solid rgba(255,255,255,0.08);
}

.logo-section{
    display:flex;
    align-items:center;
    gap:12px;
}

.main-logo{
    width:55px;
    height:55px;
    object-fit:contain;
}

.logo-section h2{
    font-size:24px;
    color:#ff7b00;
}

.logo-section span{
    font-size:13px;
    color:#ddd;
}

.nav{
    display:flex;
    gap:30px;
}

.nav a{
    text-decoration:none;
    color:#fff;
    font-weight:500;
    transition:0.3s;
    position:relative;
}

.nav a:hover{
    color:#ff7b00;
}

.nav a::after{
    content:'';
    position:absolute;
    width:0%;
    height:2px;
    background:#ff7b00;
    left:0;
    bottom:-5px;
    transition:0.3s;
}

.nav a:hover::after{
    width:100%;
}

.menu-btn{
    display:none;
    font-size:28px;
    cursor:pointer;
}

/* =========================
   MOBILE MENU
========================= */
.mobile-menu{
    position:fixed;
    top:85px;
    right:-100%;
    width:260px;
    height:100vh;
    background:#111827;
    z-index:998;
    padding:40px 25px;
    transition:0.4s;
    display:flex;
    flex-direction:column;
    gap:25px;
}

.mobile-menu.active{
    right:0;
}

.mobile-menu a{
    color:#fff;
    text-decoration:none;
    font-size:18px;
    font-weight:500;
}

/* =========================
   HERO
========================= */
.hero{
    width:100%;
    height:100vh;
    position:relative;
    background:
    linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),
    url('https://images.unsplash.com/photo-1546519638-68e109498ffc?q=80&w=2070');
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:0 20px;
}

.hero-content{
    max-width:850px;
    animation:fadeUp 1s ease;
}

.mini-title{
    color:#ff7b00;
    letter-spacing:3px;
    margin-bottom:20px;
    font-size:14px;
}

.hero h1{
    font-size:70px;
    line-height:1.1;
    margin-bottom:25px;
    font-weight:800;
}

.hero p{
    color:#ddd;
    font-size:18px;
    line-height:1.8;
}

.hero-buttons{
    margin-top:35px;
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.primary-btn,
.secondary-btn{
    padding:15px 35px;
    border-radius:50px;
    text-decoration:none;
    font-weight:600;
    transition:0.4s;
}

.primary-btn{
    background:#ff7b00;
    color:#fff;
}

.primary-btn:hover{
    background:#ff9f43;
    transform:translateY(-3px);
}

.secondary-btn{
    border:2px solid #fff;
    color:#fff;
}

.secondary-btn:hover{
    background:#fff;
    color:#000;
}

/* =========================
   STATS
========================= */
.stats-banner{
    width:90%;
    margin:auto;
    margin-top:-70px;
    position:relative;
    z-index:10;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.stat-box{
    background:#111827;
    border-radius:20px;
    padding:35px;
    text-align:center;
    border:1px solid rgba(255,255,255,0.08);
    transition:0.4s;
}

.stat-box:hover{
    transform:translateY(-8px);
}

.stat-box h2{
    color:#ff7b00;
    font-size:40px;
    margin-bottom:10px;
}

.stat-box span{
    color:#bbb;
}

/* =========================
   GENERAL SECTION
========================= */
section{
    padding:100px 7%;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h2{
    font-size:45px;
    margin-bottom:15px;
}

.section-title p{
    color:#aaa;
}
/* =========================
   MATCHES
========================= */

.matches-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:18px;
}

.match-card{
    background:#111827;
    border-radius:20px;
    padding:18px;
    transition:0.4s;
    border:1px solid rgba(255,255,255,0.05);
}

.match-card:hover{
    transform:translateY(-6px);
    border-color:#ff7b00;
}

.match-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:15px;
}

.league-badge{
    background:#ff7b00;
    padding:5px 12px;
    border-radius:30px;
    font-size:11px;
    font-weight:600;
}

.match-date{
    color:#aaa;
    font-size:11px;
}

.match-teams-box{
    background:#0f172a;
    border-radius:16px;
    padding:15px;
}

.team-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.team-info{
    display:flex;
    align-items:center;
    gap:10px;
}

.team-info img{
    width:42px;
    height:42px;
    border-radius:50%;
    object-fit:cover;
    background:#fff;
}

.team-info h3{
    font-size:13px;
    margin-bottom:3px;
}

.team-info small{
    color:#999;
    font-size:11px;
}

.team-score{
    font-size:20px;
    font-weight:700;
}

.vs-text{
    text-align:center;
    margin:12px 0;
    color:#ff7b00;
    font-size:13px;
    font-weight:700;
    letter-spacing:1px;
}

.match-footer{
    margin-top:15px;
    display:flex;
    flex-direction:column;
    gap:10px;
}

.match-status{
    text-align:center;
    padding:10px;
    border-radius:10px;
    font-size:12px;
    font-weight:600;
}

.match-status.completed{
    background:#166534;
}

.match-status.live{
    background:#dc2626;
}

.match-status.upcoming{
    background:#334155;
}

.match-btn{
    text-decoration:none;
    text-align:center;
    background:#ff7b00;
    color:#fff;
    padding:11px;
    border-radius:12px;
    font-size:13px;
    font-weight:600;
    transition:0.3s;
}

.match-btn:hover{
    background:#ff9f43;
}

/* MATCH PAGINATION */

.pagination{
    display:flex;
    justify-content:center;
    gap:10px;
    margin-top:45px;
    flex-wrap:wrap;
}

.pagination button{
    width:42px;
    height:42px;
    border:none;
    border-radius:10px;
    background:#111827;
    color:#fff;
    cursor:pointer;
    font-weight:600;
    transition:0.3s;
}

.pagination button.active{
    background:#ff7b00;
}

.pagination button:hover{
    background:#ff7b00;
}

/* =========================
   RESPONSIVE MATCHES
========================= */

@media(max-width:1400px){

    .matches-grid{
        grid-template-columns:repeat(4,1fr);
    }

}

@media(max-width:1100px){

    .matches-grid{
        grid-template-columns:repeat(3,1fr);
    }

}

@media(max-width:768px){

    .matches-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:500px){

    .matches-grid{
        grid-template-columns:repeat(2,1fr);
        gap:14px;
    }

    .team-info h3{
        font-size:11px;
    }

    .team-score{
        font-size:16px;
    }

}
/* =========================
   TABLE
========================= */
.table-wrapper{
    overflow-x:auto;
}

table{
    width:100%;
    border-collapse:collapse;
    background:#111827;
    border-radius:20px;
    overflow:hidden;
}

thead{
    background:#ff7b00;
}

thead th{
    padding:18px;
    text-align:left;
}

tbody tr{
    border-bottom:1px solid rgba(255,255,255,0.05);
    transition:0.3s;
}

tbody tr:hover{
    background:#1b2336;
}

tbody td{
    padding:18px;
}

.table-team{
    display:flex;
    align-items:center;
    gap:12px;
}

.table-team img{
    width:40px;
    height:40px;
    border-radius:50%;
    background:#fff;
}

/* =========================
   TEAMS
========================= */
/* =========================
   TEAMS
========================= */

.teams-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:20px;
}

.team-card{
    background:#111827;
    padding:25px;
    border-radius:22px;
    text-align:center;
    transition:0.4s;
    border:1px solid rgba(255,255,255,0.05);
}

.team-card:hover{
    transform:translateY(-8px);
    border-color:#ff7b00;
}

.team-logo{
    width:90px;
    height:90px;
    border-radius:50%;
    object-fit:cover;
    background:#fff;
    margin-bottom:15px;
}

.team-card h3{
    font-size:18px;
    margin-bottom:10px;
}

.team-card span{
    color:#aaa;
    font-size:14px;
}

.team-bottom{
    display:flex;
    justify-content:space-between;
    margin-top:20px;
    background:#0f172a;
    padding:14px;
    border-radius:14px;
}
/* =========================
   PLAYERS
========================= */

.players-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:22px;
}

.player-card{
    background:#111827;
    border-radius:24px;
    padding:22px;
    transition:0.4s;
    border:1px solid rgba(255,255,255,0.05);
    position:relative;
    overflow:hidden;
}

.player-card:hover{
    transform:translateY(-8px);
    border-color:#ff7b00;
}

.player-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:18px;
}

.player-position{
    background:#1b2336;
    padding:8px 14px;
    border-radius:30px;
    font-size:12px;
    color:#ff7b00;
    font-weight:600;
}

.player-number{
    background:#ff7b00;
    color:#fff;
    padding:8px 14px;
    border-radius:30px;
    font-size:12px;
    font-weight:700;
}

.player-image-wrapper{
    display:flex;
    justify-content:center;
    margin-bottom:20px;
}

.player-image{
    width:130px;
    height:130px;
    border-radius:50%;
    object-fit:cover;
    border:4px solid #ff7b00;
}

.player-content{
    text-align:center;
}

.player-content h3{
    font-size:19px;
    margin-bottom:12px;
}

.player-team{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    margin-bottom:22px;
}

.mini-team-logo{
    width:28px;
    height:28px;
    border-radius:50%;
    object-fit:cover;
    background:#fff;
}

.player-team span{
    color:#bbb;
    font-size:14px;
}

.view-player-btn{
    display:inline-block;
    width:100%;
    padding:13px;
    border-radius:14px;
    text-decoration:none;
    background:#ff7b00;
    color:#fff;
    font-weight:600;
    transition:0.4s;
}

.view-player-btn:hover{
    background:#ff9f43;
}

/* PAGINATION */

.pagination{
    display:flex;
    justify-content:center;
    gap:12px;
    margin-top:50px;
    flex-wrap:wrap;
}

.pagination button{
    width:45px;
    height:45px;
    border:none;
    border-radius:12px;
    background:#111827;
    color:#fff;
    cursor:pointer;
    font-weight:600;
    transition:0.3s;
}

.pagination button.active{
    background:#ff7b00;
}

.pagination button:hover{
    background:#ff7b00;
}

/* =========================
   NEWS
========================= */
.news-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:25px;
}

.news-card{
    background:#111827;
    border-radius:22px;
    overflow:hidden;
    transition:0.4s;
}

.news-card:hover{
    transform:translateY(-10px);
}

.news-card img{
    width:100%;
    height:240px;
    object-fit:cover;
}

.news-content{
    padding:25px;
}

.news-date{
    color:#ff7b00;
    font-size:13px;
}

.news-content h3{
    margin:15px 0;
}

.news-content p{
    color:#bbb;
    line-height:1.7;
}

.read-btn{
    display:inline-block;
    margin-top:20px;
    text-decoration:none;
    color:#ff7b00;
    font-weight:600;
}

/* =========================
   FOOTER
========================= */
.footer{
    background:#050814;
    padding:70px 20px;
    text-align:center;
}

.footer h2{
    margin-bottom:20px;
}

.footer p{
    color:#aaa;
    max-width:600px;
    margin:auto;
}

.footer-socials{
    margin:30px 0;
    display:flex;
    justify-content:center;
    gap:20px;
}

.footer-socials i{
    width:50px;
    height:50px;
    background:#111827;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    transition:0.4s;
}

.footer-socials i:hover{
    background:#ff7b00;
}

.copyright{
    margin-top:20px;
    font-size:14px;
}

/* =========================
   ANIMATION
========================= */
@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(40px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* =========================
 /* =========================
   RESPONSIVE
========================= */

@media(max-width:1200px){

    .players-grid{
        grid-template-columns:repeat(4,1fr);
    }

    .teams-grid{
        grid-template-columns:repeat(4,1fr);
    }

}

@media(max-width:992px){

    .hero h1{
        font-size:50px;
    }

    .stats-banner{
        grid-template-columns:repeat(2,1fr);
    }

    .players-grid{
        grid-template-columns:repeat(3,1fr);
    }

    .teams-grid{
        grid-template-columns:repeat(3,1fr);
    }

}

@media(max-width:768px){

    .nav{
        display:none;
    }

    .menu-btn{
        display:block;
    }

    .hero h1{
        font-size:38px;
    }

    .hero p{
        font-size:16px;
    }

    .section-title h2{
        font-size:34px;
    }

    .stats-banner{
        grid-template-columns:1fr;
    }

    .players-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .teams-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:500px){

    .hero h1{
        font-size:32px;
    }

    .primary-btn,
    .secondary-btn{
        width:100%;
    }

    .players-grid{
        grid-template-columns:repeat(2,1fr);
        gap:14px;
    }

    .teams-grid{
        grid-template-columns:repeat(2,1fr);
        gap:14px;
    }

    .player-image{
        width:100px;
        height:100px;
    }

}