/* ==========================================================================
   PODCAST MODAL SYSTEM
   ========================================================================== */
.podcast-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.podcast-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.podcast-modal {
    background: var(--glass-bg, rgba(255, 255, 255, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: var(--shadow-strong, 0 20px 40px rgba(0, 0, 0, 0.15)), 
                inset 0 1px 1px rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 32px;
    width: 90%;
    max-width: 440px;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-sizing: border-box;
}

.night-theme .podcast-modal {
    background: rgba(20, 20, 25, 0.75);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 
                inset 0 1px 0px rgba(255, 255, 255, 0.15);
}

.podcast-modal-overlay.active .podcast-modal {
    transform: scale(1) translateY(0);
}

.podcast-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-secondary);
    opacity: 0.6;
    transition: opacity 0.2s ease, transform 0.2s ease;
    line-height: 1;
    padding: 4px;
}

.podcast-modal-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.podcast-modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.podcast-modal-icon {
    font-size: 44px;
    margin-bottom: 12px;
}

.podcast-modal-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color, #a85751);
    margin: 0 0 8px 0;
}

.podcast-modal-header p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
    opacity: 0.8;
}

.podcast-modal-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.podcast-option-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 16px 20px;
    background: var(--glass-bg-hover, rgba(255, 255, 255, 0.4));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    text-align: left;
    box-sizing: border-box;
}

.night-theme .podcast-option-btn {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.05);
}

.podcast-option-btn:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.night-theme .podcast-option-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 推荐项突出显示 */
.podcast-option-btn.primary {
    background: linear-gradient(135deg, rgba(168, 87, 81, 0.15) 0%, rgba(168, 87, 81, 0.05) 100%);
    border-color: rgba(168, 87, 81, 0.3);
}

.night-theme .podcast-option-btn.primary {
    background: linear-gradient(135deg, rgba(168, 87, 81, 0.25) 0%, rgba(168, 87, 81, 0.08) 100%);
    border-color: rgba(168, 87, 81, 0.4);
}

.podcast-option-btn.primary:hover {
    background: linear-gradient(135deg, rgba(168, 87, 81, 0.22) 0%, rgba(168, 87, 81, 0.1) 100%);
    border-color: rgba(168, 87, 81, 0.5);
    box-shadow: 0 4px 16px rgba(168, 87, 81, 0.15);
}

.option-icon {
    font-size: 26px;
    margin-right: 18px;
    flex-shrink: 0;
}

.option-content {
    display: flex;
    flex-direction: column;
}

.option-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.podcast-option-btn.primary .option-title {
    color: var(--primary-color, #a85751);
}

.option-desc {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 4px;
    line-height: 1.4;
    opacity: 0.85;
}

/* 移动端细微调整 */
@media (max-width: 480px) {
    .podcast-modal {
        padding: 24px 20px;
    }
    
    .podcast-option-btn {
        padding: 14px 16px;
    }
    
    .option-icon {
        margin-right: 14px;
        font-size: 22px;
    }
    
    .option-title {
        font-size: 14px;
    }
    
    .option-desc {
        font-size: 10px;
    }
}
