.page-news {
  --news-pad: clamp(56px, 9vw, 104px);
  --news-gap: clamp(20px, 4vw, 36px);
  background: var(--space);
  color: var(--pearl);
  overflow-x: hidden;
  position: relative;
}

.page-news .section-title {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 1.08;
  margin: 8px 0 0;
  color: var(--pearl);
}

.page-news .section-desc {
  color: var(--slate);
  line-height: 1.8;
  max-width: 640px;
  margin-top: 12px;
}

.page-news .section-label {
  color: var(--mint);
}

.page-news .tag {
  display: inline-block;
  font-family: var(--font-data);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(0, 255, 135, 0.3);
  color: var(--mint);
  background: rgba(0, 255, 135, 0.08);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-news .tag-ice {
  color: var(--ice);
  border-color: rgba(0, 212, 255, 0.3);
  background: rgba(0, 212, 255, 0.06);
}

.page-news .tag-amber {
  color: var(--amber);
  border-color: rgba(255, 195, 0, 0.3);
  background: rgba(255, 195, 0, 0.06);
}

.page-news .tag-green {
  color: var(--mint);
  border-color: rgba(0, 255, 135, 0.3);
  background: rgba(0, 255, 135, 0.07);
}

.page-news .breadcrumb-current {
  color: var(--slate);
  font-size: 0.9rem;
}

.page-news .text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ice);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 212, 255, 0.4);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.page-news .text-link:hover {
  color: var(--pearl);
  border-color: var(--pearl);
}

.page-news .news-section {
  padding: var(--news-pad) 0;
}

.page-news .news-section-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: clamp(24px, 4vw, 40px);
}

/* ===== HERO ===== */
.page-news .news-hero {
  position: relative;
  padding: clamp(48px, 9vw, 104px) 0 clamp(48px, 7vw, 80px);
  background:
    radial-gradient(ellipse at 80% 8%, rgba(255, 122, 0, 0.14), transparent 44%),
    radial-gradient(ellipse at 8% 90%, rgba(0, 212, 255, 0.08), transparent 40%);
  border-bottom: 2px solid var(--border);
}

.page-news .news-hero::after {
  content: "WEEKLY";
  position: absolute;
  top: 8px;
  right: -8px;
  font-family: var(--font-headline);
  font-size: clamp(3.6rem, 12vw, 7rem);
  letter-spacing: 0.08em;
  color: rgba(230, 237, 245, 0.035);
  transform: rotate(-6deg);
  pointer-events: none;
  user-select: none;
  line-height: 1;
  z-index: 0;
}

.page-news .news-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-news .news-hero-copy .breadcrumb {
  margin-bottom: 28px;
}

.page-news .news-hero-copy h1 {
  font-family: var(--font-headline);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 1.04;
  margin: 14px 0 22px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.page-news .news-hero-lead {
  max-width: 580px;
  margin: 0 0 30px;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.85;
  color: var(--slate);
}

.page-news .news-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-news .hero-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--mint);
  background: rgba(18, 32, 64, 0.72);
  font-size: 0.85rem;
  color: var(--slate);
  border-radius: 4px;
}

.page-news .hero-stat .stat-num {
  font-family: var(--font-data);
  font-size: 1.06rem;
  font-weight: 800;
  color: var(--mint);
}

.page-news .news-hero-visual {
  position: relative;
}

.page-news .news-hero-visual::before {
  content: "";
  position: absolute;
  inset: 10px -10px -10px 14px;
  background: linear-gradient(135deg, rgba(255, 122, 0, 0.28), rgba(0, 212, 255, 0.28));
  border-radius: var(--radius);
  transform: rotate(-1.2deg);
  z-index: 0;
}

.page-news .news-hero-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ===== 最新文章 ===== */
.page-news .article-grid {
  display: grid;
  gap: 24px;
}

.page-news .article-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(18, 32, 64, 0.92), rgba(10, 17, 40, 0.96));
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.page-news .article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: var(--shadow-lg);
}

.page-news .article-thumb {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.page-news .article-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.35s;
}

.page-news .article-card:hover .article-thumb img {
  transform: scale(1.03);
}

.page-news .article-thumb .tag {
  position: absolute;
  top: 12px;
  left: 12px;
}

.page-news .article-index {
  position: absolute;
  top: 10px;
  right: 14px;
  font-family: var(--font-data);
  font-size: 0.86rem;
  font-weight: 700;
  color: rgba(230, 237, 245, 0.55);
  letter-spacing: 0.12em;
}

.page-news .article-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
  padding: 22px 22px 24px;
}

.page-news .article-body h3 {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.45;
  font-family: var(--font-body);
}

