
:root {
    --bg-color: #f0f0f0;
    --container-bg: white;
    --text-color: #333;
    --number-bg: #eee;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

[data-theme='dark'] {
    --bg-color: #1a1a1a;
    --container-bg: #2d2d2d;
    --text-color: #f0f0f0;
    --number-bg: #444;
    --shadow-color: rgba(0, 0, 0, 0.5);
}

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

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

h1 {
    margin-bottom: 2rem;
}

.theme-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

#theme-btn {
    background: none;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
}

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

.number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--number-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    transition: background-color 0.3s;
}

#generate-btn {
    background-color: #4CAF50;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

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

.contact-section {
    margin-top: 2rem;
    text-align: left;
}

.contact-section hr {
    border: 0;
    border-top: 1px solid var(--number-bg);
    margin-bottom: 1.5rem;
}

.contact-section h3 {
    text-align: center;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--number-bg);
    border-radius: 5px;
    background-color: var(--container-bg);
    color: var(--text-color);
    box-sizing: border-box;
    font-size: 0.9rem;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

#submit-btn {
    width: 100%;
    background-color: #2196F3;
    color: white;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

#submit-btn:hover {
    background-color: #1976D2;
}
