/* assets/css/stations.css - 详情页面专属样式 */

/* 铁路线视觉布局 */
.rail-line-visual {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    height: 100px;
}

.rail-end-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    min-width: 100px;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px;
    border-radius: 8px;
}

.rail-end-point:hover {
    transform: translateY(-5px);
    background: rgba(0, 0, 0, 0.2);
}

.rail-point-name {
    font-size: 0.95rem;
    text-align: center;
    margin: 8px 0;
    font-weight: 500;
}

.rail-point-arrow {
    font-size: 1.5rem;
    animation: arrowBounce 2s infinite;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* 移动端调整 */
@media (max-width: 768px) {
    .rail-line-visual {
        flex-direction: column;
        height: auto;
    }
    
    .rail-track-container {
        width: 100%;
        height: 70px;
        margin: 20px 0;
        order: 2;
    }
    
    .rail-end-point {
        flex-direction: row;
        width: 100%;
        margin: 10px 0;
        justify-content: space-between;
    }
    
    .rail-point-arrow {
        transform: rotate(90deg);
    }
}