body.article-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 0%, rgba(87, 240, 177, 0.16), transparent 28rem),
    radial-gradient(circle at 84% 12%, rgba(244, 196, 91, 0.18), transparent 24rem),
    linear-gradient(180deg, #090907 0%, #11100d 44%, #070706 100%);
  overflow-x: hidden;
}

body.article-page::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(115deg, transparent 0 18%, rgba(87, 240, 177, 0.08) 22%, transparent 34%),
    linear-gradient(70deg, transparent 0 48%, rgba(244, 196, 91, 0.08) 54%, transparent 66%);
  opacity: 0.85;
  transform: translate3d(-8%, -4%, 0) scale(1.08);
  animation: articleAmbient 14s ease-in-out infinite alternate;
  pointer-events: none;
}

.article-header {
  max-width: 1060px;
  margin: 0 auto;
  padding: 118px 22px 38px;
  position: relative;
}

.article-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: #f4c45b;
  font-weight: 900;
  opacity: 0;
  transform: translateY(-12px);
  animation: articleFadeUp 0.7s ease forwards;
}

.article-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(244, 196, 91, 0.32);
  border-radius: 999px;
  color: #57f0b1;
  background: rgba(244, 196, 91, 0.08);
  box-shadow: 0 12px 28px rgba(244, 196, 91, 0.1);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(14px);
  animation: articleFadeUp 0.75s 0.12s ease forwards;
}

.article-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #57f0b1;
  box-shadow: 0 0 16px rgba(87, 240, 177, 0.8);
}

.article-header h1 {
  max-width: 920px;
  margin: 14px 0 18px;
  color: #fffdf4;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.02;
  font-weight: 900;
  min-height: 1.08em;
  text-wrap: balance;
}

.article-header h1.is-typing::after {
  content: "";
  display: inline-block;
  width: 0.08em;
  height: 0.82em;
  margin-left: 0.08em;
  border-radius: 999px;
  background: #57f0b1;
  box-shadow: 0 0 18px rgba(87, 240, 177, 0.7);
  transform: translateY(0.08em);
  animation: articleCaret 0.82s steps(2, end) infinite;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #d4cfbf;
  font-weight: 800;
  opacity: 0;
  transform: translateY(14px);
  animation: articleFadeUp 0.75s 0.22s ease forwards;
}

.article-meta span {
  transition: color 0.25s ease, transform 0.25s ease;
}

.article-meta span:hover {
  color: #57f0b1;
  transform: translateY(-2px);
}

.article-hero {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 22px;
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  animation: articleHeroIn 0.95s 0.34s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.article-hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(244, 196, 91, 0.18);
  border-radius: 18px;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.46);
  transform: translateZ(0);
  transition: transform 0.65s ease, box-shadow 0.65s ease, border-color 0.65s ease;
}

.article-hero:hover img {
  border-color: rgba(87, 240, 177, 0.34);
  box-shadow: 0 42px 140px rgba(0, 0, 0, 0.58);
  transform: scale(1.012);
}

.article-body {
  max-width: 880px;
  margin: 0 auto;
  padding: 54px 22px 110px;
  color: #e7dfcc;
  font-size: 18px;
  line-height: 1.82;
}

.article-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.article-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.article-body h2 {
  margin: 46px 0 14px;
  color: #fffdf4;
  font-size: clamp(27px, 4vw, 42px);
  line-height: 1.13;
}

.article-body h3 {
  margin: 34px 0 10px;
  color: #fff7d8;
  font-size: 24px;
}

.article-body p {
  margin-bottom: 20px;
}

.article-body ul {
  display: grid;
  gap: 9px;
  margin: 18px 0 28px;
  padding-left: 22px;
}

.article-note {
  margin: 36px 0;
  padding: 22px;
  border: 1px solid rgba(87, 240, 177, 0.22);
  border-radius: 14px;
  background: rgba(87, 240, 177, 0.07);
  box-shadow: 0 20px 70px rgba(87, 240, 177, 0.08);
}

.article-note.is-visible {
  animation: articlePulse 1.4s 0.15s ease both;
}

@keyframes articleAmbient {
  from {
    transform: translate3d(-8%, -4%, 0) scale(1.08);
  }

  to {
    transform: translate3d(7%, 5%, 0) scale(1.12);
  }
}

@keyframes articleFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes articleHeroIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes articleCaret {
  50% {
    opacity: 0;
  }
}

@keyframes articlePulse {
  0%,
  100% {
    box-shadow: 0 20px 70px rgba(87, 240, 177, 0.08);
  }

  45% {
    box-shadow: 0 24px 90px rgba(87, 240, 177, 0.18);
  }
}

@media (max-width: 700px) {
  .article-header {
    padding-top: 96px;
  }

  .article-body {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.article-page::before,
  .article-nav,
  .article-kicker,
  .article-meta,
  .article-hero,
  .article-note.is-visible,
  .article-header h1.is-typing::after {
    animation: none;
  }

  .article-nav,
  .article-kicker,
  .article-meta,
  .article-hero,
  .article-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .article-hero:hover img {
    transform: none;
  }
}
