/* =========================================================
   CHANGELOGS — bloque en solitario
   Mismo lenguaje visual que info-basica.css: header centrado
   con líneas doradas a los costados, listado con hairlines
   (sin panel/card), CTA angular con barrido de luz.
   Requiere las variables de :root definidas en style.min.css
   (--gold, --gold-light, --gold-dark, --gold-glow).
   ========================================================= */

.changelogs-section {
  background: #000;
  padding: 80px 0;
}

/* ---------- encabezado (centrado) ---------- */

.changelogs-header {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
  text-align: center;
}

.changelogs-eyebrow {
  color: var(--gold);
  font-family: Cinzel, serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
}

/* fila del título con líneas doradas a los costados,
   mismo recurso que info-basica-title-row */
.changelogs-title-row {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: center;
  width: 100%;
}

.changelogs-title-row:before,
.changelogs-title-row:after {
  background: linear-gradient(90deg, transparent, var(--gold-glow));
  content: "";
  height: 1px;
  max-width: 100px;
  width: 100%;
}

.changelogs-title-row:after {
  background: linear-gradient(270deg, transparent, var(--gold-glow));
}

.changelogs-title {
  color: #f8f9fa;
  font-family: Cinzel, serif;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: 4px;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- listado ---------- */

.changelogs-list {
  border-bottom: 1px solid rgba(221, 171, 94, .15);
  border-top: 1px solid rgba(221, 171, 94, .15);
}

.changelogs-item {
  align-items: center;
  color: inherit;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  opacity: 0;
  padding: 20px 4px;
  position: relative;
  text-decoration: none;
  transform: translateY(12px);
  transition: opacity .6s ease, transform .6s ease, background .25s ease;
  transition-delay: calc(var(--i, 0) * 70ms);
}

.changelogs-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.changelogs-item:not(:last-child) {
  border-bottom: 1px solid hsla(0, 0%, 100%, .06);
}

.changelogs-item:hover {
  background: rgba(221, 171, 94, .05);
}

.changelogs-item:hover .changelogs-item-title {
  color: var(--gold-light);
}

.changelogs-item:hover .changelogs-item-more {
  transform: translateX(4px);
}

.changelogs-item-main {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
}

.changelogs-dot {
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold), 0 0 14px var(--gold-glow);
  flex-shrink: 0;
  height: 8px;
  width: 8px;
}

.changelogs-item-title {
  color: #e4e4e7;
  font-size: .95rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .25s ease;
  white-space: nowrap;
}

.changelogs-item-title em {
  color: var(--gold);
  font-style: normal;
  margin: 0 2px;
}

.changelogs-item-meta {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 18px;
}

.changelogs-item-date {
  color: #666;
  font-size: .78rem;
  white-space: nowrap;
}

.changelogs-item-more {
  align-items: center;
  color: var(--gold);
  display: inline-flex;
  font-size: .72rem;
  font-weight: 800;
  gap: 6px;
  letter-spacing: .8px;
  transition: transform .25s ease;
  white-space: nowrap;
}

.changelogs-item-more i {
  font-size: .62rem;
}

/* ---------- changelog individual ---------- */

.changelogs-single-body {
  color: #ccc;
  font-size: .98rem;
  line-height: 1.75;
  max-width: 820px;
  margin: 0 auto 20px;
}

.changelogs-single-body p {
  color: #ccc;
  margin-bottom: 1.1em;
}

.changelogs-single-body h1,
.changelogs-single-body h2,
.changelogs-single-body h3,
.changelogs-single-body h4 {
  color: var(--gold-light);
  font-family: Cinzel, serif;
  margin: 1.4em 0 .6em;
}

.changelogs-single-body strong,
.changelogs-single-body b {
  color: #fff;
}

.changelogs-single-body a {
  color: var(--gold);
  text-decoration: underline;
}

.changelogs-single-body ul,
.changelogs-single-body ol {
  color: #ccc;
  margin-bottom: 1.1em;
  padding-left: 1.4em;
}

.changelogs-single-body img {
  border-radius: 8px;
  height: auto;
  margin: 1em 0;
  max-width: 100%;
}

.changelogs-header .changelogs-item-date {
  color: #999;
}

/* ---------- estado vacío ---------- */

.changelogs-empty {
  color: #666;
  font-size: .9rem;
  padding: 40px 4px;
  text-align: center;
}

/* ---------- acciones (centrado) ---------- */

.changelogs-actions {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.changelogs-btn {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(221, 171, 94, .5);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  color: var(--gold-light);
  display: inline-flex;
  font-family: Cinzel, serif;
  font-size: .85rem;
  font-weight: 700;
  gap: 11px;
  isolation: isolate;
  letter-spacing: 1.8px;
  overflow: hidden;
  padding: 15px 30px;
  position: relative;
  text-decoration: none;
  transition: color .25s ease, letter-spacing .25s ease, transform .18s ease, box-shadow .3s ease, border-color .25s ease;
  white-space: nowrap;
}

.changelogs-btn span,
.changelogs-btn i {
  position: relative;
  z-index: 1;
}

.changelogs-btn-arrow {
  font-size: .72rem;
  transition: transform .25s ease;
}

.changelogs-btn:hover .changelogs-btn-arrow {
  transform: translateX(5px);
}

.changelogs-btn:active {
  transform: translateY(1px);
}

.changelogs-btn:before {
  background: linear-gradient(100deg, transparent 0%, rgba(221, 171, 94, .28) 50%, transparent 100%);
  content: "";
  inset: 0;
  position: absolute;
  transform: translateX(-130%) skewX(-20deg);
  transition: transform .55s ease;
  z-index: 0;
}

.changelogs-btn:hover:before {
  transform: translateX(130%) skewX(-20deg);
}

.changelogs-btn:hover {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 2px rgba(221, 171, 94, .08), 0 0 18px rgba(221, 171, 94, .25);
  color: #fff;
  letter-spacing: 2.4px;
  transform: translateY(-2px);
}

/* ---------- responsive ---------- */

@media (max-width: 576px) {
  .changelogs-section {
    padding: 56px 0;
  }

  .changelogs-title {
    font-size: 1.5rem;
    letter-spacing: 3px;
  }

  .changelogs-title-row {
    gap: 12px;
  }

  .changelogs-title-row:before,
  .changelogs-title-row:after {
    max-width: 36px;
  }

  .changelogs-item {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .changelogs-item-meta {
    padding-left: 20px;
  }

  .changelogs-item-title {
    white-space: normal;
  }

  .changelogs-btn {
    justify-content: center;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .changelogs-item {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .changelogs-btn:before {
    transition: none;
  }
}