/* loading.css (Versi Perbaikan Jarak & Kecepatan Muncul) */

/* --- Container Utama Loading Screen --- */
#loadingScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #1a2a3a, #101820);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.8s ease-out;
}

/* --- Wrapper untuk konten animasi --- */
.loading-container {
    text-align: center;
}

.loading-svg {
    width: 480px;
    max-width: 90vw;
    overflow: visible;
}

/* --- Styling Teks Utama "CoreLink" --- */
#dataCoreText {
    font-family: 'Poppins', sans-serif, system-ui;
    font-size: 80px;
    font-weight: 800;
    fill: url(#textGradient);
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    /* Dipercepat menjadi 0.2 detik */
    animation: fadeInRise 1s 0.2s ease-out forwards;
}

/* --- Styling Tagline --- */
.tagline {
    color: #a0c0d0;
    font-family: 'Poppins', sans-serif, system-ui;
    font-size: 16px;
    /* PERUBAHAN DI SINI: Jarak dirapatkan lagi menjadi -20px */
    margin-top: -20px;
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeIn 1s 0.4s ease-out forwards;
}

/* --- Keyframes (Aturan Animasi) --- */

/* Animasi untuk teks utama "CoreLink" */
@keyframes fadeInRise {
    from {
        opacity: 0;
        transform: translateY(15px); /* Sedikit dikurangi jarak munculnya */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animasi fade-in umum */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Animasi untuk menyembunyikan seluruh layar loading */
@keyframes fadeOutScreen {
    from { opacity: 1; }
    to {
        opacity: 0;
        pointer-events: none;
    }
}