@charset "UTF-8";
/* ==================== 顶部导航（首页 gate 与三站内页共用） ====================
   从 home.css 抽取：规则同源，改导航样式只动本文件。
   gate 的锚点版 HTML（view/index/gate/index.html）与内页 partial
   （view/index/navbar.html）共用本样式。
   注意：本文件必须最后加载——gate 中在 home.css 之后、内页中在 theme.css 之后，
   压过 a{color:gold} 全局规则并保证 768px :root --nav-h 覆盖生效。 */
:root {
  --bg-dark: #0b0d12;
  --gold: #d4af37;
  --gold-light: #f0d68a;
  --gold-dark: #8a6d2f;
  --gold-dim: rgba(212, 175, 55, 0.15);
  --text: #e8e2d0;
  --text-muted: #9a937f;
  --line: rgba(212, 175, 55, 0.25);
  --nav-h: 64px;
  --topbar-h: 40px;
}

/* 金色渐变文字（logo 标题用；home.css 有同款供首页其他板块使用） */
.gold-text {
  background: linear-gradient(180deg, #f7e7b0 0%, #d4af37 55%, #9a7a25 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 导航容器：显式覆盖（不依赖 home.css 基础段，也压 Bootstrap .container 断点） */
.topbar > .container,
.mainnav > .container {
  width: 1200px;
  max-width: 92%;
  margin: 0 auto;
  padding: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==================== 顶部工具栏 ==================== */
.topbar {
  height: var(--topbar-h);
  background: rgba(8, 9, 13, 0.92);
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  font-size: 12px;
  position: relative; z-index: 60;
}
.topbar-left { display: flex; align-items: center; gap: 10px; }
.topbar-left img { width: 26px; height: 26px; border-radius: 50%; }
.topbar-left b {
  font-size: 15px; letter-spacing: 2px; font-family: "STKaiti", "KaiTi", serif;
}
.topbar-links { display: flex; gap: 26px; }
.topbar-links a { color: var(--text-muted); transition: color .2s; }
.topbar-links a:hover { color: var(--gold-light); }
.topbar-auth { display: flex; gap: 8px; }
.topbar-auth a {
  padding: 3px 12px; border: 1px solid var(--line);
  color: var(--text-muted); border-radius: 2px; transition: all .2s;
}
.topbar-auth a:hover { color: #fff; border-color: var(--gold); background: var(--gold-dim); }
.topbar-auth a.active { color: var(--gold-light); border-color: var(--gold); }

/* ==================== 主导航 ==================== */
.mainnav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(11, 13, 18, 0.75);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  transition: background .3s;
}
.mainnav.scrolled { background: rgba(11, 13, 18, 0.97); box-shadow: 0 4px 24px rgba(0,0,0,.5); }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { width: 38px; height: 38px; }
.nav-logo span {
  font-size: 20px; letter-spacing: 4px; font-family: "STKaiti", "KaiTi", serif; font-weight: 700;
}
.nav-menu { display: flex; gap: 6px; }
.nav-menu a {
  padding: 8px 18px; font-size: 15px; letter-spacing: 2px; color: var(--text);
  position: relative; transition: color .2s;
}
.nav-menu a::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 2px;
  background: var(--gold); transition: all .25s; transform: translateX(-50%);
}
.nav-menu a:hover, .nav-menu a.active { color: var(--gold-light); }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 60%; }
.nav-cta {
  background: linear-gradient(180deg, #e8c860 0%, #b8892a 100%);
  color: #1a1408 !important; font-weight: 700; padding: 8px 22px !important;
  border-radius: 2px; box-shadow: 0 0 12px rgba(212,175,55,.35);
}
.nav-cta::after { display: none; }
.nav-cta:hover { filter: brightness(1.1); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { width: 22px; height: 2px; background: var(--gold); }

/* ==================== 展示模式暂停功能入口置灰 ==================== */
/* SITE 开关=false 时登录/注册/充值入口渲染为无 href 的 .entry-disabled：
   灰态 + 不可点击（与客服卡片未开放渠道置灰同款视觉：灰度 + 半透明） */
.entry-disabled,
.entry-disabled:hover,
.entry-disabled:active {
  filter: grayscale(1);
  opacity: 0.55;
  cursor: not-allowed;
  color: var(--text-muted) !important;
  border-color: var(--line) !important;
  background: none !important;
  box-shadow: none !important;
  transform: none !important;
}

/* ==================== 响应式 ==================== */
@media (max-width: 768px) {
  :root { --nav-h: 54px; }
  .topbar-links { display: none; }
  .nav-menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 0; background: rgba(11,13,18,.98);
    border-bottom: 1px solid var(--line); padding: 10px 0;
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav-menu.open { max-height: 420px; }
  .nav-menu a { padding: 12px 28px; }
  .nav-menu a::after { display: none; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
}
