body {
    background-color: #121212;
    color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.container {
    border: #0640ff 0.2rem solid;
    background-color: #f6f5b6;
    color: #000;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    max-width: 400px;
    width: 90%;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(images.png);
    background-size: cover;
    background-position: center;
    filter: blur(5px);
    z-index: -1;
}

h1 {
    text-align: center;
}

button {
    padding: 12px 24px;
    font-size: 18px;
    cursor: pointer;
    background-color: #bb86fc;
    color: #1c1d19;
    border: none;
    border-radius: 1.22rem;
    transition: background-color 0.3s, transform 0.2s;
    width: 100%;
    margin-top: 20px;
}

button:hover {
    background-color: #a4e6f1;
    transform: scale(1.05);
}

#results {
    margin-top: 30px;
    font-size: 18px;
    color: #0640ff;
    text-align: center;
}

.loader {
    border: 8px solid #f3f3f3; 
    border-top: 8px solid #bb86fc; 
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
    display: none; /* Hide by default */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    h1 {
        font-size: 24px;
    }
    button {
        font-size: 16px;
        padding: 10px 20px;
    }
}
