/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212; /* Warna latar belakang gelap */
    color: #e6b800; /* Warna teks emas */
}

/* Container */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

/* Navbar */
.navbar {
    background-color: #1a1a1a;
    padding: 15px 0;
    text-align: center;
    border-bottom: 2px solid #e6b800;
}

.navbar .logo h1 {
    margin: 0;
    font-size: 24px;
    color: #e6b800;
}

/* Highlights Section */
.match-highlights {
    text-align: center;
    padding: 20px;
}

.match-highlights h2 {
    font-size: 28px;
    color: #e6b800;
    margin-bottom: 20px;
}

/* Highlight Cards */
#highlights-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.highlight-card {
    background: #1f1f1f;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(230, 184, 0, 0.3);
    padding: 15px;
    width: 300px;
    text-align: center;
    border: 1px solid #e6b800;
    transition: transform 0.3s ease-in-out;
}

.highlight-card:hover {
    transform: scale(1.05);
}

/* League Info */
.league-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.league-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.league-name {
    font-weight: bold;
    font-size: 14px;
    color: #e6b800;
}

/* Team Logos */
.team-logos {
    display: flex;
    align-items: center; /* Pastikan elemen berada di tengah vertikal */
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

/* Atur setiap tim agar memiliki lebar yang sama */
.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1; /* Biarkan setiap tim mengambil ruang yang sama */
}

.team-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 5px;
}

.team-name {
    font-size: 14px;
    font-weight: bold;
    color: #e6b800;
    text-align: center;
}

/* VS Text */
.vs-text {
    font-size: 16px;
    font-weight: bold;
    color: #e6b800;
    text-align: center;
    flex: 0 0 auto; /* Pastikan teks "VS" tidak mengecil */
    width: 50px; /* Tetapkan lebar tetap agar tetap di tengah */
}

/* Match Info */
.match-info {
    font-size: 14px;
    color: #cccccc;
    margin: 5px 0;
}

/* Buttons */
.btn {
    background-color: #e6b800;
    color: #1a1a1a;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn:hover {
    background-color: #d4a300;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #e6b800;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    border-top: 2px solid #e6b800;
}

.footer-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-menu button {
    background-color: transparent;
    border: 1px solid #e6b800;
    color: #e6b800;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.footer-menu button:hover {
    background-color: #e6b800;
    color: #1a1a1a;
}

/* RESPONSIVE DESIGN */
@media screen and (max-width: 1024px) {
    /* Lebar kartu otomatis menyesuaikan */
    .highlight-card {
        width: 45%;
    }
}

@media screen and (max-width: 768px) {
    /* Lebar kartu akan mengikuti layar */
    .highlight-card {
        width: 90%;
    }

    /* Ubah ukuran font untuk layar kecil */
    .match-highlights h2 {
        font-size: 22px;
    }

    .league-name,
    .team-name,
    .vs-text {
        font-size: 12px;
    }

    .team-logo {
        width: 40px;
        height: 40px;
    }

    /* Tombol footer bertumpuk di layar kecil */
    .footer-menu {
        flex-direction: column;
    }

    .footer-menu button {
        width: 100%;
    }
}
/* Search Bar */
.search-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.search-container input {
    width: 60%;
    padding: 8px;
    border: 1px solid #e6b800;
    border-radius: 5px;
    background-color: #1a1a1a;
    color: #e6b800;
}

.search-container .btn {
    padding: 8px 15px;
    font-size: 14px;
}
