/*
设计哲学提醒：数码霓虹社群美学 + 轻未来视频界面。
问题校验：当前样式是否在强化品牌的原创视频社区气质，而不是削弱它？
执行规则：深海蓝、青绿电光、珊瑚橙为主；避免泛紫渐变、避免模板化居中布局、避免关键词堆砌。
*/
:root {
  --bg: #06111f;
  --panel: rgba(8, 20, 37, 0.8);
  --panel-strong: rgba(9, 26, 45, 0.96);
  --line: rgba(98, 224, 223, 0.18);
  --text: #ecf8fb;
  --muted: #9ab6c5;
  --teal: #62e0df;
  --coral: #ff8467;
  --gold: #ffd89a;
  --shadow: 0 18px 60px rgba(0,0,0,0.36);
  --radius: 24px;
  --container: min(1220px, calc(100% - 32px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background:
    radial-gradient(circle at 8% 10%, rgba(98,224,223,0.16), transparent 24%),
    radial-gradient(circle at 88% 16%, rgba(255,132,103,0.12), transparent 22%),
    linear-gradient(180deg, #07111d 0%, #081425 42%, #09121d 100%);
  color: var(--text);
  line-height: 1.72;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.05) 0.7px, transparent 0.7px);
  background-size: 16px 16px;
  opacity: 0.08;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
.container { width: var(--container); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 9999; background: #fff; color: #000; padding: 12px 16px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(16px);
  background: rgba(6, 17, 31, 0.72);
  border-bottom: 1px solid rgba(98,224,223,0.1);
}
.header-shell { display: grid; gap: 12px; padding: 16px 0 14px; }
.nav-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.brand-lockup { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-lockup .site-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(98,224,223,0.35);
  padding: 5px;
  background: rgba(255,255,255,0.04);
}
.wordmark { display: grid; gap: 4px; }
.wordmark strong {
  font-family: "Source Han Serif SC", "Noto Serif SC", "Songti SC", serif;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
}
.wordmark span { color: var(--muted); font-size: 0.84rem; }
.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(98,224,223,0.08);
  border: 1px solid rgba(98,224,223,0.16);
  color: #c8f7f7;
  font-size: 0.84rem;
}
.nav-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.nav-links a {
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #d6edf1;
  transition: .28s ease;
}
.nav-links a:hover, .nav-links a.is-active {
  border-color: rgba(98,224,223,0.28);
  background: rgba(98,224,223,0.09);
  color: #fff;
}
.search-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; }
.search-shell {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(98,224,223,0.16);
  background: rgba(255,255,255,0.04);
}
.search-shell input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text); outline: none; }
.search-shell button,
.action-button,
.share-button,
.mcp-button {
  border: 0;
  cursor: pointer;
  padding: 11px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(98,224,223,0.95), rgba(18,188,197,0.92));
  color: #042030;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(18,188,197,0.24);
  transition: transform .24s ease;
}
.search-shell button:hover,
.action-button:hover,
.share-button:hover,
.mcp-button:hover { transform: translateY(-2px); }
.secondary-button,
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.02);
  color: #d7edf1;
}
.hot-tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.hot-tags a {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,132,103,0.18);
  background: rgba(255,132,103,0.08);
  color: #ffd9ce;
  font-size: 0.86rem;
}
.hero, .page-hero { padding: 34px 0 18px; }
.hero-shell, .page-hero-shell, .contact-split, .footer-top, .feature-banner {
  display: grid;
  gap: 22px;
}
.hero-shell { grid-template-columns: 1.15fr 0.85fr; }
.page-hero-shell, .contact-split, .footer-top, .feature-banner { grid-template-columns: 1fr 1fr; }
.panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(98,224,223,0.14);
  background: linear-gradient(180deg, rgba(7,24,38,0.88), rgba(8,19,35,0.96));
  box-shadow: var(--shadow);
}
.panel::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(98,224,223,0.4), transparent);
}
.hero-copy, .page-hero-copy, .footer-brand, .contact-card, .info-card, .step-card, .expert-card, .review-card, .share-card, .mcp-card, .article-card, .json-card, .text-panel {
  padding: 26px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(98,224,223,0.1);
  border: 1px solid rgba(98,224,223,0.2);
  color: #a8f4f4;
  font-size: 0.88rem;
}
.hero h1, .page-hero h1 {
  margin: 0;
  font-family: "Source Han Serif SC", "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(2.25rem, 4vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: .02em;
}
.hero h1 span, .page-hero h1 span, .section-heading h2 span { color: var(--teal); }
.hero p.lead, .page-hero p.lead { margin: 0; color: #d3e9f1; font-size: 1.04rem; }
.metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.metric-card {
  padding: 18px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.05);
}
.metric-card strong { display: block; font-size: 1.8rem; color: #fff; }
.metric-card span { color: var(--muted); font-size: .92rem; }
.inline-actions, .expert-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual figure, .page-hero-figure { margin: 0; position: relative; min-height: 480px; height: 100%; }
.hero-visual img, .page-hero-figure img, .image-panel img, .contact-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual figcaption, .page-hero-figure figcaption {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(4,17,30,0.2), rgba(4,17,30,0.78));
  border: 1px solid rgba(255,255,255,0.08);
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}
.breadcrumb a { color: #cae9ef; }
section.content-section { padding: 18px 0; }
.section-shell { display: grid; gap: 18px; }
.section-heading { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
.section-heading h2 {
  margin: 0;
  font-family: "Source Han Serif SC", "Noto Serif SC", serif;
  font-size: clamp(1.6rem, 2.5vw, 2.8rem);
  line-height: 1.14;
}
.section-heading p { margin: 0; color: var(--muted); max-width: 760px; }
.video-grid, .content-grid-3, .content-grid-4, .logo-wall, .json-grid, .share-grid, .mcp-grid, .article-grid, .qr-grid { display: grid; gap: 18px; }
.video-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.content-grid-3, .json-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.content-grid-4, .logo-wall { grid-template-columns: repeat(4, minmax(0,1fr)); }
.share-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.mcp-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.article-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.qr-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.info-card, .step-card, .expert-card, .review-card, .share-card, .mcp-card, .article-card, .json-card, .contact-card, .partner-card {
  border-radius: 24px;
  border: 1px solid rgba(98,224,223,0.12);
  background: linear-gradient(180deg, rgba(9,26,45,0.82), rgba(7,18,32,0.96));
  box-shadow: 0 10px 40px rgba(0,0,0,0.18);
}
.info-card h3, .step-card h3, .expert-card h3, .review-card h3, .share-card h3, .mcp-card h3, .article-card h3, .contact-card h3 { margin-top: 0; margin-bottom: 10px; font-size: 1.14rem; }
.info-card p, .step-card p, .expert-card p, .review-card p, .share-card p, .mcp-card p, .article-card p, .contact-card p, .kv-list li { color: #d0e4ec; }
.kv-list { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.kv-list li span { color: var(--muted); margin-right: 8px; }
.video-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: 28px;
  border: 1px solid rgba(98,224,223,0.14);
  background: rgba(255,255,255,0.04);
  box-shadow: var(--shadow);
}
.video-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .5s ease;
}
.video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,14,25,0.14), rgba(6,17,31,0.88));
}
.video-card:hover img { transform: scale(1.08); }
.video-card .card-body { position: absolute; inset: auto 0 0 0; display: grid; gap: 12px; padding: 24px; }
.video-tag {
  display: inline-flex;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,132,103,0.16);
  border: 1px solid rgba(255,132,103,0.22);
  color: #ffd8cf;
  font-size: .84rem;
}
.video-card h3 { margin: 0; font-size: 1.2rem; }
.meta-row { display: flex; flex-wrap: wrap; gap: 14px; color: #cae6ec; font-size: .9rem; }
.play-orb {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.26);
  background: rgba(6,17,31,0.38);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 1.3rem;
  opacity: 0;
  transform: translateY(10px) scale(0.92);
  transition: .35s ease;
}
.video-card:hover .play-orb, .video-card:focus-within .play-orb { opacity: 1; transform: translateY(0) scale(1); }
.progress-track { height: 5px; width: 100%; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,0.14); }
.progress-track span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--teal), var(--coral)); }
.hero-note, .page-note {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(98,224,223,0.07);
  border: 1px solid rgba(98,224,223,0.16);
  color: #dbf8fa;
}
.summary-bar, .tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.summary-pill, .tag-cloud span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(98,224,223,0.16);
  background: rgba(255,255,255,0.03);
  color: #d8eff3;
  font-size: .88rem;
}
.partner-card {
  padding: 24px 18px;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 800;
  color: #eefafe;
}
details.json-toggle {
  border-radius: 20px;
  border: 1px solid rgba(98,224,223,0.14);
  background: rgba(255,255,255,0.025);
  overflow: hidden;
}
details.json-toggle summary { padding: 14px 18px; cursor: pointer; color: #f1fbff; font-weight: 700; }
.json-code { margin: 0; padding: 0 18px 18px; color: #98ffd7; font-size: .88rem; white-space: pre-wrap; word-break: break-word; }
.qr-card {
  padding: 16px;
  border-radius: 20px;
  text-align: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.qr-card img {
  width: min(100%, 180px);
  margin: 0 auto 12px;
  border-radius: 18px;
  background: #fff;
  padding: 12px;
}
.review-stars { color: var(--gold); letter-spacing: .2em; }
.site-footer { padding: 32px 0 48px; }
.footer-shell { display: grid; gap: 18px; }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.footer-copy {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0 0;
  color: var(--muted);
  font-size: .92rem;
}
.mobile-toggle { display: none; }
.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  max-width: 320px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(9,26,45,0.92);
  border: 1px solid rgba(98,224,223,0.18);
  box-shadow: var(--shadow);
  color: #eefafe;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: .3s ease;
}
.toast.is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 1120px) {
  .hero-shell, .page-hero-shell, .contact-split, .footer-top, .feature-banner, .section-heading { grid-template-columns: 1fr; }
  .video-grid, .article-grid, .content-grid-3, .json-grid, .mcp-grid, .share-grid, .content-grid-4, .logo-wall { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 860px) {
  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(98,224,223,0.16);
    background: rgba(255,255,255,0.04);
    color: #fff;
  }
  .nav-links { display: none; width: 100%; justify-content: flex-start; padding-top: 8px; }
  .nav-links.is-open { display: flex; }
  .search-row, .metric-grid, .qr-grid, .footer-grid, .video-grid, .article-grid, .content-grid-3, .json-grid, .mcp-grid, .share-grid, .content-grid-4, .logo-wall { grid-template-columns: 1fr; }
  .hot-tags { justify-content: flex-start; }
  .hero-visual figure, .page-hero-figure { min-height: 360px; }
}
