* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ── Preloader ── */
#preloader {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.preloader-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #fff;
    letter-spacing: 0.06em;
    opacity: 0;
    animation: fadeUp 0.6s ease 0.2s forwards;
}

.preloader-logo span {
    font-style: italic;
    color: #aaa;
}

.preloader-bars {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 36px;
    opacity: 0;
    animation: fadeUp 0.6s ease 0.4s forwards;
}

.preloader-bars div {
    width: 4px;
    background: #fff;
    border-radius: 2px;
    animation: barPulse 1s ease-in-out infinite;
}

.preloader-bars div:nth-child(1) { height: 12px; animation-delay: 0s; }
.preloader-bars div:nth-child(2) { height: 24px; animation-delay: 0.1s; }
.preloader-bars div:nth-child(3) { height: 36px; animation-delay: 0.2s; }
.preloader-bars div:nth-child(4) { height: 20px; animation-delay: 0.3s; }
.preloader-bars div:nth-child(5) { height: 30px; animation-delay: 0.4s; }
.preloader-bars div:nth-child(6) { height: 14px; animation-delay: 0.5s; }
.preloader-bars div:nth-child(7) { height: 26px; animation-delay: 0.6s; }

@keyframes barPulse {
    0%, 100% { transform: scaleY(0.5); opacity: 0.3; }
    50%       { transform: scaleY(1);   opacity: 1;   }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0);    }
}

#preloader.hide {
    animation: preloaderOut 0.6s ease forwards;
}

@keyframes preloaderOut {
    to { opacity: 0; pointer-events: none; }
}

/* ── Navbar ── */
.navbar {
    background-color: #000 !important;
    border-bottom: 1px solid #222;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    letter-spacing: 0.04em;
    color: #fff !important;
}

.navbar-brand span {
    font-style: italic;
    color: #bbb;
}

.nav-item {
    padding-left: 40px;
}

.nav-link {
    font-size: 0.78rem !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: #888 !important;
    transition: color 0.2s !important;
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
}

/* ── Hero ── */
.land-div {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.82)), url("../images/hero.png");
    background-size: cover;
    background-position: center;
    height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 0;
    overflow: hidden;
}

.land-div .container {
    animation: heroIn 0.9s cubic-bezier(0.22,1,0.36,1) 2.4s both;
}

@keyframes heroIn {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0);    }
}

.land-div h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 1rem;
}

.land-div p {
    font-size: 1.1rem;
    color: #ccc;
    letter-spacing: 0.04em;
    margin-bottom: 2.2rem;
}

.badge-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.8rem;
}

.badge-live {
    background: #fff;
    color: #000;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 2px;
}

.badge-ep {
    font-size: 0.78rem;
    color: #bbb;
    letter-spacing: 0.06em;
}

.btn-listen {
    background: #fff;
    color: #000;
    border: none;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.85rem 2.2rem;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-listen:hover {
    background: #ddd;
    color: #000;
}

.land-div .btn-outline-light {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.85rem 2rem;
    border-radius: 0;
    border: 1px solid #fff;
    color: #fff;
    background: transparent;
    transition: background 0.2s;
}

.land-div .btn-outline-light:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
}

/* ── Episodes Section ── */
.episodes-section {
    background: #111;
    padding: 6rem 0;
}

.ep-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.ep-eyebrow {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 0.5rem;
}

.ep-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.btn-view-all {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    border-bottom: 1.5px solid #fff;
    padding-bottom: 2px;
    transition: opacity 0.2s;
}

.btn-view-all:hover {
    opacity: 0.5;
    color: #fff;
}

/* ── Episode iframe grid ── */
.ep-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.ep-card {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(24px);
    transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s, border-color 0.3s;
}

.ep-card.visible {
    animation: cardIn 0.6s cubic-bezier(0.22,1,0.36,1) forwards;
}

.ep-card:nth-child(1) { animation-delay: 0s;    }
.ep-card:nth-child(2) { animation-delay: 0.1s;  }
.ep-card:nth-child(3) { animation-delay: 0.2s;  }
.ep-card:nth-child(4) { animation-delay: 0.3s;  }
.ep-card:nth-child(5) { animation-delay: 0.4s;  }
.ep-card:nth-child(6) { animation-delay: 0.5s;  }

@keyframes cardIn {
    to { opacity: 1; transform: translateY(0); }
}

.ep-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.6);
    border-color: rgba(255,255,255,0.25);
}

.ep-card iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    border: none;
}

.ep-card-body {
    padding: 1.2rem 1.4rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.ep-card-num {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #666;
}

.ep-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
}

.ep-card-desc {
    font-size: 0.82rem;
    color: #999;
    line-height: 1.6;
    margin-top: 0.2rem;
}

/* ── Footer / Contact ── */
.contact-footer {
    background: #000;
    padding: 5rem 0 0;
    border-top: 1px solid #1a1a1a;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid #1a1a1a;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.footer-logo span {
    font-style: italic;
    color: #888;
}

