/* ================================================================
   SKILLS PAGE BACKGROUND
   Canvas network & tech dust + mobile tap hint
   ================================================================ */

#skillsCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none; /* Let clicks pass through to folders */
}

/* Ensure folders stay above the canvas */
#foldersGrid {
    position: relative;
    z-index: 1;
}

/* ── Mobile tap hint ── */
#tapHint {
    position: absolute;
    bottom: 2.5rem; /* just above scroll hint */
    left: 50%;
    transform: translateX(-50%);
    color: var(--min-text-color, #969494);
    font-size: 0.95rem;
    font-weight: 600;
    z-index: 5;
    display: none; /* hidden on PC */
    align-items: center;
    gap: 0.5rem;
    pointer-events: none;
    opacity: 0.7;
    transition: opacity 0.5s ease;
    animation: tapHintPulse 2s infinite ease-in-out;
}

#tapHint i {
    font-size: 1.1rem;
    color: var(--main-color, red);
}

/* Added by JS when user taps */
#tapHint.th-hidden {
    opacity: 0 !important;
}

@keyframes tapHintPulse {
    0%, 100% { transform: translate(-50%, 0) scale(1); }
    50%      { transform: translate(-50%, -3px) scale(1.05); }
}

/* Only show the hint on mobile where the deck layout exists */
@media (max-width: 900px) {
    #tapHint {
        display: flex; 
    }
}
