.page-news {
  --page-accent: #BC13FE;
  --page-blue: #00E5FF;
  --page-gold: #FFD700;
}

.page-news .news-hero {
  position: relative;
  padding: 48px 0 56px;
  background:
    radial-gradient(ellipse at 18% 22%, rgba(188, 19, 254, .16) 0%, transparent 55%),
    radial-gradient(ellipse at 82% 28%, rgba(0, 229, 255, .13) 0%, transparent 50%),
    linear-gradient(150deg, rgba(18, 18, 28, .92), rgba(10, 10, 16, .98));
  border-bottom: 1px solid rgba(188, 19, 254, .2);
  overflow: hidden;
}

.page-news .news-hero::after {
  content: '';
  position: absolute;
  inset: -1px 0 auto;
  height: 120px;
  background: linear-gradient(105deg, transparent 10%, rgba(188, 19, 254, .08) 38%, rgba(0, 229, 255, .07) 55%, transparent 75%);
  transform: skewX(-12deg);
  pointer-events: none;
}

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

.page-news .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 28px;
}

.page-news .breadcrumb a {
  color: var(--neon-blue);
  text-decoration: none;
  transition: color .2s ease;
}

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

.page-news .breadcrumb-sep {
  color: var(--text-dim);
}

.page-news .hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-news .hero-copy h1 {
  font-size: clamp(28px, 5vw, 50px);
  line-height: 1.15;
  margin: 16px 0 14px;
  color: var(--text-bright);
  letter-spacing: .01em;
}

.page-news .hero-copy .lead {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-main);
  max-width: 640px;
  margin: 0;
}

.page-news .hero-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.page-news .hero-aside {
  display: none;
}

@media (min-width: 860px) {
  .page-news .hero-grid {
    grid-template-columns: 1.6fr .6fr;
  }

  .page-news .hero-aside {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
  }

  .page-news .hero-glitch {
    font-size: 60px;
    font-weight: 900;
    letter-spacing: .18em;
    background: linear-gradient(135deg, #BC13FE, #00E5FF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    line-height: 1;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
  }

  .page-news .hero-index {
    font-size: 18px;
    color: var(--neon-pink);
    letter-spacing: .2em;
  }
}

.page-news .section-block {
  padding: 60px 0;
}

.page-news .section-block + .section-block {
  border-top: 1px solid rgba(188, 19, 254, .12);
}

.page-news .section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  margin-bottom: 36px;
}

.page-news .section-num {
  font-size: 13px;
  color: var(--neon-blue);
  letter-spacing: .18em;
}

.page-news .section-head h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin: 0;
  color: var(--text-bright);
}

.page-news .section-head p {
  width: 100%;
  margin: 4px 0 0;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
}

.page-news .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(188, 19, 254, .14);
  border: 1px solid rgba(188, 19, 254, .3);
  color: var(--neon-blue);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.page-news .tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(188, 19, 254, .14);
}

.page-news .tag--blue {
  background: rgba(0, 229, 255, .1);
  border-color: rgba(0, 229, 255, .28);
  color: var(--neon-blue);
}

.page-news .tag--gold {
  background: rgba(255, 215, 0, .1);
  border-color: rgba(255, 215, 0, .28);
  color: var(--page-gold);
}

.page-news .tag--pink {
  background: rgba(255, 42, 109, .1);
  border-color: rgba(255, 42, 109, .28);
  color: var(--neon-pink);
}

.page-news .text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--neon-blue);
  text-decoration: none;
  transition: color .2s ease;
}

.page-news .text-link::after {
  content: '→';
  transition: transform .2s ease;
}

.page-news .text-link:hover {
  color: var(--neon-purple);
}

.page-news .text-link:hover::after {
  transform: translateX(4px);
}

.page-news .updates-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.page-news .timeline-col {
  display: none;
}

.page-news .updates-list {
  position: relative;
  padding-left: 28px;
}

.page-news .updates-list::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--neon-purple) 0%, var(--neon-blue) 55%, rgba(0, 229, 255, .08) 100%);
}

.page-news .news-entry {
  margin-bottom: 24px;
}

