/* ==========================================================
   base.css
   模块：基础样式
   作用：定义 CSS 变量、重置样式、基础排版和全局元素规则
   说明：从原首页内联样式拆分，保留原视觉效果与响应式行为。
   ========================================================== */


:root {
    --color-primary: #004099;
    --color-primary-dark: #00277a;
    --color-gold: #f0cb58;
    --color-gold-deep: #c9a84c;
    --color-text: #313131;
    --font-sans: "Microsoft YaHei", Arial, sans-serif;
    --font-serif-cn: "SimSun", "STSong", serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    min-width: 0;
    overflow-x: hidden;
    font-family: var(--font-sans);
    line-height: 1.4;
    background: #000;
}

img {
    border: none;
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    transition: color 0.3s ease;
}

button,
input {
    font: inherit;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.02); }
::-webkit-scrollbar-thumb {
    background: rgba(26, 42, 94, 0.25);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(26, 42, 94, 0.40); }
