/* 🎵 LUNAR ECHOS - MUSIC LINKS INTEGRATION
   Separate CSS file for easy removal if needed */

/* ===== FLOATING MUSIC WIDGET ===== */
.floating-music-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.music-widget-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.music-widget-toggle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border: 2px solid var(--brand-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.music-widget-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(59, 130, 246, 0.5);
}

.music-widget-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.music-widget-toggle:hover::before {
    left: 100%;
}

.music-widget-icon {
    font-size: 24px;
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.music-platforms {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: -5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-music-widget.expanded .music-platforms {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.platform-link {
    width: 135px;
    height: 135px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    background: none;
    border: none;
    box-shadow: none;
}

.platform-link:hover {
    transform: scale(1.15);
}

.platform-icon {
    width: 123px;
    height: 123px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Tidal logo back to original */

.platform-icon svg {
    width: 100%;
    height: 100%;
    fill: white;
}

/* ===== ALBUM LINKS ON LYRICS PAGE ===== */
.album-music-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.album-link {
    width: 105px;
    height: 105px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    background: none;
    border: none;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
}

.album-link:hover {
    transform: scale(1.05);
}

.album-link-icon {
    width: 98px;
    height: 98px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.album-link-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.album-link-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.album-link-text {
    font-weight: 500;
    font-size: 14px;
}

/* ===== TRACK LINKS ON SONG PAGES ===== */
.track-music-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.track-link {
    width: 105px;
    height: 105px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: none;
    border: none;
    box-shadow: none;
}

.track-link:hover {
    transform: scale(1.15);
}

.track-link-icon {
    width: 98px;
    height: 98px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.track-link-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.track-link-icon svg {
    width: 100%;
    height: 100%;
    fill: white;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .floating-music-widget {
        bottom: 20px;
        right: 20px;
    }
    
    .music-widget-toggle {
        width: 55px;
        height: 55px;
    }
    
    .music-widget-icon {
        font-size: 22px;
    }
    
    /* Floating Widget - kleinere Logos für Mobile */
    .platform-link {
        width: 80px;
        height: 50px;
    }
    
    .platform-icon {
        width: 75px;
        height: 75px;
    }
    
    /* Album Links - horizontal auf Mobile */
    .album-music-links {
        gap: 4px;
        margin: 1.5rem 0;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .album-link-icon {
        width: 40px;
        height: 40px;
    }
    
    /* Track Links - kompakter auf Mobile */
    .track-music-links {
        gap: 4px;
        flex-wrap: wrap;
    }
    
    .track-link {
        width: 60px;
        height: 60px;
    }
    
    .track-link-icon {
        width: 55px;
        height: 55px;
    }
}

@media (max-width: 480px) {
    .floating-music-widget {
        bottom: 15px;
        right: 15px;
    }
    
    /* Floating Widget - noch kompakter auf sehr kleinen Bildschirmen */
    .platform-link {
        width: 70px;
        height: 45px;
    }
    
    .platform-icon {
        width: 65px;
        height: 65px;
    }
    
    /* Album Links - horizontal auch auf sehr kleinen Bildschirmen */
    .album-music-links {
        gap: 2px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .album-link-icon {
        width: 35px;
        height: 35px;
    }
    
    /* Track Links - noch kompakter */
    .track-link {
        width: 50px;
        height: 50px;
    }
    
    .track-link-icon {
        width: 45px;
        height: 45px;
    }
}

/* ===== ACCESSIBILITY ===== */
.platform-link:focus,
.album-link:focus,
.track-link:focus,
.music-widget-toggle:focus {
    outline: none;
}

/* ===== ANIMATIONS ===== */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.music-widget-toggle.pulse {
    animation: pulse 2s infinite;
}

/* ===== TOOLTIP STYLES REMOVED ===== */
