body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000000;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Memastikan body setidaknya setinggi layar */
}

header {
    background-color: #333;
    padding: 15px;
    color: white;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-weight: bold;
}

section {
    max-width: 800px;
    margin: 20px auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

section img {
    max-width: 100%; /* Agar gambar tidak melebihi lebar container */
    height: auto; /* Menjaga aspek rasio gambar */
    display: block; /* Menghindari space kosong di bawah gambar */
    margin: 10px auto; /* Memberikan sedikit ruang dan memusatkan gambar */
}

section p {
    color: #333;
    line-height: 1.6;
}

small {
    color: gray;
}

/* Pembuat */
.pembuat-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.pembuat-item {
    width: 250px;
    padding: 15px;
    text-align: center;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.pembuat-item img {
    width: 150px; /* Sesuaikan lebar sesuai kebutuhan */
    height: auto; /* Menjaga rasio gambar tetap proporsional */
    border-radius: 8px; /* Opsional, untuk membuat sudut gambar melengkung */
}

/* Merchandise */
.merchandise-item img {
    width: 200px; /* Sesuaikan lebar gambar */
    height: auto; /* Menjaga proporsi gambar */
    border-radius: 8px; /* Membuat sudut gambar melengkung */
    margin-bottom: 10px;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 10px;
    position: relative;
    width: 100%;
    margin-top: auto; /* Pastikan footer selalu berada di bawah */
    text-align: center;
}

/* Tombol Back */
.btn-back {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 12px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.btn-back:hover {
    background-color: #0056b3;
}
.berita {
    background-color: white;
    padding: 15px;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    text-align: left;
}

.berita h3 {
    margin: 0;
    color: #333;
}

.berita small {
    color: gray;
}

.berita img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

.berita p {
    color: #555;
}

.btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    text-decoration: none;
    background-color: #007BFF;
    color: white;
    border-radius: 5px;
}

.btn:hover {
    background-color: #0056b3;
}
section {
    max-width: 800px;
    margin: 20px auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

section img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 5px;
}

section p {
    color: #333;
    line-height: 1.6;
}

small {
    color: gray;
}
/* Style untuk galeri */
.galeri-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.galeri-item {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    width: 250px;
    background-color: white;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.galeri-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}
/* Gaya untuk halaman galeri */
.galeri-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.galeri-item {
    width: 200px;
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    background-color: white;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.galeri-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.galeri-item p {
    margin-top: 8px;
    font-size: 14px;
    font-weight: bold;
}

/* Tombol Back */
.btn-back {
    display: inline-block;
    margin-bottom: 15px;
    padding: 8px 12px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.btn-back:hover {
    background-color: #0056b3;
}
/* Tombol Back */
.btn-back {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 12px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.btn-back:hover {
    background-color: #0056b3;
}
.game-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.game-item {
    width: 300px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    background-color: #f9f9f9;
}

.game-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.btn {
    display: inline-block;
    padding: 8px 12px;
    background-color: blue;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}

.btn:hover {
    background-color: darkblue;
}
.game-detail {
    text-align: center;
    max-width: 800px;
    margin: auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #f9f9f9;
}

.game-detail img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 5px;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 15px;
    background-color: blue;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}

.btn:hover {
    background-color: darkblue;
}
.komentar-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.komentar-item {
    background: white;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.komentar-item p {
    margin: 5px 0;
}

.komentar-item strong {
    color: #007bff;
}

.komentar-item small {
    color: gray;
}

form {
    max-width: 800px;
    margin: 20px auto;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}

form button {
    background: #007bff;
    color: rgb(0, 0, 0);
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
}

form button:hover {
    background: #0056b3;
}
body {
    font-family: Arial, sans-serif;
    background: #000000;
    margin: 0;
    padding: 0;
    text-align: center;
}

header {
    background: #333;
    color: rgb(0, 0, 0);
    padding: 15px;
    font-size: 24px;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.card {
    background: white;
    padding: 15px;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 250px;
    text-align: center;
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.pembuat-item img {
    width: 150px; /* Sesuaikan lebar sesuai kebutuhan */
    height: auto; /* Menjaga rasio gambar tetap proporsional */
    border-radius: 8px; /* Opsional, untuk membuat sudut gambar melengkung */
}
.merchandise-item img {
    width: 200px; /* Sesuaikan lebar gambar */
    height: auto; /* Menjaga proporsi gambar */
    border-radius: 8px; /* Membuat sudut gambar melengkung */
    margin-bottom: 10px;
}
.berita img {
    width: 100%;
    max-width: 300px;  /* Sesuaikan lebar gambar */
    height: auto;      /* Menjaga proporsi gambar */
    object-fit: contain; /* Menjaga gambar tetap utuh tanpa terpotong */
    border-radius: 5px;
    display: block;    /* Mengubah elemen gambar menjadi blok */
    margin: 0 auto;    /* Mengatur margin otomatis untuk pusatkan gambar */
}
.img-berita {
    max-width: 100%; /* Membuat gambar menyesuaikan dengan lebar kontainer */
    height: auto;    /* Menjaga proporsi gambar */
    width: auto;     /* Gambar akan menyesuaikan dengan kontainer */
}
.galeri-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

.galeri-item {
    width: 250px;
    border: 1px solid #ddd;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.galeri-item img {
    width: 100%;
    height: 200px;  /* Sesuaikan tinggi agar seragam */
    object-fit: contain; /* Pastikan gambar tidak terpotong */
    border-radius: 5px;
    background: #f4f4f4; /* Tambahkan background agar gambar yang kecil tidak aneh */
}

.galeri-item h3 {
    margin: 10px 0;
    font-size: 18px;
    color: #333;
}

.galeri-item p {
    font-size: 14px;
    color: #666;
    text-align: justify;
}
.about-game {
    background-color: #fff; /* Ubah warna latar jadi putih */
    color: #000; /* Ubah warna teks jadi hitam */
    padding: 20px;
    border-radius: 10px; /* Biar tampilan lebih smooth */
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    text-align: center; /* Biar lebih rapi */
}


.about-game h2, .about-game h3 {
    color: #ffcc00;
}

.about-game ul {
    list-style: none;
    padding: 0;
}

.about-game ul li {
    padding: 5px 0;
}

/* Bagian baru untuk teks yang lebih terang */
.game-description {
    background: #f4f4f4;
    color: black;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: center;
}

.game-description h3 {
    color: #333;
    font-size: 1.5em;
}

.game-image {
    width: 100%;
    max-width: 600px;
    display: block;
    margin: 20px auto;
    border-radius: 10px;
}
.btn-baca, .btn-back {
    display: inline-block;
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-baca:hover, .btn-back:hover {
    background-color: #0056b3;
}

.merchandise-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.merchandise-item {
    width: 250px;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}

.merchandise-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}
/* RESET STYLE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

/* HEADER */
header {
    background: linear-gradient(135deg, #000000, #000000);
    padding: 20px;
    text-align: center;
    color: white;
}

nav ul {
    list-style: none;
    padding: 10px;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background 0.3s;
}

nav ul li a:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* SECTIONS */
.about-game, .game-features, .gameplay {
    max-width: 900px;
    margin: 50px auto;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

h2, h3 {
    color: #ff7e5f;
}

p {
    font-size: 18px;
    color: #555;
}

/* GAME FEATURES */
.game-features ul {
    list-style: none;
    padding: 0;
}

.game-features ul li {
    font-size: 18px;
    background: rgba(255, 126, 95, 0.1);
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    transition: 0.3s;
}

.game-features ul li:hover {
    background: rgba(255, 126, 95, 0.2);
}

/* GAMEPLAY IMAGE */
.gameplay img {
    width: 100%;
    max-width: 600px;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* FOOTER */
footer {
    background: #000000;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 50px;
}
/* Pastikan body dan html menggunakan height 100% */
html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Wrapper utama untuk semua konten */
.container {
    flex: 1;
}

/* Footer tetap di bawah */
footer {
    background: #000000;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: auto; /* Ini penting supaya footer tetap di bawah */
}
.header-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 200px; /* Sesuaikan ukuran logo */
    height: auto;
    margin-right: 15px; /* Tambah jarak antara logo dan teks */
}

.header-container h1 {
    margin-left: 10px; /* Jarak antara logo dan teks */
}
.download-button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1.1rem;
    font-weight: bold;
    color: white;
    background: linear-gradient(135deg, #ff6a00, #ee0979);
    border: none;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
    margin-top: 20px;
}

.download-button:hover {
    background: linear-gradient(135deg, #ee0979, #ff6a00);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}
.hero-logo {
    max-width: 70%;
    width: 300px;
    height: auto;
    object-fit: contain;
}
.foto-berita {
    width: 300px;
    height: 400px;
    object-fit: cover; /* bisa diganti 'contain' kalau nggak mau terpotong */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
/* Responsive layout untuk layar kecil (smartphone) */
@media (max-width: 768px) {
    header {
        text-align: center;
        padding: 10px;
    }

    nav ul {
        flex-direction: column;
        padding: 0;
        margin: 0;
    }

    nav ul li {
        margin: 8px 0;
    }

    .foto-berita {
        width: 100px;
        height: 150px;
    }

    section {
        padding: 10px;
        font-size: 14px;
    }

    .btn-back {
        display: inline-block;
        margin: 10px 0;
        padding: 8px 12px;
        font-size: 14px;
    }

    .hero-content h2,
    .about-game h2 {
        font-size: 20px;
    }

    .hero-logo {
        max-width: 120px;
        height: auto;
    }

    .download-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}
/* Menjaga form komentar tetap di atas dan rapi */
form {
    margin-bottom: 20px;
}

input[type="text"], textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button[type="submit"] {
    background-color: orange;
    padding: 10px 20px;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: #ff7f00;
}

/* Styling untuk komentar yang sudah ada */
.komentar-container {
    margin-top: 20px;
}

.komentar-item {
    background-color: #f9f9f9;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.komentar-item p {
    margin: 5px 0;
}







    



