/* 继承主样式，并添加页面特定样式 */
.page-container {
    padding-top: 140px; /* 增加顶部内边距以容纳导航栏和面包屑 */
}

.progress-section {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    border: 1px solid rgba(147, 112, 219, 0.3);
    padding: 40px;
    backdrop-filter: blur(10px);
}

.progress-container {
    padding: 50px 20px;
    position: relative;
}

.timeline {
    position: relative;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.timeline-progress {
    position: absolute;
    height: 100%;
    background: linear-gradient(90deg, #9370db, #ffb6c1);
    width: 0;
    border-radius: 4px;
    transition: width 0.5s ease-in-out;
}

.stage-node {
    width: 24px;
    height: 24px;
    background: #1a1a2e;
    border: 3px solid #9370db;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(147, 112, 219, 0.5);
}

.stage-node.active {
    background: #ffb6c1;
    border-color: #ffb6c1;
    box-shadow: 0 0 20px rgba(255, 182, 193, 0.8);
    transform: scale(1.2);
}

.stage-node:hover {
    transform: scale(1.3);
    border-color: #fff;
}

.pig-gif {
    position: absolute;
    top: -86px; /* 再向上移动6px */
    left: 0;
    width: 60px;
    height: 60px;
    transform: translateX(-50%); /* 使小猪中心对准节点 */
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
    pointer-events: none; /* 避免遮挡节点点击 */
}

.pig-gif img {
    width: 100%;
    height: 100%;
}

.stage-details {
    margin-top: 30px;
    padding: 30px;
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(147, 112, 219, 0.2);
    min-height: 120px;
    text-align: center;
    transition: all 0.5s ease;
}

.stage-details h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffb6c1;
}

.stage-details p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.summary-section {
    margin-top: 40px;
    padding: 30px;
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(147, 112, 219, 0.2);
}

.summary-item {
    margin-bottom: 20px;
}

.summary-item:last-child {
    margin-bottom: 0;
}

.summary-item h3 {
    font-size: 20px;
    color: #9370db;
    margin-bottom: 10px;
}

.summary-item p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.qa-item p {
    font-style: italic;
    color: #ffb6c1;
}

.preface-section {
    margin: 40px 0;
    padding: 30px;
    background: rgba(10, 10, 20, 0.5);
    border-left: 4px solid #9370db;
    border-radius: 0 10px 10px 0;
}

.preface-title {
    font-size: 22px;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
}

.preface-section p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 15px;
}

.preface-section p:last-child {
    margin-bottom: 0;
    font-weight: bold;
    color: #ffb6c1;
}

@keyframes slide-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stage-list p {
    margin-bottom: 25px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    font-size: 18px;
}

.stage-list-item {
    background: rgba(20, 20, 40, 0.7);
    border: 1px solid rgba(147, 112, 219, 0.3);
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    opacity: 0; /* 初始透明 */
    animation: slide-in 0.5s ease-out forwards; /* 应用动画 */
}

/* 交错动画延迟 */
.stage-list-item:nth-child(2) { animation-delay: 0.1s; }
.stage-list-item:nth-child(3) { animation-delay: 0.2s; }
.stage-list-item:nth-child(4) { animation-delay: 0.3s; }
.stage-list-item:nth-child(5) { animation-delay: 0.4s; }
.stage-list-item:nth-child(6) { animation-delay: 0.5s; }
.stage-list-item:nth-child(7) { animation-delay: 0.6s; }

.stage-list-item:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(30, 30, 60, 0.9);
    border-color: #ffb6c1;
    box-shadow: 0 8px 25px rgba(147, 112, 219, 0.3);
}

.stage-icon {
    font-size: 24px;
    color: #9370db;
    margin-right: 20px;
    width: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.stage-list-item:hover .stage-icon {
    color: #ffb6c1;
    transform: scale(1.2);
}

.stage-text strong {
    color: #ffb6c1;
    margin-right: 8px;
}