.page-news .article-body p {
  margin: 0;
  flex: 1;
  font-size: 0.92rem;
  color: var(--slate);
  line-height: 1.75;
}

.page-news .article-link {
  margin-top: 10px;
}

/* ===== 更新日志 ===== */
.page-news .changelog-section {
  background: var(--trench);
  border-top: 2px solid var(--ice);
  border-bottom: 2px solid var(--ice);
}

.page-news .changelog-inner {
  display: grid;
  gap: 40px;
  align-items: start;
}

.page-news .changelog-intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-news .changelog-intro .section-desc {
  margin-bottom: 12px;
}

.page-news .changelog-cta {
  margin-top: 8px;
}

.page-news .timeline {
  position: relative;
  display: flex;
  flex-direction: column;
}

.page-news .timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--ice) 0%, var(--mint) 60%, rgba(0, 255, 135, 0.12));
}

.page-news .timeline-item {
  position: relative;
  padding: 0 0 32px 36px;
}

.page-news .timeline-item:last-child {
  padding-bottom: 0;
}

.page-news .timeline-dot {
  position: absolute;
  left: 8px;
  top: 2px;
  width: 14px;
  height: 14px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--space);
  border: 3px solid var(--ice);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.14);
  z-index: 2;
}

.page-news .timeline-version {
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--font-data);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--ice);
  background: rgba(0, 212, 255, 0.07);
  border: 1px solid rgba(0, 212, 255, 0.28);
  padding: 4px 10px;
  border-radius: 4px;
}

.page-news .timeline-body {
  border: 1px solid var(--border);
  border-left: 3px solid var(--ice);
  background: rgba(10, 17, 40, 0.7);
  border-radius: 0 10px 10px 0;
  padding: 18px 20px;
}

.page-news .timeline-body h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  line-height: 1.45;
}

.page-news .timeline-body ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
}

.page-news .timeline-body li {
  color: var(--slate);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ===== 热门专题 ===== */
.page-news .topics-grid {
  display: grid;
  gap: 24px;
}

.page-news .topic-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, rgba(18, 32, 64, 0.94), rgba(10, 17, 40, 0.98));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.page-news .topic-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 255, 135, 0.3);
}

.page-news .topic-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
  border-bottom: 1px solid var(--border);
}

.page-news .topic-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
  padding: 24px;
}

.page-news .topic-content h3 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.4;
}

.page-news .topic-content p {
  margin: 0;
  flex: 1;
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.75;
}

.page-news .topic-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(0, 212, 255, 0.12), transparent 55%),
    repeating-linear-gradient(45deg, transparent 0 10px, rgba(255, 122, 0, 0.07) 10px 20px);
}

.page-news .topic-stat-num {
  font-family: var(--font-data);
  font-size: 4.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--orange);
  text-shadow: 0 0 32px rgba(255, 122, 0, 0.4);
}

.page-news .topic-stat-label {
  margin-top: 8px;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--slate);
}

/* ===== CTA ===== */
.page-news .cta-section {
  padding-top: clamp(0px, 2vw, 16px);
}

.page-news .cta-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: clamp(28px, 5vw, 52px);
  background:
    linear-gradient(135deg, rgba(255, 122, 0, 0.14), transparent 42%),
    var(--trench);
  border: 1px solid rgba(255, 122, 0, 0.36);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.page-news .cta-panel::after {
  content: "¥9.9";
  position: absolute;
  right: -6px;
  bottom: -30px;
  font-family: var(--font-data);
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 122, 0, 0.16);
  pointer-events: none;
  user-select: none;
}

.page-news .cta-copy h2 {
  margin: 8px 0 10px;
  font-family: var(--font-headline);
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.2;
}

.page-news .cta-copy p {
  margin: 0;
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 460px;
}

.page-news .cta-panel .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 14px 28px;
  font-size: 1rem;
}

/* ===== 桌面端 ===== */
@media (min-width: 900px) {
  .page-news .news-hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px;
  }

  .page-news .news-hero::after {
    right: 4%;
    font-size: 9rem;
  }

  .page-news .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .page-news .changelog-inner {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    gap: 64px;
  }

  .page-news .changelog-intro {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }

  .page-news .topics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .page-news .topic-card-main {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .page-news .topic-card-main .topic-visual img {
    height: 100%;
    aspect-ratio: auto;
    border-bottom: 0;
    border-right: 1px solid var(--border);
  }

  .page-news .cta-panel {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .page-news .cta-panel .btn {
    white-space: nowrap;
  }
}

@media (max-width: 899px) {
  .page-news .cta-panel .btn {
    width: 100%;
  }
}
