@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Quicksand', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background:
        radial-gradient(circle at top left, #fbc2eb, transparent 40%),
        radial-gradient(circle at bottom right, #a6c1ee, transparent 40%),
        linear-gradient(135deg, #fdfbfb, #ebedee);
    background-repeat: no-repeat;
    animation: bgMove 12s ease-in-out infinite alternate;
}

.container {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 35px 40px;
    width: 100%;
    max-width: 420px;
    border-radius: 22px;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.container h1 {
    font-size: 28px;
    margin-bottom: 22px;
    color: #4b4b4b;
    letter-spacing: 0.5px;
}

#inputBox {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 14px;
    border: 1px solid #ddd;
    outline: none;
    margin-bottom: 18px;
    background: #ffffffcc;
    transition: all 0.3s ease;
}

#inputBox::placeholder {
    color: #aaa;
}

#inputBox:focus {
    border-color: #f7a8a8;
    box-shadow: 0 0 0 3px rgba(247, 168, 168, 0.25);
}

button {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #f7a8a8, #fbc2eb);
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(247, 168, 168, 0.4);
}

.result {
    margin-top: 18px;
    font-size: 18px;
    font-weight: 600;
    color: #4b8b6f;
}

.error {
    margin-top: 14px;
    font-size: 16px;
    font-weight: 500;
    color: #e76f51;
}

@keyframes bgMove {
    0% {
        background-position: 0% 0%, 100% 100%, center;
    }
    100% {
        background-position: 100% 50%, 0% 50%, center;
    }
}
