/* ================= GLOBAL ================= */

body{
    margin:0;
    font-family:Arial, sans-serif;
    background:#111;
    color:#fff;
}

/* DROPDOWN */

.dropdown{
position:relative;
display:inline-block;
}

.dropdown-content{
display:none;
position:absolute;
background:#222;
min-width:160px;
box-shadow:0 4px 8px rgba(0,0,0,0.3);
z-index:1;
}

.dropdown-content a{
color:white;
padding:10px 15px;
text-decoration:none;
display:block;
}

.dropdown-content a:hover{
background:#444;
}

/* muncul saat hover */

.dropdown:hover .dropdown-content{
display:block;
}

/* ================= HEADER ================= */

header{
    background:#000;
    padding:15px 30px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

header a{
    color:#fff;
    margin-left:15px;
    text-decoration:none;
}

/* ================= HERO ================= */

.hero{
    position:relative;
    height:100vh;
    overflow:hidden;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}
.hero h1{
    font-size:48px;
    letter-spacing:2px;
    animation:fadeUp 1s ease;
}
.hero p{
    color:#ccc;
    margin:10px 0 20px;
}

/* 🔥 INI YANG PENTING BANGET */
.hero-img{
    position:absolute;
    top:50%;
    left:50%;
    width:100%;
    height:100%;
    object-fit:cover;
    transform:translate(-50%, -50%);
    z-index:-1;
}

/* overlay biar teks kebaca */
.hero::after{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.6);
}

