:root {
    color-scheme: light dark;
    --bg: #f0f0f0;
    --text: #1c1c1c;
    --card: #ffffff;
    --shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    --muted: #f0f0f0;
    --btn: #4CAF50;
    --btn-hover: #45a049;
    --border: #d6d6d6;
}

body[data-theme="dark"] {
    --bg: #0f1115;
    --text: #f5f5f5;
    --card: #1a1d24;
    --shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    --muted: #222733;
    --btn: #6ad36f;
    --btn-hover: #5ac463;
    --border: #2b313d;
}

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

.container {
    text-align: center;
    background-color: var(--card);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

h1 {
    margin: 0;
}

#generate-btn {
    background-color: var(--btn);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

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

#numbers-display {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

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

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

#theme-toggle {
    background: transparent;
    color: inherit;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
    cursor: pointer;
    font-size: 0.9rem;
}

#theme-toggle:hover {
    background-color: var(--muted);
}
