body {
    font-family: Arial, sans-serif;
    background: url('background.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.container {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    width: 380px;
    text-align: center;
    transform: scale(0.9);
    animation: popIn 0.5s ease-out forwards;
}

@keyframes popIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

h1 {
    color: #2E7D32;
    font-size: 24px;
    margin-bottom: 10px;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-top: 12px;
    font-weight: bold;
    color: #388E3C;
}

input {
    padding: 10px;
    margin-top: 5px;
    border: 2px solid #388E3C;
    border-radius: 6px;
    outline: none;
    transition: 0.3s;
}

input:focus {
    border-color: #2E7D32;
    box-shadow: 0 0 8px rgba(46, 125, 50, 0.5);
}

button {
    margin-top: 15px;
    padding: 12px;
    border: none;
    background: linear-gradient(135deg, #66BB6A, #43A047);
    color: white;
    font-size: 16px;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.3s;
    transform: scale(1);
    animation: bounce 1.5s infinite alternate;
}

button:hover {
    background: linear-gradient(135deg, #388E3C, #2E7D32);
    transform: scale(1.05);
}

@keyframes bounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-5px); }
}

#result {
    margin-top: 15px;
    padding: 15px;
    font-weight: bold;
    color: white;
    background: linear-gradient(135deg, #FF9800, #F57C00);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-size: 18px;
    display: none;
    animation: fadeIn 1s ease-in-out;
}
