/* =========================== */
/* A-Z Alphabet Navigator      */
/* =========================== */

.alpha-nav {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1500;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 10px 6px;
    background: rgba(30, 30, 35, 0.7);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 50px;
    /* Match button size */
}

/* Show when hero is dismissed */
.alpha-nav.visible {
    opacity: 1;
}

.alpha-nav .alpha-letter {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    width: 100%;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 4px;
}

/* Letter is active (visible on screen) */
.alpha-nav .alpha-letter.active {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    background: rgba(236, 84, 147, 0.6);
    text-shadow: 0 0 8px rgba(236, 84, 147, 0.8);
    transform: scale(1.2);
    height: 22px;
}

/* Letter has content but not visible */
.alpha-nav .alpha-letter.has-content {
    color: rgba(255, 255, 255, 0.7);
}

/* Hover effect */
.alpha-nav .alpha-letter:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.2);
}

/* Special styling for # (numbers) */
.alpha-nav .alpha-letter[data-letter="#"] {
    font-size: 9px;
}

/* Hide on small screens */
@media (max-width: 1200px) {
    .alpha-nav {
        display: none;
    }
}