* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: #ececec;
    color: #111;
}

/* =========================
VARIABEL GLOBAL (Untuk Konsistensi)
========================= */
:root {
    --primary-green: #79ce18;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #0e0e0e;
    --bg-light: #f4f4f4;
    --shadow: rgba(0, 0, 0, 0.35);
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(8px);
    gap: 70px;
}

.logo {
    display: flex;
    align-items: center;
    position: absolute;
    left:10px;
}

.logo img {
    height: 100px;
    width: auto;
}
.logo-text {
    color: var(--text-light);
    font-size: 20px;
    font-weight: 700;
    margin-left: 6px;
    align-items: center;
}
.navbar a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 19px;
}

/* ===== DROPDOWN ===== */
.navbar nav {
    display: flex;
    align-items: center;
    font-size: 90%;
    gap: 25px; 
}

.navbar-logo {
    height: 30px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible;
}

/* GAMBAR LOGO */
.navbar-logo img {
    height: 60px;
    width: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.6));
}

/* HERO */
.hero {
    position: relative;
    width: 100%;
    height: 970px;
    margin: 61px auto 0;
    background-image: url("gambar/Stiker.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    object-position: center;
}

/* SATU OVERLAY AJA */
.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    text-align: center;
    color: #fff;
    z-index: 10;
}

/* TEXT */
.hero-overlay h1 {
    font-size: 64px;
    margin-bottom: 10px;
    text-shadow:
    -2px -2px 0 #757575,
    2px -2px 0 #aaaaaa,
    -2px 2px 0 #000,
    2px 2px 0 #727272;
}

.hero-overlay p {
    font-size: 18px;
    text-shadow:
    -1px -1px 0 #afafaf,
    1px -1px 0 #838383,
    -1px 1px 0 #4b4a4a,
    1px 1px 0 #2e2d2d;
}

/* BUTTON */
.btn {
    padding: 14px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
}

.primary {
    background: #79ce18;
    color: white;
}

/* ===== MODERN CARD GRID ===== */
.cards {
    padding: 10px 12% 80px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 340px));
    justify-content: center;
    gap: 230px;
    background: linear-gradient(180deg, #5f4f09 0%, #205327 100%);
}

/* CARD */
.card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 30px 60px rgba(0,0,0,.15);
    transition: transform .5s ease, box-shadow .5s ease;
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px rgba(0,0,0,.25);
}

/* IMAGE */
.card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
}

.card:hover img {
    transform: scale(1.12);
}

/* GRADIENT OVERLAY */
.card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,.85),
        rgba(0,0,0,.35),
        transparent
    );
}

/* CONTENT */
.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 28px;
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: all .5s ease;
}

.card:hover .card-content {
    transform: translateY(0);
    opacity: 1;
}

.card-content h2 {
    font-size: 28px;
    margin-bottom: 8px;
}

.card-content p {
    font-size: 16px;
    opacity: .9;
    line-height: 1.6;
}

.card-content .price {
    display: block;
    margin: 8px 0;
    font-weight: 600;
    color: #79ce18;
}

/* ================= NEWS TITLE ================= */
.news-title {
    padding: 70px;
    background: #ffffff;
    text-align: center;
}

.news-title h1 {
    font-size: 64px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #111;
    margin-bottom: 10px;
}

.news-title p {
    font-size: 18px;
    color: #666;
}

/* CONTAINER DROPDOWN */
.dropdown {
    position: relative;
}

.dropbtn {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
    position: relative;
}

