* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  @font-face {
    font-family: 'Quicksand';
    src: url('../asset/Quicksand_Book.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  body {
    margin-top: 80px;
    background-color: #ffffff;
  }

/*** Header ***/
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #7d4814;
    font-family: 'Quicksand';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
  }
  .logo img {
    height: 50px;
  }
  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;
  }
  /* Responsif */
  @media (max-width: 768px) {
    nav {
      position: absolute;
      top: 70px;
      right: 0;
      background-color: #7d4814;
      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-top {
    background-color: #FFEBaf;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    font-family: 'Quicksand';
}
.footer-content {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    margin-bottom: 30px;
}
.footer-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.footer-made-with {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: bold;
    color: #000000;
    margin-top: 8px;
}
.footer-unity {
    height: 70px;
}
.footer-bottom {
    background-color: #7d4814;
    text-align: center;
    padding: 20px;
    font-size: 18px;
    color: white;
    font-family: 'Quicksand';
}
.footer-bottom p a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-bottom p a:hover {
    color: #cccccc;
}

/*Index.php*/
/***Hero Section***/
.hero-section {
    background-image: url('../foto/Hero\ Section.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 90vh;
    width: 100%;
    padding: 60px 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    transition: background 0.5s ease-in-out;
    box-sizing: border-box;
}
.inner {
    max-width: 800px;
    padding: 40px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-family: 'Quicksand';
}
.judul {
    font-size: 4rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}
.deskripsi {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.5rem;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 30px;
    transition: color 0.3s ease;
}
.download {
    padding: 12px 24px;
    font-size: 1rem;
    font-family: 'Quicksand', sans-serif;
    background-color: #595325;
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    text-decoration: none;
}
.download:hover {
    background-color: #7d742b;
}
/*** Responsif ***/
@media (max-width: 1024px) {
    .hero-section{
        background-position: left;
    }
}
@media (max-width: 768px) {
    .judul {
        font-size: 3rem;
    }
    .deskripsi {
        font-size: 1.5rem;
    }
    .inner {
        padding: 10px;
    }
}
@media (max-width: 480px) {
    .judul {
        font-size: 2rem;
    }
    .download {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/***News***/
.artikel-terbaru {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
    font-family: 'Quicksand';
    justify-content: center;
}
.artikel-terbaru h2 {
    font-size: 2em;
    margin-bottom: 40px;
    display: inline-block;
    border-bottom: 2px solid #000000;
    padding-bottom: 5px;
}
.artikel-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-items: center;
    margin: 0 auto;
    max-width: 1200px;
    padding: 20px;
    box-sizing: border-box;
}
.artikel-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    width: 100%;
    max-width: 300px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: left;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}
.artikel-card:hover {
    transform: scale(1.03);
}
.artikel-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}
.artikel-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}
.artikel-content .tanggal {
    color: #888;
    font-size: 0.9em;
    margin-bottom: 8px;
}
.artikel-content h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}
.artikel-content .deskripsi {
    font-size: 0.95em;
    color: #444;
    margin-bottom: 20px;
    flex-grow: 1;
}
.artikel-content .btn {
    align-self: center;
    margin-top: auto;
    padding: 8px 14px;
    background-color: #595325;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.artikel-content .btn:hover {
    background-color: #7d742b;
}
.btn {
    display: inline-block;
    padding: 8px 14px;
    background-color: #595325;
    color: white;
    border-radius: 6px;
    text-decoration: none;
}
.btn:hover {
    background-color: #7d742b;
}
.tombol-lihat-semua {
    margin-top: 30px;
}
.back-button-container {
    text-align: center;
    margin-top: 40px;
}
.btn-back {
    background-color: #595325;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    transition: background-color 0.3s;
}
.btn-back:hover {
    background-color: #7d742b;
}
@media (max-width: 900px) {
    .artikel-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .artikel-container {
        grid-template-columns: 1fr;
        justify-content: center; 
        width: 100%;
        box-sizing: border-box;
    }
}

/***Detail***/
.detail-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 50px;
    width: fit-content;
    justify-content: center;
    align-items: center;
    font-family: 'Quicksand';
}
.detail-content {
    width: 65%;
    max-width: 750px;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}
