:root {
    --bg-color: #f0f2f5;
    --card-bg: #ffffff;
    --text-color: #333333;
    --btn-bg: #007bff;
    --btn-hover: #0056b3;
    --number-bg: #f8f9fa;
    --number-border: #dee2e6;
    --number-text: #495057;
}

body.dark {
    --bg-color: #1a1a1a;
    --card-bg: #2d2d2d;
    --text-color: #f0f2f5;
    --btn-bg: #375a7f;
    --btn-hover: #2b4764;
    --number-bg: #3d3d3d;
    --number-border: #4a4a4a;
    --number-text: #e0e0e0;
}

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

lotto-generator {
    display: block;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: background-color 0.3s ease;
}

.theme-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--number-border);
    background: var(--card-bg);
    color: var(--text-color);
    border-radius: 2rem;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

button {
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    background-color: var(--btn-bg);
    color: white;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: var(--btn-hover);
}

.numbers {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.number {
    width: 3rem;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: var(--number-bg);
    border: 1px solid var(--number-border);
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--number-text);
}
