:root {
    --bg-color: #f0f0f0;
    --text-color: #333;
    --container-bg: transparent;
    --button-bg: #4CAF50;
    --button-hover: #45a049;
}

body.dark-mode {
    --bg-color: #1a1a1a;
    --text-color: #f0f0f0;
    --container-bg: #2d2d2d;
}

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

.container {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background-color: var(--container-bg);
    transition: background-color 0.3s;
}

h1 {
    color: var(--text-color);
}

#generate-btn {
    background-color: var(--button-bg);
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    transition: background-color 0.3s;
}

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

.lotto-numbers-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.lotto-ball {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

#theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: none;
    border: 2px solid var(--text-color);
    color: var(--text-color);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

#theme-toggle:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

.contact-section {
    margin-top: 50px;
    padding-top: 20px;
}

hr {
    border: 0;
    border-top: 1px solid var(--text-color);
    opacity: 0.2;
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: inherit;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--button-bg);
}

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

#submit-btn {
    background-color: var(--button-bg);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

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