.timeline-wrapper {
      overflow: hidden;
      position: relative;
      background-image: url('../images/bg.png');
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;

    }

    .timeline-container {
      max-width: 100%;
      margin: 0 auto;
      position: relative;
      padding: 30px 30px;
    }

    .timeline-drag-area {
      position: relative;
      cursor: grab;
      min-height: 680px;
      overflow-x: auto;
      padding-bottom: 40px;
      scrollbar-width: none;
    }

    .timeline-drag-area::-webkit-scrollbar {
      display: none;
    }

    .timeline-drag-area:active {
      cursor: grabbing;
    }

    .timeline-curve-container {
      position: absolute;
      left: 0;
      right: 0;
      top: 50%;
      height: 300px;
      transform: translateY(-50%);
      overflow: visible;
    }

    #timeline-curve {
      position: absolute;
      left: 0;
      top: 0;
      height: 100%;
      z-index: 1;
    }

    .timeline-points {
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      height: 300px;
      z-index: 2;
    }

    .timeline-point {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 27px;
      height: 27px;
      cursor: pointer;
      transition: transform 0.3s ease;
    }

    .timeline-point:hover {
      transform: translateY(-50%) scale(1.06);
    }

    .outer-circle {
      width: 27px;
      height: 27px;
      border-radius: 50%;
      background-color: rgba(0, 100, 183, 0.2);
      position: absolute;
      top: 0;
      left: 0;
    }

    .inner-circle {
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background-color: #0064b7;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }

    .timeline-label {
      position: absolute;
      width: 380px;
      transition: all 0.3s ease;
      background-color: rgba(255, 255, 255, 0.95);
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .label-top {
      bottom: 100%;
      left: 0;
      transform: translateY(-15px);
      text-align: left;
    }

    .label-bottom {
      top: 100%;
      left: 0;
      transform: translateY(15px);
      text-align: left;
    }

    .year {
      color: #0064b7;
      margin-bottom: 15px;
      white-space: nowrap;
      text-align: left;
    }

    .year strong {
      font-size: 35px;
      font-weight: bold;
      line-height: 1;
    }

    .year span {
      font-size: 20px;
      font-weight: normal;
      margin-left: 5px;
    }

    .events {
      list-style-type: disc;
      padding-left: 20px;
      color: #666666;
      display: block;
      text-align: left;
    }

    .events li {
      font-size: 16px;
      margin-bottom: 8px;
      line-height: 1.8;
      white-space: normal;
    }

    .drag-hint {
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      color: #999;
      font-size: 14px;
      z-index: 10;
      display: flex;
      align-items: center;
      gap: 8px;
      opacity: 0;
      transition: opacity 0.3s ease;
      background-color: rgba(255, 255, 255, 0.8);
      padding: 8px 15px;
      border-radius: 20px;
    }

    .drag-hint.visible {
      opacity: 1;
    }

    .drag-icon {
      width: 20px;
      height: 20px;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5h6'/%3E%3Cpath d='M9 12h6'/%3E%3Cpath d='M9 19h6'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
    }

    /* 平板设备响应式调整 */
    @media (max-width: 992px) {
      .timeline-label {
        width: 340px;
      }

      .year strong {
        font-size: 30px;
      }

      .year span {
        font-size: 18px;
      }

      .events li {
        font-size: 14px;
      }
    }

    /* 手机设备响应式调整 */
    @media (max-width: 768px) {
      .timeline-container {
        padding: 80px 15px;
      }

      .timeline-label {
        width: 280px;
        padding: 15px;
      }

      .year strong {
        font-size: 26px;
      }

      .year span {
        font-size: 16px;
      }

      .events li {
        font-size: 13px;
      }
      

      /* 调整小屏幕上的曲线高度 */
      .timeline-curve-container {
        height: 250px;
      }

      /* 调整小屏幕上的时间点大小 */
      .timeline-point {
        width: 22px;
        height: 22px;
      }

      .outer-circle {
        width: 22px;
        height: 22px;
      }

      .inner-circle {
        width: 14px;
        height: 14px;
      }

      .timeline-wrapper {
        max-height: 55vh;
      }
    }

    /* 小屏手机响应式调整 */
    @media (max-width: 576px) {
      .timeline-label {
        width: 240px;
        padding: 12px;
      }

      .year strong {
        font-size: 22px;
      }

      .year span {
        font-size: 14px;
      }

      .events li {
        font-size: 12px;
        margin-bottom: 6px;
      }

      .drag-hint {
        font-size: 12px;
        padding: 6px 12px;
      }

      /* 进一步调整小屏幕上的曲线高度 */
      .timeline-curve-container {
        height: 200px;
      }

      /* 进一步调整小屏幕上的时间点大小 */
      .timeline-point {
        width: 18px;
        height: 18px;
      }

      .outer-circle {
        width: 18px;
        height: 18px;
      }

      .inner-circle {
        width: 12px;
        height: 12px;
      }

      /* 减少小屏幕上的内边距 */
      .timeline-container {
        padding: 1px 0px;
      }

      /* 移动端：将曲线向上移动 */
      .timeline-curve-container {
        transform: translateY(-60%);
      }

      .timeline-points {
        transform: translateY(-40%);
      }
    }

    /* 超小屏幕设备 */
    @media (max-width: 400px) {
      .timeline-label {
        width: 200px;
      }

      .year strong {
        font-size: 20px;
      }

      .events li {
        font-size: 11px;
      }
    }