/**
 * Copyright (c) 2026 DNA Genics, S.L. All rights reserved.
 * 
 * Podcast landing page styles.
 */

:root {
    --podcast-bg: #0f1419;
    --podcast-surface: #1a1f26;
    --podcast-accent: #1DB954;
    --podcast-accent-hover: #1ed760;
    --podcast-text: #e8e6e3;
    --podcast-text-muted: #8b949e;
    --podcast-border: rgba(255, 255, 255, 0.08);
    --podcast-card-bg: #161b22;
    --podcast-radius: 12px;
}

.podcast-page {
    background: var(--podcast-bg);
    color: var(--podcast-text);
    min-height: 100vh;
}

/* Hero Section */
.podcast-hero {
    padding: 100px 0 60px;
    background: linear-gradient(180deg, rgba(29, 185, 84, 0.06) 0%, transparent 100%);
    border-bottom: 1px solid var(--podcast-border);
}

.podcast-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(29, 185, 84, 0.15);
    color: var(--podcast-accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.podcast-hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 16px;
}

.podcast-hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--podcast-text-muted);
    max-width: 560px;
}

.podcast-hero-stats {
    display: flex;
    gap: 24px;
    margin-top: 20px;
}

.podcast-hero-stat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--podcast-text-muted);
}

.podcast-hero-stat i {
    color: var(--podcast-accent);
}

.podcast-hero-cover {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Subscribe Buttons */
.podcast-subscribe-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.podcast-subscribe-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.podcast-subscribe-btn--spotify {
    background: var(--podcast-accent);
    color: #fff;
}

.podcast-subscribe-btn--spotify:hover {
    background: var(--podcast-accent-hover);
    color: #fff;
    transform: translateY(-2px);
    text-decoration: none;
}

.podcast-subscribe-btn--rss {
    background: rgba(255, 255, 255, 0.08);
    color: var(--podcast-text);
    border: 1px solid var(--podcast-border);
}

.podcast-subscribe-btn--rss:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Episodes Section */
.podcast-episodes {
    padding: 60px 0 80px;
}

.podcast-episodes-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--podcast-border);
}

.podcast-episodes-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.podcast-episodes-title i {
    color: var(--podcast-accent);
    margin-right: 8px;
}

.podcast-episodes-count {
    font-size: 0.875rem;
    color: var(--podcast-text-muted);
    margin: 0;
}

/* Episode Card */
.podcast-episode-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.podcast-episode-card {
    background: var(--podcast-card-bg);
    border: 1px solid var(--podcast-border);
    border-radius: var(--podcast-radius);
    padding: 24px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.podcast-episode-card:hover {
    border-color: rgba(29, 185, 84, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.podcast-episode-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.podcast-episode-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.podcast-episode-date,
.podcast-episode-region,
.podcast-episode-duration {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--podcast-text-muted);
}

.podcast-episode-date i,
.podcast-episode-region i,
.podcast-episode-duration i {
    color: var(--podcast-accent);
    font-size: 0.75rem;
}

/* Episode Badges */
.podcast-episode-badges {
    display: flex;
    gap: 8px;
}

.podcast-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.podcast-badge--spotify {
    background: rgba(29, 185, 84, 0.15);
    color: var(--podcast-accent);
}

.podcast-badge--spotify:hover {
    background: rgba(29, 185, 84, 0.25);
    color: var(--podcast-accent-hover);
    text-decoration: none;
}

.podcast-episode-title {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
}

.podcast-episode-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.podcast-episode-title a:hover {
    color: var(--podcast-accent);
    text-decoration: none;
}

.podcast-episode-description {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--podcast-text-muted);
    margin-bottom: 16px;
}

/* Embedded Audio Player */
.podcast-episode-player {
    margin-bottom: 16px;
}

.podcast-audio-player {
    width: 100%;
    height: 40px;
    border-radius: 8px;
    filter: invert(1) hue-rotate(180deg) brightness(0.8) contrast(1.2);
}

.podcast-episode-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.podcast-episode-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--podcast-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

.podcast-episode-link:hover {
    color: var(--podcast-accent-hover);
    text-decoration: none;
}

.podcast-episode-link--spotify {
    color: var(--podcast-text-muted);
    border-left: 1px solid var(--podcast-border);
    padding-left: 16px;
}

.podcast-episode-link--spotify:hover {
    color: var(--podcast-accent);
}

/* Empty State */
.podcast-empty {
    text-align: center;
    padding: 80px 20px;
}

.podcast-empty-icon {
    font-size: 3rem;
    color: var(--podcast-text-muted);
    margin-bottom: 20px;
}

.podcast-empty h3 {
    color: #fff;
    margin-bottom: 8px;
}

.podcast-empty p {
    color: var(--podcast-text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .podcast-hero {
        padding: 80px 0 40px;
    }

    .podcast-hero-title {
        font-size: 2rem;
    }

    .podcast-hero-subtitle {
        font-size: 1rem;
    }

    .podcast-hero-stats {
        flex-direction: column;
        gap: 8px;
    }

    .podcast-subscribe-buttons {
        flex-direction: column;
    }

    .podcast-subscribe-btn {
        justify-content: center;
    }

    .podcast-episodes-header {
        flex-direction: column;
        gap: 8px;
    }

    .podcast-episode-card {
        padding: 16px;
    }

    .podcast-episode-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .podcast-episode-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .podcast-episode-link--spotify {
        border-left: none;
        padding-left: 0;
    }
}
