:root {
    --background-color: #ffffff;
    --text-color: #333333;
    --button-bg-color: #007bff;
    --button-text-color: #ffffff;
    --lotto-number-bg: #f0f0f0;
    --lotto-number-color: #333333;
}

body.dark-theme {
    --background-color: #333333;
    --text-color: #ffffff;
    --button-bg-color: #0056b3;
    --button-text-color: #ffffff;
    --lotto-number-bg: #555555;
    --lotto-number-color: #ffffff;
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    transition: background-color 0.3s, color 0.3s;
}

.container {
    background-color: #ffffff; /* White background for the container itself */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 90%;
    max-width: 500px;
    box-sizing: border-box;
}

h1 {
    color: var(--text-color);
    margin-bottom: 20px;
}

.lotto-numbers {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    min-height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    background-color: var(--lotto-number-bg);
    transition: background-color 0.3s;
}

.lotto-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--lotto-number-color); /* Corrected: Using --lotto-number-color for actual number display */
    color: var(--lotto-number-bg); /* Corrected: Using --lotto-number-bg for number background */
    border-radius: 50%;
    font-size: 1.2em;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


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

button:hover {
    filter: brightness(110%);
}