/* 9.1蘑菇视频站 - 霓虹卡片风格 */
:root {
  --bg-body: #050816;
  --bg-panel: #0b1020;
  --bg-soft: #111827;
  --accent: #f97316;
  --accent-soft: rgba(249,115,22,0.08);
  --accent-alt: #22d3ee;
  --text-main: #e5e7eb;
  --text-sub: #9ca3af;
  --border: rgba(55,65,81,0.9);
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-deep: 0 22px 60px rgba(0,0,0,0.7);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  background:
    radial-gradient(circle at top, rgba(56,189,248,0.15), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(249,115,22,0.14), transparent 55%),
    var(--bg-body);
  color: var(--text-main);
  line-height: 1.7;
}

/* 头部导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(15,23,42,0.85), rgba(15,23,42,0.7));
  border-bottom: 1px solid rgba(31,41,55,0.9);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.9rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #f97316, #22d3ee);
  box-shadow: 0 0 0 1px rgba(15,23,42,0.9), 0 0 25px rgba(248,250,252,0.35);
  position: relative;
  overflow: hidden;
}
.logo-icon::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: inherit;
  border: 2px solid rgba(15,23,42,0.75);
}
.logo-text-main {
  font-weight: 700;
  font-size: 1.05rem;
}
.logo-text-sub {
  font-size: 0.78rem;
  color: var(--text-sub);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.3rem;
  font-size: 0.88rem;
}
.nav a {
  color: var(--text-sub);
  text-decoration: none;
  padding: 0.32rem 0.6rem;
  border-radius: 999px;
  transition: color .18s, background .18s;
}
.nav a:hover,
.nav a.active {
  color: #fef3c7;
  background: var(--accent-soft);
}

/* 主容器 */
.main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.8rem 1.4rem 2.6rem;
}

/* 首屏 - 左文字 + 右蘑菇矩阵 */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4.5fr);
  gap: 1.8rem;
  margin-bottom: 2.8rem;
}
.hero-left {
  background: radial-gradient(circle at top left, rgba(248,250,252,0.06), transparent 55%);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.7rem 1.5rem;
  border: 1px solid rgba(31,41,55,0.95);
  box-shadow: var(--shadow-deep);
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.85);
  border: 1px solid rgba(55,65,81,0.9);
  font-size: 0.76rem;
  color: var(--accent-alt);
  margin-bottom: 0.8rem;
}
.hero-title {
  font-size: clamp(1.6rem, 3.1vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.hero-title span {
  color: var(--accent);
}
.hero-sub {
  font-size: 0.94rem;
  color: var(--text-sub);
  max-width: 34rem;
  margin-bottom: 0.9rem;
}
.hero-sub strong {
  color: var(--accent-alt);
  font-weight: 500;
}
.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 0.6rem;
  font-size: 0.8rem;
}
.hero-meta-pill {
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(55,65,81,0.8);
  color: var(--text-sub);
}

.hero-right {
  display: grid;
  grid-template-rows: auto auto;
  gap: 1rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 0.9rem;
}
.hero-card {
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  background: linear-gradient(135deg, #0b1020, #020617);
  border: 1px solid rgba(55,65,81,0.9);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 0 0, rgba(248,250,252,0.12), transparent 55%);
  opacity: .3;
}
.hero-card-title {
  position: relative;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.hero-card-sub {
  position: relative;
  font-size: 0.8rem;
  color: var(--text-sub);
}
.hero-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
  position: relative;
  font-size: 0.8rem;
  color: var(--text-sub);
}
.hero-stat-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
}
.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.8rem;
}
.hero-badge {
  position: relative;
  font-size: 0.75rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(55,65,81,0.8);
}

/* 分区标题 */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
}
.section-title {
  font-size: 1.08rem;
  font-weight: 600;
}
.section-sub {
  font-size: 0.82rem;
  color: var(--text-sub);
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.78rem;
}
.chip {
  padding: 0.12rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(55,65,81,0.9);
  color: var(--text-sub);
}

