@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 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #1e1e2f, #29294b);
    color: white;
}

.container {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
    backdrop-filter: blur(10px);
    animation: fadeIn 1s ease-in-out;
}

.title {
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 20px;
    opacity: 0;
    animation: slideDown 1s ease-in-out forwards;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input {
    padding: 12px;
    width: 250px;
    border: none;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1em;
    outline: none;
    transition: transform 0.2s ease-in-out;
}

.input:focus {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.3);
}

.btn {
    padding: 12px;
    border: none;
    border-radius: 15px;
    background: #ff4d4d;
    color: white;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease-in-out;
}

.btn:hover {
    background: #ff1a1a;
    transform: scale(1.05);
}

.result {
    margin-top: 20px;
    font-size: 1.2em;
    font-weight: 400;
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
