.roadmap-wrap {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.roadmap-svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

.road-base {
    fill: none;
    stroke: #e5e7eb;
    stroke-width: 34;
    stroke-linecap: round;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.08));
}

.road-progress {
    fill: none;
    stroke: #10B981;
    stroke-width: 34;
    stroke-linecap: round;
    transition: stroke-dashoffset 1.2s cubic-bezier(0.65, 0, 0.35, 1);
}

.road-dashes {
    fill: none;
    stroke: white;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 14 14;
}

.station { cursor: pointer; }

.station-glow {
    fill: rgba(56,189,248,0.15);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.station:hover .station-glow { opacity: 1; }

.station-dot {
    fill: white;
    stroke: #d1d5db;
    stroke-width: 4;
    transition: stroke 0.4s ease, fill 0.4s ease, transform 0.3s ease;
}
.station:hover .station-dot { transform: scale(1.08); }

.station.completed .station-dot { stroke: #10B981; fill: #ecfdf5; }
.station.current .station-dot {
    stroke: #38BDF8;
    fill: #eff6ff;
    animation: pulseStation 1.6s ease-in-out infinite;
}
.station.future .station-dot { stroke: #d1d5db; fill: white; }

@keyframes pulseStation {
    0%, 100% { filter: drop-shadow(0 0 0px rgba(56,189,248,0.6)); }
    50% { filter: drop-shadow(0 0 10px rgba(56,189,248,0.8)); }
}

.station-icon-wrap {
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    color: #0369a1;
    font-size: 14px;
}

.station-label {
    font-size: 13px;
    font-weight: 600;
    fill: #111827;
}

.bus {
    transition: transform 1.2s cubic-bezier(0.65, 0, 0.35, 1);
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.25));
}

.bus-shadow { fill: rgba(0,0,0,0.18); filter: blur(2px); }

.bus-body {
    fill: #FBBF24;
    stroke: #92650a;
    stroke-width: 1;
}
.bus-hood {
    fill: #FBBF24;
    stroke: #92650a;
    stroke-width: 1;
}

.bus-window { fill: #1f2937; }
.bus-window-front { fill: #1f2937; }

.bus-stripe { fill: #92650a; opacity: 0.5; }

.bus-door { fill: #1f2937; opacity: 0.85; }

.bus-bumper { fill: #374151; }

.bus-wheel-outer {
    fill: #111827;
    transform-origin: center;
    animation: spinWheel 0.6s linear infinite;
    animation-play-state: paused;
}
.bus-wheel-inner {
    fill: #9ca3af;
    transform-origin: center;
    animation: spinWheel 0.6s linear infinite;
    animation-play-state: paused;
}
.bus.moving .bus-wheel-outer,
.bus.moving .bus-wheel-inner { animation-play-state: running; }

@keyframes spinWheel {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.roadmap-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(4px);
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.roadmap-popup-overlay.open { display: flex; }

.roadmap-popup {
    position: relative;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    max-width: 460px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 28px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.25);
    transform: translateY(30px) scale(0.96);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}
.roadmap-popup-overlay.open .roadmap-popup {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.roadmap-popup h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 4px; }
.roadmap-popup .popup-caption { color: #6B7280; font-size: 0.9rem; margin-bottom: 16px; }
.roadmap-popup .popup-section { margin-bottom: 16px; }
.roadmap-popup .popup-section h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0369a1;
    margin-bottom: 6px;
}
.roadmap-popup .popup-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.roadmap-popup .popup-close {
    position: absolute;
    top: 16px; right: 16px;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #6B7280;
}

.station-icon-wrap i,
.arch-icon-wrap i {
    display: inline-block;
    font-size: 14px;
    line-height: 28px;
    width: 100%;
    text-align: center;
}