body {
    font-family: sans-serif;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    transition: background-color 0.3s, color 0.3s;
}

.container {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: background-color 0.3s;
}

h1 {
    color: #333;
    margin-bottom: 1.5rem;
}

#generator-btn, #theme-toggle-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

#generator-btn:hover, #theme-toggle-btn:hover {
    background-color: #45a049;
}

.lotto-numbers-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.lotto-number {
    background-color: #f1c40f;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0.5rem;
}

/* Dark Mode */
body.dark-mode {
    background-color: #121212;
    color: #ffffff;
}

body.dark-mode .container {
    background-color: #1e1e1e;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
}

body.dark-mode h1 {
    color: #ffffff;
}

body.dark-mode #generator-btn, body.dark-mode #theme-toggle-btn {
    background-color: #bb86fc;
    color: #121212;
}

body.dark-mode #generator-btn:hover, body.dark-mode #theme-toggle-btn:hover {
    background-color: #a96ef6;
}

body.dark-mode .lotto-number {
    background-color: #03dac6;
    color: #121212;
}