/* teks di atas */
.hero-content{
    position:relative;
    z-index:1;
}
/* ================= Galeri ================= */
.gallery {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery img {
    width: 100px;
    height: 200px;
    object-fit: cover; /* ini kuncinya */
    border-radius: 10px;
}

.gallery img:hover {
    transform: scale(1.05);
}


/* ================= BUTTON ================= */

.btn{
    display:inline-block;
    padding:14px 30px;
    margin:10px;
    border-radius:8px;
    background:linear-gradient(135deg, #d4af37, #f1c40f);
    color:black;
    font-weight:bold;
    letter-spacing:1px;
    text-decoration:none;
    transition:0.3s;
}

.btn:hover{
    transform:scale(1.05);
    box-shadow:0 0 20px rgba(212,175,55,0.7);
}

/* ================= GENERAL SECTION ================= */

.section{
    padding:60px;
    text-align:center;
}

.section img{
    width:100%;
    max-width:600px;
    height:auto;
    border-radius:10px;
}

/* ================= FOOTER ================= */

footer{
    background:#1e1e1e;
    text-align:center;
    padding:15px;
}

/* ================= ANIMATION ================= */

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

.fade-up{
    animation:fadeUp 1s ease forwards;
}

/*about*/

.about{
    padding:80px 20px;
    text-align:center;
    min-height:80vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.about h1{
    margin-bottom:40px;
}

.card-about{
    background:#1c1c1c;
    width:350px;
    margin:auto;
    padding:40px;
    border-radius:12px;
    box-shadow:0 0 25px rgba(0,0,0,0.6);
    transition:0.3s;
}

.card-about:hover{
    transform:translateY(-5px);
}

.profile{
    width:120px;
    height:120px;
    object-fit:cover;
    border-radius:50%;
    margin-bottom:20px;
    border:3px solid #00ff88;
}

.role{
    color:#00ff88;
    margin-bottom:10px;
}

.card-about hr{
    border:0;
    height:1px;
    background:#333;
    margin:20px 0;
}

.card-about p{
    color:#ccc;
    line-height:1.6;
}


/* ================= COMMENT FORM ================= */

form{
    display:flex;
    flex-direction:column;   /* bikin turun ke bawah */
    align-items:center;
    gap:12px;
    margin-top:20px;
}

/* input field */

.comment-form{
    width:100%;
    max-width:350px;
    margin:30px auto;
    padding:0 15px; /* biar ada jarak di HP */
}
/* textarea lebih tinggi */

form textarea{
    height:90px;
    resize:none;
}

/* tombol kirim */

form button{
    width:340px;
    background:#00ff88;
    border:none;
    padding:10px;
    cursor:pointer;
    border-radius:6px;
    font-weight:bold;
    transition:0.3s;
}

form button:hover{
    background:#00cc6a;
}

/* ================= FIX COMMENT FORM ================= */

.comment-form{
    width:100%;
    max-width:350px;
    margin:30px auto;
    padding:0 15px; /* biar ada jarak di HP */
}
/* label */

.comment-form label{
    text-align:left;
    font-size:14px;
    color:#ccc;
}

/* input field */

.comment-form input,
.comment-form textarea,
.comment-form select{
    width:100%;
    padding:10px;
    border-radius:6px;
    border:none;
    font-size:14px;
}

/* textarea */

.comment-form textarea{
    height:90px;
    resize:none;
}

/* button */

.comment-form button{
    padding:10px;
    border:none;
    background:#a3b914;
    border-radius:6px;
    cursor:pointer;
    font-weight:bold;
    transition:0.3s;
}

.comment-form button:hover{
    background:#7ea52f;
}

/* ================= COMMENT LIST ================= */

.comment-box{
    background:#1c1c1c;
    max-width:600px;
    margin:20px auto;
    padding:20px;
    border-radius:10px;
    text-align:left;
    border-left:4px solid #959500;
    box-shadow:0 0 10px rgba(0,0,0,0.5);
}

.comment-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:10px;
}

.username{
    color:#ffffff;
    font-weight:bold;
    font-size:18px;
}

.rating{
    color:gold;
    font-size:18px;
}

.comment-text{
    margin:10px 0;
    color:#ddd;
}

.comment-date{
    font-size:12px;
    color:#888;
}

/* STARSSSSSSSSSSS */

.star-rating{
direction: rtl;
display:inline-flex;
}

.star-rating input{
display:none;
}

.star-rating label{
font-size:50px;
color:#323232;
cursor:pointer;
transition:0.2s;
}

.star-rating label:hover,
.star-rating label:hover ~ label{
color:gold;
}

.star-rating input:checked ~ label{
color:gold;
}

/* ================= GAME PAGE ================= */

.game-container{
    max-width:800px;
    margin:auto;
    text-align:center;
}

.game-container h2{
    font-size:28px;
    margin-bottom:10px;
}

.game-container p{
    line-height:1.6;
    color:#ddd;
}

/* screenshot game */

.game-img{
    width:100%;
    max-width:600px;
    border-radius:10px;
    margin:20px 0;
    box-shadow:0 0 15px rgba(0,0,0,0.5);
}

/* tombol download */

.btn{
    display:inline-block;
    padding:12px 25px;
    background:#a78a15;
    color:white;
    text-decoration:none;
    border-radius:6px;
    font-weight:bold;
    transition:0.3s;
}

.btn:hover{
    background:#ccff00;
    transform:scale(1.05);
}

/* ================= PATCH NOTES ================= */

.patch-box{
    background:#1b1b1b;
    padding:25px;
    border-radius:10px;
    max-width:800px;
    margin:auto;
    margin-top:20px;
    box-shadow:0 0 10px rgba(0,0,0,0.4);
}

.patch-box h3{
    color:#ffcc00;
    margin-top:15px;
}

.patch-box ul{
    padding-left:20px;
}

.patch-box li{
    margin:6px 0;
    color:#ccc;
}

/* ================= SECTION ================= */

.section{
    padding:60px 20px;
    text-align:center;
}

.section h1{
    font-size:36px;
    margin-bottom:20px;
}

.section h2{
    margin-bottom:20px;
}


/* MERCH */

/* ================= MERCH FIX ================= */

/* TAB */
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.tab-btn {
    padding: 10px 20px;
    border: none;
    background: #333;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

.tab-btn:hover {
    background: #00ff88;
    color: black;
}

.tab-btn.active {
    background: #00ff88;
    color: black;
}

/* CONTENT */
.tab-content {
    display: none;
}

.tab-content.active {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* PRODUCT CARD */
.product-card {
    width: 220px;
    background: #1c1c1c;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    color: white;
}

.product-card:hover {
    transform: translateY(-5px) scale(1.03);
}

/* GAMBAR FIX (INI YANG PENTING BANGET) */
.product-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

/* TEXT */
.product-card h3 {
    margin: 10px 0 5px;
}

.price {
    color: #00ff88;
    font-weight: bold;
}

/* BUTTON */
.btn-buy {
    margin-top: 10px;
    padding: 8px 15px;
    border: none;
    background: #00ff88;
    color: black;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-buy:hover {
    background: #00cc6a;
}


/*bang ini buat news sama game*/


.section {
    padding: 40px;
}

.content-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    margin-bottom: 30px;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
    transition: 0.3s;
    overflow: hidden;
}

.content-row:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 0 30px rgba(0,255,136,0.2);
}

.content-row.reverse {
    flex-direction: row-reverse;
}

.content-img {
    width: 45%;
    height: 250px;
}

.content-text {
    width: 50%;
}

.content-img.left {
    margin-right: 20px;
}

.content-text h2 {
    margin-bottom: 10px;
}

/* ================= PAGINATION ================= */

.pagination {
    margin-top: 20px;
    text-align: center;
}

.pagination a {
    padding: 8px 12px;
    margin: 3px;
    background: #333;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.pagination a:hover {
    background: #555;
}

.pagination a.active {
    background: #ff9800;
}

/* ================= RESPONSIVE NAV (HAMBURGER + SIDEBAR) ================= */

header {
    position: sticky;
    top: 0;
    z-index: 50;
}

header .brand {
    margin: 0;
    font-size: 18px;
    letter-spacing: 0.5px;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hamburger {
    display: none;
    width: 42px;
    height: 38px;
    padding: 10px;
    border: 0;
    background: transparent;
    cursor: pointer;
    border-radius: 10px;
}

.hamburger:hover {
    background: rgba(255,255,255,0.08);
}

.hamburger span {
    display: block;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    border-radius: 2px;
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    opacity: 0;
    pointer-events: none;
    transition: 0.2s;
    z-index: 60;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 280px;
    max-width: 86vw;
    background: #0c0c0c;
    border-right: 1px solid rgba(255,255,255,0.08);
    transform: translateX(-102%);
    transition: 0.22s ease;
    z-index: 70;
    padding: 14px 14px 18px;
}

.mobile-menu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.mobile-menu__title {
    font-weight: bold;
    letter-spacing: 0.4px;
}

.mobile-menu__close {
    border: 0;
    background: rgba(255,255,255,0.1);
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}

.mobile-menu__close:hover {
    background: rgba(255,255,255,0.16);
}

.mobile-menu__links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu__links a {
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    color: #fff;
    text-decoration: none;
}

.mobile-menu__links a:hover {
    background: rgba(255,255,255,0.08);
}

body.menu-open {
    overflow: hidden;
}

body.menu-open .mobile-overlay {
    opacity: 1;
    pointer-events: auto;
}

body.menu-open .mobile-menu {
    transform: translateX(0);
}

@media (max-width: 768px) {
    header {
        padding: 12px 14px;
        justify-content: flex-start;
        gap: 10px;
    }

    .hamburger {
        display: inline-block;
    }

    .nav-desktop {
        display: none;
    }
}

/* ================= BRAND FIX ================= */

.brand-wrap{
    display:flex;
    align-items:center;
    gap:10px; /* jarak logo & HOME */
}

.logo{
    width:40px; /* atur ukuran logo */
    height:auto;
}

.brand{
    margin:0;
    font-size:18px;
}

.content-img img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:10px;
}

/* ================= GALLERY SLIDER ================= */

.gallery-section{
    padding:60px 20px;
    text-align:center;
}

.gallery-section h2{
    margin-bottom:20px;
    font-size:28px;
}

/* wrapper */
.gallery-wrapper{
    position:relative;
    max-width:900px;
    margin:auto;
    overflow:hidden;
}

/* slider */
.gallery-slider{
    display:flex;
    gap:15px;
    overflow-x:auto;
    scroll-behavior:smooth;
    padding:10px;
}

/* hilangin scrollbar */
.gallery-slider::-webkit-scrollbar{
    display:none;
}

/* image */
.gallery-slider img{
    min-width:250px;
    height:160px;
    object-fit:cover;
    border-radius:12px;
    transition:0.3s;
    cursor:pointer;
}

/* hover halus */
.gallery-slider img:hover{
    transform:scale(1.05);
    filter:brightness(1.1);
}

/* tombol kiri kanan */
.gal-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    background:rgba(0,0,0,0.5);
    border:none;
    color:white;
    font-size:22px;
    width:40px;
    height:40px;
    border-radius:50%;
    cursor:pointer;
    transition:0.3s;
    z-index:2;
}

.gal-btn:hover{
    background:#ccc728;
    color:black;
}

/* posisi */
.gal-btn.prev{ left:10px; }
.gal-btn.next{ right:10px; }

/* mobile */
@media (max-width:768px){
    .gallery-slider img{
        min-width:200px;
        height:140px;
    }
}
/* ================= SPECS ================= */

.specs-container{
    margin-top:50px;
    text-align:center;
}

.specs-title{
    font-size:28px;
    margin-bottom:30px;
    letter-spacing:2px;
}

/* GRID */
.specs-grid{
    display:flex;
    justify-content:center;
    gap:30px;
    flex-wrap:wrap;
}

/* CARD */
.spec-card{
    background:linear-gradient(145deg,#1a1a1a,#222);
    border:1px solid #333;
    border-radius:15px;
    padding:25px;
    width:280px;
    text-align:left;

    box-shadow:0 0 15px rgba(0,0,0,0.5);
    transition:0.3s;
}

/* HOVER WADIDAW */
.spec-card:hover{
    transform:translateY(-10px) scale(1.03);
    box-shadow:0 0 25px rgba(154, 173, 34, 0.4);
}

/* TITLE */
.spec-card h3{
    text-align:center;
    margin-bottom:15px;
    color:#81932e;
}

/* LIST */
.spec-card ul{
    list-style:none;
    padding:0;
}

.spec-card li{
    margin:10px 0;
    border-bottom:1px solid #333;
    padding-bottom:5px;
}

/* RESPONSIVE */
@media(max-width:768px){
    .spec-card{
        width:90%;
    }
}














.cta-section{
    margin-top: 80px;
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(180deg, #111, #000);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.cta-content h2{
    font-size: 32px;
    margin-bottom: 10px;
    color: #fff;
}

.cta-content p{
    color: #aaa;
    margin-bottom: 30px;
}

/* BUTTONS */
.cta-buttons{
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-buttons a{
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: bold;
    transition: 0.3s;
}

/* PLAY BUTTON */
.btn-play{
    background: #cee810;
    color: #000;
}

.btn-play:hover{
    background: #bac51a;
    transform: scale(1.05);
}

/* COMMUNITY BUTTON */
.btn-community{
    border: 2px solid #b4ca24;
    color: #fffb00;
}

.btn-community:hover{
    background: #d0dd0e;
    color: #000;
    transform: scale(1.05);
}














.feature-section{
    padding: 60px 20px;
    text-align: center;
}

.feature-title{
    font-size: 28px;
    margin-bottom: 40px;
}

.feature-container{
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.feature-card{
    background: #1a1a1a;
    padding: 25px;
    border-radius: 15px;
    width: 220px;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.05);
}

.feature-card:hover{
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.feature-card .icon{
    font-size: 40px;
    margin-bottom: 15px;
}

.feature-card h3{
    margin-bottom: 10px;
    font-size: 18px;
}

.feature-card p{
    font-size: 14px;
    color: #aaa;
}
