/* Animated Background Gradient */
@keyframes gradientBG {
    0% { background-color: #55a219; }
    50% { background-color: #66c221; }
    100% { background-color: #55a219; }
}

body {
    font-family: 'Calibri', sans-serif;
    text-align: center;
    animation: gradientBG 5s infinite alternate;
    color: white;
    margin: 0;
    padding: 0;
}

/* Container Styling */
.container {
    max-width: 600px;
    margin: 100px auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1.5s ease-out forwards;
}

/* Fade-in Effect */
@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Heading */
h1 {
    font-size: 28px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.2);
}

/* Input Glow Effect */
input {
    padding: 12px;
    font-size: 16px;
    border: 2px solid white;
    border-radius: 5px;
    text-align: center;
    outline: none;
    transition: 0.3s;
}

input:focus {
    border-color: #66c221;
    box-shadow: 0px 0px 10px #66c221;
}

/* Button Animation */
button {
    padding: 12px;
    font-size: 18px;
    background-color: #000;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

button:hover {
    background-color: #4ea917;
    transform: scale(1.05);
    box-shadow: 0px 0px 15px rgba(102, 194, 33, 0.8);
}

/* Loader Animation */
.loader {
    display: none;
    margin: 20px auto;
    border: 6px solid transparent;
    border-top: 6px solid #66c221;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Floating Text Animation */
/* p {
    font-size: 16px;
    opacity: 0.8;
    animation: floating 3s ease-in-out infinite;
} */

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        max-width: 90%;
        padding: 15px;
    }

    h1 {
        font-size: 24px;
    }

    input, button {
        font-size: 16px;
    }
}
