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

.lotto-container {
    text-align: center;
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

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

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

.number-ball {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #4CAF50;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 10px;
}

#generate-btn {
    background-color: #008CBA;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

#generate-btn:hover {
    background-color: #007B9A;
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.theme-toggle {
    background-color: #f0f2f5;
    color: #333;
    border: 1px solid #ccc;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    position: absolute;
    top: 20px;
    right: 20px;
}

.theme-toggle:hover {
    background-color: #e0e0e0;
}

body.dark-mode {
    background-color: #2c3e50;
    color: #ecf0f1;
}

body.dark-mode .lotto-container {
    background-color: #34495e;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

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

body.dark-mode .number-ball {
    background-color: #e67e22;
}

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

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

body.dark-mode .theme-toggle {
    background-color: #34495e;
    color: #ecf0f1;
    border-color: #555;
}

body.dark-mode .theme-toggle:hover {
    background-color: #2c3e50;
}