/* Font & Reset */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    display: flex;
    justify-content: center; /* tengah horizontal */
    align-items: center;     /* tengah vertikal */
    min-height: 100vh;
    padding: 20px;
    overflow: hidden;
}

/* Biar canvas ada di belakang */
#bg {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Container form di tengah */
.container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 25px 35px;
    border-radius: 15px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0px 8px 25px rgba(0,0,0,0.2);
    animation: fadeIn 0.8s ease-in-out;
}


/* Heading */
.container h2 {
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Form */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input {
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
    background: rgba(255,255,255,0.8);
    transition: 0.3s;
}

input:focus {
    background: #fff;
    box-shadow: 0 0 8px rgba(255,255,255,0.6);
}

/* Button */
button {
    background: #ff6f61;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #ff4b3e;
}

/* Payment Button */
.pay-btn {
    background: #00c853;
}

.pay-btn:hover {
    background: #00a843;
}

/* Message Box */
.message {
    margin-top: 15px;
    padding: 12px;
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 500px) {
    .container {
        padding: 20px;
    }
    button {
        font-size: 14px;
    }
}
