.tour-hud {
    position: fixed;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.tour-hud.tour-hud-visible {
    opacity: 1;
    pointer-events: auto;
}

.tour-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
}

.tour-dot::after {
    content: attr(data-label);
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(220, 230, 255, 0.6);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    font-family: inherit;
}

.tour-dot:hover::after {
    opacity: 1;
}

.tour-dot.tour-dot-active {
    width: 10px;
    height: 10px;
    background: var(--blue, #64a0ff);
    border-color: rgba(100, 160, 255, 0.8);
    box-shadow: 0 0 12px rgba(100, 160, 255, 0.6), 0 0 24px rgba(100, 160, 255, 0.2);
}

.tour-dot.tour-dot-visited {
    background: rgba(100, 255, 180, 0.35);
    border-color: rgba(100, 255, 180, 0.4);
}

.tour-skip-btn {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: rgba(10, 15, 45, 0.85);
    border: 1px solid rgba(100, 160, 255, 0.3);
    border-radius: 100px;
    padding: 10px 24px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(220, 230, 255, 0.6);
    cursor: pointer;
    backdrop-filter: blur(14px);
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
    font-family: inherit;
}

.tour-skip-btn.tour-skip-visible {
    opacity: 1;
    pointer-events: auto;
}

.tour-skip-btn:hover {
    background: rgba(100, 160, 255, 0.15);
    border-color: rgba(100, 160, 255, 0.6);
    color: #fff;
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 8px 24px rgba(100, 160, 255, 0.2);
}

.tour-flash {
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.tour-flash-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(100, 160, 255, 0.8), rgba(100, 255, 180, 0.5), transparent);
    transform: scaleX(0);
    transform-origin: left;
}

.tour-flash-line-top {
    top: 0;
}

.tour-flash-line-bottom {
    bottom: 0;
}

.tour-section-name {
    font-size: clamp(1.5rem, 4vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(100, 160, 255, 0.5);
    white-space: nowrap;
    opacity: 0;
    transform: translateY(20px);
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.tour-glow-ring {
    position: fixed;
    border-radius: 50%;
    border: 1px solid rgba(100, 160, 255, 0.3);
    pointer-events: none;
    z-index: 9997;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
    transition: none;
    mix-blend-mode: screen;
}

.tour-scanline {
    position: fixed;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(100, 160, 255, 0.4) 30%, rgba(100, 255, 180, 0.3) 70%, transparent 100%);
    pointer-events: none;
    z-index: 9996;
    opacity: 0;
    box-shadow: 0 0 12px rgba(100, 160, 255, 0.3);
}

@keyframes tourScanMove {
    0% {
        top: -10px;
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    95% {
        opacity: 0.6;
    }

    100% {
        top: 100vh;
        opacity: 0;
    }
}

@keyframes tourFlashLine {
    0% {
        transform: scaleX(0);
        opacity: 1;
    }

    50% {
        transform: scaleX(1);
        opacity: 0.7;
    }

    100% {
        transform: scaleX(1);
        opacity: 0;
    }
}

@keyframes tourNameReveal {
    0% {
        opacity: 0;
        transform: translateY(16px);
    }

    20% {
        opacity: 1;
        transform: translateY(0);
    }

    70% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-12px);
    }
}

@keyframes tourGlowRingExpand {
    0% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(0);
    }

    60% {
        opacity: 0.4;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes tourSectionPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(100, 160, 255, 0);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(100, 160, 255, 0.06), 0 0 60px rgba(100, 160, 255, 0.08);
    }
}

.tour-section-highlight {
    animation: tourSectionPulse 2s ease-in-out;
    border-radius: 28px;
}

@media (max-width: 768px) {
    .tour-hud {
        right: 14px;
        gap: 8px;
    }

    .tour-dot::after {
        display: none;
    }

    .tour-skip-btn {
        bottom: 20px;
        font-size: 0.72rem;
        padding: 8px 18px;
    }

    .tour-section-name {
        font-size: 1.2rem;
    }
}