/* public/styles/global.css */
/* (重构为《DotGG》暗黑风格) */

/* 1. 字体导入 (保持不变) */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');

/* 2. CSS 变量 (DotGG 暗黑模式) */
:root {
    /* (基于 image_285a01.jpg)
      背景色板 (暗黑模式)
    */
    --color-bg: #1C1C1E; /* (DotGG 的极深背景) */
    --color-bg-secondary: #2C2C2E; /* (DotGG 的卡片背景: 稍亮) */
    --color-border: #3A3A3C; /* (边框：中灰色) */

    /* 文本色板
    */
    --color-text-base: #E5E5EA; /* (正文：浅灰色) */
    --color-text-heading: #FFFFFF; /* (标题：纯白) */
    --color-text-muted: #8E8E93; /* (次要文本：中灰色) */

    /* (基于 image_285a01.jpg)
      高能色 (Accent)
    */
    --color-accent: #5E5CE6; /* (DotGG 的紫色) */
    --color-accent-secondary: #0A84FF; /* (DotGG 的蓝色) */
}

/* 3. 全局重置 (应用新色板和字体) */
body {
    background-color: var(--color-bg);
    color: var(--color-text-base);
    font-family: 'Roboto', -apple-system, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    min-height: 100vh;
}

/* 4. 容器 (保持不变) */
.container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* 5. 基础排版 (应用暗黑模式) */
h1, h2 {
    color: var(--color-text-heading);
    font-weight: 700;
}
h3, h4 {
    color: var(--color-text-heading);
    font-weight: 600;
}
p {
    color: var(--color-text-base);
    font-weight: 400;
}
a {
    color: var(--color-accent-secondary); /* (蓝色) */
    text-decoration: none;
    font-weight: 600;
}
a:hover {
    color: var(--color-accent); /* (悬停时变紫色) */
    text-decoration: none;
}