* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  background: #0A0E1A;
  color: #EAF0FF;
  line-height: 1.9;
  overflow-x: hidden;
}

.mono {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
}

/* ---------- 左侧固定侧栏（桌面） ---------- */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 260px;
  background: #0A0E1A;
  border-right: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  padding: 28px 18px;
  z-index: 100;
}
.sidebar-head { margin-bottom: 26px; }
.site-name {
  font-size: 20px;
  font-weight: 700;
  color: #EAF0FF;
  text-decoration: none;
  letter-spacing: .5px;
}
.site-name .mono {
  background: linear-gradient(135deg, #2FE0C8, #A86BFF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-close { display: none; }
.sidebar-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #93A0BF;
  text-decoration: none;
  font-size: 15px;
  border: 1px solid transparent;
  transition: background .2s, color .2s;
}
.nav-item .idx { font-size: 12px; color: #5a668a; }
.nav-item:hover, .nav-item:focus { background: rgba(47,224,200,.08); color: #EAF0FF; }
.nav-item:hover .idx, .nav-item:focus .idx { color: #2FE0C8; }
.sidebar-foot { font-size: 12px; color: #5a668a; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); }

/* ---------- 主内容 ---------- */
.content {
  margin-left: 260px;
  width: min(1120px, 100%);
  padding: 40px 48px 80px;
  position: relative;
}
.section { scroll-margin-top: 24px; padding: 40px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.section:last-of-type { border-bottom: none; }

.sec-index { font-size: 13px; letter-spacing: 1px; color: #5a668a; margin-bottom: 10px; }
h1 {
  font-size: clamp(28px, 5vw, 54px);
  line-height: 1.2;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #EAF0FF 0%, #2FE0C8 55%, #A86BFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
#subtitle { font-size: 16px; color: #93A0BF; margin-bottom: 8px; font-weight: 400; }
h2 { font-size: clamp(22px, 3vw, 32px); margin-bottom: 8px; color: #EAF0FF; }
h3 { font-size: 17px; color: #EAF0FF; margin: 22px 0 10px; }
.sec-claim { color: #93A0BF; margin-bottom: 22px; }
p { margin-bottom: 14px; font-size: 16px; }

img { max-width: 100%; height: auto; border-radius: 14px; display: block; margin: 18px 0; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 10px 30px rgba(0,0,0,.35); }

.eyebrow { font-size: 12px; letter-spacing: 2px; color: #5a668a; margin-bottom: 8px; }
.hero { padding-top: 20px; }
.hero-lead { color: #B6C2E0; font-size: 17px; }

/* 快捷卡片 */
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0; }
.quick-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 18px;
  text-decoration: none;
  color: #EAF0FF;
  display: block;
  transition: transform .2s, border-color .2s;
}
.quick-card:hover { transform: translateY(-3px); border-color: rgba(47,224,200,.5); }
.qc-num { font-size: 12px; color: #2FE0C8; }
.quick-card strong { display: block; font-size: 17px; margin: 6px 0 4px; }
.quick-card span:last-child { font-size: 13px; color: #93A0BF; }
.hero-strip {
  font-size: 13px;
  color: #93A0BF;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 10px 14px;
  background: rgba(168,107,255,.06);
}

/* 步骤 */
.step-list { margin: 16px 0; }
.step { display: flex; gap: 14px; margin-bottom: 12px; }
.step .mono { color: #2FE0C8; font-weight: 700; }

/* 提示条 */
.tip {
  border: 1px solid rgba(255,196,107,.35);
  background: rgba(255,196,107,.08);
  border-radius: 10px;
  padding: 12px 16px;
  color: #FFC46B;
  font-size: 14px;
  margin-top: 18px;
}

/* 房间与分类卡片 */
.room-grid, .cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 18px 0; }
.room-card, .cat-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 16px 18px;
}
.room-card .mono { color: #A86BFF; font-size: 12px; }
.room-card h3, .cat-card h3 { margin: 6px 0 4px; font-size: 17px; }
.room-card p, .cat-card p { font-size: 13.5px; color: #93A0BF; margin-bottom: 4px; }
.view { font-size: 12.5px; color: #2FE0C8; }
.cat-card .mono { color: #A86BFF; font-size: 16px; font-weight: 700; }

/* 表格 */
.schedule-table, .cmp-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.schedule-table th, .schedule-table td, .cmp-table th, .cmp-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.schedule-table th, .cmp-table th { color: #93A0BF; font-weight: 600; font-size: 13px; }
.on { color: #2FE0C8; }
.wait { color: #A86BFF; }

/* FAQ */
.faq-list { margin: 18px 0; }
details { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; margin-bottom: 10px; padding: 6px 16px; }
summary { cursor: pointer; font-weight: 600; color: #EAF0FF; padding: 10px 0; list-style: none; }
summary .mono { color: #2FE0C8; margin-right: 8px; }
details p { padding-bottom: 14px; color: #B6C2E0; font-size: 15px; }

/* 长尾词 */
.longtail-list { list-style: none; margin: 18px 0; }
.longtail-list li {
  padding: 12px 16px;
  margin-bottom: 8px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  font-size: 15px;
}
.longtail-list strong { color: #EAF0FF; margin-right: 10px; }
.longtail-list span { color: #93A0BF; font-size: 13.5px; }

/* 页脚 */
.footer { padding: 32px 0 10px; color: #93A0BF; font-size: 14px; }
.footer a { color: #2FE0C8; text-decoration: none; }
.foot-links { margin: 8px 0; }
.foot-note { font-size: 12.5px; color: #5a668a; }

/* 汉堡按钮与遮罩（默认隐藏，手机端显示） */
.nav-toggle, .overlay { display: none; }

/* ================= 手机端适配 ================= */
@media (max-width: 768px) {
  html { scroll-behavior: smooth; }
  body { overflow-x: hidden; }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 200;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(10,14,26,.9);
    color: #EAF0FF;
    font-size: 22px;
    border-radius: 12px;
    cursor: pointer;
    backdrop-filter: blur(6px);
  }

  .overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s;
    z-index: 90;
  }
  .overlay.show { opacity: 1; visibility: visible; }

  .sidebar {
    transform: translateX(-100%);
    transition: transform .3s ease;
    width: 240px;
    padding: 22px 16px;
    border-right: 1px solid rgba(255,255,255,.1);
    border-radius: 0 16px 16px 0;
  }
  .sidebar.open { transform: translateX(0); }
  .nav-close {
    display: block;
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 10px;
    color: #EAF0FF;
    font-size: 20px;
    cursor: pointer;
  }
  .site-name { font-size: 18px; }

  .content {
    margin-left: 0;
    width: 100%;
    padding: 16px 14px 64px;
  }
  .section { scroll-margin-top: 72px; padding: 28px 0; }

  h1 { font-size: 30px; }
  #subtitle { font-size: 14px; }
  .hero-lead { font-size: 15px; }
  img { max-width: 100%; height: auto; margin: 14px 0; }

  .quick-grid { grid-template-columns: 1fr; gap: 10px; }
  .room-grid, .cat-grid { grid-template-columns: 1fr; gap: 10px; }

  .schedule-table, .cmp-table { font-size: 13px; }
  .schedule-table th, .schedule-table td, .cmp-table th, .cmp-table td { padding: 10px 8px; }

  .longtail-list li { display: block; }
  .longtail-list strong { display: block; margin-bottom: 2px; }

  .footer { font-size: 13px; }
}

@media (min-width: 769px) and (max-width: 1023px) {
  .sidebar { width: 208px; }
  .sidebar .nav-item { font-size: 14px; padding: 8px 10px; }
  .content { margin-left: 208px; padding: 32px 28px 72px; }
}
