/* 时间线样式 - Timeline Styles */
.timeline .container {
  position: relative;
}

/* 时间线列表：左侧竖线 */
.timeline-list {
  list-style: none;
  position: relative;
  margin: 0;
  padding: 0 0 0 40px;
  max-width: 900px;
}

.timeline-list::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(
    180deg,
    hsla(0, 0%, 100%, 0.05),
    hsla(0, 0%, 100%, 0.4) 15%,
    hsla(0, 0%, 100%, 0.4) 85%,
    hsla(0, 0%, 100%, 0.05)
  );
}

/* 单条时间线项 */
.timeline-item {
  position: relative;
  padding: 0 0 36px 30px;
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

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

/* 时间节点圆点 */
.timeline-dot {
  position: absolute;
  left: -40px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 100%;
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: 2;
}

.timeline-item:hover .timeline-dot {
  background-color: #f7c900;
  box-shadow: 0 0 0 6px rgba(247, 201, 0, 0.18);
  transform: scale(1.15);
}

/* 时间标签 */
.timeline-time {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: hsla(0, 0%, 100%, 0.45);
  margin-bottom: 8px;
  font-family: Roboto, Tahoma, Consolas, Microsoft YaHei;
}

/* 内容卡片 */
.timeline-content {
  padding: 14px 18px;
  background-color: hsla(0, 0%, 100%, 0.06);
  border-left: 2px solid hsla(0, 0%, 100%, 0.25);
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.timeline-content h5 {
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 6px;
}

.timeline-content p {
  font-size: 13px;
  line-height: 1.8em;
  color: hsla(0, 0%, 100%, 0.6);
  margin: 0;
}

/* 悬停效果：与现有 .gate .links .item 风格保持一致 */
.timeline-item:hover .timeline-content {
  background-color: hsla(0, 0%, 100%, 0.12);
  border-left-color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.28);
}

.timeline-item:hover .timeline-content h5 {
  color: #fff;
}

/* 移动端适配 */
@media screen and (max-width: 700px) {
  .timeline-list {
    padding-left: 28px;
  }

  .timeline-list::before {
    left: 5px;
  }

  .timeline-item {
    padding-left: 22px;
  }

  .timeline-dot {
    left: -28px;
    width: 11px;
    height: 11px;
  }

  .timeline-content {
    padding: 10px 14px;
  }

  .timeline-content h5 {
    font-size: 15px;
  }
}
