/* Gaya Dasar (Modern Reset) */
body {
    font-family: 'Poppins', sans-serif; /* Menggunakan Poppins untuk tampilan modern */
    background-color: #001f3f; /* Latar belakang biru tua solid jika partikel gagal */
    color: #ffffff; /* Warna teks putih */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden; 
    min-height: 100vh;
    overflow-y: auto;     /* <— INI penting */
    overflow-x: hidden;
    position: relative;
}

/* --- Animasi Latar Belakang Partikel --- */
#particles-js {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: #001f3f; /* Warna latar belakang untuk partikel */
    background-image: url('');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    z-index: 1; /* Pastikan partikel di bawah konten */
}

/* Penempatan Konten di Tengah Layar */
.container {
    text-align: center;
    padding: 20px;
    max-width: 90%;
    width: 700px;
    position: relative; /* Untuk menempatkan konten di atas partikel */
    z-index: 2; /* Konten di atas partikel */
    background-color: rgba(0, 0, 0, 0.3); /* Latar belakang semi-transparan untuk readability */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* Bayangan untuk kedalaman */
    animation: fadeIn 1.5s ease-out forwards; /* Animasi fade-in container */
    opacity: 0; /* Mulai tersembunyi untuk animasi */
    animation-delay: 0.5s;
    margin: 60px 0 120px;
}

/* Logo */
.logo {
    max-width: 300px; /* Ukuran logo yang proporsional */
    height: auto;
    margin-bottom: 40px;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2)); /* Bayangan bersinar tipis */
    animation: slideInFromTop 1s ease-out forwards; /* Animasi khusus untuk logo */
    opacity: 0;
    animation-delay: 1s;
}

/* Judul Utama */
.main-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8em;
    font-weight: 700;
    color: #4dc2ff; /* Biru terang untuk kontras */
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(77, 194, 255, 0.5); /* Efek glow tipis */
    animation: fadeIn 1s ease-out forwards;
    opacity: 0;
    animation-delay: 1.5s;
}

/* Tagline */
.tagline {
    font-size: 1.2em;
    color: #e0e0e0;
    margin-bottom: 35px;
    line-height: 1.7;
    animation: fadeIn 1s ease-out forwards;
    opacity: 0;
    animation-delay: 2s;
}

/* Desain "Coming Soon" */
.coming-soon {
    margin: 50px 0;
    font-size: 4em;
    font-weight: 700;
    letter-spacing: 8px;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
    animation: scaleIn 1s ease-out forwards; /* Animasi scaling */
    opacity: 0;
    animation-delay: 2.5s;
}

.text-large {
    color: #ffc107; /* Kuning aksen */
    position: relative;
}

.text-large::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px; /* Sesuaikan posisi garis */
    width: 100%;
    height: 5px;
    background-color: #ffc107;
    transform: scaleX(0); /* Mulai dari nol untuk animasi */
    transform-origin: left;
    animation: underlineGrow 1s ease-out forwards;
    animation-delay: 3s; /* Delay setelah teks muncul */
}

.dot {
    color: #ffffff;
    font-size: 0.8em;
    vertical-align: super;
    animation: blink 1s infinite alternate; /* Animasi berkedip */
}

/* Informasi Kontak */
.contact-info {
    font-size: 1em;
    color: #b0b0b0;
    margin-top: 30px;
    animation: fadeIn 1s ease-out forwards;
    opacity: 0;
    animation-delay: 3.5s;
}

/* Footer */
.footer {
    font-size: 0.8em;
    color: #888888;
    padding: 15px;
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    z-index: 2; /* Pastikan footer di atas partikel */
    animation: fadeIn 1s ease-out forwards;
    opacity: 0;
    animation-delay: 4s;
}

/* --- Keyframe Animations --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInFromTop {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes underlineGrow {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@keyframes blink {
    from { opacity: 1; }
    to { opacity: 0.2; }
}

/* Responsif untuk Layar Kecil */
@media (max-width: 768px) {
    .main-heading {
        font-size: 1.5em;
        letter-spacing: 2px;
    }
    .tagline {
        font-size: 1em;
    }
    .coming-soon {
        font-size: 2.5em;
        letter-spacing: 5px;
    }
    .logo {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .main-heading {
        font-size: 1.2em;
        letter-spacing: 1px;
    }
    .tagline {
        font-size: 0.9em;
    }
    .coming-soon {
        font-size: 1.8em;
        letter-spacing: 3px;
    }
    .logo {
        max-width: 150px;
    }
    .footer {
        font-size: 0.7em;
    }
}