* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #ffffff;
  margin: 0;
  padding-top: 80px; 
}

/*** HEADER / NAVBAR ***/
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1rem;
  background-color: #061a44;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}
.logo img {
  width: 70px;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}
nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  position: relative;
  transition: transform 0.3s ease;
  display: inline-block;
}
nav ul li a:hover {
  transform: scale(1.1);
}
nav ul li a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: white;
}
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.hamburger span {
  height: 3px;
  width: 25px;
  background: white;
  border-radius: 2px;
}

/* RESPONSIVE NAV */
@media (max-width: 768px) {
  nav {
    position: absolute;
    top: 70px;
    right: 0;
    background-color: #061a44;
    width: 100%;
    display: none;
    flex-direction: column;
    text-align: center;
  }
  nav.active {
    display: flex;
  }
  nav ul {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
  }
  .hamburger {
    display: flex;
  }
}

/*** FOOTER ***/
.footer {
  background-color: #061a44;
  padding: 20px;
  text-align: center;
  width: 100%;
  color: #ffffff;
  font-size: 14px;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}
.footer-section {
  max-width: 1200px;
  margin: 0 auto;
}

/*** Main Content ***/
.main-content {
  flex: 1;
  padding: 20px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #ffcc00;
}
.main-content h1 {
  font-size: 2rem;
  color: #333;
  font-weight: 600;
}

/*** Slider Galeri ***/
.galeri-wrapper {
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 10px;
}

.grid-galeri {
  display: inline-flex;
  gap: 20px;
}

.galeri-item {
  flex: 0 0 auto;
  width: 300px;
  background: #f5f5f5;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.galeri-item img {
  width: 100%;
  height: auto;
  display: block;
}

.galeri-content {
  padding: 10px;
}

/* Optional: Galeri versi scroll (jika digunakan) */
.galeri-frame {
  position: relative;
  overflow: hidden;
}

.galeri-list {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 20px;
  padding: 10px 0;
}

.item-galeri {
  flex: 0 0 auto;
  width: 250px;
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 10px;
}

.item-galeri img.gambar-foto {
  width: 100%;
  border-radius: 10px;
}

.info-galeri {
  padding-top: 8px;
}

.section-divider {
  height: 60px;
  background: transparent;
  border-bottom: 2px dashed #ccc;
  margin: 40px 0;
}


/***Berita***/
.container {
  max-width: auto;
  margin: auto;
  padding: 20px 20px;
}

h1 {
  text-align: center;
  margin-bottom: 40px;
  padding-top: 30px;
  color: #ffcc00;
}

.grid-berita {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.berita-item {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.berita-item:hover {
  transform: translateY(-5px);
}

.berita-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.berita-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.judul {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.meta {
  font-size: 13px;
  color: #777;
}

.detail {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

@media screen and (max-width: 992px) {
  .grid-berita {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 600px) {
  .grid-berita {
      grid-template-columns: 1fr;
  }
}
.galeri-frame {
  position: relative;
  overflow: hidden;
}

.galeri-list {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 20px;
  padding: 10px 0;
}

.item-galeri {
  flex: 0 0 auto;
  width: 250px;
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 10px;
}

.item-galeri img.gambar-foto {
  width: 100%;
  border-radius: 10px;
}

.info-galeri {
  padding-top: 8px;
}

/* Menempatkan tombol navigasi di kiri dan kanan galeri */
.navigasi-galeri {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 20px;
  pointer-events: none; /* biar nggak ngeblok hover item */
}

.navigasi-galeri button {
  background-color: #d1b3ff;
  border: none;
  border-radius: 50%;
  padding: 12px;
  font-size: 2rem; /* Ukuran lebih besar agar lebih mudah dilihat */
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  pointer-events: all; /* aktifkan klik hanya di button */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navigasi-galeri button:hover {
  background-color: #b58fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}


/***Merchandise***/
.grid-merch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.merch-item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.merch-item:hover {
  transform: translateY(-5px);
}

.merch-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.merch-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nama {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.harga {
  color: #e91e63;
  font-weight: bold;
}

.meta {
  font-size: 13px;
  color: #777;
}

.detail {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}
.whatsapp-box {
  text-align: center;
  margin: 60px;
}

.whatsapp-btn {
  display: inline-block;
  background-color: #25D366;
  color: white;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.whatsapp-btn:hover {
  background-color: #1ebc59;
}
@media screen and (max-width: 992px) {
  .grid-merch {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 600px) {
  .grid-merch {
      grid-template-columns: 1fr;
  }
}

/***Pembuat***/
.pembuat-box {
  width: 100%;
  display: flex;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 30px;
}

.pembuat-box img {
  width: 300px;
  height: 100%;
  object-fit: cover;
}

.pembuat-content {
  padding: 20px;
  flex: 1;
}

.nama {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
}

.pendidikan {
  font-size: 16px;
  font-style: italic;
  margin-bottom: 12px;
  color: #666;
}

.detail {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}

@media screen and (max-width: 768px) {
  .pembuat-box {
      flex-direction: column;
      text-align: center;
  }

  .pembuat-box img {
      width: 100%;
      height: auto;
  }

  .pembuat-content {
      padding: 20px;
  }
}

/***Komentar***/
form input, form textarea {
  width: 100%; padding: 10px; margin-bottom: 15px;
  border: 1px solid #ccc; border-radius: 5px;
}

form button {
  padding: 10px 20px;
  background: #28a745; color: white; border: none; border-radius: 5px;
  cursor: pointer;
}

.komentar {
  border-top: 1px solid #ddd;
  padding-top: 20px;
}

.item {
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #ccc;
}

.item .nama {
  font-weight: bold;
  margin-bottom: 5px;
}

.item .tanggal {
  font-size: 12px;
  color: #888;
  margin-bottom: 10px;
}

.item .isi {
  font-size: 14px;
}

/***Game***/
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-body {
  padding: 15px 20px;
}

.card-title {
  font-size: 18px;
  font-weight: bold;
  color: #1e1e1e;
  margin-bottom: 5px;
}

.version {
  font-size: 13px;
  color: #888;
  margin-bottom: 10px;
}

.desc {
  font-size: 14px;
  color: #444;
  height: 60px;
  overflow: hidden;
}

.spec {
  font-size: 13px;
  margin-top: 10px;
  color: #555;
  background: #f1f1f1;
  padding: 5px 10px;
  border-radius: 6px;
}