:root {
    --color-black: #0a0a0a;
    --color-dark: #121212;
    --color-dark-light: #1e1e1e;
    --color-gold: #D4AF37;
    --color-gold-light: #F4DF8D;
    --color-silver: #C0C0C0;
    --color-silver-light: #E8E8E8;
    --font-heading: 'Cinzel', 'Playfair Display', serif;
    --font-body: 'Inter', 'Montserrat', sans-serif;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(212, 175, 55, 0.2);
    --glass-blur: blur(12px);
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0a0a0a;
    color: #E8E8E8;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 70px; /* Mencegah konten tertutup navbar atas */
}

/* --- Navbar Desktop --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.8rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.3));
}

.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #D4AF37, #E8E8E8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #C0C0C0;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-item:hover {
    color: #D4AF37;
    transform: translateY(-1px);
}

.nav-item svg {
    flex-shrink: 0;
}

.nav-login {
    background: linear-gradient(135deg, #D4AF37, #B8941F);
    color: #0a0a0a !important;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
}

.nav-login:hover {
    background: linear-gradient(135deg, #F4DF8D, #D4AF37);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    transform: translateY(-1px);
}

/* --- Hero Section --- */
.hero {
    padding-top: 40px; /* Jarak tambahan dari navbar */
    min-height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-size-adjust: 14px;
    padding-left: 5%;
    padding-right: 5%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.08) 0%, #0a0a0a 70%);
    position: relative;
}

.hero-logo {
    width: 180px;
    max-width: 50vw;
    height: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5)) drop-shadow(0 0 40px rgba(212, 175, 55, 0.2));
    animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 1rem;
    background: linear-gradient(to right, #D4AF37, #E8E8E8, #D4AF37);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 5s infinite linear;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #C0C0C0;
    max-width: 700px;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* --- Components (Buttons, Cards, Sections) --- */
.btn {
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid #D4AF37;
    background: transparent;
    color: #D4AF37;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn:hover {
    background: #D4AF37;
    color: #0a0a0a;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.btn-primary {
    background: linear-gradient(135deg, #D4AF37, #B8941F);
    color: #0a0a0a;
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #F4DF8D, #D4AF37);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

section {
    padding: 4rem 5%;
}

.section-title {
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #D4AF37;
    margin-bottom: 3rem;
    position: relative;
    display: block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #D4AF37;
    margin: 10px auto 0;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
    border-color: #D4AF37;
}

.card-image {
    width: 300px;
    height: auto;
    background: linear-gradient(135deg, #1e1e1e, #2a2a2a);
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C0C0C0;
    font-size: 0.9rem;
    border: 1px dashed rgba(212, 175, 55, 0.3);
}

.card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: #E8E8E8;
}

.card p {
    font-size: 0.95rem;
    color: #C0C0C0;
    margin-bottom: 1.5rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

footer {
    background: #121212;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    padding: 2rem 5%;
    text-align: center;
    color: #C0C0C0;
    font-size: 0.9rem;
}

/* =========================================
   MOBILE FIRST RESPONSIVE (PERBAIKAN UTAMA)
   ========================================= */
@media (max-width: 768px) {
    body {
        padding-top: 60px; /* Navbar atas lebih tipis di mobile */
        padding-bottom: 75px; /* Mencegah konten tertutup bottom nav */
    }

    /* 1. Header Center di Mobile */
    .navbar {
        padding: 0.8rem 1rem;
        justify-content: center;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .hero {
        min-height: auto;
        padding-top: 2rem;
        padding-bottom: 3rem;
    }

    .hero-logo {
        width: 140px;
        margin-bottom: 1rem;
    }

    /* 2. Bottom Navigation Bar (5 Kolom, Hanya Icon) */
    .nav-links {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid rgba(212, 175, 55, 0.25);
        display: flex;
        justify-content: space-around; /* Membagi rata menjadi 5 kolom */
        align-items: center;
        gap: 0;
        padding: 0.6rem 0 env(safe-area-inset-bottom, 0.6rem); /* Support iPhone notch */
        z-index: 1001;
    }

    .nav-item {
        flex-direction: column;
        gap: 4px;
        font-size: 0.7rem;
        color: #C0C0C0;
        flex: 1; /* Memastikan setiap item mengambil 1/5 lebar layar */
        text-align: center;
        padding: 0.4rem 0;
        white-space: nowrap;
    }

    .nav-item svg {
        width: 22px;
        height: 22px;
    }

    .nav-text {
        display: none; /* Menyembunyikan teks, HANYA ICON di mobile */
    }

    .nav-login {
        background: transparent;
        color: #D4AF37 !important;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
    }
    
    .nav-item:hover, .nav-item:active {
        color: #D4AF37;
    }

    /* Penyesuaian Grid Artikel di Mobile */
    .articles-grid {
        grid-template-columns: 1fr; /* 1 kolom penuh di mobile */
        gap: 1.5rem;
    }
}