/* --- Global Styles --- */
:root {
    --primary:rgb(244, 151, 58);
    --dark: #121212;
    --card: #1e1e1e;
    --text: #f0f0f0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Rajdhani', sans-serif; background: var(--dark); color: var(--text); overflow-x: hidden; }
.container { width: 92%; max-width: 1200px; margin: 0 auto; }
h1, h2, h3 { font-family: 'Orbitron', sans-serif; }

/* --- Navbar Gabung --- */
#navbar {
    background: #000;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--primary);
    padding: 20px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 2rem;
    letter-spacing: 4px;
    color: #fff;
}

.logo-text span {
    color: var(--primary);
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-menu li a {
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    padding: 10px 15px;
    transition: 0.3s;
    border-radius: 4px;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background: var(--primary);
    color: #000;
}

/* --- Swiper Slider --- */
.swiper { width: 100%; height: 500px; }
.swiper-slide { position: relative; }
.swiper-slide img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.4); }
.slide-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; width: 80%; }
.neon-text { font-size: 4rem; text-shadow: 0 0 15px var(--primary); margin-bottom: 15px; }
.btn-neon { 
    display: inline-block; padding: 12px 35px; border: 2px solid var(--primary); 
    color: var(--primary); text-decoration: none; font-weight: bold; margin-top: 20px;
    box-shadow: 0 0 10px var(--primary); transition: 0.3s; border-radius: 5px;
}
.btn-neon:hover { background: var(--primary); color: #000; box-shadow: 0 0 30px var(--primary); }

/* --- TOP RATED GAMES ANIMATION --- */
.featured-game-card {
    transition: var(--transition);
    overflow: hidden;
}

.featured-game-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary) !important;
    box-shadow: 0 10px 30px rgba(225, 235, 82, 0.2);
}

.fg-img img { transition: transform 0.8s ease; }
.featured-game-card:hover .fg-img img {
    transform: scale(1.05);
}

.featured-game-card .btn-merch:hover {
    background: var(--secondary) !important;
    color: rgb(255, 255, 255);
}

/* --- LATEST NEWS ANIMATION --- */
.news-card-pro {
    transition: var(--transition);
}

.news-card-pro:hover {
    background: #252525 !important;
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.news-card-pro img { transition: transform 0.5s ease; }
.news-card-pro:hover img {
    transform: scale(1.1);
    filter: brightness(0.7);
}

.news-card-pro a { transition: 0.3s; }
.news-card-pro:hover a {
    color: rgb(218, 251, 88) !important;
    padding-left: 8px;
}


/* --- Professional Merchandise Card --- */
.merch-grid-pro {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.merch-card-pro {
    background: #1e1e1e; /* Warna dasar gelap yang solid */
    border-radius: 12px; /* Sudut membulat yang elegan, tidak tajam */
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05); /* Border sangat tipis */
    position: relative;
    display: flex;
    flex-direction: column;
}

.merch-card-pro:hover {
    transform: translateY(-8px);
    background: #252525;
    border-color:rgb(244, 151, 58) /* Highlight hijau saat di-hover */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.merch-img-wrapper {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
    background: #111;
}

.merch-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.merch-card-pro:hover .merch-img-wrapper img {
    transform: scale(1.05); /* Zoom halus saat hover */
}

/* Label harga yang elegan di pojok */
.merch-price-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px); /* Efek kaca */
    color:rgb(175, 157, 76);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(213, 217, 88, 0.77);
}

.merch-info {
    padding: 20px;
    text-align: center;
}

.merch-info h4 {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 15px;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 1px;
}

/* Tombol Beli yang Clean */
.btn-merch {
    display: inline-block;
    width: 100%;
    padding: 12px 0;
    background: #2a2a2a;
    color: #fff;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-merch:hover {
    background:rgb(76, 165, 175);
    color: #000;
    border-color:rgb(244, 151, 58)
}

/* --- Feedback Section --- */
.chat-box { background: rgba(255,255,255,0.03); padding: 30px; border-radius: 20px; }
.chat-bubble { display: flex; gap: 15px; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 15px; }
.user-avatar { width: 50px; height: 50px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.5rem; color: #000; }

/* --- Footer --- */
#footer-pub { background: #000; padding: 60px 0 30px; border-top: 1px solid #222; margin-top: 50px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
.footer-links ul { list-style: none; }
.footer-links a { color: #888; text-decoration: none; transition: 0.3s; line-height: 2; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { text-align: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid #111; color: #444; }

/* ===== FOOTER FIX LAYOUT ===== */

.footer-grid {
    display: flex;              /* ganti dari grid ke flex */
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-info {
    flex: 1;
    text-align: left;
}

.footer-links {
    flex: 1;
    text-align: right;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .footer-grid {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        text-align: center;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .neon-text { font-size: 2rem; }
    #nav-pub a { padding: 12px 15px; font-size: 0.8rem; }
}

/* ===== FIX NAVBAR ===== */

#navbar {
    background: #000;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 2px solid var(--primary);
    padding: 20px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    list-style: none;
}

.nav-menu li a {
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    padding: 10px 15px;
    transition: 0.3s;
    border-radius: 5px;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background: var(--primary);
    color: #000;
}

.container {
    width: 100%;
    padding: 0 20px;  /* atur sesuai selera */
} 

.logo-text {
    margin: 0;
}

/* ===== HAMBURGER ===== */
.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
}



/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {

    .hamburger {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 80px;
        right: 0;
        background: #000;
        flex-direction: column;
        width: 100%;
        text-align: center;
        display: none;
        padding: 20px 0;
        border-top: 2px solid var(--primary);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 15px 0;
    }
}