/* Base Styles — 组件系统全局基础 */
/* 每个站点的 custom.css 开头 @import 或合并此文件 */

:root {
  --accent: #10b981;
  --accent-rgb: 16,185,129;
  --bg-dark: #0f172a;
  --bg-alt: #1e293b;
  --bg-surface: #1a2332;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: #334155;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-dark);
  color: var(--text-secondary);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent); opacity: 0.9; }

img { max-width: 100%; height: auto; }

/* Section alternating backgrounds */
.section-dark { background: var(--bg-dark); }
.section-alt { background: var(--bg-alt); }
.section-surface { background: var(--bg-surface); }

/* Scroll behavior for nav */
html { scroll-behavior: smooth; }

/* Cookie banner base */
#cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1e293b;
  padding: 16px 24px;
  z-index: 9999;
  border-top: 1px solid #334155;
  font-size: 14px;
  color: #94a3b8;
}
#cookie-banner .cookie-buttons { display: flex; gap: 12px; margin-top: 12px; }
#cookie-banner button {
  padding: 8px 20px;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
#cookie-accept { background: var(--accent); color: #fff; }
#cookie-decline { background: #334155; color: #94a3b8; }
