/* ==========================================
   RESET & DASAR
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0b0e14;
    color: #ffffff;
    font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
}

/* ==========================================
   NAVBAR (GLASSMORPHISM PRESISI TENGAH)
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(11, 14, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
}

/* Penyeimbang Sisi Kiri (Logo) & Sisi Kanan */
.navbar .logo {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: #ffffff;
}

.navbar .logo span {
    color: #e50914;
    /* Merah khas Netflix */
}

.navbar .nav-actions {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

/* Menjaga ruang kanan tetap seimbang meski tombol login/logout disembunyikan */
.navbar .nav-actions:empty::before {
    content: '';
    display: inline-block;
}

/* Container Menu Kapsul Tepat di Tengah Horizontal */
.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 14px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0 auto;
}

.nav-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ffffff;
    background: #e50914;
}

/* Tombol Akses Admin */
.btn-red {
    background-color: #e50914;
    color: #ffffff;
    padding: 9px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: background-color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.btn-red:hover {
    background-color: #b80710;
    transform: translateY(-1px);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1518770660439-4636190af475?q=80&w=1600') center/cover no-repeat;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    overflow: hidden;
}

/* Overlay Gelap dengan Gradien Radial */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(11, 14, 20, 0.3) 0%, rgba(11, 14, 20, 0.95) 100%),
        linear-gradient(to top, #0b0e14 0%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.sub-title {
    font-size: 0.85rem;
    letter-spacing: 3px;
    font-weight: 700;
    color: #e50914;
    margin-bottom: 12px;
    display: block;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.hero-description {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-red-large {
    background-color: #e50914;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 1px;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-red-large:hover {
    background-color: #b80710;
    transform: scale(1.05);
}

/* ==========================================
   FORMAT TEKS ISI ARTIKEL (DETAIL.PHP)
   ========================================== */
.article-content {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 1.2rem;
}

.article-content h1,
.article-content h2,
.article-content h3 {
    color: #ffffff;
    margin: 25px 0 12px;
}

.article-content ul,
.article-content ol {
    margin-left: 20px;
    margin-bottom: 1.2rem;
}

.article-content li {
    margin-bottom: 6px;
}

/* ==========================================
   RESPONSIF (LAYAR MOBILE)
   ========================================== */
@media (max-width: 768px) {
    .navbar {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
        /* Sembunyikan menu tengah di layar kecil agar tidak sesak */
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-section {
        height: 70vh;
    }
}