.page-news .entry-card {
  position: relative;
  background: linear-gradient(145deg, rgba(18, 18, 28, .92), rgba(26, 26, 40, .85));
  border: 1px solid rgba(188, 19, 254, .18);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.page-news .entry-card::before {
  content: '';
  position: absolute;
  left: -25px;
  top: 28px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--neon-purple);
  box-shadow: 0 0 0 4px rgba(188, 19, 254, .16), 0 0 16px rgba(188, 19, 254, .7);
  z-index: 1;
}

.page-news .news-entry:nth-child(3) .entry-card::before {
  background: var(--neon-blue);
  box-shadow: 0 0 0 4px rgba(0, 229, 255, .14), 0 0 16px rgba(0, 229, 255, .6);
}

.page-news .news-entry:nth-child(4) .entry-card::before {
  background: var(--page-gold);
  box-shadow: 0 0 0 4px rgba(255, 215, 0, .16), 0 0 16px rgba(255, 215, 0, .5);
}

.page-news .entry-card:hover {
  transform: translateY(-4px);
  border-color: rgba(188, 19, 254, .45);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .35), 0 0 24px rgba(188, 19, 254, .08);
}

.page-news .entry-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-bottom: 10px;
}

.page-news .entry-time {
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: .08em;
}

.page-news .entry-card h3 {
  font-size: 18px;
  line-height: 1.4;
  margin: 0 0 10px;
  color: var(--text-bright);
}

.page-news .entry-card p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.75;
  margin: 0 0 14px;
}

.page-news .entry-media {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 14px;
}

.page-news .entry-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-news .entry-foot {
  display: flex;
  justify-content: flex-end;
}

@media (min-width: 768px) {
  .page-news .section-block {
    padding: 72px 0;
  }

  .page-news .updates-layout {
    grid-template-columns: 120px 1fr;
    gap: 24px;
  }

  .page-news .timeline-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 18px;
    padding-top: 4px;
  }

  .page-news .timeline-title {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 12px;
    letter-spacing: .3em;
    color: var(--neon-blue);
  }

  .page-news .timeline-mark {
    font-size: 13px;
    color: var(--page-gold);
    letter-spacing: .12em;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    border-left: 1px solid rgba(255, 215, 0, .35);
    padding-left: 8px;
  }
}

.page-news .features-grid {
  display: grid;
  gap: 24px;
}

.page-news .feature-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(150deg, rgba(18, 18, 28, .95), rgba(26, 26, 40, .88));
  border: 1px solid rgba(0, 229, 255, .14);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.page-news .feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, .38);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .36), 0 0 28px rgba(0, 229, 255, .06);
}

.page-news .feature-card--main {
  border-color: rgba(255, 215, 0, .22);
}

.page-news .feature-media {
  position: relative;
  overflow: hidden;
}

.page-news .feature-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 180px;
}

.page-news .feature-card--main .feature-media img {
  min-height: 220px;
}

.page-news .feature-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.page-news .feature-body h3 {
  font-size: 19px;
  line-height: 1.35;
  margin: 0 0 6px;
  color: var(--text-bright);
}

.page-news .feature-body p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 10px;
}

.page-news .feature-body .text-link {
  margin-top: auto;
}

.page-news .features-row {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .page-news .feature-card--main {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
  }

  .page-news .feature-card--main .feature-media {
    order: 2;
    height: 100%;
  }

  .page-news .feature-card--main .feature-media img {
    height: 100%;
    min-height: 320px;
  }

  .page-news .features-row {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .page-news .features-row .feature-card {
    flex-direction: column;
  }
}

.page-news .versions-list {
  display: grid;
  gap: 20px;
}

.page-news .version-entry {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.page-news .version-date {
  font-size: 12px;
  color: var(--neon-blue);
  letter-spacing: .08em;
}

.page-news .version-card {
  background: linear-gradient(145deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid rgba(188, 19, 254, .16);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.page-news .version-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 215, 0, .4);
  box-shadow: 0 16px 32px rgba(0, 0, 0, .3), 0 0 20px rgba(255, 215, 0, .06);
}

.page-news .version-card h3 {
  margin: 10px 0 8px;
  font-size: 17px;
  color: var(--text-bright);
  line-height: 1.4;
}

.page-news .version-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.7;
}

@media (min-width: 640px) {
  .page-news .version-entry {
    grid-template-columns: 88px 1fr;
    gap: 24px;
  }

  .page-news .version-date {
    padding-top: 20px;
    text-align: right;
  }
}
