/* ===== Reset Dasar & Font ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #ffffff;
    
    /* --- Background Aurora Gradient --- */
    background: linear-gradient(
        -45deg, 
        #000000, 
        #040f26, 
        #0a2472, 
        #0e4bcf, 
        #0a2472, 
        #040f26, 
        #000000
    );
    background-size: 400% 400%;
    animation: aurora 6s ease infinite;
    background-attachment: fixed;
    
    display: flex;
    flex-direction: column;
    min-height: 100vh;

    /* --- Mencegah Teks Diblok (Global) --- */
    -webkit-user-select: none; /* Chrome/Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE/Edge */
    user-select: none;         /* Standar */
}

/* ===== Header / Navigasi ===== */
header {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2.5rem;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
}

.logo .highlight-red {
    color: #FF0000; 
}

/* Wrapper Menu & Tombol Menu DIHAPUS DARI CSS TAPI DIBIARKAN JIKA INGIN DIPAKAI DI HALAMAN LAIN
   (Tidak akan tampil karena HTML-nya sudah dihapus) */
.menu-container {
    position: relative; 
    display: inline-block; 
}

.menu-btn {
    font-size: 0.85rem;      
    font-weight: 600;       
    letter-spacing: 1px;
    color: #ffffff;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.2); 
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    position: absolute;
    top: calc(100% + 12px); 
    right: 0; 
    background-color: #0c1222; 
    border: 1px solid #1a223f;
    border-radius: 12px;
    padding: 0.5rem 0;
    list-style: none;
    min-width: 180px; 
    z-index: 20;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: #b0b0b0; 
    text-decoration: none;
    font-size: 0.9rem; 
    white-space: nowrap;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.dropdown-menu li a:hover {
    background-color: #1a223f;
    color: #ffffff;
    padding-left: 1.8rem; 
}


/* ===== Konten Utama (Hero) ===== */
main {
    flex-grow: 1; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.subtitle {
    font-size: 1.2rem;
    color: #d1d1d1;
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #D2D2D2;
    min-height: 4.2rem; 
}

/* ===== Footer ===== */
footer {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
    color: #a0a0a0;
}

/* --- Social Icons --- */
.social-icons a {
    color: #5C5C5C;
    text-decoration: none;
    margin: 0 0.5rem; 
    font-size: 2rem; 
    transition: color 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

main .social-icons {
    margin-top: 1.5rem;
}

.social-icons a:hover {
    color: #ffffff;
}

/* ===== Responsif untuk HP ===== */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
        min-height: 3rem; 
    }

    .subtitle {
        font-size: 1rem;
    }

    nav, footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    footer {
        flex-direction: column;
        gap: 0.5rem;
    }

    .dropdown-menu {
        min-width: 160px;
    }
}

/* ===== Keyframes Animasi Aurora ===== */
@keyframes aurora {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}