:root {
            --bg-body: #FDFBF6;
            --bg-header: #151515;
            --gold: #D4AF37;
            --gold-light: #E8C76A;
            --gold-gradient: linear-gradient(135deg, #F0D586 0%, #D4AF37 100%);
            --text-dark: #2A2A2A;
            --card-bg: #FFFFFF;
            --hint-bg: #F8F4E6;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: var(--bg-body);
            color: var(--text-dark);
        }

        /* Header Navigation */
        header {
            background-color: var(--bg-header);
            padding: 15px 50px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        /* =========================================
   NAVBAR & HEADER STYLES
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height, 70px);
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(13, 10, 7, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--clr-border);
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* --- LOGO --- */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    filter: drop-shadow(0 0 8px rgba(196, 152, 62, 0.6));
}

.logo-icon img {
    width: 45px; /* Disesuaikan agar proporsional dengan text */
    height: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    font-family: var(--font-display);
    color: var(--clr-gold);
    line-height: 1;
}

.logo-text .text-top {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.logo-text .text-bottom {
    font-size: 1.1rem;
    font-weight: 600;
    margin-left: 12px; /* Menggantikan inline style margin-left */
    margin-top: 2px;   /* Menggantikan inline style margin-top:-10px */
}

/* --- MENU NAVIGASI (DESKTOP) --- */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--clr-text-muted);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 70%;
    height: 2px;
    background: var(--clr-gold);
    transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--clr-gold);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* --- HAMBURGER MENU (MOBILE) --- */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--clr-gold);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- RESPONSIVE MENU (LAYAR HP) --- */
@media (max-width: 768px) {
    .nav-toggle { 
        display: flex; 
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 280px;
        background: var(--clr-surface);
        border-left: 1px solid var(--clr-border);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 40px 32px;
        gap: 15px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1050;
    }

    .nav-menu.open {
        transform: translateX(0);
        box-shadow: -20px 0 60px rgba(0,0,0,0.5);
    }

    .nav-link {
        font-size: 1rem;
        padding: 12px 0;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .nav-link::after { 
        display: none; /* Matikan animasi garis bawah di HP */
    }
}

/* --- OVERLAY GELAP SAAT MENU HP DIBUKA --- */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 999;
    display: none;
    backdrop-filter: blur(2px);
}

.nav-overlay.active { 
    display: block; 
}

        /* Main Content */
        .container {
            max-width: 1100px;
            margin: 40px auto;
            padding: 100px;
        }

        .page-title {
            text-align: center;
            margin-bottom: 40px;
        }

        .page-title h2 {
            font-size: 2rem;
            color: var(--text-dark);
            text-transform: uppercase;
        }

        .page-title .separator {
            width: 80px;
            height: 3px;
            background-color: var(--gold);
            margin: 10px auto;
            position: relative;
        }

        .page-title .separator::after {
            content: "❖";
            position: absolute;
            top: -12px;
            left: 50%;
            transform: translateX(-50%);
            color: var(--gold);
            background: var(--bg-body);
            padding: 0 10px;
            font-size: 1.2rem;
        }

        /* Grid Layout */
        .quiz-wrapper {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 30px;
        }

        /* Left Card - Question Area */
        .question-card {
            background-color: var(--card-bg);
            border-radius: 12px;
            padding: 30px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        }

        .question-header {
            font-size: 0.9rem;
            font-weight: bold;
            color: #666;
            margin-bottom: 15px;
        }

        .question-text {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 25px;
            line-height: 1.5;
        }

        .options-list {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-bottom: 30px;
        }

        .option-item {
            display: flex;
            align-items: center;
            padding: 12px 15px;
            border: 1px solid #E0E0E0;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .option-item:hover {
            border-color: var(--gold);
            background-color: #FAFAFA;
        }

        .option-item.selected {
            border-color: var(--gold);
            background-color: #FFFDF5;
        }

        .option-letter {
            width: 30px;
            height: 30px;
            background-color: #F0F0F0;
            border: 1px solid #DDD;
            border-radius: 4px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-weight: bold;
            margin-right: 15px;
            font-size: 0.9rem;
        }

        .option-item.selected .option-letter {
            background-color: var(--gold);
            color: white;
            border-color: var(--gold);
        }

        .action-buttons {
            display: flex;
            justify-content: space-between;
        }

        .btn {
            padding: 10px 25px;
            border: none;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            transition: 0.3s;
        }

        .btn-prev {
            background-color: var(--gold);
            color: white;
        }

        .btn-prev:hover {
            background-color: #b8962d;
        }

        .btn-next {
            background-color: var(--bg-header);
            color: white;
        }

        .btn-next:hover {
            background-color: #333;
        }

        .btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        /* Right Sidebar - Score & Hint */
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .score-card {
            background: var(--gold-gradient);
            border-radius: 12px;
            padding: 25px;
            color: #1A1410;
            box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .score-card::before {
            content: "";
            position: absolute;
            top: -20px; left: -20px;
            width: 100px; height: 100px;
            background: rgba(255,255,255,0.2);
            border-radius: 50%;
        }

        .score-title {
            font-size: 1.1rem;
            font-weight: 600;
            text-align: left;
            margin-bottom: 10px;
        }

        .score-number {
            font-size: 4rem;
            font-weight: bold;
            margin: 10px 0;
        }

        .score-stats {
            text-align: left;
            font-size: 0.9rem;
            font-weight: 500;
            margin-top: 15px;
        }

        .hint-card {
            background-color: var(--hint-bg);
            border-radius: 12px;
            padding: 25px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.03);
        }

        .hint-title {
            font-weight: bold;
            margin-bottom: 10px;
            font-size: 1.1rem;
        }

        .hint-text {
            font-size: 0.9rem;
            color: #555;
            line-height: 1.6;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            header {
                flex-direction: column;
                padding: 15px;
                gap: 15px;
            }
            nav ul {
                flex-wrap: wrap;
                justify-content: center;
                gap: 10px;
            }
            .quiz-wrapper {
                grid-template-columns: 1fr;
            }

            .container{
                padding: 0;
            }
        }