/* PODCAST UNLOCK MODAL STYLES */

/* Podcast Modal Overlay */
.podcast-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: podcast-fadeIn 0.5s;
}

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

/* Podcast Content Container */
.podcast-content {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    border: 3px solid #FFD700;
    border-radius: 20px;
    padding: 40px;
    max-width: 1000px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: podcast-slideIn 0.5s;
}

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

/* Podcast Header */
.podcast-header {
    text-align: center;
    margin-bottom: 30px;
}

.podcast-header h2 {
    color: #FFD700;
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.podcast-header .subtitle {
    font-size: 1.3em;
    color: #FFA500;
    margin-bottom: 20px;
}

/* Character Card with Golden Effect */
.character-card {
    width: 300px;
    height: auto;
    margin: 0 auto 30px;
    display: block;
    border: 4px solid #FFD700;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8), 
                0 0 60px rgba(255, 215, 0, 0.4);
    animation: golden-pulse 1.5s ease-in-out infinite;
}

@keyframes golden-pulse {
    0%, 100% {
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.8), 
                    0 0 60px rgba(255, 215, 0, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 215, 0, 1), 
                    0 0 80px rgba(255, 215, 0, 0.6);
        transform: scale(1.02);
    }
}

/* Character Name */
.character-name {
    text-align: center;
    font-size: 2em;
    color: #FFD700;
    margin-bottom: 30px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Videos Container */
.videos-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.video-section {
    text-align: center;
}

.video-section h3 {
    color: #FFD700;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid #FFD700;
    border-radius: 10px;
}

/* Close Hint */
.close-hint {
    text-align: center;
    margin-top: 30px;
    color: #999;
    font-style: italic;
    font-size: 0.9em;
}

/* Podcast Confetti Animation */
.podcast-confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    pointer-events: none;
    z-index: 10001;
}

@keyframes podcast-confetti-fall {
    to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .videos-container {
        grid-template-columns: 1fr;
    }

    .podcast-content {
        padding: 20px;
        width: 95%;
    }

    .podcast-header h2 {
        font-size: 1.8em;
    }

    .character-card {
        width: 250px;
    }

    .character-name {
        font-size: 1.5em;
    }

    .video-section h3 {
        font-size: 1.2em;
    }
}

/* Scrollbar Styling for Modal */
.podcast-content::-webkit-scrollbar {
    width: 8px;
}

.podcast-content::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 10px;
}

.podcast-content::-webkit-scrollbar-thumb {
    background: #FFD700;
    border-radius: 10px;
}

.podcast-content::-webkit-scrollbar-thumb:hover {
    background: #FFA500;
}

/* PODCAST SELECTION MODAL STYLES */

/* Selection Modal Specific */
.podcast-selection-modal {
    background: rgba(0, 0, 0, 0.97);
}

.selection-content {
    max-width: 1200px;
    padding: 40px;
}

/* Podcast Grid */
.podcast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

/* Podcast Option Card */
.podcast-option {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 3px solid #555;
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.podcast-option:hover {
    border-color: #FFD700;
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.6);
}

.podcast-option:hover .podcast-thumb {
    filter: brightness(1.2);
}

/* Podcast Thumbnail */
.podcast-thumb {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 2px solid #444;
    transition: all 0.3s ease;
}

/* Podcast Name */
.podcast-option .podcast-name {
    font-size: 1.1em;
    color: #FFD700;
    margin-bottom: 10px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Unlock Button in Option */
.unlock-btn {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 0.95em;
    transition: all 0.3s ease;
}

.podcast-option:hover .unlock-btn {
    background: linear-gradient(135deg, #FFA500 0%, #FFD700 100%);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.8);
}

/* Close Selection Button */
.close-selection-btn {
    display: block;
    margin: 30px auto 0;
    padding: 15px 40px;
    background: #555;
    color: #fff;
    border: 2px solid #777;
    border-radius: 12px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-selection-btn:hover {
    background: #666;
    border-color: #999;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

/* Responsive for Selection Modal */
@media (max-width: 768px) {
    .podcast-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .selection-content {
        padding: 20px;
    }

    .podcast-option .podcast-name {
        font-size: 0.95em;
    }

    .unlock-btn {
        padding: 8px 15px;
        font-size: 0.85em;
    }
}

@media (max-width: 480px) {
    .podcast-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .podcast-option {
        padding: 10px;
    }

    .unlock-btn {
        padding: 6px 12px;
        font-size: 0.8em;
    }
}

