.page-news {
  --news-side: 340px;
  color: var(--text-body);
}

/* 顶部面包屑 */
.page-news .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 20px 0 14px;
  font-size: 13px;
  color: var(--text-muted);
}
.page-news .breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}
.page-news .breadcrumb a:hover {
  color: var(--accent-cyan);
}
.page-news .breadcrumb__sep {
  opacity: 0.5;
}

/* 杂志封面首屏 */
.news-cover {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 560px;
  margin-bottom: clamp(28px, 5vw, 56px);
  overflow: hidden;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}
.news-cover__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.news-cover__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 10, 16, 0.22) 0%, rgba(10, 10, 16, 0.55) 40%, rgba(10, 10, 16, 0.92) 82%);
}
.news-cover::after {
  content: "";
  position: absolute;
  top: -140px;
  right: -100px;
  width: 420px;
  height: 420px;
  z-index: -1;
  background: radial-gradient(circle, rgba(123, 47, 255, 0.45), transparent 68%);
}
.news-cover__pixel {
  position: absolute;
  top: 26px;
  right: 26px;
  display: grid;
  grid-template-columns: 8px 8px;
  gap: 3px;
  opacity: 0.9;
}
.news-cover__pixel i {
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.8);
}
.news-cover__pixel i:nth-child(2) { background: var(--primary-bright); box-shadow: 0 0 12px rgba(168, 85, 247, 0.8); }
.news-cover__pixel i:nth-child(3) { background: var(--primary-violet); box-shadow: 0 0 12px rgba(123, 47, 255, 0.8); }
.news-cover__pixel i:nth-child(4) { background: #7DF9FF; box-shadow: 0 0 12px rgba(125, 249, 255, 0.9); }

.news-cover__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  padding: clamp(24px, 5vw, 64px);
}
.news-cover__kicker {
  margin: 0 0 14px;
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}
.news-cover__title {
  margin: 0 0 18px;
  max-width: 820px;
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: clamp(2rem, 6.5vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-title);
}
.news-cover__grad {
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.news-cover__lead {
  margin: 0 0 24px;
  max-width: 640px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-body);
}
.news-cover__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  font-size: 13px;
  color: var(--text-muted);
}
.page-news .news-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(123, 47, 255, 0.18);
  border: 1px solid rgba(123, 47, 255, 0.45);
  color: var(--text-title);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.news-cover__index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.news-cover__index-item {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--surface-glass);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-title);
  font-size: 13px;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: border-color 0.35s var(--ease-out), color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.news-cover__index-item:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 26px rgba(0, 229, 255, 0.28);
}
.news-cover__scroll {
  position: absolute;
  right: 26px;
  bottom: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.12em;
}
.news-cover__scroll::after {
  content: "";
  width: 1.5px;
  height: 46px;
  background: linear-gradient(var(--accent-cyan), transparent);
  transform-origin: top;
  animation: news-scroll 2.2s var(--ease-out) infinite;
}
@keyframes news-scroll {
  0%, 100% { transform: scaleY(0.35); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* 双栏布局 */
.news-layout {
  display: block;
}

/* 文章列表区 */
.news-section {
  margin-bottom: clamp(36px, 6vw, 72px);
}
.page-news .section-kicker {
  margin: 0 0 8px;
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}
.page-news .section-title {
  margin: 0 0 10px;
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-title);
}
.page-news .section-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

.news-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 22px 0 26px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.news-filter__hint {
  margin-right: auto;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}
.news-filter__hint:hover {
  color: var(--accent-cyan);
}
.news-filter__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.news-filter__pill {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-body);
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  transition: border-color 0.3s var(--ease-out), color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.news-filter__pill:hover {
  border-color: var(--primary-bright);
  color: var(--text-title);
  box-shadow: 0 0 18px rgba(123, 47, 255, 0.3);
}
.news-filter__pill.is-active {
  color: #fff;
  border-color: transparent;
  background: var(--gradient-neon);
  box-shadow: 0 6px 20px rgba(123, 47, 255, 0.38);
}

/* 文章卡片 */
.news-card-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), border-color 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.news-card:hover {
  transform: translateY(-5px);
  border-color: rgba(123, 47, 255, 0.55);
  box-shadow: var(--shadow-glow);
}
.news-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 8 / 5;
  background: var(--bg-deep);
}
.news-card__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 100%;
  transition: transform 0.6s var(--ease-out);
}
.news-card:hover .news-card__thumb {
  transform: scale(1.04);
}
.news-card__cover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 172px;
  overflow: hidden;
}
.news-card__cover::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.news-card__cover--violet {
  background: linear-gradient(135deg, rgba(123, 47, 255, 0.38), rgba(0, 229, 255, 0.12));
}
.news-card__cover--cyan {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(123, 47, 255, 0.34));
}
.news-card__cover-index {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.16);
}
.news-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
  padding: 22px;
}
.news-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}
.news-card__title {
  margin: 0;
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--text-title);
}
.news-card__excerpt {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
}
.news-card__progress {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.news-card__progress::after {
  content: "";
  display: block;
  height: 100%;
  background: var(--gradient-neon);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease-out);
}
.news-card:hover .news-card__progress::after {
  transform: scaleX(1);
}
.news-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}
.news-card__tag {
  font-size: 13px;
  color: var(--accent-cyan);
}
.page-news .news-card__foot .btn {
  padding: 8px 16px;
}

