/* RESET DEFAULT */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    /* Background Mahjong */
    background: 
        linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.85)), 
        url('mahjong-bg.jpg') no-repeat center center fixed;
    background-size: cover;
    
    /* PERBAIKAN SCROLL: Menggunakan min-height dan auto overflow */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Konten dimulai dari atas agar bisa di-scroll */
    padding: 20px;
    overflow-y: auto; 
    overflow-x: hidden;
}

/* CONTAINER UTAMA */
.glass-container {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 35px 25px;
    border-radius: 25px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(255, 255, 255, 0.05);
    text-align: center;
    margin: 20px auto; /* Memberi jarak atas bawah agar tidak mepet layar */
}

/* HEADER & LOGO */
.form-header {
    margin-bottom: 25px;
}

.form-header img {
    width: 80px; /* Ukuran logo yang pas */
    height: auto;
    display: block;
    margin: 0 auto 15px;
    filter: drop-shadow(0 0 10px #d4af37);
}

.form-header h1 {
    font-size: 24px;
    color: #fff;
    letter-spacing: 2px;
    font-weight: 800;
    margin-bottom: 5px;
}

.gold-text {
    color: #d4af37;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
    animation: pulse 2s infinite ease-in-out;
}

.form-header p {
    color: #ccc;
    font-size: 13px;
}

/* INPUT GROUP */
.input-group {
    text-align: left;
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    color: #d4af37;
    font-size: 11px;
    margin-bottom: 8px;
    margin-left: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

input, select {
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 12px 15px;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

input:focus, select:focus {
    border-color: #f1c40f;
    box-shadow: 0 0 10px rgba(241, 196, 15, 0.2);
    background: rgba(0, 0, 0, 0.8);
}

/* TOMBOL KIRIM */
button {
    width: 100%;
    margin-top: 15px;
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(45deg, #b8860b, #f1c40f, #d4af37);
    color: #000;
    font-weight: 800;
    font-size: 15px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

button:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

button:disabled {
    background: #555;
    cursor: not-allowed;
}

/* FOOTER */
.footer {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
    text-align: center;
}

/* RESPONSIVE UNTUK HP */
@media screen and (max-width: 480px) {
    body {
        padding: 10px;
    }
    .glass-container {
        padding: 25px 15px;
        margin: 10px auto;
    }
    .form-header img {
        width: 70px;
    }
    .form-header h1 {
        font-size: 20px;
    }
}

/* ANIMASI */
@keyframes pulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}