body {
    font-family: "Poppins", sans-serif;
    font-style: normal;
    color: #000000;
    margin: 0px;
}

/* Header */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1f8dff;
    padding: 0% 2%;
}

.navbar .header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar .header img {
    height: 40px;
    width: 40px;
}

.navbar .header h1 {
    margin: 0;
    font-size: 22px;
    color: white;
}

.navbar .navbar-nav a {
    display: block;
    overflow: hidden;
    list-style: none;
    float: left;
    font-size: 1.2vw;
    margin: 0;
    padding: 20px;
    text-decoration: none;
    color: white;
}

.navbar .navbar-nav a:hover {
    background-color: white;
    color: #1f8dff;
}

.navbar .navbar-nav .btn-login,
.navbar .navbar-nav .btn-profile {
    font-family: "Poppins", sans-serif;
    background-color: white;
    border: none;
    border-radius: 15px;
    color: #1f8dff;
    padding: 5px 16px;
    text-align: center;
    display: inline-block;
    font-weight: bold;
    font-size: 1vw;
    margin: 15px 10px;
    cursor: pointer;
}

.navbar .navbar-nav .btn-login:hover,
.navbar .navbar-nav .btn-profile:hover {
    background-color: #004b96;
    color: white;
}

.hamburger-menu {
    display: none; 
}

/* content */
.fiture {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin: 0 auto;
    padding: 20px;
    gap: 20px;
    height: 500px;
    flex-direction: column;
}

.fiture .game {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    gap: 20px;
}

.fiture .solo {
    background-color: transparent;
    border: #d9d9d9 solid 3px;
    color: #000000;
    border-radius: 10px;
    padding: 20px;
    max-width: 250px;
    width: 100%;
    text-align: center;
    text-decoration: none;
}

.fiture .solo:hover {
    background-color: #1f8dff;
    color: #ffffff;
    border: #1f8dff solid 3px;
}

.fiture .solo img {
    width: 100px;
    height: 100px;
}

.fiture .solo h5 {
    margin: 0px;
    padding: 0px;
    font-size: 18px;
}

.fiture .multipalyer {
    background-color: transparent;
    border: #d9d9d9 solid 3px;
    color: #000000;
    border-radius: 10px;
    padding: 20px;
    max-width: 250px;
    width: 100%;
    text-align: center;
    text-decoration: none;
}

.fiture .multipalyer:hover {
    background-color: #1f8dff;
    color: #ffffff;
    border: #1f8dff solid 3px;
}

.fiture .multipalyer img {
    width: 100px;
    height: 100px;
}

.fiture .multipalyer h5 {
    margin: 0px;
    padding: 0px;
    font-size: 18px;
}

/*modal style */
#modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#modal-dialog {
    background: #fff;
    padding: 2em;
    border-radius: 10px;
    max-width: 400px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    position: relative;
}

#modal-close {
    position: absolute;
    top: 10px;
    right: 16px;
    font-size: 1.5em;
    cursor: pointer;
}

#modal-title {
    margin: 0;
    font-size: 20px;
}

#modal-subtitle {
    margin: 0;
    font-size: 16px;
    color: #666;
}

#modal-content {
    margin-top: 10px;
}

/* footer */
footer {
    background-color: #d9d9d9;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* responsive design */

/* extra small (phone) */
@media only screen and (max-width: 600px) {

    /* 1. Tombol Hamburger: Tampilkan di mobile */
    .hamburger-menu {
        display: block;
        font-size: 30px;
        background: none;
        border: none;
        color: white;
        cursor: pointer;
        z-index: 1003;
    }

    /* 2. Sembunyikan Tombol Hamburger di Desktop */
    .navbar .navbar-nav {
        /* Hapus properti float: left dan display: block/inline-block untuk mobile */
        display: flex;
        flex-direction: column;
        /* Menu berjejer vertikal */
        align-items: flex-start;
        /* Konten rata kiri */

        position: fixed;
        top: 0;
        right: -300px;
        /* Sembunyikan di luar layar */
        width: 300px;
        /* Lebar Side Bar */
        height: 100%;
        background-color: #1f8dff;
        box-shadow: -4px 0 15px rgba(0, 0, 0, 0.3);
        z-index: 1002;
        transition: right 0.3s ease-in-out;
        /* Animasi geser */
        padding-top: 60px;
        /* Ruang di atas */
    }

    /* 3. Kelas untuk Menampilkan Side Bar */
    .navbar-nav.open {
        right: 0;
        /* Geser ke posisi terlihat */
    }

    /* 4. Gaya Item Menu di Side Bar */
    .navbar .navbar-nav a {
        /* Override gaya desktop */
        float: none;
        width: 100%;
        padding: 15px 20px;
        text-align: left;
        box-sizing: border-box;
        font-size: 18px;
    }

    /* 5. Gaya Tombol (Profil/Login) di Side Bar */
    .navbar .navbar-nav .btn-profile,
    .navbar .navbar-nav .btn-login {
        /* Override gaya desktop */
        width: 80%;
        font-size: 16px;
        margin: 20px 20px 15px;
    }

    footer {
        position: fixed;
        bottom: 0;
    }
}

/* small (portrait tablet & large phone) */
@media only screen and (min-width: 600px) {
    footer {
        position: fixed;
        bottom: 0;
    }
}

/* medium (landscape tablet) */
@media only screen and (min-width: 768px) {
    footer {
        position: fixed;
        bottom: 0;
    }
}

/* large (laptop/dekstop) */
@media only screen and (min-width: 992px) {
    footer {
        position: fixed;
        bottom: 0;
    }
}

/* extra large (laptop/dekstop, and up) */
@media only screen and (min-width: 1200px) {
    footer {
        position: fixed;
        bottom: 0;
    }
}