
/* ==========================================================================
   Desktop Scroll Guides (两侧对焦刻度悬浮滚动指示)
   ========================================================================== */
.scroll-guides-wrap {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 600ms cubic-bezier(0.25, 1, 0.5, 1);
}

/* Triggered by IntersectionObserver when interactive canvas is in view */
.scroll-guides-wrap.is-visible {
    opacity: 1;
}

.scroll-guide {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 1.1rem;
    pointer-events: auto; /* Enable hover activation on the sidebar guides */
    padding: 2.2rem 1.2rem;
    cursor: default;
}

.scroll-guide-left {
    left: 2rem;
}

.scroll-guide-right {
    right: 2rem;
    flex-direction: row-reverse;
}

/* Focused Ruler Track */
.guide-ruler {
    position: relative;
    width: 6px;
    height: 160px;
    background: repeating-linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.15) 0px, 
        rgba(255, 255, 255, 0.15) 1px, 
        transparent 1px, 
        transparent 8px
    );
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    transition: border-color 300ms ease, background 300ms ease;
}

/* Shutter Focus Indicator / Pointer */
.guide-pointer {
    position: absolute;
    left: -2px;
    width: 10px;
    height: 2px;
    background: var(--accent); /* Champagne gold accent */
    box-shadow: 0 0 10px var(--accent);
    top: 0%;
    transform: translateY(-50%);
    will-change: top;
    transition: top 120ms cubic-bezier(0.1, 0.8, 0.2, 1);
}

/* Tooltip Labels */
.guide-label-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    opacity: 0.12;
    transform: scale(0.94);
    transition: opacity 400ms ease, transform 400ms ease, color 300ms ease;
}

.scroll-guide-left .guide-label-wrap {
    transform-origin: left center;
}

.scroll-guide-right .guide-label-wrap {
    transform-origin: right center;
}

/* Auto-highlight when the interactive section is visible to draw attention */
.scroll-guides-wrap.is-visible .guide-label-wrap {
    opacity: 0.68;
    transform: scale(1);
}

.scroll-guides-wrap.is-visible .guide-ruler {
    border-color: rgba(255, 255, 255, 0.15);
    background: repeating-linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.3) 0px, 
        rgba(255, 255, 255, 0.3) 1px, 
        transparent 1px, 
        transparent 8px
    );
}

/* Hover State Interactions (Fully highlight) */
.scroll-guide:hover .guide-label-wrap {
    opacity: 0.98;
    transform: scale(1.02);
}

.scroll-guide:hover .guide-ruler {
    border-color: rgba(227, 214, 195, 0.4);
    background: repeating-linear-gradient(to bottom, 
        rgba(227, 214, 195, 0.45) 0px, 
        rgba(227, 214, 195, 0.45) 1px, 
        transparent 1px, 
        transparent 8px
    );
}

.guide-arrow {
    font-size: 0.8rem;
    color: var(--accent);
    animation: guideArrowDown 1.8s infinite ease-in-out;
}

.guide-text {
    font-family: var(--font-ui);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    color: var(--text-soft);
    writing-mode: vertical-lr; /* Vertical text block */
    text-transform: uppercase;
}

/* Animations */
@keyframes guideArrowDown {
    0% { transform: translateY(-4px); opacity: 0.3; }
    50% { transform: translateY(4px); opacity: 1; }
    100% { transform: translateY(-4px); opacity: 0.3; }
}

/* Hide on mobile devices, since scroll trapping is desktop-only issue */
@media (max-width: 1024px) {
    .scroll-guides-wrap {
        display: none !important;
    }
}