.detail-content h1 {
    font-size: 28px;
    margin-bottom: 10px;
}
.tanggal {
    font-size: 14px;
    color: gray;
    margin-bottom: 15px;
}
.detail-content img {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 10px;
}
.sidebar {
    width: 30%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
    background-color: #fff;
}
.related-news, .merchandise {
    background: #ffffff;
    color: #000000;
    padding: 15px;
    border-radius: 10px;
}
.related-item, .merch-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.related-item img, .merch-item img {
    width: 100px;
    height: 50px;
    border-radius: 5px;
    object-fit: cover; 
    display: block;
}
.harga {
    font-weight: bold;
    color: #909090;
}
.related-item a {
    text-decoration: none;
    color: inherit;
    font-weight: bold;
    display: block;
}
.related-item a:hover {
    color: #807f7f;
}
.whatsapp-link-detail {
    display: inline-block;
    background-color: #25D366;
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 10px;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
}
.whatsapp-link-detail:hover {
    background-color: #1EBE5D;
    transform: scale(1.05);
}
.whatsapp-link-detail:active {
    transform: scale(0.95);
}
@media screen and (max-width: 1024px) {
    .detail-container {
        align-items: center;
        padding: 20px;
    }
    .detail-content {
        width: 90%;
        max-width: 750px;
    }
    .sidebar {
        width: 90%;
        max-width: 750px;
    }
}
@media screen and (max-width: 480px) {
    .detail-content h1 {
        font-size: 24px;
    }
    .tanggal {
        font-size: 12px;
    }
    .whatsapp-link-detail {
        font-size: 12px;
        padding: 10px 15px;
    }
}

