/* 映话品牌色彩系统 */
:root {
  --color-primary: #D4AF37;        /* 主金色 */
  --color-primary-light: #F0E68C;  /* 浅金色 */
  --color-background: #000000;     /* 纯黑 */
  --color-surface: #1a1a1a;        /* 深灰表面 */
  --color-text: #FFFFFF;           /* 纯白文字 */
  --color-text-secondary: #CCCCCC; /* 次要文字 */
  --color-text-muted: #999999;     /* 辅助文字 */
}

/* 全局重置样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 基础字体和背景设置 */
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.5;
  overflow-x: hidden; /* 防止水平滚动 */
}

/* 标题字体 */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
}

/* 引用文本字体 */
.quote-text {
  font-family: 'Spectral', serif;
}

/* 品牌字体 */
.brand-font {
  font-family: 'Ma Shan Zheng', cursive;
}

/* =================================================================
   自定义滚动条样式 - 映话主题风格
   ================================================================= */

/* 主滚动条样式 */
::-webkit-scrollbar {
  width: 8px;               /* 垂直滚动条宽度 */
  height: 8px;              /* 水平滚动条高度 */
}

/* 滚动条轨道 */
::-webkit-scrollbar-track {
  background: rgba(26, 26, 26, 0.3);  /* 深色轨道，几乎透明 */
  border-radius: 10px;                /* 圆角轨道 */
}

/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.2);    /* 低调金色，半透明 */
  border-radius: 10px;                    /* 圆角滑块 */
  border: 1px solid rgba(212, 175, 55, 0.1); /* 微妙边框 */
  transition: all 0.3s ease;             /* 平滑过渡 */
}

/* 滚动条滑块悬停效果 */
::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.4);    /* 悬停时稍微明亮 */
  border-color: rgba(212, 175, 55, 0.3);  /* 边框也变亮 */
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.2); /* 微妙发光效果 */
}

/* 滚动条滑块激活效果 */
::-webkit-scrollbar-thumb:active {
  background: rgba(212, 175, 55, 0.6);    /* 点击时更明亮 */
}

/* 滚动条角落 */
::-webkit-scrollbar-corner {
  background: rgba(26, 26, 26, 0.3);      /* 与轨道颜色一致 */
}

/* 细滚动条变体（用于特殊区域） */
.thin-scrollbar::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

.thin-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.15);
  border-radius: 6px;
  border: none;
}

.thin-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.3);
}

/* 隐藏滚动条变体（保持功能） */
.hidden-scrollbar {
  -ms-overflow-style: none !important;        /* IE 和 Edge */
  scrollbar-width: none !important;           /* Firefox */
}

.hidden-scrollbar::-webkit-scrollbar {
  display: none !important;                   /* Chrome, Safari, Opera */
  width: 0 !important;
  height: 0 !important;
}

/* 确保body元素隐藏滚动条 */
body.hidden-scrollbar {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
  overflow-x: hidden;
}

body.hidden-scrollbar::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* 移动端滚动条优化 */
@media (max-width: 768px) {
  ::-webkit-scrollbar {
    width: 4px;
    height: 4px;
  }
  
  ::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.15);
    border: none;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.25);
  }
} 