:root {
    --bg: #ffffff;
    --bg-card: #f5f6fa;
    --text: #1a1a2e;
    --text-dim: #666;
    --border: #e0e0e0;
    --neon-cyan: #00b8d4;
    --neon-purple: #7b2cbf;
    --neon-glow: 0 0 8px rgba(0,184,212,.4);
}

[data-theme="dark"] {
    --bg: #07070d;
    --bg-card: #0e0e1a;
    --text: #eaeaf5;
    --text-dim: #8a8aa0;
    --border: #1e1e33;
    --neon-cyan: #00e5ff;
    --neon-purple: #a855f7;
    --neon-glow: 0 0 15px rgba(0,229,255,.6), 0 0 30px rgba(168,85,247,.3);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Segoe UI', system-ui, sans-serif;
    min-height: 100vh;
    transition: background .3s, color .3s;
}

[data-theme="dark"] body {
    background:
        radial-gradient(circle at 15% 20%, rgba(0,229,255,.08), transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(168,85,247,.08), transparent 40%),
        var(--bg);
}

.theme-toggle {
    position: fixed; top: 20px; right: 20px;
    width: 46px; height: 46px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-card); border: 1px solid var(--border);
    cursor: pointer; font-size: 18px; user-select: none; z-index: 100;
    transition: all .25s;
}
.theme-toggle:hover { box-shadow: var(--neon-glow); border-color: var(--neon-cyan); }

[data-theme="light"] .icon-sun { display: none; }
[data-theme="dark"]  .icon-moon { display: none; }