:root {
    --bg-color: #f0f2f5;
    --container-bg: #fff;
    --text-color: #333;
    --number-bg: #eee;
    --number-text: #333;
    --button-bg: #007bff;
    --button-hover: #0056b3;
    --shadow: rgba(0, 0, 0, 0.1);
}

body.dark-mode {
    --bg-color: #121212;
    --container-bg: #1e1e1e;
    --text-color: #e0e0e0;
    --number-bg: #333;
    --number-text: #fff;
    --button-bg: #3700b3;
    --button-hover: #1e0066;
    --shadow: rgba(0, 0, 0, 0.5);
}

body {
    font-family: sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    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: 1rem;
    box-shadow: 0 4px 6px var(--shadow);
    text-align: center;
    transition: background-color 0.3s, box-shadow 0.3s;
}

h1 {
    margin-top: 0;
    color: var(--text-color);
}

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

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

.bonus-plus {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-color);
}

.number.bonus {
    background-color: #ffc107;
    color: #333;
}

body.dark-mode .number.bonus {
    background-color: #ffca28;
    color: #121212;
}

#generate {
    background-color: var(--button-bg);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.partnership-form {
    margin-top: 3rem;
    text-align: left;
}

.partnership-form hr {
    border: 0;
    border-top: 1px solid var(--number-bg);
    margin-bottom: 2rem;
}

.partnership-form h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    font-size: 0.9rem;
}

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

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

.submit-btn {
    width: 100%;
    background-color: #28a745;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #218838;
}

#theme-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 0.5rem;
    border: 1px solid var(--text-color);
    background: transparent;
    color: var(--text-color);
}