/* --- PODCAST PREMIUM REDESIGN --- */

/* Hero Section */
.podcast-hero {
    position: relative;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.2), rgba(0, 0, 0, 0)),
        url('https://images.unsplash.com/photo-1478737270239-2f02b77ac6d5?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover;
    border-radius: 24px;
    margin-bottom: 40px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    min-height: 300px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

.podcast-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #050510, transparent 80%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-badge {
    background: var(--primary);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 10px;
    display: inline-block;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #fff, #a0a0b0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 25px;
}

/* Grid Layout */
.podcast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding-bottom: 20px;
}

/* Premium Card */
.podcast-card-premium {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.podcast-card-premium:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Card Cover & Image (Desktop Defaults) */
/* Card Cover & Image (Desktop Defaults) */
.card-cover {
    position: relative;
    width: 100%;
    padding-top: 100%;
    /* 1:1 Aspect Ratio (Square) */
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-cover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.podcast-card-premium:hover .card-cover-img {
    transform: scale(1.1);
}

/* Gradient Overlay on Hover */
.card-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.podcast-card-premium:hover .card-cover::after {
    opacity: 1;
}


/* Card Body & Typography (Desktop) */
.card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.01), transparent);
}

.card-meta {
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 10px;
    opacity: 0.9;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: -0.5px;
    /* Truncate after 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    /* Subtle depth */
}

.card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.duration-chip {
    display: flex;
    align-items: center;
    gap: 6px;
}

.action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.action-btn:hover {
    background: white;
    color: black;
    transform: scale(1.1);
}

/* Play Overlay (Desktop) */
.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6) translateY(20px);
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 10;
}

.play-overlay:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(108, 92, 231, 0.6);
}

.podcast-card-premium:hover .play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) translateY(0);
}

.player-progress-container {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0 30px;
    font-size: 0.8rem;
    color: var(--text-gray);
}



/* Responsive specific */
@media (max-width: 768px) {
    .podcast-hero {
        padding: 30px 20px;
        min-height: 220px;
        margin-bottom: 25px;
        align-items: center;
        text-align: center;
    }

    .podcast-hero::after {
        background: linear-gradient(to top, #050510, rgba(5, 5, 16, 0.6));
    }

    .hero-content {
        width: 100%;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .podcast-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Compact Card on Mobile - High Contrast Redesign */
    .podcast-card-premium {
        flex-direction: row;
        height: auto;
        min-height: 100px;
        align-items: stretch;
        background: #181824;
        /* Solid Dark Background for readability */
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .card-cover {
        width: 100px;
        height: auto;
        /* Match parent height */
        min-height: 100px;
        padding-top: 0;
        flex-shrink: 0;
        position: relative;
    }

    .card-cover-img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .card-body {
        padding: 12px 15px;
        justify-content: center;
        align-items: flex-start;
        text-align: left;
        background: transparent;
    }

    .card-title {
        font-size: 0.9rem;
        -webkit-line-clamp: 2;
        margin-bottom: 5px;
        color: white;
        /* Ensure white text */
        text-shadow: none;
    }

    .card-meta {
        font-size: 0.65rem;
        margin-bottom: 2px;
        color: var(--accent);
    }

    .card-footer {
        padding-top: 5px;
        margin-top: auto;
        /* Push to bottom */
        border-top: none;
        width: 100%;
    }

    .play-overlay {
        transform: translate(-50%, -50%) scale(0.6);
    }
}