/* =============================================================
   鱼乐圈自助KTV 官网 · 主样式
   设计原则：
   1. 移动优先 + 渐进增强，断点 768 / 1024
   2. 首屏深色（KTV 夜间场景调性），正文区浅色（长时间阅读友好）
   3. 颜色、间距、圆角、字号全部走 CSS 变量，改一处全站生效，便于二次开发
   ============================================================= */

:root {
  --brand: #7c3aed;          /* 品牌主色：紫，夜场氛围 */
  --brand-dark: #5b21b6;
  --brand-light: #a78bfa;
  --accent: #f59e0b;         /* 强调色：金，用于价格/CTA */
  --ink: #0f172a;            /* 正文深灰 */
  --muted: #64748b;          /* 辅助文字 */
  --line: #e2e8f0;           /* 描边 */
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --dark: #0b0f1a;           /* 深色区背景 */
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 2px 8px rgba(15,23,42,.06);
  --shadow-lg: 0 12px 32px rgba(15,23,42,.10);
  --max: 1160px;
  --nav-h: 62px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
}

/* ---------- 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink);
  background: var(--bg); line-height: 1.75; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { line-height: 1.35; margin: 0 0 12px; font-weight: 700; }
h1 { font-size: 30px; } h2 { font-size: 24px; } h3 { font-size: 18px; }
p { margin: 0 0 14px; }
ul { margin: 0 0 14px; padding-left: 22px; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* 辅助文字类：此前多页引用了 class="muted" 但样式一直缺失（渲染成正常文字），此处补上 */
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,15,26,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 18px; }
.logo img { width: 34px; height: 34px; }
.logo small { display: block; font-size: 11px; font-weight: 400; color: var(--brand-light); letter-spacing: .08em; }

.nav-menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-menu a {
  display: block; padding: 8px 14px; border-radius: 8px;
  color: rgba(255,255,255,.82); font-size: 15px;
}
.nav-menu a:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav-menu a[aria-current="page"] { color: #fff; background: rgba(124,58,237,.28); }

/* 移动端汉堡菜单按钮 */
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.25);
  color: #fff; border-radius: 8px; padding: 6px 10px; font-size: 14px; cursor: pointer; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px;
    background: var(--dark); border-bottom: 1px solid rgba(255,255,255,.08);
    display: none;                       /* 默认收起，JS 控制展开 */
  }
  .nav-menu.is-open { display: flex; }   /* JS 切换此类 */
  .nav-menu a { padding: 12px 16px; border-radius: 8px; }
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative; background: var(--dark); color: #fff; overflow: hidden;
  padding: 72px 0 64px;
}
.hero::after {   /* 霓虹光晕，纯 CSS 实现，无需图片资源 */
  content: ""; position: absolute; inset: auto -20% -60% -20%; height: 420px;
  background: radial-gradient(ellipse at 50% 100%, rgba(124,58,237,.45), transparent 65%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: 38px; margin-bottom: 14px; letter-spacing: -.02em; }
.hero .lead { font-size: 17px; color: rgba(255,255,255,.82); max-width: 620px; margin-bottom: 26px; }
.hero-media { margin-top: 28px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
@media (max-width: 860px) { .hero { padding: 48px 0 40px; } .hero h1 { font-size: 27px; } .hero .lead { font-size: 15.5px; } }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; padding: 11px 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(124,58,237,.32); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.3); }
.btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-outline { background: #fff; color: var(--brand); border-color: var(--line); }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 通用区块 ---------- */
.section { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--dark); color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.section-head h2 { margin-bottom: 10px; }
.section-head p { color: var(--muted); margin: 0; }
.section-dark .section-head p { color: rgba(255,255,255,.7); }
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .1em;
  color: var(--brand); text-transform: uppercase; margin-bottom: 10px;
}
.section-dark .eyebrow { color: var(--brand-light); }

