:root {
    --background-color: #f0f0f0;
    --text-color: #000000;
    --button-bg-color: #4CAF50;
    --button-text-color: white;
}

body {
    font-family: sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: var(--background-color);
    color: var(--text-color);
}

body.dark-mode {
    --background-color: #333333;
    --text-color: #ffffff;
    --button-bg-color: #555555;
    --button-text-color: #ffffff;
}

.container {
    text-align: center;
}

.numbers-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.lotto-set {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    margin: 0 5px;
    color: white;
    font-weight: bold;
    border: 2px solid rgba(0,0,0,0.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    animation: fadeIn 0.5s ease-in-out;
}

/* Color Ranges */
.color-1 { background-color: #f4b400; } /* 1-10 */
.color-2 { background-color: #4285f4; } /* 11-20 */
.color-3 { background-color: #db4437; } /* 21-30 */
.color-4 { background-color: #0f9d58; } /* 31-40 */
.color-5 { background-color: #9e9e9e; } /* 41-45 */

#generateBtn {
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    background-color: var(--button-bg-color);
    color: var(--button-text-color);
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

#generateBtn:hover {
    background-color: #45a049;
}

#theme-toggle {
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    background-color: var(--button-bg-color);
    color: var(--button-text-color);
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin-bottom: 10px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
