/* Reset Dasar & Font ala Apple / iOS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: #050507; /* Hitam pekat elegan */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    color: #ffffff;
}

/* Efek Cahaya Ambient Bergerak di Latar Belakang Hitam */
body::before,
body::after {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    filter: blur(130px);
    z-index: 0;
    opacity: 0.45;
    animation: floatGlow 12s infinite alternate ease-in-out;
}

body::before {
    background: radial-gradient(circle, #3a7bd5, #00d2ff);
    top: -100px;
    left: -100px;
}

body::after {
    background: radial-gradient(circle, #8e2de2, #4a00e0);
    bottom: -100px;
    right: -100px;
    animation-delay: -6s;
}

@keyframes floatGlow {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(60px, 40px) scale(1.15);
    }
    100% {
        transform: translate(-40px, 80px) scale(0.95);
    }
}

/* Animasi Partikel Cahaya Halus (Menggunakan elemen .bubbles yang sudah ada di HTML) */
.bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.bubble {
    position: absolute;
    bottom: -50px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    animation: riseElegant 15s infinite ease-in;
}

.bubble:nth-child(1) { width: 80px; height: 80px; left: 10%; animation-duration: 14s; }
.bubble:nth-child(2) { width: 40px; height: 40px; left: 25%; animation-duration: 18s; animation-delay: 2s; }
.bubble:nth-child(3) { width: 110px; height: 110px; left: 45%; animation-duration: 16s; animation-delay: 4s; }
.bubble:nth-child(4) { width: 50px; height: 50px; left: 65%; animation-duration: 12s; animation-delay: 1s; }
.bubble:nth-child(5) { width: 90px; height: 90px; left: 80%; animation-duration: 19s; animation-delay: 3s; }
.bubble:nth-child(6) { width: 35px; height: 35px; left: 90%; animation-duration: 13s; animation-delay: 5s; }
.bubble:nth-child(7) { width: 65px; height: 65px; left: 5%; animation-duration: 17s; animation-delay: 6s; }

@keyframes riseElegant {
    0% {
        transform: translateY(0) scale(0.8);
        opacity: 0;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-110vh) scale(1.2);
        opacity: 0;
    }
}

/* Kotak Form Login Transparan ala iPhone (iOS Dark Glass) */
.login-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 390px;
    padding: 45px 35px;
    background: rgba(25, 25, 30, 0.45); /* Kaca gelap transparan */
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-radius: 28px; /* Sudut membulat khas iOS */
    border: 1px solid rgba(255, 255, 255, 0.12); /* Garis tepi kaca tipis */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 
                inset 0 1px 1px rgba(255, 255, 255, 0.15); /* Kilauan cahaya di pinggir atas */
    text-align: center;
}

.login-container h2 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 28px;
    color: #f5f5f7;
}

/* Form Input ala iOS */
.input-group {
    text-align: left;
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #a1a1a6; /* Abu-abu khas Apple */
    margin-bottom: 8px;
    margin-left: 4px;
}

.input-group input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: #ffffff;
    font-size: 15px;
    outline: none;
    transition: all 0.25s ease;
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.input-group input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(10, 132, 255, 0.8); /* Biru khas iOS saat diklik */
    box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.15);
}

/* Tombol Login Elegan ala iOS */
.btn-login {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    background: linear-gradient(135deg, #0a84ff, #0066cc);
    border: none;
    border-radius: 14px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 8px 20px rgba(10, 132, 255, 0.3);
}

.btn-login:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #2997ff, #0077ed);
    box-shadow: 0 12px 25px rgba(10, 132, 255, 0.45);
}

.btn-login:active {
    transform: scale(0.98);
}