/* ==============================================================================
   POORVAM PODCASTS — HERO LANDING
   Plum & lotus acoustic canvas, waveform visualizer, player preview
   ============================================================================== */

.podcasts-page-wrapper {
    --ink: #120B1E;
    --plum: #1E1430;
    --lotus: #F28FAD;
    --mint: #8FE3C8;
    --cream: #F6EFE6;
    --mute: #B1A8C0;
    --line: rgba(246, 239, 230, 0.14);
    --disp: 'Fraunces', Georgia, serif;
    --body: 'Figtree', system-ui, -apple-system, sans-serif;

    background: var(--ink);
    color: var(--cream);
    font: 400 16px/1.55 var(--body);
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}

.podcasts-page-wrapper *,
.podcasts-page-wrapper *::before,
.podcasts-page-wrapper *::after {
    box-sizing: border-box;
}

.podcasts-page-wrapper a {
    color: inherit;
}

.podcasts-page-wrapper :focus-visible {
    outline: 2px solid var(--lotus);
    outline-offset: 3px;
}

/* --- Hero Section --- */
.podcasts-hero {
    position: relative;
    /* Fills the viewport below the main site header (adjust 64px to match its height) */
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(60px, 8vh, 120px) clamp(18px, 4vw, 56px) clamp(48px, 9vh, 96px);
}

.podcasts-hero video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -4;
}

.podcasts-aurora {
    position: absolute;
    inset: -20%;
    z-index: -5;
    background:
        radial-gradient(42% 42% at 22% 30%, rgba(242, 143, 173, 0.34), transparent 70%),
        radial-gradient(45% 45% at 78% 55%, rgba(143, 227, 200, 0.2), transparent 70%),
        var(--plum);
    animation: podcasts-drift 24s ease-in-out infinite alternate;
}

@keyframes podcasts-drift {
    to { transform: translate3d(5%, -5%, 0) scale(1.12); }
}

.podcasts-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        linear-gradient(0deg, var(--ink) 4%, rgba(18, 11, 30, 0.5) 42%, rgba(18, 11, 30, 0.15) 75%),
        linear-gradient(90deg, rgba(18, 11, 30, 0.75), transparent 65%);
}

#podcasts-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 42%;
    width: 100%;
    z-index: -2;
    pointer-events: none;
}

.podcasts-heroin {
    max-width: 760px;
    animation: podcasts-rise 1.2s cubic-bezier(.2, .7, .2, 1) both;
}

@keyframes podcasts-rise {
    from { opacity: 0; transform: translateY(28px); }
}

.podcasts-badge {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid var(--lotus);
    color: var(--lotus);
    padding: 6px 14px;
    border-radius: 99px;
    margin-bottom: 18px;
}

.podcasts-badge span {
    font-family: 'Noto Serif Bengali', serif;
    font-weight: 500;
}

.podcasts-badge i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lotus);
    animation: podcasts-pulse 1.8s infinite;
}

@keyframes podcasts-pulse {
    50% { opacity: 0.25; }
}

.podcasts-hero h1 {
    font: 800 clamp(36px, 7vw, 88px)/0.97 var(--disp);
    letter-spacing: -0.025em;
    margin: 0 0 18px;
    color: var(--cream);
    text-wrap: balance;
}

.podcasts-lede {
    font-size: clamp(17px, 1.6vw, 21px);
    max-width: 560px;
    color: #E1D9E8;
    margin: 0 0 14px;
    line-height: 1.5;
}

.podcasts-apps {
    font-size: 14px;
    color: var(--mute);
    margin: 0;
}

/* --- Player Mock Preview --- */
.podcasts-player {
    flex: 0 0 330px;
    background: rgba(30, 20, 48, 0.76);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 14px;
    align-items: center;
    margin-bottom: 6px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.podcasts-cover {
    aspect-ratio: 1;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font: 600 34px/1 'Noto Serif Devanagari', serif;
    color: rgba(246, 239, 230, 0.85);
    background: linear-gradient(150deg, hsl(var(--h) 55% 45%), hsl(calc(var(--h) + 40) 55% 16%));
}

.podcasts-player b {
    display: block;
    font: 700 17px/1.2 var(--disp);
    color: var(--cream);
}

.podcasts-player small {
    color: var(--mute);
    font-size: 13px;
}

.podcasts-bar {
    grid-column: 1/-1;
    height: 4px;
    border-radius: 4px;
    background: rgba(246, 239, 230, 0.16);
    overflow: hidden;
}

.podcasts-bar i {
    display: block;
    height: 100%;
    width: 100%;
    background: var(--lotus);
    transform-origin: left;
    animation: podcasts-prog 14s linear infinite;
}

@keyframes podcasts-prog {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

.podcasts-ctl {
    grid-column: 1/-1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--mute);
    font-size: 12.5px;
}

.podcasts-ctl em {
    font-style: normal;
    background: rgba(246, 239, 230, 0.1);
    padding: 4px 10px;
    border-radius: 99px;
    color: var(--cream);
}

/* Video pause button (top-left; no subnav to clear anymore) */
.podcasts-vctl {
    position: absolute;
    left: clamp(18px, 4vw, 56px);
    top: 24px;
    border: 1px solid var(--line);
    background: rgba(18, 11, 30, 0.55);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: var(--cream);
    cursor: pointer;
}

/* --- Responsive & Accessibility --- */
@media (max-width: 900px) {
    .podcasts-player {
        display: none;
    }
}

@media (max-width: 760px) {
    .podcasts-vctl {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .podcasts-page-wrapper * {
        animation: none !important;
        transition: none !important;
    }
}