/* TIMELINE CONTAINER */
.timeline {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}

/* layout for mascot + timeline */
.changelog-inner {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 28px;
}

.changelog-mascot {
  position: fixed;
  left: 18px;   /* fixed distance from left edge */
  top: 220px;   /* moved lower on the viewport */
  width: 360px; /* larger size */
  z-index: 0;
}

.changelog-mascot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.timeline {
  position: relative;
  z-index: 1; /* ensure timeline sits above mascot */
  margin-left: 380px; /* slightly move text left to close gap with mascot */
}

@media (max-width: 900px) {
  .changelog-inner { flex-direction: column; align-items: center; }
  .changelog-mascot { position: static; width: 200px; margin-bottom: 12px; }
  .timeline { margin-left: 0; }
}

/* TITLU */
.timeline-title {
  text-align: center;
  font-size: 36px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #cc2f26;
  margin-bottom: 90px;
}

/* AXA VERTICALĂ */
.timeline::before {
  /* removed: decorative vertical line */
  content: none;
}

/* ENTRY */
.timeline-entry {
  position: relative;
  margin-bottom: 60px;
  padding: 32px 36px 32px 44px;

  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  border-radius: 12px;

  transform: translateY(60px) scale(0.99);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), opacity 0.28s ease, box-shadow 0.28s ease, border-left-color 0.28s ease;
}

/* BULINĂ */
.timeline-entry::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 36px;
  width: 14px;
  height: 14px;
  background: #cc2f26;
  border-radius: 50%;
}

/* ACTIV LA SCROLL */
.timeline-entry.visible {
  transform: translateY(0) scale(1);
  opacity: 1;
  box-shadow: 0 16px 32px rgba(0,0,0,0.45);
  border-left: 4px solid rgba(204,47,38,0.9);
}

/* DATA */
.date {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #fff;
}

/* LISTĂ */
.timeline-entry ul {
  list-style: none;
  padding: 0;
}

.timeline-entry li {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 14px;
}

/* TAG-URI */
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 9px;
  margin-right: 10px;
  border-radius: 6px;
  letter-spacing: 1px;
}

.added {
  background: #1f7a1f;
  box-shadow: 0 0 10px rgba(31,122,31,0.4);
}

.updated {
  background: #c77a1a;
  box-shadow: 0 0 10px rgba(199,122,26,0.4);
}

.fixed {
  background: #1f4fc7;
  box-shadow: 0 0 10px rgba(31,79,199,0.4);
}
