:root {
    --bg-color: #f0f2f5;
    --container-bg: #ffffff;
    --text-color: #333;
    --shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.1);
}

body.dark {
    --bg-color: #1a1a2e;
    --container-bg: #16213e;
    --text-color: #e0e0e0;
    --shadow: 0 10px 20px rgba(0, 0, 0, 0.5), 0 6px 6px rgba(0, 0, 0, 0.4);
}

body {
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: var(--bg-color);
    background-image: url('https://www.transparenttextures.com/patterns/noisy-grid.png');
    transition: background-color 0.3s ease;
}

#theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: none;
    border: 2px solid var(--text-color);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.3em;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
}

#theme-toggle:hover {
    transform: scale(1.1);
}

.container {
    text-align: center;
    padding: 40px;
    border-radius: 15px;
    background-color: var(--container-bg);
    box-shadow: var(--shadow);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

h1 {
    margin-bottom: 30px;
    color: var(--text-color);
    font-size: 2.5em;
    transition: color 0.3s ease;
}

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

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

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

#generate-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(45deg, #f06, #9f6);
    color: white;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

#generate-btn:hover {
    background: linear-gradient(45deg, #d04, #7d4);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

#generate-btn:active {
    transform: translateY(2px);
}
