/* ==========================================================================
   STYLE CSS v6 - FAUNA189 (Penempatan Toggle Kanan Pojok Atas Mobile)
   ========================================================================== */

/* Reset Dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0b0b0b;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #141414 0%, #050505 100%);
    border-bottom: 2px solid #b37400;
    padding: 22px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.header-container {
    display: flex;
    justify-content: flex-end; /* Membawa menu navigasi desktop ke sisi kanan */
    align-items: center;
    position: relative;
    min-height: 40px;
}

/* Penyelarasan Logo Box Terpusat Aman Di Tengah */
.logo-box {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    pointer-events: none;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #e69500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    cursor: pointer;
    text-align: center;
    pointer-events: auto;
}

.logo-text span {
    color: #ffbe42;
}

/* Sembunyikan Checkbox Hack */
.menu-toggle-checkbox {
    display: none;
}

/* Nav Menu Desktop Berada Permanen Di Kanan */
.nav-menu {
    z-index: 2;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 22px;
}

.nav-menu ul li a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    padding: 6px 0;
    position: relative;
}

.nav-menu ul li a:hover {
    color: #ffbe42;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #e69500;
    transition: width 0.3s ease;
}

.nav-menu ul li a:hover::after {
    width: 100%;
}

/* Menu Hamburger Button (Default Tersembunyi di Desktop) */
.menu-icon {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    cursor: pointer;
    z-index: 10;
}

.menu-icon span {
    display: block;
    height: 2.5px;
    width: 100%;
    background-color: #ffbe42;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Sub Header */
.sub-header {
    background-color: #0d0d0d;
    padding: 10px 0;
    text-align: center;
    border-bottom: 1px solid #1f1f1f;
}

.tagline {
    font-size: 0.8rem;
    color: #a0a0a0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ==========================================================================
   Banner & Grid Layout
   ========================================================================== */
.hero-banner-section {
    background: radial-gradient(circle at center, #1a1100 0%, #0b0b0b 100%);
    padding: 30px 0 50px 0;
    border-bottom: 1px solid #222;
}

.responsive-banner-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 25px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #e69500;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(230, 149, 0, 0.2);
    overflow: hidden;
    background-color: #000;
}

.banner-img { width: 100%; height: auto; display: block; }
.banner-pc { display: block; }
.banner-android { display: none; }
.banner-ios { display: none; }

.action-buttons-container { text-align: center; margin-top: 15px; }
.action-buttons { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }

.btn {
    display: inline-block;
    padding: 14px 40px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.btn-login { background: transparent; color: #ffbe42; border: 2px solid #e69500; }
.btn-login:hover { background: #e69500; color: #000; box-shadow: 0 0 15px rgba(230, 149, 0, 0.5); transform: translateY(-2px); }
.btn-register { background: linear-gradient(135deg, #ffbe42 0%, #e69500 50%, #945f00 100%); color: #000; border: none; }
.btn-register:hover { background: linear-gradient(135deg, #ffe0a3 0%, #ffbe42 50%, #e69500 100%); box-shadow: 0 0 20px rgba(255, 190, 66, 0.6); transform: translateY(-2px); }

/* Promo Banners */
.banner-section { padding: 50px 0; }
.section-title { font-size: 1.4rem; text-align: center; margin-bottom: 25px; letter-spacing: 2px; color: #ffffff; }
.section-title::after { content: ''; display: block; width: 50px; height: 3px; background-color: #e69500; margin: 8px auto 0 auto; border-radius: 2px; }
.banner-grid { display: flex; justify-content: center; gap: 25px; flex-wrap: wrap; }
.banner-card { flex: 1; min-width: 300px; max-width: 540px; background: #141414; border-radius: 10px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.display-frame { border: 2px solid #b37400; box-shadow: 0 5px 15px rgba(0,0,0,0.6); }
.banner-card:hover { transform: translateY(-5px); border-color: #ffbe42; box-shadow: 0 5px 20px rgba(255, 190, 66, 0.25); }
.banner-image-container { position: relative; width: 100%; height: 100%; min-height: 200px; background-color: #121212; }
.promo-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.banner-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 70%, rgba(0,0,0,0) 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.banner-tag { align-self: flex-start; background-color: #e69500; color: #000; font-size: 0.7rem; font-weight: 700; padding: 2px 6px; border-radius: 3px; margin-bottom: 6px; text-transform: uppercase; }
.banner-overlay-content h4 { font-size: 1.2rem; color: #ffbe42; margin-bottom: 4px; }
.banner-overlay-content p { color: #e0e0e0; font-size: 0.85rem; }

/* Footer */
.footer { background-color: #050505; padding: 25px 0; text-align: center; font-size: 0.85rem; color: #666666; border-top: 1px solid #141414; }
.highlight { color: #e69500; font-weight: 600; }

/* ==========================================================================
   REVISI: RESPONSIF MOBILE & STRUKTUR POJOK KANAN ATAS
   ========================================================================== */
@media (max-width: 992px) {
    .banner-grid { flex-direction: column; align-items: center; }
    .banner-card { width: 100%; }
}

@media (max-width: 768px) {
    .banner-pc { display: none; }
    .banner-android { display: block; }
    
    /* REVISI: Tampilkan Hamburger di Kanan Pojok Atas secara Relatif */
    .menu-icon {
        display: flex;
        position: relative;
        margin-left: auto; /* Mendorong ikon menempel ke pojok kanan */
    }

    /* Dropdown Navigasi Seluler */
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #141414;
        border-bottom: 2px solid #e69500;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 0;
        text-align: center;
        padding: 5px 0;
    }

    .nav-menu ul li a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid #222;
        font-size: 1rem;
    }

    /* Pemicu Buka Tutup Menu Slide Down */
    .menu-toggle-checkbox:checked ~ .nav-menu {
        max-height: 280px;
    }

    /* Animasi Tombol Silang (X) */
    .menu-toggle-checkbox:checked ~ .menu-icon span:nth-child(1) { transform: rotate(-45deg) translate(-4px, 5px); }
    .menu-toggle-checkbox:checked ~ .menu-icon span:nth-child(2) { opacity: 0; }
    .menu-toggle-checkbox:checked ~ .menu-icon span:nth-child(3) { transform: rotate(45deg) translate(-4px, -5px); }

    .action-buttons { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto; }
    .btn { width: 100%; text-align: center; }
}

/* Apple iOS Detector */
@media (max-width: 768px) and (-webkit-overflow-scrolling: touch) {
    .banner-android { display: none; }
    .banner-ios { display: block; }
}
