
:root {
    --primary-color: #ff4b4b;
    --secondary-color: #4b4bff;
    --background-color: #f0f0f0;
    --text-color: #333;
    --white: #fff;
    --container-bg: #fff;
    --shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.1);
}

body.dark-mode {
    --background-color: #2c2c2c;
    --text-color: #f0f0f0;
    --container-bg: #3c3c3c;
    --shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 6px 6px rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: var(--background-color);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    transition: background-color 0.3s ease, color 0.3s ease;
}

#theme-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

.container {
    text-align: center;
    background-color: var(--container-bg);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    width: 90%;
    max-width: 600px;
    margin-top: 20px;
}

h1 {
    color: var(--text-color);
    margin-bottom: 20px;
}

.description {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 30px;
}

.numbers-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: var(--white);
}

#generate-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color);
    margin-bottom: 30px;
}

#generate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 15px var(--primary-color), 0 0 30px var(--primary-color);
}

.ad-container {
    width: 100%;
    margin: 20px 0;
    min-height: 100px;
    text-align: center;
    background: #fafafa;
    border: 1px dashed #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #999;
}

body.dark-mode .ad-container {
    background: #222;
    border-color: #555;
}

footer {
    width: 100%;
    text-align: center;
    padding: 20px 0;
    margin-top: auto;
    color: var(--text-color);
}

footer a {
    color: var(--text-color);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}
