/* ========================================================================
   base.css —— 全局基础：设计变量、重置、页面底色与网格纹理
   ======================================================================== */

/* ===== CSS Variables ===== */
:root {
  --bg-dark: #0a0e14;
  --bg-card: #121820;
  --bg-card-hover: #1a2230;
  --accent: #3a7bd5;
  --accent-light: #5b9cf5;
  --accent-dark: #1e4a8a;
  --gold: #c9a54c;
  --gold-light: #e8c96a;
  --text-primary: #e8ecf2;
  --text-secondary: #8892a4;
  --text-muted: #555e70;
  --border-color: #2a3548;
  --glow: 0 0 20px rgba(58, 123, 213, 0.3);
  --glow-gold: 0 0 15px rgba(201, 165, 76, 0.4);
}

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ===== Background Grid ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(58, 123, 213, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 123, 213, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}