/* 侧栏 */
.news-side {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-bottom: 48px;
}
.news-hot {
  padding: 22px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
}
.news-hot__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 10px;
}
.news-hot__tab {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.news-hot__tab.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(123, 47, 255, 0.9), rgba(0, 229, 255, 0.7));
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(123, 47, 255, 0.32);
}
.news-hot__list {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}
.news-hot__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.09);
}
.news-hot__item:last-child {
  border-bottom: 0;
}
.news-hot__rank {
  min-width: 36px;
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 26px;
  line-height: 1;
  color: var(--text-muted);
  text-align: center;
}
.news-hot__item:nth-child(-n+3) .news-hot__rank {
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.news-hot__link {
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text-title);
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}
.news-hot__link:hover {
  color: var(--accent-cyan);
}
.news-hot__meta {
  font-size: 12px;
  color: var(--text-muted);
}

/* 平台数据 */
.news-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.news-stats__item {
  padding: 16px;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
}
.news-stats__num {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 22px;
  color: var(--text-title);
}
.news-stats__label {
  font-size: 12px;
  color: var(--text-muted);
}

/* 订阅更新面板 */
.news-update {
  position: relative;
  padding: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(123, 47, 255, 0.16), rgba(0, 229, 255, 0.06)), var(--bg-elevated);
  border: 1px solid rgba(123, 47, 255, 0.28);
  border-radius: var(--radius-lg);
}
.news-update::before {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-cyan);
  animation: news-pulse 2.4s infinite;
}
@keyframes news-pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(0, 229, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}
.news-update__kicker {
  margin: 0 0 8px;
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}
.news-update__title {
  margin: 0 0 10px;
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 20px;
  color: var(--text-title);
}
.news-update p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
}
.news-update__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.news-update__link {
  font-size: 14px;
  color: var(--accent-cyan);
  text-decoration: none;
}
.news-update__link:hover {
  text-decoration: underline;
}

/* 分类筛选 */
.news-categories {
  padding-top: clamp(28px, 5vw, 48px);
}
.news-cat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 26px;
}
.news-cat-card {
  position: relative;
  padding: 24px 22px;
  overflow: hidden;
  background: var(--surface-glass);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.news-cat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.08);
}
.news-cat-card__num {
  position: absolute;
  top: 12px;
  right: 18px;
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 44px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
}
.news-cat-card__title {
  margin: 0 0 8px;
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 18px;
  color: var(--text-title);
}
.news-cat-card__desc {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}
.news-cat-card__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.news-cat-card__link {
  font-size: 14px;
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}
.news-cat-card__link:hover {
  color: var(--primary-bright);
  text-decoration: underline;
}

/* 平板：双列卡片 */
@media (min-width: 640px) {
  .news-card-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-card--wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(220px, 320px) 1fr;
  }
  .news-card--wide .news-card__media {
    aspect-ratio: auto;
    height: 100%;
  }
  .news-cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 桌面：杂志三段式 */
@media (min-width: 1024px) {
  .news-cover {
    min-height: 640px;
  }
  .news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--news-side);
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
  }
  .news-main {
    min-width: 0;
  }
  .news-side {
    position: sticky;
    top: 24px;
  }
  .news-cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .news-cover__scroll {
    display: flex;
  }
}
@media (max-width: 1023px) {
  .news-cover__scroll {
    display: none;
  }
}
