/*MAIN LOADER*/
        #cinematic-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #060709; /* Hitam pekat untuk awal */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* --- EFEK PARALLAX ZOOM --- */
.loader-bg-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.15; /* Sangat halus/subtle */
}

.loader-parallax-img {
    height: 120vh; /* Lebih tinggi dari layar untuk ruang gerak */
    width: auto;
    filter: sepia(0.5) contrast(1.2);
    transform: scale(1.1); /* Posisi awal zoom */
    animation: parallaxZoom 8s ease-out forwards;
}

@keyframes parallaxZoom {
    to { transform: scale(1); } /* Gambar perlahan menjauh */
}

.loader-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, transparent 20%, #060709 90%);
    pointer-events: none;
}

/* --- KONTEN TENGAH --- */
.loader-content {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 80%;
    max-width: 600px;
}

.loader-branding {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(2.5rem, 10vw, 5rem); /* Responsive font */
    letter-spacing: -2px;
    margin: 20px 0;
    color: var(--white);
    text-transform: uppercase;
}

.law-tagline {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: var(--gold);
    opacity: 0.8;
}

.gold-separator {
    width: 40px;
    height: 2px;
    background: var(--gold);
    margin: 15px auto;
}

/* --- PROGRESS BAR MINIMALIS --- */
.progress-container {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 30px auto 10px;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold);
    transition: width 0.4s ease;
}

.loading-phrase {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
}

/* --- RESPONSIVE MOBILE FIX --- */
@media (max-width: 768px) {
    .loader-parallax-img {
        height: 100vh; /* Agar tidak terlalu besar di layar kecil */
    }
    .loader-content {
        width: 90%;
    }
}

/*CLASS LOADER*/
#class-loader {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: #08090b;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* Tambahkan ini: */
    opacity: 1; 
    visibility: visible;
    transition: none; /* Serahkan kontrol sepenuhnya pada GSAP */
}

.loader-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, transparent 20%, #08090b 100%);
    z-index: 5;
}

/* --- AMBIENT BACKGROUND --- */
.loader-bg-ambient {
    position: absolute;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.parallax-letter {
    font-family: 'Montserrat', sans-serif;
    font-size: 90vh;
    font-weight: 900;
    color: rgba(212, 175, 55, 0); /* Mulai dari benar-benar transparan */
    line-height: 1;
    user-select: none;
    will-change: transform, color;
}

/* --- CENTRAL CONTENT --- */
.loader-content-center {
    position: relative;
    z-index: 10;
    text-align: center;
}

.cinematic-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(3rem, 15vw, 7rem);
    color: #ffffff;
    letter-spacing: -2px;
    margin: 0;
    text-transform: uppercase;
    /* Pastikan keadaan awal benar-benar bersih */
    opacity: 0;
    filter: blur(30px); /* Blur lebih dalam untuk awal */
    transform: scale(0.9); /* Sedikit lebih kecil agar ada efek 'growing' */
    will-change: transform, filter, opacity;
}
.title-underline {
    width: 0; /* Animasi melebar */
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 10px auto;
}

.loader-subtext {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 3px;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(20px);
    will-change: transform, opacity;
}

/* --- DEV EASTER EGG --- */
.dev-hidden-note {
    position: absolute;
    bottom: 30px;
    right: 40px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.08); /* Easter Egg: Sangat redup */
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 15;
}

@media (max-width: 768px) {
    .dev-hidden-note {
        right: 0;
        width: 100%;
        text-align: center;
        bottom: 20px;
    }
}