/* ============================================
   theme.css — 科幻霓虹主題色票與基礎樣式
   ============================================ */

:root {
  /* 主背景 */
  --bg-deep: #080B11;
  --bg-navy: #0F172A;
  --bg-panel: rgba(15, 23, 42, 0.6);

  /* 霓虹色票 */
  --neon-cyan:    #00F0FF;
  --neon-magenta: #D946EF;
  --neon-emerald: #10B981;
  --neon-red:     #F43F5E;
  --neon-orange:  #FB923C;

  /* 玻璃卡片 */
  --glass-bg: rgba(15, 23, 42, 0.6);
  --glass-border: rgba(0, 240, 255, 0.2);
  --glass-border-hover: rgba(0, 240, 255, 0.5);
  --glass-shadow-hover: 0 0 15px rgba(0, 240, 255, 0.15);
  --glass-blur: 12px;

  /* 文字 */
  --text-primary:   #E2E8F0;
  --text-secondary: #94A3B8;
  --text-muted:     #64748B;

  /* 圓角 */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  /* 字體 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI",
               "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Consolas", "Menlo", monospace;

  /* 動畫 */
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
  height: 100%;
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* 背景微光漸層 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%,  rgba(0, 240, 255, 0.08), transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(217, 70, 239, 0.06), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

a { color: var(--neon-cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

button { font-family: inherit; cursor: pointer; }

.mono { font-family: var(--font-mono); }

/* 霓虹文字色 */
.text-cyan    { color: var(--neon-cyan); }
.text-magenta { color: var(--neon-magenta); }
.text-emerald { color: var(--neon-emerald); }
.text-red     { color: var(--neon-red); }
.text-orange  { color: var(--neon-orange); }
.text-muted   { color: var(--text-muted); }

/* 捲軸美化 */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(0, 240, 255, 0.2);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(0, 240, 255, 0.4); }
