.page-news {
  --news-gold: #FFD700;
  --news-gold-dim: #FFAA00;
  --news-magenta: #FF1493;
  --news-purple: #9B59B6;
  --news-cyan: #00E5FF;
  --news-bg-deep: #0B1026;
  --news-bg-card: rgba(26, 31, 54, 0.82);
  --news-border-gold: rgba(255, 215, 0, 0.22);
  --news-border-cyan: rgba(0, 229, 255, 0.18);
  --news-font-head: Impact, 'Arial Black', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --news-font-body: 'Helvetica Neue', 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --news-radius-card: 4px 18px 4px 18px;
  --news-shadow-card: 0 16px 48px rgba(0, 0, 0, 0.45);

  background: var(--news-bg-deep);
  color: var(--white);
  font-family: var(--news-font-body);
  overflow-x: hidden;
}

.page-news a {
  color: var(--news-gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-news a:hover,
.page-news a:focus-visible {
  color: var(--news-cyan);
}

.page-news .container {
  position: relative;
  z-index: 1;
}

.page-news img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-news figure {
  margin: 0;
}

.page-news .breadcrumb {
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 28px;
  padding: 10px 14px;
  background: rgba(26, 31, 54, 0.55);
  border-left: 3px solid var(--news-gold);
  border-radius: 0 12px 0 12px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.page-news .breadcrumb a {
  color: var(--news-gray-light, var(--gray-light));
}

.page-news .breadcrumb a:hover {
  color: var(--news-gold);
}

.page-news .breadcrumb [aria-current="page"] {
  color: var(--news-gold);
}

.page-news .breadcrumb__sep {
  color: rgba(176, 183, 195, 0.5);
}

.page-news__hero {
  position: relative;
  padding: 72px 0 56px;
  border-bottom: 1px solid rgba(0, 229, 255, 0.16);
  overflow: hidden;
}

.page-news__hero::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -100px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155, 89, 182, 0.32) 0%, transparent 68%);
  pointer-events: none;
}

.page-news__hero::after {
  content: "";
  position: absolute;
  left: -60px;
  bottom: -140px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 20, 147, 0.2) 0%, transparent 72%);
  pointer-events: none;
}

.page-news__hero-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(120deg, transparent 0%, transparent 45%, rgba(255, 215, 0, 0.03) 46%, transparent 47%),
    linear-gradient(60deg, transparent 0%, transparent 65%, rgba(0, 229, 255, 0.04) 66%, transparent 67%);
  background-size: 280px 280px, 320px 320px;
}

.page-news__hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--grad-progress, linear-gradient(90deg, #00E5FF 0%, #FFD700 45%, #FF1493 100%));
  opacity: 0.8;
}

.page-news__hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.page-news__hero-copy {
  max-width: 640px;
}

.page-news__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--news-cyan);
  margin: 0 0 14px;
}

.page-news__kicker::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--grad-gold, linear-gradient(135deg, #FFD700 0%, #FFAA00 100%));
}

.page-news h1 {
  font-family: var(--news-font-head);
  font-size: clamp(38px, 7vw, 64px);
  line-height: 1.04;
  font-weight: 900;
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(120deg, #FFD700 0%, #FFAA00 38%, #FF1493 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--news-gold);
}

.page-news__hero-desc {
  font-size: 15px;
  line-height: 1.85;
  color: var(--gray-light);
  max-width: 540px;
  margin: 0 0 28px;
}

.page-news__hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-news__stat {
  position: relative;
  background: var(--news-bg-card);
  border: 1px solid var(--news-border-gold);
  border-radius: 4px 14px 4px 14px;
  padding: 14px 18px 14px 22px;
  min-width: 128px;
  backdrop-filter: blur(6px);
}

.page-news__stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--grad-gold, linear-gradient(135deg, #FFD700 0%, #FFAA00 100%));
  border-radius: 4px 0 0 4px;
}

.page-news__stat-num {
  font-family: var(--news-font-head);
  font-size: 28px;
  font-weight: 900;
  color: var(--news-gold);
  display: block;
  line-height: 1.1;
}

.page-news__stat-label {
  font-size: 13px;
  color: var(--gray-light);
  margin-top: 5px;
  display: block;
  letter-spacing: 0.5px;
}

.page-news__hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.page-news__hero-fig {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--news-cyan);
  box-shadow: 0 0 36px rgba(0, 229, 255, 0.28);
  position: relative;
  z-index: 1;
}

