/* ============================================================
   VISUAL ENHANCEMENTS
   Additive polish layer on top of main.css
   ============================================================ */

/* ── Typography: Inter for body text ───────────────────── */
body {
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* ── Section title: accent underline bar ───────────────── */
.section-title {
    position: relative;
    padding-bottom: 22px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 52px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

/* Space below section titles now that underline exists */
.page-home .section-title {
    margin-bottom: 60px;
}

/* Resources page uses explicit .section-divider elements — suppress the ::after duplicate */
.page-resources .section-title::after {
    display: none;
}

/* ── Hero: CTA button and platform strip ────────────────── */
.hero-cta {
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 0.8s ease 0.6s forwards;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 20px rgba(255, 127, 61, 0.45);
}

.hero-btn:hover {
    background: #e66f35;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 127, 61, 0.55);
}

.hero-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 8px;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    transition: all 0.2s ease;
}

.hero-btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.7);
    color: white;
    background: rgba(255, 255, 255, 0.06);
}

.hero-platforms {
    opacity: 0;
    transform: translateY(15px);
    animation: heroFadeUp 0.8s ease 0.9s forwards;
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-platforms-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.4);
    width: 100%;
    text-align: center;
    margin-bottom: 4px;
}

.hero-platform-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.05);
    white-space: nowrap;
}

.hero-platform-link:hover {
    border-color: rgba(255, 255, 255, 0.45);
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.hero-platform-link i {
    font-size: 1rem;
}

/* ── Episode cards: badges ──────────────────────────────── */
.episode-artwork {
    position: relative;
}

.ep-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 18, 52, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.68rem;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    z-index: 2;
    line-height: 1.5;
}

.ep-badge-new {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent);
    color: white;
    font-size: 0.63rem;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 2;
    line-height: 1.5;
    animation: badge-pulse 2.5s ease infinite;
}

@keyframes badge-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.72; }
}

/* Artwork image zoom on card hover */
.page-home .episode-artwork img {
    transition: transform 0.45s ease;
}

.page-home .episode-card:hover .episode-artwork img {
    transform: scale(1.05);
}

/* Refined card shadows */
.page-home .episode-card {
    box-shadow: 0 2px 8px rgba(0, 20, 60, 0.07);
}

.page-home .episode-card:hover {
    box-shadow: 0 14px 44px rgba(0, 46, 109, 0.2);
    transform: translateY(-6px);
}

/* ── Listen On: platform brand-color hover ──────────────── */
.listen-link.apple:hover {
    border-color: #9B59B6;
    box-shadow: 0 4px 14px rgba(155, 89, 182, 0.18);
}

.listen-link.spotify:hover {
    border-color: #1DB954;
    box-shadow: 0 4px 14px rgba(29, 185, 84, 0.18);
}

.listen-link.amazon:hover {
    border-color: #00A8E1;
    box-shadow: 0 4px 14px rgba(0, 168, 225, 0.18);
}

.listen-link.rss:hover {
    border-color: #FF6600;
    box-shadow: 0 4px 14px rgba(255, 102, 0, 0.18);
}

/* ── Host images: gradient ring ─────────────────────────── */
.host-image {
    border: 3px solid transparent;
    background:
        linear-gradient(white, white) padding-box,
        linear-gradient(135deg, var(--accent) 0%, var(--light-blue) 100%) border-box;
    box-shadow: 0 4px 18px rgba(0, 46, 109, 0.14);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.host-card:hover .host-image {
    box-shadow: 0 8px 28px rgba(0, 46, 109, 0.22);
    transform: scale(1.03);
}

/* ── Book section: more breathing room ──────────────────── */
.book-section {
    padding: 70px 0 !important;
}

/* ── Scroll-reveal animations ───────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ── Responsive adjustments ─────────────────────────────── */
@media (max-width: 640px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-btn,
    .hero-btn-outline {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .hero-platforms {
        gap: 8px;
    }

    .hero-platform-link {
        font-size: 0.78rem;
        padding: 7px 12px;
    }
}