/* ---------- 数据条 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.stat { text-align: center; padding: 18px 12px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.stat .n { font-size: 30px; font-weight: 800; color: var(--brand); line-height: 1.2; }
.stat .l { font-size: 13.5px; color: var(--muted); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card .num {
  width: 40px; height: 40px; border-radius: 10px; background: rgba(124,58,237,.1);
  color: var(--brand); font-weight: 800; display: grid; place-items: center; margin-bottom: 14px;
}
.card-dark { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); color: #fff; }
.card-dark h3, .card-dark p { color: #fff; }

/* ---------- 媒体占位 ---------- */
/* 占位图统一走 .placeholder：保持宽高比、带说明文字，替换成真实素材时直接换 <img src> 即可 */
.placeholder-wrap {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--bg-soft); border: 1px dashed #cbd5e1;
}
.placeholder-wrap img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
.placeholder-wrap figcaption {
  font-size: 12.5px; color: var(--muted); padding: 8px 12px; border-top: 1px solid var(--line);
}
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-1x1 { aspect-ratio: 1 / 1; }
.ratio-4x3 { aspect-ratio: 4 / 3; }

/* 视频占位：16:9 + 播放按钮样式，替换为真实 <video> 或第三方 iframe 即可 */
.video-slot {
  position: relative; width: 100%; aspect-ratio: 16/9; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #1e1b4b, #0b0f1a); overflow: hidden;
}
.video-slot img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.video-play {
  position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%;
  background: rgba(124,58,237,.92); display: grid; place-items: center; color: #fff; font-size: 22px;
  box-shadow: 0 8px 24px rgba(0,0,0,.35); cursor: pointer;
}
.video-note {
  position: absolute; left: 16px; bottom: 16px; color: #fff; font-size: 13px;
  background: rgba(0,0,0,.5); padding: 4px 10px; border-radius: 6px;
}

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 14.5px; background: #fff; }
table.data th, table.data td { border: 1px solid var(--line); padding: 11px 13px; text-align: left; vertical-align: top; }
table.data th { background: var(--bg-soft); font-weight: 600; }
table.data tbody tr:nth-child(even) { background: #fcfdfe; }

/* ---------- FAQ 折叠 ---------- */
details.faq { border: 1px solid var(--line); border-radius: var(--radius); padding: 0; margin-bottom: 12px; background: #fff; }
details.faq summary {
  cursor: pointer; padding: 15px 18px; font-weight: 600; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--brand); font-size: 20px; font-weight: 700; }
details.faq[open] summary::after { content: "−"; }
details.faq .answer { padding: 0 18px 16px; color: #334155; }

/* ---------- 新闻列表 ---------- */
.news-item {
  display: grid; grid-template-columns: 220px 1fr; gap: 20px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.news-item:last-child { border-bottom: 0; }
.news-date { color: var(--brand); font-weight: 700; font-size: 14px; }
.news-item h2 { margin-bottom: 6px; font-size: 17px; }
.news-item p { margin: 0; color: var(--muted); font-size: 14.5px; }
@media (max-width: 700px) { .news-item { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- 时间线 ---------- */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line);
}
.timeline li { position: relative; padding-left: 34px; margin-bottom: 22px; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--brand); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--brand-light);
}
.timeline time { display: block; font-size: 13px; color: var(--brand); font-weight: 700; }
.timeline h3 { margin: 2px 0 4px; font-size: 16px; }

/* ---------- 表单 ---------- */
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14.5px; }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 15px; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand-light); outline-offset: 1px; border-color: var(--brand); }
textarea { min-height: 110px; resize: vertical; }
.form-hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.form-error { color: var(--red, #dc2626); font-size: 13px; margin-top: 5px; display: none; }
.form-error.show { display: block; }
.input-error { border-color: #dc2626; }
.form-success {
  display: none; padding: 14px 16px; border-radius: 10px; background: #ecfdf5;
  border: 1px solid #a7f3d0; color: #065f46; margin-top: 14px;
}
.form-success.show { display: block; }

/* ---------- 面包屑 ---------- */
.breadcrumb { font-size: 13.5px; color: var(--muted); padding: 14px 0; border-bottom: 1px solid var(--line); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #cbd5e1; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,.7); padding: 46px 0 26px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 28px; }
.site-footer h2 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 提示条 ---------- */
.notice {
  border-left: 4px solid var(--accent); background: #fffbeb; border-radius: 8px;
  padding: 12px 16px; font-size: 14px; color: #78350f; margin: 18px 0;
}
.notice-info { border-left-color: var(--brand); background: #f5f3ff; color: #4c1d95; }

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand); color: #fff; border: 0; cursor: pointer; box-shadow: var(--shadow-lg);
  display: none; place-items: center; font-size: 18px; z-index: 90;
}
.to-top.show { display: grid; }

/* =============================================================
   品牌优势页组件（advantages.html）
   说明：以下样式只服务于"优势呈现"，与 GEO 无关，但影响用户信任感
   ============================================================= */

/* 紧凑首屏：优势页信息密度更高，减少纵向留白 */
.hero-compact { padding: 56px 0 48px; }
.hero-compact h1 { font-size: 34px; }
@media (max-width: 860px) { .hero-compact { padding: 40px 0 32px; } .hero-compact h1 { font-size: 25px; } }

/* 六宫格优势卡 */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .adv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .adv-grid { grid-template-columns: 1fr; } }
.adv-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s;
  border-top: 3px solid var(--brand);
}
.adv-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.adv-card .badge {
  width: 42px; height: 42px; border-radius: 12px; background: rgba(124,58,237,.1);
  color: var(--brand); font-weight: 800; font-size: 15px;
  display: grid; place-items: center; margin-bottom: 14px;
}
.adv-card h3 { font-size: 17px; margin-bottom: 8px; }
.adv-card .claim { font-weight: 600; margin-bottom: 10px; }
.adv-card .proof {
  font-size: 13.5px; line-height: 1.7; color: var(--brand-dark);
  background: #f5f3ff; border-radius: 8px; padding: 10px 13px; margin: 0;
}

/* 数据表补充：表标题与来源说明 */
.table-caption { caption-side: top; text-align: left; font-size: 13px; color: var(--muted); padding-bottom: 8px; }
.src-note { font-size: 13px; color: var(--muted); margin-top: 10px; }
.src-note cite { font-style: normal; }

/* 区块内的行动按钮组 */
.section-cta { text-align: center; margin: 30px 0 0; }
.section-cta .btn + .btn { margin-left: 10px; }

/* 外部印证列表（深色区） */
.source-list { list-style: none; padding: 0; margin: 10px 0 0; }
.source-list li {
  padding: 12px 0 12px 20px; border-bottom: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.82); font-size: 14.5px; position: relative;
}
.source-list li:last-child { border-bottom: 0; }
.source-list li::before {
  content: ""; position: absolute; left: 0; top: 20px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}
.source-list a { color: var(--brand-light); }

/* 优势页正文里的 h3 间距（问句式小标题需要更明确的层级感） */
article h3 { font-size: 18px; margin-top: 28px; }
article h3:first-of-type { margin-top: 0; }

/* 竞技赛事横幅：在浅色区块中拉出一条深色的品牌强调带 */
.highlight-band {
  margin-top: 26px; padding: 28px 30px; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #1b1035, #2a1d5c 60%, #1b1035);
  color: #fff; display: flex; align-items: center; gap: 28px; justify-content: space-between;
  box-shadow: var(--shadow-lg);
}
.highlight-band .eyebrow { color: var(--brand-light); }
.highlight-band h3 { color: #fff; font-size: 20px; margin-bottom: 8px; }
.highlight-band p { color: rgba(255,255,255,.78); margin: 0; max-width: 720px; font-size: 14.5px; }
.highlight-band .btn { flex: 0 0 auto; }
@media (max-width: 760px) { .highlight-band { flex-direction: column; align-items: flex-start; gap: 16px; } }

/* ---------- 打印 ---------- */
@media print { .site-header, .to-top, .hero-media { display: none; } body { color: #000; } }
