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

:root {
    --background-color: #121212;
    --text-color: #E0E0E0;
    --primary-color: #6200EE;
    --primary-variant-color: #3700B3;
    --secondary-color: #03DAC6;
    --font-family: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: url('data:image/svg+xml,%3Csvg width="6" height="6" viewBox="0 0 6 6" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="%23ffffff" fill-opacity="0.02" fill-rule="evenodd"%3E%3Cpath d="M5 0h1L0 6V5zM6 5v1H5z"/%3E%3C/g%3E%3C/svg%3E');
}

main {
    text-align: center;
    padding: 2rem;
    background: rgba(34, 34, 34, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px rgba(3, 218, 198, 0.5), 0 0 20px rgba(3, 218, 198, 0.5);
}

#lotto-numbers-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

#generate-button {
    font-family: var(--font-family);
    font-size: 1.2rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-variant-color));
    color: white;
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.2),
                0 0 0 0 rgba(98, 0, 238, 0.7);
    transition: all 0.3s ease-in-out;
}

#generate-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(0, 0, 0, 0.3),
                0 0 20px 5px rgba(98, 0, 238, 0.6);
}

#generate-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.2),
                0 0 0 0 rgba(98, 0, 238, 0.7);
}

lotto-ball {
    --ball-color: #4CAF50;
    animation: appear 0.5s ease-out forwards;
}

@keyframes appear {
    from {
        transform: scale(0.5) translateY(20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}