/* Media List Styles */
        .media-list {
            max-width: 800px;
            margin: 0 auto;
            background: white;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        }

        .media-list h2 {
            font-size: 2rem;
            color: #333;
            margin-bottom: 10px;
            text-align: center;
        }

        .media-list h3 {
            font-size: 1.3rem;
            color: #666;
            margin-top: 30px;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 2px solid #f59e0b;
        }

        .media-list ul {
            list-style: none;
        }

        .media-list ul li {
            margin-bottom: 15px;
        }

        .media-list ul li a {
            display: flex;
            align-items: center;
            padding: 15px 20px;
            background: #f8f9fa;
            border-radius: 10px;
            text-decoration: none;
            color: #333;
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }

        .media-list ul li a:hover {
            background: #fff;
            border-color: #f59e0b;
            transform: translateX(5px);
        }

        .media-list ul li a span {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            color: white;
            font-size: 1.1rem;
        }

        /* Popup Overlay */
        .media-popup-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            z-index: 9999;
            justify-content: center;
            align-items: center;
            animation: fadeIn 0.3s ease;
        }

        .media-popup-overlay.active {
            display: flex;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        /* Popup Content */
        .media-popup-content {
            background: transparent;
            border-radius: 0;
            padding: 0;
            max-width: 1200px;
            width: 90%;
            position: relative;
            animation: slideUp 0.4s ease;
        }

        /* Audio mode - smaller width */
        .media-popup-content.audio-mode {
            max-width: 500px;
        }

        @keyframes slideUp {
            from {
                transform: translateY(50px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        /* Close Button */
        .media-popup-close {
            position: absolute;
            top: -50px;
            right: 0;
            background: rgba(255, 255, 255, 0.9);
            border: none;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 2rem;
            color: #333;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
            z-index: 10000;
        }

        .media-popup-close:hover {
            background: white;
            transform: rotate(90deg);
        }

        /* Audio Player */
        .audio-player {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 15px;
            padding: 25px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
            max-width: 500px;
            margin: 0 auto;
        }

        .audio-player audio {
            width: 100%;
        }

        /* Video Player Container */
        .video-player-container {
            position: relative;
            width: 100%;
            padding-bottom: 56.25%; /* 16:9 aspect ratio */
            background: #000;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        }

        /* Direct Video Player */
        .video-player-container video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        /* YouTube iframe */
        .video-player-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .media-popup-close {
                top: -45px;
                width: 40px;
                height: 40px;
                font-size: 1.8rem;
            }

            .media-popup-content {
                width: 95%;
            }

            .media-list h2 {
                font-size: 1.6rem;
            }

            .media-list h3 {
                font-size: 1.1rem;
            }
        }