/* Persistent audio player */
.persistent-audio-player {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
}

.audio-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    font-family: inherit;
}

.audio-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.audio-toggle.playing {
    animation: pulse 2s ease-in-out infinite;
}

.audio-icon {
    font-size: 1.2rem;
    line-height: 1;
}

.audio-text {
    font-size: 0.9rem;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }
    50% {
        box-shadow: 0 4px 25px rgba(160, 80, 60, 0.5);
    }
}

/* First visit pointer animation */
.party-pointer {
    position: fixed;
    bottom: 85px;
    left: 130px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    animation: fadeInBounce 0.5s ease-out;
    pointer-events: none;
}

.party-pointer.hidden {
    display: none;
}

.party-text {
    color: var(--primary-color);
    padding: 0.5rem 1rem 0 1rem;
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    line-height: 1;
    margin-bottom: 0.1rem;
}

.party-arrow {
    font-size: 2.5rem;
    animation: pointBounce 1s ease-in-out infinite;
    line-height: 1;
    margin-top: 0.1rem;
}

@keyframes fadeInBounce {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pointBounce {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-8px, 8px);
    }
}

@media (max-width: 768px) {
    .persistent-audio-player {
        bottom: 80px;
        left: 10px;
    }

    .audio-toggle {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .audio-text {
        font-size: 0.85rem;
    }

    .party-pointer {
        bottom: 160px;
        left: 20px;
    }

    .party-text {
        font-size: 0.95rem;
        padding: 0.6rem 1.2rem;
    }

    .party-arrow {
        font-size: 2rem;
    }
}