.dropbtn::after {
    content: "▾";
    margin-left: 6px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropbtn::after {
    transform: rotate(180deg);
}

.dropdown-content {
    position: absolute;
    top: 130%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    opacity: 0;
    pointer-events: none;
    background: rgba(20,20,20,0.85);
    backdrop-filter: blur(12px);
    min-width: 200px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 15px 35px rgba(0,0,0,0.6),
        inset 0 0 0 1px rgba(255,255,255,0.05);
    transition: all 0.35s ease;
    z-index: 999;
}

.dropdown-content.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dropdown-content a:not(:last-child) {
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.dropdown-content a:hover {
    background: linear-gradient(90deg, #86ed18, #86ed18);
    color: #000;
    padding-left: 26px;
}

/* ================= COMMENT SECTION ================= */
.comment-section {
    padding: 100px 5%;
    background: #205327;
}
.comment-section-title {
    background: #0c5321 !important; /* Hijau lebih gelap biar beda dari background utama */
    border-radius: 20px;
    margin: 0 auto 50px; 
    max-width: 900px;
}
.comment-section-title h1 {
    color: #e9d789;
}
.comment-section-title p {
    color: #f1e1b3;
}

.comment-title {
    margin-top: 20px;
    margin-bottom: 80px;
    background: #fdf5d3; /* Disamakan krem dengan form */
    padding: 30px 35px;
    border-radius: 18px;
    border: 1px solid #e2d193;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.comment-title h2 {
    font-size: 40px;
    color: #08520e;
    margin-bottom: 6px;
    text-align: center;
}

.comment-title p {
    font-size: 16px;
    color: #1b700a;
    text-align: center;
}

.comment-list {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}

.comment-card {
    background: #fdf5d3;
    padding: 20px 24px;
    border-radius: 10px;
    border: 1px solid #ddd;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.comment-header strong {
    color: #0c550a;
    font-size: 15px;
}

.comment-header span {
    font-size: 12px;
    color: #888;
}

.comment-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #0c550a;
}   

.no-comment {
    text-align: center;
    color: #999;
    font-style: italic;
}

.comment-form {
    max-width: 700px;
    margin: 0 auto 60px;
    background: #fdf5d3; /* Warna krem */
    padding: 30px;
    border: 2px solid #e2d193; /* Garis tepi krem sedikit lebih gelap */
    border-radius: 10px;
}

.comment-form h3 {
    margin-bottom: 15px;
    color: #5f4f09;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: #79ce18;
    box-shadow: 0 0 0 2px rgba(40,167,69,.15);
}

.comment-form button {
    background: #79ce18;
    color: #fff;
    border: none;
    padding: 12px 26px;
    border-radius: 6px;
    cursor: pointer;
}

.comment-form button:hover {
    background: #1f8a36;
}
/* ================= ABOUT GAME ================= */
.about-title {
    background: transparent;
}
.about-game{
    padding: 120px 8%;
    background: linear-gradient(180deg,#fcf193,#205327  );
}


.about-title h1 {
    font-size: 54px;
    color: #336d11;
    margin-bottom: 7px;
    text-align: center;
    margin-top: 40px;
}

.about-title p {
    font-size: 18px;
    width: 100%; 
    color: #336d11;
    text-align: center;
}

.about-container {
    max-width: 90%;
    margin: 18px auto 0;
    padding: 4%;
}

/* ================= ABOUT CARD (FIXED) ================= */
.about-card {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: #0c5321;
  padding: 45px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  transition: transform 0.5s ease, box-shadow 0.5s ease;

  margin: 0 auto;
  width: 95%;
  max-width: 1200px; /* ubah dari 900px */
}
.about-card-img {
    width: 100%; /* Membuat gambar penuh selebar card */
    height: auto; /* Proporsi gambar tetap terjaga */
    border-radius: 12px; /* Membuat sudut gambar sedikit melengkung, sesuaikan jika perlu */
    margin-bottom: 20px; /* Memberi jarak antara gambar dan teks pertama */
    object-fit: cover;
}



.about-card p {
    font-size: 16px;
    line-height: 1.9;
    color: #f1e1b3;
    margin-bottom: 18px;
}

.about-card .accent {
    font-weight: 600;
    color: #f0df97;
}

/* HOVER CARD */
.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.18); /* Menghapus tanda koma (,) berlebih yang membuat error */
}

/* SEE MORE BOTTOM */
.about-action {
    margin-top: 25px;
}

.about-action a {
    display: inline-block;
    padding: 12px 26px;
    background: #41370b;
    color: #e9d789;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
}

.about-action a:hover {
    background: #926e0c;
}

/* ================= TUTOR GAME ================= */
.tutor-game {
    padding: 120px 8%;
    background: linear-gradient(180deg,#205327,#5f4f09);
}

.tutor-title {
    text-align: center;
    margin-bottom: 70px;
}

.tutor-title h1 {
    font-size: 42px;
    color: #f1e1b3;
    margin-bottom: 12px;
}

.tutor-title p {
    font-size: 17px;
    color: #f1e1b3;
}

.tutor-container {
    max-width: 1200px;
    margin: auto;
}

.tutor-card {
    background: #f5e394;
    padding: 60px;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
    border: 1px solid #72621c;
    line-height: 1.8;
    font-size: 16px;
    color: #333;
}

.tutor-card p {
    margin-bottom: 20px;
    color: #5f4f09;
}

.tutor-card .accent {
    background: #5f4f09;
    padding: 20px;
    border-radius: 12px;
    font-weight: 500;
    color: #f1e1b3;
}

.tutor-action {
    margin-top: 35px;
}

.see-more {
    display: inline-block;
    padding: 12px 26px;
    background: #41370b;
    color: #e9d789;
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    transition: 0.3s;
}

.see-more:hover {
    background: #926e0c;
}

/* ================= SECTION TITLE (GLOBAL) ================= */
.section-title {
    padding: 80px;
    background: #5f4f09;
    text-align: center;
}

.section-title h1 {
    font-size: 64px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #e9d789;
    margin-bottom: 10px;
}

.section-title p {
    font-size: 18px;
    color: #ddcb7a;
}

.section-title--merchandise {
    margin-top: -60px;
}

/* ================= FOOTER ================= */
.footer {
    background: #293822;
    padding: 20px;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 0 8%;
    flex-wrap: wrap;
}

.footer-left h4,
.footer-center h4,
.footer-right h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-line {
    width: 60px;
    height: 2px;
    background: #bbb;
    margin: 10px 0 20px;
}

.footer-left p {
    font-size: 14px;
    margin-bottom: 5px;
}

.footer-left .privacy {
    display: inline-block;
    margin-top: 15px;
    font-size: 13px;
    color: #ccc;
    text-decoration: none;
}

.footer-left .privacy:hover {
    color: #fff;
}

.footer-center ul {
    list-style: none;
    padding: 0;
}

.footer-center ul li {
    margin-bottom: 8px;
}

.footer-center ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
}

.footer-center ul li a:hover {
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    width: 50px;
    height: 50px;
    background: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #79ce18;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    color: #aaa;
}

.logo-img {
    width: 120px;
    margin-bottom: 10px;
    transition: 0.3s;
}

.footer-modern {
    background: #3c3f41;
    color: #ddd;
    padding-top: 60px;
}

/* ===================================================
   KODE FIX KHUSUS MOBILE (HANYA AKTIF DI LAYAR KECIL)
   =================================================== */

@media (max-width: 768px) {
    /* HERO MOBILE */
    .hero {
        height: 260px;
        margin-top: 60px;
        padding: 0;
        border-radius: 0;
    }
    
    .navbar {
        padding: 15px 20px !important; 
        gap: 20px !important;
        height: 50px;
        justify-content: flex-end; 
    }
    
    .logo {
        left: 20px;
    }
    
    .logo img {
        height: 30px;
    }

    .hero-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 92%;
        text-align: center;
    }

    .hero-overlay h1 {
        font-size: 24px;
        line-height: 1.2;
    }

    .hero-overlay p {
        font-size: 13px;
    }

    .news-title h1 {
        font-size: 40px;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-title h1 {
        font-size: 38px;
    }

    /* 1. FIX TEKS TEGAK (Masalah padding 100px di HP) */
    .about-card, .tutor-card {
        padding: 30px 20px !important; 
        margin-top: 20px !important;
        width: 92% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .about-title, .tutor-title {
        padding: 60px 20px 20px !important;
        text-align: center !important;
    }

    /* 2. FIX KARTU MERCHANDISE */
    .cards {
        padding: 20px 5% !important;
        grid-template-columns: 1fr !important; 
        gap: 30px !important;
        background: #5f4f09;
        color: #5f4f09; 
    }

    /* 3. FIX NAVBAR */
    .navbar nav {
        gap: 12px !important;

    }

    .navbar a {
        font-size: 30px !important;
    }

    /* 4. FIX FOOTER */
    .footer-container {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 40px !important;
    }

    .footer-line {
        margin: 10px auto !important;
    }

    .social-icons {
        justify-content: center !important;
    }

    /* 5. FIX TITLE */
    .section-title h1, .news-title h1 {
        font-size: 32px !important;
    }
}

/* Background transparan di akhir jika memang dibutuhkan untuk theme */
body {
    background: transparent !important;
}