.page-news__hero-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-news__hero-scan {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--news-magenta), transparent);
  opacity: 0.5;
  border-radius: 99px;
}

.page-news__hero-scan--alt {
  width: 180px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--news-gold), transparent);
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0.35;
}

.page-news__section {
  padding: 56px 0;
}

.page-news__section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
  align-items: flex-start;
}

.page-news__section-head h2 {
  font-family: var(--news-font-head);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  margin: 0;
  letter-spacing: 1px;
  color: var(--white);
}

.page-news__section-head .btn {
  flex-shrink: 0;
}

.page-news__timeline-section {
  background:
    radial-gradient(ellipse at 15% 10%, rgba(155, 89, 182, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 85% 90%, rgba(255, 20, 147, 0.08) 0%, transparent 55%),
    var(--news-bg-deep);
}

.page-news__timeline-wrap {
  position: relative;
}

.page-news__timeline-head {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 40px;
  padding: 24px;
  background: var(--news-bg-card);
  border-radius: var(--news-radius-card);
  border: 1px solid var(--news-border-cyan);
}

.page-news__timeline-head-fig {
  width: 100%;
  max-width: 260px;
  overflow: hidden;
  border-radius: 4px 16px 4px 16px;
  border: 1px solid rgba(255, 20, 147, 0.25);
}

.page-news__timeline-head-fig img {
  width: 100%;
  object-fit: cover;
}

.page-news__timeline-head-note {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-news__note-line {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.6;
}

.page-news__note-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--grad-neon, linear-gradient(135deg, #9B59B6 0%, #FF1493 100%));
  animation: none;
}

.page-news__timeline {
  position: relative;
  margin-top: 8px;
  padding-left: 18px;
}

.page-news__timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--news-gold) 0%, var(--news-magenta) 40%, rgba(0, 229, 255, 0.25) 100%);
}

.page-news__t-item {
  position: relative;
  padding: 0 0 40px 24px;
}

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

.page-news__t-node {
  position: absolute;
  left: -18px;
  top: 4px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--news-bg-deep);
  border: 2px solid var(--news-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.page-news__t-item:hover .page-news__t-node {
  border-color: var(--news-cyan);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.35);
}

.page-news__t-node-core {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--news-magenta);
}

.page-news__t-time {
  margin-bottom: 10px;
}

.page-news__t-flag {
  display: inline-block;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: var(--news-gold);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px 12px 4px 12px;
  letter-spacing: 0.6px;
  white-space: nowrap;
}

.page-news__t-body {
  display: block;
}

.page-news__t-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(26, 31, 54, 0.55);
  border-radius: 4px 16px 4px 16px;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.page-news__t-summary::-webkit-details-marker {
  display: none;
}

.page-news__t-item:hover .page-news__t-summary {
  background: rgba(26, 31, 54, 0.85);
  border-color: rgba(255, 215, 0, 0.3);
}

.page-news__t-summary h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--white);
  line-height: 1.4;
  transition: color 0.2s ease;
}

.page-news__t-item:hover .page-news__t-summary h3 {
  color: var(--news-gold);
}

.page-news__t-toggle {
  font-family: var(--news-font-head);
  font-size: 24px;
  font-weight: 900;
  color: var(--news-magenta);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.page-news__t-body[open] .page-news__t-toggle {
  transform: rotate(45deg);
  color: var(--news-cyan);
}

.page-news__t-content {
  padding: 14px 18px 18px;
  background: rgba(26, 31, 54, 0.5);
  border-radius: 0 0 4px 16px;
  border-left: 2px solid rgba(255, 215, 0, 0.25);
  border-bottom: 1px solid rgba(255, 215, 0, 0.12);
}

.page-news__t-content p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray-light);
  margin: 0 0 14px;
}

.page-news__t-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news__version-section {
  position: relative;
  background:
    linear-gradient(140deg, rgba(155, 89, 182, 0.08) 0%, transparent 40%),
    var(--news-bg-deep);
  border-top: 1px solid rgba(255, 215, 0, 0.1);
  border-bottom: 1px solid rgba(255, 20, 147, 0.12);
}

.page-news__version-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    -55deg,
    transparent 0px,
    transparent 14px,
    rgba(0, 229, 255, 0.025) 14px,
    rgba(0, 229, 255, 0.025) 15px
  );
}

