:root {
    --bg: #f0f2f5;
    --card-bg: #ffffff;
    --text: #333333;
    --shadow: rgba(0, 0, 0, 0.1);
    --btn-bg: #008CBA;
    --btn-hover: #005f7a;
}

body.dark {
    --bg: #1a1a2e;
    --card-bg: #16213e;
    --text: #e0e0e0;
    --shadow: rgba(0, 0, 0, 0.4);
    --btn-bg: #0f3460;
    --btn-hover: #e94560;
}

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

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

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

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

lotto-ball {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #4CAF50;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

lotto-ball:hover {
    transform: scale(1.1);
}

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

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

#theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--card-bg);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 2px 8px var(--shadow);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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