:root {
    --primary-color: #333;
    --secondary-color: #555;
    --background-color: #fff;
    --text-color: #000;
    --white: #fff;
    --container-bg: var(--white);
}

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

.main-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 500px;
}

.container {
    background-color: var(--container-bg);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 6px 6px rgba(0, 0, 0, 0.23);
    text-align: center;
    position: relative;
    border: 1px solid var(--text-color);
}

h1, h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

.lotto-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

#generate-btn, .form-container button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
}

#generate-btn:hover, .form-container button:hover {
    background-color: var(--secondary-color);
}

/* Form Styles */
.form-container form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

.form-container label {
    font-weight: bold;
}

.form-container input,
.form-container textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: var(--background-color);
    color: var(--text-color);
}

/* Disqus Container */
.disqus-container {
    margin-top: 20px;
}

/* Dark Mode */
.dark-mode {
    --primary-color: #ccc;
    --secondary-color: #999;
    --background-color: #000;
    --text-color: #fff;
    --container-bg: #000;
}

/* Theme Switch */
.theme-switch-wrapper {
    position: absolute;
    top: 15px;
    right: 15px;
}

.theme-switch {
    display: inline-block;
    height: 34px;
    position: relative;
    width: 60px;
}

.theme-switch input { display: none; }

.slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
}

.slider:before {
    background-color: #fff;
    bottom: 4px;
    content: "";
    height: 26px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 26px;
}

input:checked + .slider {
    background-color: #333;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round { border-radius: 34px; }
.slider.round:before { border-radius: 50%; }
