
/*
  设计哲学：新东方赛博水墨。
  文件职责：统一B体育整站的品牌色、排版体系、视频卡片、舞台式分镜布局与SEO可读性。
  判断标准：任何视觉选择都必须强化“游戏解说公司 + 视频社区”的品牌辨识度，而不是稀释它。
*/
:root {
  --bg: #0d0d12;
  --bg-soft: #151722;
  --panel: rgba(18, 22, 33, 0.78);
  --panel-solid: #171b27;
  --line: rgba(234, 215, 177, 0.18);
  --text: #f3ecde;
  --muted: #b9b1a4;
  --accent: #d45b29;
  --accent-2: #b78a3f;
  --accent-3: #6f8a8f;
  --paper: #ece5d8;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --radius-sm: 16px;
  --container: min(1240px, calc(100vw - 32px));
  --transition: 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(212, 91, 41, 0.18), transparent 26%),
    radial-gradient(circle at 85% 15%, rgba(111, 138, 143, 0.16), transparent 24%),
    linear-gradient(180deg, #0c0d12 0%, #111521 38%, #0c0d12 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.6) 1px, transparent 0),
    radial-gradient(circle at 2px 2px, rgba(255,255,255,0.35) 1px, transparent 0);
  background-size: 18px 18px, 26px 26px;
  mix-blend-mode: soft-light;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
p { margin: 0; }
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  letter-spacing: 0.01em;
}

.site-shell {
  width: var(--container);
  margin: 0 auto;
  padding: 24px 0 72px;
  position: relative;
  z-index: 1;
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  position: sticky;
  top: 18px;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(10, 11, 18, 0.72);
  box-shadow: var(--shadow);
}

.brand-lockup { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-mark { display: flex; align-items: center; gap: 10px; }
.brand-mark img:first-child {
  width: 38px;
  height: 38px;
  padding: 7px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(212,91,41,0.22), rgba(183,138,63,0.22));
  border: 1px solid rgba(234,215,177,0.15);
}
.brand-mark img:last-child {
  width: 118px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.24));
}
.brand-copy { min-width: 0; }
.brand-name {
  font-weight: 800;
  color: #fff3d6;
  margin-bottom: 2px;
  font-size: 1rem;
}
.brand-copy p:last-child { color: var(--muted); font-size: 0.9rem; }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.site-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--muted);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.site-nav a:hover,
.site-nav a.is-current {
  background: linear-gradient(135deg, rgba(212,91,41,0.18), rgba(183,138,63,0.16));
  color: var(--text);
  transform: translateY(-1px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 18px 4px 30px;
  color: var(--muted);
  font-size: 0.92rem;
}
.breadcrumb a:hover { color: var(--paper); }
.breadcrumb .sep { opacity: 0.45; }

.hero-stage,
.inner-hero {
  display: grid;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(145deg, rgba(22, 26, 36, 0.95), rgba(10, 11, 18, 0.92));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-stage {
  grid-template-columns: 1.1fr 0.9fr;
  padding: 34px;
  min-height: 560px;
  align-items: stretch;
}

.inner-hero {
  padding: 36px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #f4d18f;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, rgba(212,91,41,0), rgba(212,91,41,1));
}

.hero-copy,
.hero-visual,
.section-visual {
  position: relative;
  min-width: 0;
}
.hero-copy {
  display: grid;
  align-content: space-between;
  gap: 24px;
}
.hero-copy h1,
.inner-hero h1 {
  font-size: clamp(2.4rem, 4vw, 4.7rem);
  line-height: 1.08;
  max-width: 12ch;
  text-wrap: balance;
}
.hero-summary {
  color: rgba(243,236,222,0.84);
  font-size: 1.04rem;
  line-height: 1.95;
  max-width: 68ch;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-points span,
.video-tag {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(236,229,216,0.08);
  border: 1px solid rgba(236,229,216,0.08);
  color: #f8ecd3;
  font-size: 0.9rem;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.hero-stats article,
.quote-panel,
.detail-card,
.article-card,
.feature-list article,
.story-columns article,
.ai-panels article,
.community-grid article {
  border: 1px solid rgba(234,215,177,0.12);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.035);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}
.hero-stats article {
  padding: 18px 18px 20px;
}
.hero-stats strong {
  display: block;
  margin-bottom: 6px;
  color: #fff4de;
  font-size: 2rem;
  font-family: "Noto Serif SC", serif;
}
.hero-stats span { color: var(--muted); font-size: 0.92rem; }

.hero-visual {
  min-height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: #090a10;
}
.hero-visual::after,
.section-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,11,18,0.16), rgba(10,11,18,0.78));
}
.hero-visual img,
.section-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-visual-copy,
.section-visual-note {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1;
  display: grid;
  gap: 10px;
}
.hero-visual-copy p,
.section-visual-note p {
  color: #f4d18f;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero-visual-copy h2,
.section-visual-note h2 {
  font-size: clamp(1.6rem, 2vw, 2.6rem);
  line-height: 1.3;
}

.section-frame {
  margin-top: 28px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(180deg, rgba(17,20,31,0.88), rgba(10,11,18,0.96));
  box-shadow: var(--shadow);
}
.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}
.section-heading h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.16;
  max-width: 16ch;
}
.section-heading p:last-child {
  color: rgba(243,236,222,0.8);
  line-height: 1.9;
  max-width: 74ch;
}

