:root {
    --bg-color: #f0f0f0;
    --container-bg: #ffffff;
    --text-color: #333333;
    --shadow-color: rgba(0,0,0,0.1);
}

body.dark-mode {
    --bg-color: #1a1a1a;
    --container-bg: #2d2d2d;
    --text-color: #f0f0f0;
    --shadow-color: rgba(0,0,0,0.5);
}

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

.container {
    position: relative;
    text-align: center;
    background: var(--container-bg);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px var(--shadow-color);
    transition: background-color 0.3s, box-shadow 0.3s;
}

h1 {
    color: var(--text-color);
}

.lotto-numbers-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.generate-btn {
    padding: 12px 24px;
    font-size: 18px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #4CAF50;
    color: white;
    transition: background-color 0.3s, transform 0.1s;
}

.generate-btn:hover {
    background-color: #45a049;
}

.generate-btn:active {
    transform: scale(0.98);
}

.theme-toggle {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.theme-toggle:hover {
    background-color: var(--bg-color);
}

lotto-ball {
    display: block;
    width: 50px;
    height: 50px;
    margin: 5px;
}
