/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-image: url('../assets/background.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    backdrop-filter: blur(5px);
    padding: 20px;
}

/* Dark Overlay for Readability */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

/* Main Container */
.container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0px 5px 15px rgba(255, 255, 255, 0.3);
    max-width: 500px;
    width: 100%;
    color: white;
    animation: fadeIn 0.8s ease-in-out;
}

/* Title */
h2 {
    font-size: 26px;
    color: #f1c40f;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Form Styles */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

label {
    font-size: 16px;
    margin-bottom: 5px;
}

input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    outline: none;
    transition: all 0.3s ease-in-out;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

input:focus {
    border: 1px solid #f1c40f;
    box-shadow: 0px 0px 10px rgba(241, 196, 15, 0.5);
}

/* Buttons */
button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border: none;
    color: white;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0px 10px 20px rgba(0, 255, 0, 0.4);
}

/* Status Message */
.status-message {
    margin-top: 15px;
    font-size: 16px;
    font-weight: bold;
    color: #f1c40f;
}

/* Back Button */
.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 24px;
    background: linear-gradient(90deg, #f39c12, #e67e22);
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.btn:hover {
    background: #d35400;
    box-shadow: 0px 10px 20px rgba(255, 165, 0, 0.4);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 600px) {
    .container {
        width: 90%;
        padding: 20px;
    }

    h2 {
        font-size: 22px;
    }

    input, button {
        font-size: 14px;
        padding: 10px;
    }
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
/* Confetti Effect */
@keyframes confetti-fall {
    0% { transform: translateY(-10vh) rotateZ(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotateZ(720deg); opacity: 0; }
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--color);
    opacity: 0.8;
    animation: confetti-fall 3s ease-in-out infinite;
}
