:root {
    --bg-color: #f0f2f5;
    --container-bg-color: white;
    --text-color: #333;
    --button-bg-color: #007bff;
    --button-text-color: white;
}

body[data-theme='dark'] {
    --bg-color: #1a1a1a;
    --container-bg-color: #2c2c2c;
    --text-color: #f0f2f5;
    --button-bg-color: #0056b3;
}

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

.container {
    background-color: var(--container-bg-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 90%;
    max-width: 500px;
    position: relative;
}

#theme-toggle-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

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

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

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

#generate-btn {
    background-color: var(--button-bg-color);
    color: var(--button-text-color);
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

#generate-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

#generate-btn:active {
    background-color: #004494;
    transform: translateY(0);
}
