/* ==========================================================================
   themes.css — 9 легендарных палитр с настроенным Glow-свечением
   ========================================================================== */

/* 1. CLASSIC (MONOCHROME) — ПО ДЕФОЛТУ: Ч/Б с цветными акцентами */
:root, [data-theme="classic"], [data-theme="monochrome"] {
  --bg-main: #000000;
  --bg-panel: #080808;
  --bg-card: #121212;
  --border-dim: #222222;
  --border-mid: #444444;
  --border-accent: #ffffff;
  --text-main: #cccccc;
  --text-muted: #666666;
  --text-bright: #ffffff;
  --glow-accent: 0 0 10px #ffffff, 0 0 20px rgba(255, 255, 255, 0.5);
  --glow-logo: 0 0 14px #ffffff, 0 0 28px rgba(255, 255, 255, 0.45);
  --status-on: #55ff55;
  --status-off: #666666;
  --status-err: #ff5555;
  --star-task: #55ff55;
  --star-goal: #55aaff;
  --star-challenge: #ff55ff;
}

/* 2. TOKYO NIGHT (Cyberpunk Neon) */
[data-theme="tokyo-night"] {
  --bg-main: #090a10;
  --bg-panel: #13141f;
  --bg-card: #1a1b26;
  --border-dim: #23283b;
  --border-mid: #3b4261;
  --border-accent: #7aa2f7;
  --text-main: #a9b1d6;
  --text-muted: #565f89;
  --text-bright: #c0caf5;
  --glow-accent: 0 0 10px #7aa2f7, 0 0 20px rgba(122, 162, 247, 0.5);
  --glow-logo: 0 0 15px #7aa2f7, 0 0 30px rgba(122, 162, 247, 0.4);
  --status-on: #73daca;
  --status-off: #565f89;
  --status-err: #f7768e;
  --star-task: #9ece6a;
  --star-goal: #7dcfff;
  --star-challenge: #bb9af7;
}

/* 3. CATPPUCCIN MOCHA (Soft Pastel) */
[data-theme="catppuccin"] {
  --bg-main: #11111b;
  --bg-panel: #181825;
  --bg-card: #1e1e2e;
  --border-dim: #27273d;
  --border-mid: #45475a;
  --border-accent: #cba6f7;
  --text-main: #cdd6f4;
  --text-muted: #6c7086;
  --text-bright: #ffffff;
  --glow-accent: 0 0 10px #cba6f7, 0 0 20px rgba(203, 166, 247, 0.4);
  --glow-logo: 0 0 15px #cba6f7, 0 0 30px rgba(203, 166, 247, 0.35);
  --status-on: #a6e3a1;
  --status-off: #6c7086;
  --status-err: #f38ba8;
  --star-task: #a6e3a1;
  --star-goal: #89b4fa;
  --star-challenge: #f5c2e7;
}

/* 4. GRUVBOX DARK (Retro Warm Amber) */
[data-theme="gruvbox"] {
  --bg-main: #141617;
  --bg-panel: #1d2021;
  --bg-card: #282828;
  --border-dim: #3c3836;
  --border-mid: #504945;
  --border-accent: #fe8019;
  --text-main: #d5c4a1;
  --text-muted: #7c6f64;
  --text-bright: #fbf1c7;
  --glow-accent: 0 0 10px #fe8019, 0 0 20px rgba(254, 128, 25, 0.4);
  --glow-logo: 0 0 15px #fe8019, 0 0 30px rgba(254, 128, 25, 0.35);
  --status-on: #b8bb26;
  --status-off: #7c6f64;
  --status-err: #fb4934;
  --star-task: #b8bb26;
  --star-goal: #83a598;
  --star-challenge: #d3869b;
}

