:root {
    --bg-color: #1a1a1a;
    --text-color: #fff;
    --bg-image: url('data:image/svg+xml,%3Csvg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="%23333333" fill-opacity="0.4"%3E%3Crect x="0" y="0" width="50" height="50"/%3E%3Crect x="50" y="50" width="50" height="50"/%3E%3C/g%3E%3C/svg%3E');
    --h1-shadow: rgba(255, 255, 255, 0.3);
    --button-bg: #4CAF50;
    --button-shadow: rgba(76, 175, 80, 0.7);
    --button-hover-bg: #45a049;
    --button-hover-shadow: rgba(76, 175, 80, 1);
}

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

body.light-mode {
    --bg-color: #f0f0f0;
    --text-color: #333;
    --bg-image: url('data:image/svg+xml,%3Csvg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="%23cccccc" fill-opacity="0.4"%3E%3Crect x="0" y="0" width="50" height="50"/%3E%3Crect x="50" y="50" width="50" height="50"/%3E%3C/g%3E%3C/svg%3E');
    --h1-shadow: rgba(0, 0, 0, 0.1);
    --button-bg: #87CEEB;
    --button-shadow: rgba(135, 206, 235, 0.7);
    --button-hover-bg: #76bada;
    --button-hover-shadow: rgba(135, 206, 235, 1);
}

.container {
    text-align: center;
}

h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px var(--h1-shadow);
}

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

.lotto-ball {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), 
                inset 0 0 10px rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#generate-btn {
    padding: 15px 30px;
    font-size: 1.2rem;
    font-family: 'Jua', sans-serif;
    border: none;
    border-radius: 50px;
    background-color: var(--button-bg);
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow: 0 0 15px var(--button-shadow);
}

#generate-btn:hover {
    background-color: var(--button-hover-bg);
    box-shadow: 0 0 25px var(--button-hover-shadow);
    transform: scale(1.05);
}

#theme-toggle-btn {
    padding: 10px 20px;
    font-size: 1rem;
    font-family: 'Jua', sans-serif;
    border: none;
    border-radius: 50px;
    background-color: #888;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 1rem;
}

#theme-toggle-btn:hover {
    background-color: #666;
}
