body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(145deg, #1a1a1a, #2c3e50);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    overflow: hidden;
}

.container {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.05em;
}

p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #dcdcdc;
    line-height: 1.6;
}

form {
    display: flex;
    flex-direction: column;
}

input {
    padding: 0.9rem;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: background 0.3s, box-shadow 0.3s;
}

input:focus {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    outline: none;
}

button {
    background: #00bcd4;
    color: #fff;
    border: none;
    padding: 1rem;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

button:hover {
    background: #0097a7;
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

#result {
    margin-top: 2rem;
    padding: 1.2rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    color: #fff;
    animation: fadeIn 0.5s ease-in-out;
}

footer {
    margin-top: 2.5rem;
    font-size: 0.9rem;
    color: #ccc;
}

footer a {
    color: #00bcd4;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #0097a7;
    text-decoration: underline;
}
