
:root {
    --background-color: #f0f0f0;
    --container-bg: #ffffff;
    --primary-color: #4a90e2;
    --secondary-color: #50e3c2;
    --text-color: #333333;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --toggle-bg: #ffffff;
    --toggle-color: #333333;
    --toggle-border: #cccccc;
}

[data-theme="dark"] {
    --background-color: #1a1a2e;
    --container-bg: #16213e;
    --primary-color: #5a9fd4;
    --secondary-color: #38b2ac;
    --text-color: #e2e8f0;
    --shadow-color: rgba(0, 0, 0, 0.4);
    --toggle-bg: #2d3748;
    --toggle-color: #e2e8f0;
    --toggle-border: #4a5568;
}

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

#theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: var(--toggle-bg);
    color: var(--toggle-color);
    border: 2px solid var(--toggle-border);
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 2px 8px var(--shadow-color);
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s;
    z-index: 1000;
}

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

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

h1 {
    color: var(--text-color);
    margin-bottom: 30px;
}

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

.number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    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;
}

#generate-btn {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.2s;
}

#generate-btn:hover {
    background-color: #48d1b7;
    transform: translateY(-2px);
}

.contact-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--primary-color);
    font-size: 14px;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.contact-link:hover {
    opacity: 1;
    text-decoration: underline;
}
