/* 交易员实训计划导航特效 - 简化版 */
.trader-training-link {
    position: relative;
    overflow: hidden;
    padding-right: 2.5rem !important;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.3), rgba(212, 175, 55, 0.15)) !important;
    border-radius: 8px !important;
    border: 1px solid rgba(212, 175, 55, 0.5) !important;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5) !important;
    animation: trader-nav-pulse 2s infinite alternate !important;
    transform: scale(1.15) !important;
    padding: 8px 16px !important;
    margin: 0 4px !important;
}

.trader-training-link:hover {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.4), rgba(212, 175, 55, 0.6), rgba(212, 175, 55, 0.4)) !important;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.8) !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8) !important;
    color: white !important;
    letter-spacing: 0.5px !important;
}

/* 简化边框特效，只使用闪烁效果 */
.trader-training-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(12, 127, 242, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.trader-training-link:hover::before {
    left: 100%;
}

/* Achievement badges effect */
.trader-training-link::after {
    content: '';
    position: absolute;
    top: -2px;
    right: 0.5rem;
    width: 6px;
    height: 6px;
    background: #0c7ff2;
    border-radius: 50%;
    box-shadow: 0 0 10px #0c7ff2;
    opacity: 0;
    transition: all 0.3s ease;
}

.trader-training-link:hover::after {
    opacity: 1;
    animation: badgePulse 1.5s infinite;
}

@keyframes badgePulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.trader-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, 
        transparent 0%,
        #0c7ff2 50%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.trader-training-link:hover .trader-progress-bar {
    opacity: 1;
    animation: progress 2s linear infinite;
}

@keyframes progress {
    0% {
        width: 0;
        left: 0;
    }
    50% {
        width: 100%;
        left: 0;
    }
    100% {
        width: 0;
        left: 100%;
    }
}

/* 添加浮动图标元素 */
.trader-icon {
    position: absolute;
    color: #0c7ff2;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.trader-training-link:hover .trader-icon:nth-child(4) {
    animation: traderIcon 2s ease-in-out infinite;
    top: -15px;
    right: 30px;
}

.trader-training-link:hover .trader-icon:nth-child(5) {
    animation: traderIcon 2s ease-in-out infinite 0.3s;
    top: -10px;
    right: 20px;
}

.trader-training-link:hover .trader-icon:nth-child(6) {
    animation: traderIcon 2s ease-in-out infinite 0.6s;
    top: -5px;
    right: 10px;
}

@keyframes traderIcon {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.8);
    }
    50% {
        opacity: 1;
        transform: translateY(-10px) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px) scale(0.8);
    }
}

@keyframes trader-nav-pulse {
    0% { transform: scale(1.15); }
    100% { transform: scale(1.18); }
} 