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

: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); }

/* ================= 認證頁面（login / register） ================= */
.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.auth-card {
  width: 100%;
  max-width: 400px;
  padding: 32px;
}

.auth-title {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--neon-cyan);
  text-align: center;
  letter-spacing: 2px;
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
  margin-bottom: 8px;
}

.auth-subtitle {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

@media (max-width: 640px) {
  .auth-card { padding: 24px; }
  .auth-title { font-size: 20px; }
}