*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background:#f4f4f4;
    color:#222;
    transition:.3s;
}

header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 50px;
    background:#0b4f6c;
    color:white;
}

.logo{
    font-size:24px;
    font-weight:bold;
}

nav{
    display:flex;
    gap:25px;
}

nav a{
    color:white;
    text-decoration:none;
    font-weight:bold;
}

nav a:hover{
    color:#ffd700;
}

#darkModeBtn{
    border:none;
    background:white;
    padding:10px;
    border-radius:50%;
    cursor:pointer;
}

.hero{
    height:80vh;
    background:
    linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.5)),
    url('https://images.unsplash.com/photo-1574629810360-7efbbe195018');
    background-size:cover;
    background-position:center;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:white;
}

.hero h1{
    font-size:60px;
    margin-bottom:20px;
}

.hero p{
    font-size:20px;
    margin-bottom:20px;
}

.btn{
    display:inline-block;
    background:#ffd700;
    color:black;
    padding:15px 25px;
    text-decoration:none;
    border-radius:8px;
    font-weight:bold;
}

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
    padding:50px;
}

.card{
    background:white;
    padding:30px;
    border-radius:12px;
    text-align:center;
    box-shadow:0 0 10px rgba(0,0,0,.1);
}

.card i{
    font-size:40px;
    margin-bottom:15px;
    color:#0b4f6c;
}

.dark{
    background:#121212;
    color:white;
}

.dark .card{
    background:#1f1f1f;
}

.dark header{
    background:#000;
}

@media(max-width:768px){

    header{
        flex-direction:column;
        gap:15px;
    }

    nav{
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero h1{
        font-size:38px;
    }
}

.page-title{
    text-align:center;
    padding:30px;
}

.filters{
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
    padding:20px;
}

.filters input,
.filters button{
    padding:12px;
    border-radius:8px;
    border:1px solid #ccc;
}

.filters button{
    background:#0b4f6c;
    color:white;
    cursor:pointer;
}

.matches-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:20px;
    padding:30px;
}

.match-card{
    background:white;
    padding:20px;
    border-radius:12px;
    box-shadow:0 0 10px rgba(0,0,0,.1);
}

.match-date{
    color:#666;
    margin-bottom:10px;
}

.match-teams{
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-weight:bold;
    margin:15px 0;
}

.score{
    font-size:24px;
    color:#0b4f6c;
}

.pagination{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:15px;
    margin:30px;
}

.pagination button{
    padding:10px 20px;
    cursor:pointer;
}

.dark .match-card{
    background:#1f1f1f;
}

.latest-matches{
    padding:50px;
}

.latest-matches h2{
    text-align:center;
    margin-bottom:30px;
}

.home-match-card{
    background:white;
    border-radius:12px;
    padding:20px;
    box-shadow:0 0 10px rgba(0,0,0,.1);
    text-align:center;
}

.dark .home-match-card{
    background:#1f1f1f;
}

.team{
    display:flex;
    align-items:center;
    gap:8px;
    justify-content:center;
}

.team img{
    width:24px;
    height:16px;
    border-radius:3px;
    object-fit:cover;
}

.navbar {
    display: flex;
    gap: 20px;
    padding: 15px;
    background: #111;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.navbar a:hover {
    color: #00ff88;
}

.home-match-card {
    background: #1e1e1e;
    color: white;
    padding: 15px;
    margin: 10px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.score {
    font-size: 18px;
    font-weight: bold;
}

.team {
    flex: 1;
}
.pagination {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-top: 20px;
}

.pagination button {
    padding: 6px 12px;
    border: none;
    cursor: pointer;
    background: #333;
    color: white;
    border-radius: 5px;
}

.pagination button.active {
    background: #00ff88;
    color: black;
}