/* 5. NORD FROST (Arctic Cold) */
[data-theme="nord"] {
  --bg-main: #1b1f28;
  --bg-panel: #242933;
  --bg-card: #2e3440;
  --border-dim: #3b4252;
  --border-mid: #4c566a;
  --border-accent: #88c0d0;
  --text-main: #d8dee9;
  --text-muted: #616e88;
  --text-bright: #eceff4;
  --glow-accent: 0 0 10px #88c0d0, 0 0 20px rgba(136, 192, 208, 0.4);
  --glow-logo: 0 0 15px #88c0d0, 0 0 30px rgba(136, 192, 208, 0.35);
  --status-on: #a3be8c;
  --status-off: #616e88;
  --status-err: #bf616a;
  --star-task: #a3be8c;
  --star-goal: #81a1c1;
  --star-challenge: #b48ead;
}

/* 6. EVERFOREST (Deep Woodland) */
[data-theme="everforest"] {
  --bg-main: #171c1e;
  --bg-panel: #20272a;
  --bg-card: #273439;
  --border-dim: #323d43;
  --border-mid: #414e55;
  --border-accent: #a7c080;
  --text-main: #d3c6aa;
  --text-muted: #7a8478;
  --text-bright: #e4e1cd;
  --glow-accent: 0 0 10px #a7c080, 0 0 20px rgba(167, 192, 128, 0.4);
  --glow-logo: 0 0 15px #a7c080, 0 0 30px rgba(167, 192, 128, 0.35);
  --status-on: #a7c080;
  --status-off: #7a8478;
  --status-err: #e67e80;
  --star-task: #a7c080;
  --star-goal: #7fbbb3;
  --star-challenge: #d699b6;
}

/* 7. DRACULA (Gothic Neon) */
[data-theme="dracula"] {
  --bg-main: #13141c;
  --bg-panel: #1b1d28;
  --bg-card: #21222c;
  --border-dim: #343746;
  --border-mid: #44475a;
  --border-accent: #bd93f9;
  --text-main: #f8f8f2;
  --text-muted: #6272a4;
  --text-bright: #ffffff;
  --glow-accent: 0 0 10px #bd93f9, 0 0 20px rgba(189, 147, 249, 0.45);
  --glow-logo: 0 0 15px #bd93f9, 0 0 30px rgba(189, 147, 249, 0.35);
  --status-on: #50fa7b;
  --status-off: #6272a4;
  --status-err: #ff5555;
  --star-task: #50fa7b;
  --star-goal: #8be9fd;
  --star-challenge: #ff79c6;
}

/* 8. ROSE PINE (Lo-Fi Vintage) */
[data-theme="rose-pine"] {
  --bg-main: #121019;
  --bg-panel: #191724;
  --bg-card: #211f2d;
  --border-dim: #26233a;
  --border-mid: #403d52;
  --border-accent: #ebbcba;
  --text-main: #e0def4;
  --text-muted: #6e6a86;
  --text-bright: #ffffff;
  --glow-accent: 0 0 10px #ebbcba, 0 0 20px rgba(235, 188, 186, 0.4);
  --glow-logo: 0 0 15px #ebbcba, 0 0 30px rgba(235, 188, 186, 0.35);
  --status-on: #9ccfd8;
  --status-off: #6e6a86;
  --status-err: #eb6f92;
  --star-task: #9ccfd8;
  --star-goal: #31748f;
  --star-challenge: #c4a7e7;
}

/* 9. KANAGAWA (Japanese Ink) */
[data-theme="kanagawa"] {
  --bg-main: #111216;
  --bg-panel: #16161d;
  --bg-card: #1f1f28;
  --border-dim: #2a2a37;
  --border-mid: #363646;
  --border-accent: #7e9cd8;
  --text-main: #dcd7ba;
  --text-muted: #727169;
  --text-bright: #c8c093;
  --glow-accent: 0 0 10px #7e9cd8, 0 0 20px rgba(126, 156, 216, 0.4);
  --glow-logo: 0 0 15px #7e9cd8, 0 0 30px rgba(126, 156, 216, 0.35);
  --status-on: #98bb6c;
  --status-off: #727169;
  --status-err: #c34043;
  --star-task: #98bb6c;
  --star-goal: #7e9cd8;
  --star-challenge: #957fb8;
}