.page-news__version-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-news__version-card {
  background: var(--news-bg-card);
  border-radius: var(--news-radius-card);
  border: 1px solid rgba(255, 215, 0, 0.14);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.page-news__version-card:hover {
  border-color: rgba(255, 215, 0, 0.45);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

.page-news__version-card--wide {
  grid-column: 1 / -1;
}

.page-news__version-card-media {
  overflow: hidden;
  max-height: 300px;
}

.page-news__version-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.page-news__version-card:hover .page-news__version-card-media img {
  transform: scale(1.02);
}

.page-news__version-card-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.page-news__version-badge {
  display: inline-block;
  align-self: flex-start;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 170, 0, 0.12) 100%);
  border: 1px solid rgba(255, 215, 0, 0.35);
  color: var(--news-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 4px 12px 4px 12px;
  margin-bottom: 16px;
}

.page-news__version-badge--ios {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.14) 0%, rgba(0, 229, 255, 0.06) 100%);
  border-color: rgba(0, 229, 255, 0.35);
  color: var(--news-cyan);
}

.page-news__version-badge--security {
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.2) 0%, rgba(255, 20, 147, 0.12) 100%);
  border-color: rgba(155, 89, 182, 0.4);
  color: #e8b4ff;
}

.page-news__version-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--white);
  line-height: 1.4;
}

.page-news__version-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray-light);
  margin: 0 0 18px;
  flex: 1;
}

.page-news__link {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--news-gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease, color 0.2s ease;
}

.page-news__link:hover {
  gap: 12px;
  color: var(--news-cyan);
}

.page-news__events-section {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(255, 20, 147, 0.09) 0%, transparent 50%),
    var(--news-bg-deep);
}

.page-news__events-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.page-news__events-banner {
  overflow: hidden;
  border-radius: var(--news-radius-card);
  border: 1px solid rgba(255, 20, 147, 0.22);
}

.page-news__events-banner img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.page-news__events-banner:hover img {
  transform: scale(1.02);
}

.page-news__events-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-news__event-item {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(26, 31, 54, 0.55);
  border-radius: 4px 16px 4px 16px;
  border: 1px solid rgba(255, 215, 0, 0.12);
  transition: background 0.2s ease, border-color 0.25s ease;
}

.page-news__event-item:hover {
  background: rgba(26, 31, 54, 0.85);
  border-color: rgba(0, 229, 255, 0.35);
}

.page-news__event-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 4px 14px 4px 14px;
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.35) 0%, rgba(255, 20, 147, 0.25) 100%);
  border: 1px solid rgba(255, 20, 147, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--news-font-head);
  font-size: 18px;
  font-weight: 900;
  color: var(--news-gold);
}

.page-news__event-body {
  flex: 1;
}

.page-news__event-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--white);
  line-height: 1.4;
}

.page-news__event-body p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray-light);
  margin: 0;
}

@media (min-width: 480px) {
  .page-news__timeline-head {
    flex-direction: row;
    align-items: center;
  }

  .page-news__timeline-head-fig {
    width: 220px;
    flex-shrink: 0;
  }
}

@media (min-width: 768px) {
  .page-news__hero {
    padding: 96px 0 72px;
  }

  .page-news__hero-layout {
    grid-template-columns: 1fr 260px;
    gap: 48px;
  }

  .page-news__section {
    padding: 84px 0;
  }

  .page-news__section-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .page-news__version-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-news__version-card--wide {
    grid-column: 1 / -1;
    flex-direction: row;
  }

  .page-news__version-card--wide .page-news__version-card-media {
    width: 46%;
    max-height: none;
    flex-shrink: 0;
  }

  .page-news__version-card--wide .page-news__version-card-body {
    padding: 32px 36px;
  }

  .page-news__events-layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
  }

  .page-news__timeline-wrap {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 48px;
    align-items: start;
  }

  .page-news__timeline-head {
    margin-bottom: 0;
    flex-direction: column;
    align-items: flex-start;
    top: 0;
    position: sticky;
  }

  .page-news__timeline-head-fig {
    width: 100%;
    max-width: 280px;
  }

  .page-news__timeline {
    margin-top: 0;
  }
}

@media (min-width: 1024px) {
  .page-news__version-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-news__version-card--wide {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }

  .page-news__version-card--wide + .page-news__version-card {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
  }

  .page-news__version-card:not(.page-news__version-card--wide):not(:first-of-type) {
    grid-column: auto;
  }
}

@media (min-width: 1280px) {
  .page-news__hero h1 {
    font-size: 68px;
  }

  .page-news__timeline-wrap {
    grid-template-columns: 360px 1fr;
    gap: 64px;
  }
}

.page-news {
  --news-gray-light: currentColor;
}
