body {
    font-family: 'Arial', 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 {
    text-align: center;
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}

h1 {
    color: #333;
    margin-bottom: 30px;
    transition: color 0.3s;
}

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

.lotto-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #4CAF50;
    color: white;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s;
}

.lotto-number:hover {
    transform: scale(1.1);
}

#generate-btn {
    background-color: #008CBA;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#generate-btn:hover {
    background-color: #005f7a;
}

#theme-toggle-btn {
    background-color: #555;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

#theme-toggle-btn:hover {
    background-color: #333;
}

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

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

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

body.dark-mode .lotto-number {
    background-color: #5a5a5a;
}

body.dark-mode #generate-btn {
    background-color: #00aaff;
}

body.dark-mode #generate-btn:hover {
    background-color: #0077cc;
}
