:root {
    --bg-color: #f0f2f5;
    --container-bg-color: white;
    --text-color: #333;
    --button-bg-color: #007bff;
    --button-hover-bg-color: #0056b3;
    --list-item-bg-color: #f8f9fa;
    --text-color-light: white;
}

body.dark-mode {
    --bg-color: #1a1a1a;
    --container-bg-color: #2c2c2c;
    --text-color: #f0f2f5;
    --button-bg-color: #0056b3;
    --button-hover-bg-color: #007bff;
    --list-item-bg-color: #3a3a3a;
}

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

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

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

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

.lotto-ball {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-color-light);
}

#generate-btn, #theme-toggle-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    color: var(--text-color-light);
    background-color: var(--button-bg-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

#generate-btn:hover, #theme-toggle-btn:hover {
    background-color: var(--button-hover-bg-color);
}

.hall-of-fame {
    margin-top: 2rem;
}

#hall-of-fame-list {
    list-style: none;
    padding: 0;
    max-height: 200px;
    overflow-y: auto;
}

#hall-of-fame-list li {
    background-color: var(--list-item-bg-color);
    color: var(--text-color);
    padding: 0.5rem;
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

/* Partnership Inquiry Form Styles */
.partnership-inquiry {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.partnership-inquiry h2 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.partnership-inquiry form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.partnership-inquiry label {
    text-align: left;
    color: var(--text-color);
    font-weight: bold;
}

.partnership-inquiry input[type="email"],
.partnership-inquiry textarea {
    padding: 0.7rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    background-color: var(--list-item-bg-color); /* Use a themed background */
    color: var(--text-color);
    transition: border-color 0.3s;
}

.partnership-inquiry input[type="email"]:focus,
.partnership-inquiry textarea:focus {
    border-color: var(--button-bg-color);
    outline: none;
}

.partnership-inquiry button[type="submit"] {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    color: var(--text-color-light);
    background-color: var(--button-bg-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    align-self: flex-start; /* Align button to the left */
    margin-top: 1rem;
}

.partnership-inquiry button[type="submit"]:hover {
    background-color: var(--button-hover-bg-color);
}

/* Disqus Section Styles */
.disqus-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.disqus-section h2 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

body.dark-mode .disqus-section {
    background-color: var(--container-bg-color); /* Match container background */
    padding: 1rem;
    border-radius: 10px;
}