/*** Galeri ***/
.galeri-section {
    background-color: #f6f6f6;
    text-align: center;
    padding: 60px 20px;
    font-family: 'Quicksand';
}
.galeri-section h2{
    font-size: 2em;
    margin-bottom: 40px;
    display: inline-block;
    border-bottom: 2px solid #000000;
    padding-bottom: 5px;
}
.galeri-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}
.galeri-wrapper {
    display: flex;
    transition: transform 0.3s ease;
}
.galeri-card {
    min-width: 100%;
    box-sizing: border-box;
    padding: 20px;
    text-align: left;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.galeri-image {
    width: 200px;
    height: auto;
    border-radius: 6px;
    flex-shrink: 0;
    object-fit: cover;
}
.galeri-content {
    flex: 1;
}
.galeri-content h3 {
    font-size: 1.4em;
    margin: 0 0 5px 0;
}
.galeri-content .tanggal {
    font-size: 0.9em;
    color: #888;
    margin-bottom: 10px;
}
.galeri-content .deskripsi-galeri {
    font-size: 1em;
    line-height: 1.5em;
    color: #000;
}
button {
    top: 50%;
    transform: translateY(-50%);
    background-color: #595325;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 1.5em;
    z-index: 10;
    border-radius: 50%;
    margin-top: 20px;
}
.prev-btn {
    left: 10px;
}
.next-btn {
    right: 10px;
}
button:hover {
    background-color: #7d742b;
}
@media screen and (max-width: 600px) {
    .galeri-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .galeri-image {
        width: 100%;
        max-width: 300px;
    }
    .galeri-content {
        padding-top: 10px;
    }
}

/*Game.php*/
/***About***/
.game-container {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
    font-family: 'Quicksand';
}
.game-container h2 {
    font-size: 2em;
    margin-bottom: 40px;
    display: inline-block;
    border-bottom: 2px solid #000000;
    padding-bottom: 5px;
}
.game-header {
    text-align: center;
}
.game-content {
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
    align-items: center;
    justify-content: center;
    gap: 40px;
}
.game-image {
    flex: 1;
    min-width: 200px;
    text-align: center;
}
.game-image img {
    max-width: 60%;
    border-radius: 10px;
}
.game-info {
    flex: 1;
    min-width: 300px;
}
.spec-title {
    font-size: 24px;
    color: #444;
    margin-bottom: 10px;
}
.spec-content {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    white-space: pre-line;
}
.game-version {
    font-size: 20px;
    color: #333;
    margin-top: 20px;
}
.download-buttons-horizontal {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.btn-download {
    display: inline-block;
    background-color: #595325;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.btn-download:hover {
    background-color: #7d742b;
}

/*** Komentar ***/
.review-section {
    background-color: #f6f6f6;
    padding: 60px 20px;
    margin-top: 40px;
    text-align: center;
    font-family: 'Quicksand';
}
.review-section h2{
    font-size: 2em;
    margin-bottom: 40px;
    display: inline-block;
    border-bottom: 2px solid #000000;
    padding-bottom: 5px;
}
.review-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}
.review-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: left;
    flex: 0 0 calc(33.333% - 20px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}
.review-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}
.blue { background-color: #1e40af; }
.green { background-color: #15803d; }
.red { background-color: #dc2626; }
.yellow { background-color: #facc15; color: #000; }
.cyan { background-color: #06b6d4; }
.indigo { background-color: #6366f1; }
.review-date {
    font-size: 0.85rem;
    color: #555;
    margin-top: 2px;
}
.review-text {
    font-size: 1rem;
    line-height: 1.4;
}
.pagination {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.page-link {
    padding: 8px 14px;
    background: #eee;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: background 0.2s ease;
}
.page-link:hover {
    background: #ddd;
}
.page-link.active {
    background: #595325;
    color: #fff;
}
@media (max-width: 599px) {
    .review-card {
        flex: 0 0 100%; 
    }
}

/*** Tambah Komentar ***/
.comment-form {
    text-align: center;
    padding: 20px;
    max-width: 500px;
    margin: 30px auto;
    font-family: 'Quicksand';
}
.comment-form h2 {
    font-size: 2em;
    margin-bottom: 40px;
    display: inline-block;
    border-bottom: 2px solid #000000;
    padding-bottom: 5px;
}
.comment-form h1 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #595325;
}
.comment-form label {
    display: block;
    text-align: left;
    font-size: 18px;
    margin-top: 15px;
}
.send {
    display: flex;
    justify-content: flex-start;
    margin-top: 15px;
}
.comment-form input,
.comment-form textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid black;
    padding: 10px;
    font-size: 16px;
    outline: none;
    background: none;
    min-height: 80px;
    font-family: 'Quicksand';
}
.comment-form button {
    background-color: #595325;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
    font-family: 'Quicksand';
}
.comment-form button:hover {
    background-color: #7d742b;
}

/*** Developer ***/
.developer-container {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
    font-family: 'Quicksand';
}
.developer-container h2 {
    font-size: 2em;
    margin-bottom: 40px;
    display: inline-block;
    border-bottom: 2px solid #000000;
    padding-bottom: 5px;
}
.developer-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    margin-bottom: 50px;
}
.developer-photo {
    max-width: 100%;
    max-height: 300px;
    width: auto;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid #ddd;
}
.developer-info {
    text-align: left;
    max-width: 500px;
}
.developer-info p {
    font-size: 18px;
    margin: 5px 0;
    color: #000000;
}
.social-icons {
    margin-top: 10px;
}
.social-icons a {
    display: inline-block;
    margin-right: 10px;
}
.social-icons img {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}
.social-icons img:hover {
    transform: scale(1.1);
}
@media screen and (max-width: 768px) {
    .developer-profile {
        flex-direction: column;
        text-align: center;
    }
    .developer-photo {
        max-width: 100%;
        height: auto;
    }
    .developer-info {
        max-width: 100%;
        text-align: center;
    }
}

/*** Merchandise ***/
.merchandise-section {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
    font-family: 'Quicksand';
}
.merchandise-section h2,
.section2-title {
    font-size: 2em;
    margin-bottom: 40px;
    display: inline-block;
    border-bottom: 2px solid #000000;
    padding-bottom: 5px;
}
.merchandise-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px 40px;
    margin: 0 auto;
    max-width: 1080px;
}
.merchandise-item {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    text-align: center;
}
.merchandise-item:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.merchandise-item img {
    width: 100%;
    max-width: 180px;
    height: auto;
    display: block;
    margin: 0 auto 15px;
    transition: transform 0.3s ease;
}
.merchandise-item h3 {
    margin: 15px 0 5px;
    font-size: 20px;
}
.merchandise-item p {
    font-size: 14px;
    color: #555;
    margin: 5px 10px 15px;
}
.merchandise-item a {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 15px;
}
.section2 {
    padding: 60px 20px;
    background-color: #f6f6f6;
    text-align: center;
    font-family: 'Quicksand';
}
.section2-text {
    font-size: 16px;
    color: #444;
    margin-bottom: 20px;
}
.whatsapp-link img {
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease;
}
.whatsapp-link img:hover {
    transform: scale(1.1);
}
@media (max-width: 900px) {
    .merchandise-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .merchandise-container {
        grid-template-columns: 1fr;
    }
    .merchandise-item img {
        height: 160px;
    }
    .merchandise-item h3 {
        font-size: 18px;
    }
    .merchandise-item p {
        font-size: 13px;
    }
    .whatsapp-link img {
        width: 50px;
        height: 50px;
    }
}