.back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.back-button:hover {
    background: var(--card-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 255, 102, 0.2);
    border-color: var(--green-accent);
    color: var(--green-accent);
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' height='22' width='22'><text y='16' font-size='16' fill='%2366ff66'>♫</text></svg>"), auto !important;
}

.song-hero {
    text-align: center;
    padding: 60px 20px;
    position: relative;
    margin-bottom: 40px;
}

.song-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 900;
    background: var(--green-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    text-shadow: 0 0 30px rgba(102, 255, 102, 0.5);
}

.artist-name {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 300;
}

.cover-container {
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
}

.cover-image {
    width: clamp(250px, 50vw, 400px);
    height: clamp(250px, 50vw, 400px);
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    object-fit: cover;
}

.cover-image:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(102, 255, 102, 0.3);
}

.audio-player {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    margin: 30px auto;
    max-width: 600px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.preview-label {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--green-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.audio-player audio {
    width: 100%;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
}

.video-container {
    margin: 40px auto;
    max-width: 800px;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
}

.platforms-section {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 40px;
    margin: 40px 0;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    background: var(--green-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    list-style: none;
}

.platform-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 0;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.platform-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.platform-item:hover::before {
    left: 100%;
}

.platform-item .platform-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    padding: 20px;
    width: 100%;
    height: 100%;
    min-height: 60px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.platform-item .platform-link:hover {
    color: var(--green-accent);
}

.platform-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    width: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.coming-soon {
    color: var(--text-secondary);
    font-style: italic;
    opacity: 0.7;
}

.share-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--green-gradient);
    color: var(--dark-bg);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    margin: 30px auto;
    display: block;
    width: fit-content;
    box-shadow: 0 5px 15px rgba(102, 255, 102, 0.4);
}

.share-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 255, 102, 0.6);
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' height='22' width='22'><text y='16' font-size='16' fill='%230f0f23'>♫</text></svg>"), auto !important;
}

.share-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    padding: 40px;
    z-index: 1000;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    max-width: 90%;
    width: 400px;
}

.share-popup.active {
    display: block;
}

.share-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.share-popup-close:hover {
    color: var(--green-accent);
    background: rgba(102, 255, 102, 0.1);
}

.share-popup-title {
    margin-bottom: 20px;
    font-size: 1.5rem;
    background: var(--green-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.share-popup-input {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-family: inherit;
}

.share-popup-input:focus {
    outline: none;
    border-color: var(--green-accent);
    box-shadow: 0 0 0 3px rgba(102, 255, 102, 0.2);
}

.share-popup-button {
    background: var(--green-gradient);
    color: var(--dark-bg);
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}

.share-popup-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 255, 102, 0.4);
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 999;
}

.overlay.active {
    display: block;
}

.error-container {
    max-width: 800px;
    margin: 60px auto;
    padding: 40px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.error-container h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.song-list {
    list-style: none;
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.song-list a {
    color: var(--green-accent);
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.song-list a:hover {
    background: rgba(102, 255, 102, 0.1);
    transform: translateY(-2px);
    border-color: var(--green-accent);
}

.related-songs {
    margin: 60px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.related-songs h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    background: var(--green-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.related-songs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.related-song-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.related-song-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(102, 255, 102, 0.15);
    border-color: var(--green-accent);
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' height='22' width='22'><text y='16' font-size='16' fill='%2366ff66'>♫</text></svg>"), auto !important;
}

.related-song-cover {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-song-card:hover .related-song-cover {
    transform: scale(1.05);
}

.related-song-info {
    padding: 20px;
}

.related-song-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--green-accent);
}

.related-song-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

#copyMessage {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--green-accent);
    display: none;
}

/* Mobile Optimierung für Song-Seite */
@media (max-width: 768px) {
    .song-hero {
        padding: 40px 15px;
    }
    
    .cover-image {
        width: 100%;
        max-width: 300px;
        height: auto;
    }
    
    .audio-player {
        padding: 20px;
        margin: 20px auto;
    }
    
    .platforms-section {
        padding: 25px;
        margin: 25px 0;
    }
    
    .platforms-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .video-container {
        margin: 30px auto;
    }
    
    .related-songs-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .share-popup {
        width: 95%;
        padding: 25px;
    }
    
    .platform-item .platform-link {
        padding: 18px;
        min-height: 55px;
        font-size: 1rem;
    }
    
    .platform-icon {
        font-size: 1.3rem;
        margin-right: 12px;
        width: 25px;
    }
}

@media (max-width: 480px) {
    .platforms-grid {
        grid-template-columns: 1fr;
    }
    
    .share-popup {
        padding: 20px;
    }

    .back-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .platform-item .platform-link {
        padding: 15px;
        min-height: 50px;
        font-size: 0.95rem;
    }
    
    .platform-icon {
        font-size: 1.2rem;
        margin-right: 10px;
        width: 22px;
    }
}
