<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/**
 * Share Modal Component
 * 
 * Features:
 * - Slide animations from top (audio players) or bottom (video player)
 * - Platform-specific social sharing buttons with gradients
 * - Responsive grid layout
 * - Backdrop blur effect
 * - Touch-friendly mobile interface
 * - Copy-to-clipboard functionality
 * 
 * Usage:
 * Audio Players (song-player.php, mixtape-player.php): .share-modal.slide-from-top
 * Video Player (video-player.php): .share-modal.slide-from-bottom
 */

/* Base Share Modal Styles */
.share-modal {
    position: fixed;
    left: 0;
    right: 0;
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 40px 20px 30px 20px;
    border-radius: 25px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    max-height: 70vh;
    overflow-y: auto;
}

/* Slide Animation Variants */
.share-modal.slide-from-top {
    top: -100%;
    border-radius: 0 0 25px 25px;
}

.share-modal.slide-from-top.active {
    top: 0;
}

.share-modal.slide-from-bottom {
    bottom: -100%;
    border-radius: 25px 25px 0 0;
}

.share-modal.slide-from-bottom.active {
    bottom: 0;
}

/* Legacy support for existing implementations */
.share-modal:not(.slide-from-top):not(.slide-from-bottom) {
    /* Default to top for audio players */
    top: -100%;
    border-radius: 0 0 25px 25px;
    transition: top 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.share-modal:not(.slide-from-top):not(.slide-from-bottom).active {
    top: 0;
}

/* Header */
.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.share-modal-header h3 {
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

/* Close Button */
.close-modal {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Share Options Grid */
.share-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s ease;
    text-decoration: none;
}

.share-option:hover {
    transform: scale(1.1);
}

/* Share Icon */
.share-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.share-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.share-option:hover .share-icon::before {
    opacity: 1;
}

/* Share Label */
.share-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
}

/* Platform-Specific Brand Colors */
.share-icon.copylink { 
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%); 
}

.share-icon.whatsapp { 
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%); 
}

.share-icon.facebook { 
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%); 
}

.share-icon.x { 
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%); 
}

.share-icon.email { 
    background: linear-gradient(135deg, #ea4335 0%, #d33b2c 100%); 
}

.share-icon.sms { 
    background: linear-gradient(135deg, #34c759 0%, #30a14e 100%); 
}

.share-icon.telegram { 
    background: linear-gradient(135deg, #0088cc 0%, #006ba1 100%); 
}

.share-icon.linkedin { 
    background: linear-gradient(135deg, #0077b5 0%, #005885 100%); 
}

.share-icon.reddit { 
    background: linear-gradient(135deg, #ff4500 0%, #cc3600 100%); 
}

/* Backdrop */
.share-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.share-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 1001;
    opacity: 0;
    transition: all 0.3s ease;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .share-modal {
        padding: 30px 15px 25px 15px;
        max-height: 80vh;
    }
    
    .share-modal-header h3 {
        font-size: 1.2rem;
    }
    
    .share-grid {
        grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
        gap: 15px;
        max-width: 100%;
    }
    
    .share-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
        margin-bottom: 6px;
    }
    
    .share-label {
        font-size: 0.75rem;
    }
    
    .close-modal {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .share-modal {
        padding: 25px 12px 20px 12px;
    }
    
    .share-modal-header {
        margin-bottom: 20px;
        padding-bottom: 12px;
    }
    
    .share-modal-header h3 {
        font-size: 1.1rem;
    }
    
    .share-grid {
        grid-template-columns: repeat(auto-fit, minmax(65px, 1fr));
        gap: 12px;
    }
    
    .share-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
        border-radius: 12px;
    }
    
    .share-label {
        font-size: 0.7rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .share-option:hover {
        transform: none;
    }
    
    .share-option:active {
        transform: scale(0.95);
    }
    
    .close-modal:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: none;
    }
    
    .close-modal:active {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(0.95);
    }
    
    .share-icon::before {
        display: none;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .share-modal {
        border: 2px solid white;
    }
    
    .share-modal-header {
        border-bottom-color: white;
    }
    
    .share-icon {
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .share-modal {
        transition: opacity 0.2s ease;
    }
    
    .share-modal.slide-from-top,
    .share-modal.slide-from-bottom {
        transition: opacity 0.2s ease;
    }
    
    .share-option {
        transition: none;
    }
    
    .share-icon {
        transition: none;
    }
    
    .share-icon::before {
        transition: none;
    }
    
    .close-modal {
        transition: background-color 0.2s ease;
    }
    
    .toast {
        transition: opacity 0.2s ease;
    }
}</pre></body></html>