/* 视频卡片网格（蘑菇路线） */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.4rem;
  margin-bottom: 2.2rem;
}
.video-card {
  border-radius: var(--radius-md);
  background: #020617;
  border: 1px solid rgba(31,41,55,0.95);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(15,23,42,0.9);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 55px rgba(15,23,42,1);
  border-color: rgba(249,115,22,0.8);
}
.video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #facc15, #f97316);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(248,250,252,0.4);
}
.video-play::after {
  content: "";
  margin-left: 3px;
  border: 11px solid transparent;
  border-left-color: #020617;
  border-left-width: 17px;
}
.video-duration {
  position: absolute;
  right: 8px;
  bottom: 8px;
  font-size: 0.75rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.9);
  color: #e5e7eb;
}
.video-body {
  padding: 0.8rem 0.95rem 0.9rem;
}
.video-title {
  font-size: 0.96rem;
  margin-bottom: 0.35rem;
  line-height: 1.5;
}
.video-title a {
  color: var(--text-main);
  text-decoration: none;
}
.video-title a:hover {
  color: var(--accent);
}
.video-meta {
  font-size: 0.78rem;
  color: var(--text-sub);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.video-meta span:nth-child(1)::before {
  content: "▶ ";
  font-size: 0.7rem;
  opacity: .8;
}

/* 列表页卡片 */
.list-card {
  background: #020617;
  border-radius: var(--radius-md);
  border: 1px solid rgba(31,41,55,0.9);
  display: grid;
  grid-template-columns: 210px minmax(0,1fr);
  gap: 1.1rem;
  padding: 0.9rem;
  margin-bottom: 1.1rem;
}
.list-thumb {
  border-radius: 10px;
  overflow: hidden;
}
.list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.list-body-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.list-body-title a {
  color: var(--text-main);
  text-decoration: none;
}
.list-body-title a:hover {
  color: var(--accent);
}
.list-body-desc {
  font-size: 0.86rem;
  color: var(--text-sub);
  margin-bottom: 0.4rem;
}
.list-body-meta {
  font-size: 0.78rem;
  color: var(--text-sub);
}

/* 文章页 */
.article {
  max-width: 800px;
  margin: 0 auto;
}
.article-header {
  margin-bottom: 1.7rem;
}
.article-title {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 650;
  margin-bottom: 0.5rem;
}
.article-meta {
  font-size: 0.82rem;
  color: var(--text-sub);
}
.article-content p {
  margin-bottom: 1.1rem;
  font-size: 0.95rem;
  color: var(--text-main);
}
.article-content h2 {
  font-size: 1.05rem;
  margin: 1.8rem 0 0.85rem;
}
.article-content h3 {
  font-size: 0.96rem;
  margin: 1.4rem 0 0.65rem;
}
.article-img {
  width: 100%;
  border-radius: var(--radius-md);
  margin: 1.2rem 0 1.5rem;
  border: 1px solid rgba(31,41,55,0.9);
}
.article-nav {
  margin-top: 2.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(31,41,55,0.9);
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.84rem;
}
.article-nav a {
  color: var(--accent-alt);
  text-decoration: none;
}
.article-nav a:hover {
  text-decoration: underline;
}

/* 页脚 */
.site-footer {
  border-top: 1px solid rgba(31,41,55,0.9);
  padding: 1.7rem 1.4rem 2.2rem;
  font-size: 0.8rem;
  color: var(--text-sub);
  text-align: center;
}
.site-footer a {
  color: var(--text-sub);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--accent);
}

/* 响应式 */
@media (max-width: 920px) {
  .hero {
    grid-template-columns: minmax(0,1fr);
  }
}
@media (max-width: 720px) {
  .main {
    padding: 1.4rem 1.05rem 2.2rem;
  }
  .header-inner {
    padding-inline: 1.05rem;
  }
  .list-card {
    grid-template-columns: minmax(0,1fr);
  }
}