.video-grid,
.article-grid,
.feature-list,
.story-columns,
.ai-panels,
.community-grid,
.inner-grid {
  display: grid;
  gap: 18px;
}
.video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-list,
.story-columns,
.ai-panels,
.inner-grid,
.community-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.video-card {
  position: relative;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(234,215,177,0.12);
  background: linear-gradient(180deg, rgba(26,31,43,0.95), rgba(14,17,25,0.95));
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  box-shadow: 0 22px 48px rgba(0,0,0,0.22);
}
.video-card:hover {
  transform: translateY(-4px) perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  border-color: rgba(212,91,41,0.35);
}
.video-shell {
  position: relative;
  margin-bottom: 16px;
  border-radius: 18px;
  overflow: hidden;
  min-height: 220px;
  background: #090a10;
}
.video-thumb {
  display: block;
  width: 100%;
  min-height: 220px;
  object-fit: cover;
  background: #0d1017;
}
.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  min-width: 96px;
  padding: 14px 18px;
  border: 0;
  border-radius: 999px;
  color: #fff4de;
  background: linear-gradient(135deg, rgba(212,91,41,0.94), rgba(183,138,63,0.92));
  box-shadow: 0 12px 30px rgba(212,91,41,0.26);
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
}
.video-card:hover .video-play,
.video-card.is-hovered .video-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.video-card h3,
.feature-list h3,
.story-columns h3,
.ai-panels h3,
.detail-card h3,
.article-card h3,
.community-grid h3 {
  font-size: 1.26rem;
  line-height: 1.45;
  margin-bottom: 12px;
}
.video-card p:last-child,
.feature-list p,
.story-columns p,
.ai-panels p,
.detail-card p,
.article-card p,
.community-grid p,
.quote-panel p,
.footer-meta p {
  color: rgba(243,236,222,0.78);
  line-height: 1.9;
}

.split-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: start;
}
.feature-list article,
.story-columns article,
.ai-panels article,
.detail-card,
.article-card,
.community-grid article,
.quote-panel {
  padding: 22px;
}
.quote-panel {
  position: sticky;
  top: 118px;
  background:
    linear-gradient(180deg, rgba(212,91,41,0.16), transparent 38%),
    rgba(255,255,255,0.04);
}
.quote-panel blockquote {
  margin: 0 0 18px;
  color: #fff4de;
  font-size: 1.36rem;
  line-height: 1.7;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.faq-grid > div {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(234,215,177,0.12);
}
.faq-grid h5,
.faq-grid h6 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  line-height: 1.7;
}

.section-visual {
  margin-top: 28px;
  height: 420px;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.article-card .eyebrow,
.community-tag-row,
.community-meta {
  margin-bottom: 12px;
}
.community-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.community-tag-row span {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(111,138,143,0.14);
  color: #d9ede9;
  font-size: 0.82rem;
}

.site-footer {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  padding: 26px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16,18,28,0.96), rgba(8,9,14,0.96));
  box-shadow: var(--shadow);
}
.footer-brand {
  display: flex;
  gap: 18px;
  align-items: center;
}
.footer-brand img {
  width: 68px;
  height: 68px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(236,229,216,0.05);
  border: 1px solid rgba(236,229,216,0.08);
}
.footer-title {
  margin-bottom: 8px;
  font-family: "Noto Serif SC", serif;
  font-size: 1.2rem;
  color: #fff4de;
}
.footer-meta {
  display: grid;
  gap: 10px;
  justify-items: end;
  text-align: right;
}

.video-modal[hidden] { display: none; }
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
}
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 10, 0.74);
  backdrop-filter: blur(8px);
}
.video-modal-panel {
  position: relative;
  width: min(720px, calc(100vw - 24px));
  margin: 8vh auto 0;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(19,22,32,0.98), rgba(8,9,14,0.98));
  box-shadow: var(--shadow);
}
.video-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  border: 0;
  background: transparent;
  color: var(--paper);
  font-size: 2rem;
  line-height: 1;
}
.video-modal-panel h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}
.video-modal-panel p {
  line-height: 1.9;
  color: rgba(243,236,222,0.82);
}
.video-modal-placeholder {
  margin-top: 20px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(234,215,177,0.12);
  background: #0a0b11;
}
.video-modal-placeholder video {
  width: 100%;
  min-height: 320px;
  display: block;
}

@media (max-width: 1080px) {
  .site-header,
  .hero-stage,
  .split-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }
  .site-nav { justify-content: flex-start; }
  .quote-panel { position: static; }
  .hero-copy h1,
  .inner-hero h1,
  .section-heading h2 { max-width: none; }
  .video-grid,
  .article-grid,
  .feature-list,
  .story-columns,
  .ai-panels,
  .community-grid,
  .inner-grid,
  .faq-grid,
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-meta { justify-items: start; text-align: left; }
}

@media (max-width: 760px) {
  .site-shell { width: min(100vw - 20px, 1240px); padding-top: 14px; }
  .site-header { border-radius: 28px; padding: 16px; }
  .brand-lockup { align-items: flex-start; }
  .brand-mark { flex-shrink: 0; }
  .hero-stage,
  .inner-hero,
  .section-frame,
  .site-footer,
  .video-modal-panel { padding: 20px; }
  .video-grid,
  .article-grid,
  .feature-list,
  .story-columns,
  .ai-panels,
  .community-grid,
  .inner-grid,
  .faq-grid,
  .hero-stats { grid-template-columns: 1fr; }
  .hero-visual,
  .section-visual { min-height: 260px; height: auto; }
  .video-thumb { min-height: 190px; }
  .video-modal-placeholder video { min-height: 220px; }
  .site-nav a { padding: 9px 13px; }
  .brand-copy p:last-child { font-size: 0.85rem; }
}
