:root {
    --bg-gradient: linear-gradient(to right, #6a11cb, #2575fc);
    --text-color: #ffffff;
    --container-bg: rgba(255, 255, 255, 0.1);
    --header-bg: rgba(0, 0, 0, 0.1);
    --btn-bg: #4CAF50;
    --btn-hover: #45a049;
    --btn-text: #ffffff;
    --shadow: rgba(0, 0, 0, 0.2);
}

body.light-mode {
    --bg-gradient: linear-gradient(to right, #fdfbfb, #ebedee);
    --text-color: #333333;
    --container-bg: rgba(255, 255, 255, 0.8);
    --header-bg: rgba(0, 0, 0, 0.05);
    --btn-bg: #2196f3;
    --btn-hover: #1976d2;
    --btn-text: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-gradient);
    color: var(--text-color);
    margin: 0;
    transition: background 0.3s, color 0.3s;
    min-height: 100vh;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    background-color: var(--header-bg);
}

.theme-toggle {
    background: none;
    border: 2px solid var(--text-color);
    color: var(--text-color);
    padding: 8px 15px;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s;
}

.theme-toggle:hover {
    background-color: var(--text-color);
    color: #6a11cb;
}

body.light-mode .theme-toggle:hover {
    color: #ffffff;
    background-color: #2196f3;
    border-color: #2196f3;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px);
    padding: 20px;
}

.description {
    margin-bottom: 30px;
    font-size: 1.2rem;
    text-align: center;
}

.buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

button:not(.theme-toggle) {
    padding: 15px 30px;
    font-size: 1.2rem;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: var(--btn-bg);
    color: var(--btn-text);
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 6px var(--shadow);
}

button:not(.theme-toggle):hover {
    background-color: var(--btn-hover);
    transform: translateY(-2px);
}

button:not(.theme-toggle):active {
    transform: translateY(0);
}

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

.number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: appear 0.5s ease-in-out;
}

@keyframes appear {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 600px) {
    .buttons {
        flex-direction: column;
    }

    .number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}