/* ===== base.css ===== */
/* 用途：CSS 变量定义、重置默认样式、全局基础排版 */

:root {
    --bg-primary: #0b0c0e;
    --bg-secondary: #111316;
    --card-bg: rgba(18, 22, 28, 0.85);
    --accent: #c9a959;
    --accent-light: #e0c47a;
    --accent-dim: rgba(201, 169, 89, 0.15);
    --text-primary: #e6e9f0;
    --text-secondary: #9aa1af;
    --text-muted: #6b7380;
    --border-light: rgba(201, 169, 89, 0.25);
    --border-glow: rgba(201, 169, 89, 0.4);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
    --font-serif: "Times New Roman", "Songti SC", "SimSong", serif;
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    --transition: 0.25s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-primary);
    background-image: radial-gradient(circle at 30% 20%, rgba(201, 169, 89, 0.03) 0%, transparent 40%),
                      radial-gradient(circle at 80% 70%, rgba(201, 169, 89, 0.02) 0%, transparent 50%);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
}

/* 优雅星空效果（极简） */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    background-image: radial-gradient(1px 1px at 10% 15%, rgba(255,255,240,0.4) 1px, transparent 1px),
                      radial-gradient(1px 1px at 45% 60%, rgba(255,255,240,0.3) 1px, transparent 1px),
                      radial-gradient(1.5px 1.5px at 80% 30%, rgba(201,169,89,0.3) 1px, transparent 1px);
    background-size: 180px 180px, 250px 250px, 200px 200px;
    pointer-events: none;
    z-index: -1;
    opacity: 0.4;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    letter-spacing: 0.02em;
}

a, button {
    cursor: pointer;
    font-family: inherit;
}

button {
    background: none;
    border: none;
    outline: none;
}

input {
    font-family: inherit;
}