.footer-tagline {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.75;
    max-width: 260px;
    margin-bottom: 2rem;
    margin-top: 0.6rem;
}

.footer-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.platform-tag {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #aaa;
    border: 1px solid #333;
    padding: 0.3rem 0.8rem;
    border-radius: 2px;
    transition: border-color 0.2s, color 0.2s;
    cursor: default;
}

.platform-tag:hover {
    border-color: #888;
    color: #fff;
}

.form-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.form-sub {
    font-size: 0.83rem;
    color: #777;
    margin-bottom: 1.8rem;
    margin-top: 0.3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-input {
    background: #111;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 0.8rem 1rem;
    font-size: 0.86rem;
    color: #fff;
    width: 100%;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    font-family: inherit;
}

.form-input::placeholder {
    color: #555;
}

.form-input:focus {
    border-color: #fff;
    background: #181818;
}

.form-textarea {
    resize: none;
    height: 120px;
}

.form-submit {
    background: #fff;
    color: #000;
    border: none;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.9rem 2.5rem;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    align-self: flex-start;
}

.form-submit:hover {
    background: #ddd;
    transform: scale(1.02);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.4rem 0;
    font-size: 0.72rem;
    color: #555;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

/* ── Form fields & validation ── */
.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-error {
    font-size: 0.72rem;
    color: #ff5555;
    letter-spacing: 0.04em;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.2s, transform 0.2s;
    pointer-events: none;
}

.form-field.invalid .form-error {
    opacity: 1;
    transform: translateY(0);
}

.form-field.invalid .form-input {
    border-color: #ff5555;
}

.form-field.valid .form-input {
    border-color: #4caf50;
}

/* ── Submit button states ── */
.form-submit {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-width: 160px;
}

.btn-spinner {
    display: none;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(0,0,0,0.2);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.form-submit.loading .btn-text {
    opacity: 0.5;
}

.form-submit.loading .btn-spinner {
    display: block;
}

.form-submit:disabled {
    cursor: not-allowed;
    background: #ccc;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ── Status message ── */
.cf-status-wrap {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.cf-status-wrap.show {
    max-height: 80px;
}

.cf-status {
    margin-top: 0.6rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}

.cf-status-wrap.show .cf-status {
    opacity: 1;
    transform: translateY(0);
}

.cf-status.success {
    background: rgba(76,175,80,0.12);
    border: 1px solid rgba(76,175,80,0.3);
    color: #4caf50;
}

.cf-status.error {
    background: rgba(255,85,85,0.1);
    border: 1px solid rgba(255,85,85,0.25);
    color: #ff5555;
}

/* ── Input shake animation on failed submit ── */
@keyframes shake {
    0%, 100% { transform: translateX(0);   }
    20%       { transform: translateX(-6px); }
    40%       { transform: translateX(6px);  }
    60%       { transform: translateX(-4px); }
    80%       { transform: translateX(4px);  }
}

.form-input.shake {
    animation: shake 0.4s ease;
}
/* ── Responsive ── */

@media (max-width: 991px) {
    /* Navbar */
    .nav-item {
        padding-left: 0;
    }

    /* Hero */
    .land-div h1 {
        font-size: clamp(1.8rem, 6vw, 2.6rem);
    }

    /* Episodes grid → 1 column */
    .ep-grid {
        grid-template-columns: 1fr;
    }

    .ep-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-tagline {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    /* Hero */
    .land-div {
        height: auto;
        min-height: 100svh;
        padding: 7rem 0 4rem;
        align-items: flex-start;
    }

    .land-div h1 {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }

    .land-div p {
        font-size: 0.95rem;
    }

    .badge-ep {
        display: none;
    }

    .d-flex.gap-3 {
        flex-direction: column;
        gap: 0.8rem !important;
    }

    .btn-listen,
    .land-div .btn-outline-light {
        width: 100%;
        text-align: center;
    }

    /* Episodes */
    .episodes-section {
        padding: 4rem 0;
    }

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

    .ep-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Footer */
    .contact-footer {
        padding: 3.5rem 0 0;
    }

    .footer-grid {
        gap: 2.5rem;
    }

    .footer-logo {
        font-size: 1.3rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-submit {
        width: 100%;
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* Hero */
    .land-div h1 {
        font-size: 1.5rem;
    }

    .land-div h1 br {
        display: none;
    }

    /* Episodes */
    .ep-title {
        font-size: 1.5rem;
    }

    .ep-eyebrow {
        font-size: 0.65rem;
    }

    .btn-view-all {
        font-size: 0.72rem;
    }

    /* Navbar brand */
    .navbar-brand {
        font-size: 0.88rem;
    }

    /* Footer platforms wrap nicely */
    .footer-platforms {
        gap: 0.4rem;
    }

    .platform-tag {
        font-size: 0.62rem;
        padding: 0.25rem 0.6rem;
    }

    /* Preloader */
    .preloader-logo {
        font-size: 1.1rem;
    }
}