:root {
    --dark-bg: #0b0f1a;
    --glass: rgba(30, 41, 59, 0.7);
    --gold: #d4af37;
    --gold-glow: rgba(212, 175, 55, 0.3);
    --text-slate: #cbd5e1;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: radial-gradient(circle at top, #1e293b, #0b0f1a);
    background-attachment: fixed;
    margin: 0;
    color: white;
}

/* --- FIX NAVIGASI --- */
.navbar {
    background: rgba(11, 15, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: fixed; /* Berubah ke fixed agar tidak mengganggu layout */
    top: 0; left: 0; right: 0;
    height: 70px;
    z-index: 9999;
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-brand a {
    color: var(--gold);
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
}

/* --- FIX DROPDOWN --- */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 8px 18px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.dropbtn:hover {
    background: var(--gold);
    color: black;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 45px; /* Jarak aman dari tombol */
    background: #1e293b;
    min-width: 240px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
}

.dropdown-content a {
    color: var(--text-slate);
    padding: 14px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dropdown-content a:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* --- CONTENT SPACING --- */
.main-wrapper {
    margin-top: 100px; /* Memberi ruang agar tidak tertutup navbar */
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.card {
    background: var(--glass);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 25px;
    margin-bottom: 40px;
    overflow: hidden;
}

.card-header {
    background: rgba(255,255,255,0.03);
    padding: 25px 30px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.card-header h2 {
    margin: 0; color: var(--gold); font-size: 1.6rem;
}

/* --- BOX ARABIC --- */
.variasi-box {
    padding: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.level-1 { border-left: 5px solid var(--gold); background: rgba(255,255,255,0.02); }

.arabic {
    font-family: 'Amiri', serif;
    font-size: 1.5rem;
    text-align: right;
    direction: rtl;
    line-height: 2;
    margin: 25px 0;
    color: white;
}

.translation-box {
    background: rgba(0,0,0,0.3);
    padding: 20px;
    border-radius: 15px;
    color: var(--text-slate);
    font-size: 0.95rem;
    line-height: 1.6;
}
