:root {
    --bg: #05070b;
    --bg-elevated: #10131a;
    --accent: #f8b043;
    --accent-soft: rgba(248,176,67,0.12);
    --text-main: #f5f5f7;
    --text-muted: #9ea3b0;
    --border-soft: #242837;
    --shadow-soft: 0 22px 45px rgba(0,0,0,0.55);
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-pill: 999px;
    --max-width: 1100px;
    --transition-fast: 0.18s ease-out;
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: radial-gradient(circle at top, #151827 0, #05070b 55%);
    color: var(--text-main);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
}

.page-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(16px);
    background: linear-gradient(to bottom, rgba(5,7,11,0.9), rgba(5,7,11,0.4));
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text-main);
}

.brand-mark {
    height: 40px;
    width: 40px;
    border-radius: 50%;
}

.brand-text {
    font-weight: 700;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 1.25rem;
    font-size: 0.9rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    position: relative;
    padding-bottom: 3px;
    transition: color var(--transition-fast);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--accent);
    transition: width var(--transition-fast);
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero */

.hero {
    padding: 4.5rem 0 3.5rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1.05;
    margin: 0 0 0.75rem;

    /* responsive size: min 2.1rem, ideal 4vw, max 3.2rem */
    font-size: clamp(2.1rem, 4vw, 3.2rem);
}


.hero-subtitle {
    color: var(--text-muted);
    max-width: 34rem;
    margin: 0 0 2rem;
    line-height: 1.6;
}
.donation-amount-input {
    width: 100%;
    max-width: 140px;
    padding: 0.45rem 0.6rem;
    border-radius: 8px;
    border: 1px solid var(--border-soft);
    background: rgba(5,7,11,0.9);
    color: var(--text-main);
    margin-bottom: 0.9rem;
}

.payment-element {
    margin-top: 0.25rem;
}

.payment-message {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-latest {
    background: linear-gradient(135deg, rgba(16,19,26,0.9), rgba(10,12,19,0.95));
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.6rem 1.6rem;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
}

.hero-latest h2 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent);
    margin: 0 0 0.5rem;
}

.hero-latest h3 {
    margin: 0 0 0.35rem;
    font-size: 1.2rem;
}

.episode-meta {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.episode-description {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.audio-player {
    width: 100%;
    margin: 0.4rem 0 1rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.4rem;
    border-radius: var(--radius-pill);
    border: none;
    background: linear-gradient(135deg, #f8b043, #e78024);
    color: #130c03;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(248,176,67,0.35);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(248,176,67,0.45);
}

/* Hero art */

.hero-logo-wrap {
    position: relative;
    display: inline-block;
}

.hero-logo {
    width: 100%;
    max-width: 360px;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.95));
}

.hero-logo-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding:15px 0 15px;
    pointer-events: none;
}

/* Top: LET'S TALK */
.ltjj-top {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-size: 1.78rem;
    color: #ffffff;
    text-shadow:
        0 0 6px rgba(0,0,0,0.85),
        0 2px 4px rgba(0,0,0,0.9);
    transform: translateY(-10px);
}

/* Bottom: arced bubble JIU‑JITSU */
.ltjj-arc {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-size: 2.78rem;
    color: #ffffff;
    text-shadow:
        0 0 6px rgba(0,0,0,0.85),
        0 2px 4px rgba(0,0,0,0.9);
    transform: translateY(-10px);
}

/* fake white fill over stroke using ::before */
.ltjj-arc::before {
    content: attr(data-text);
}

/* use a gradient overlay for the fill */
.ltjj-arc::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    text-align: center;
    color: transparent;
    background: radial-gradient(circle at 30% 0%, #ffffff 0, #f7f7ff 45%, #d0d5e4 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

/* make the bottom edge of the word sag slightly to mimic a curve */
.ltjj-arc {
    display: inline-block;
}
.ltjj-arc span {
    display: inline-block;
}

/* optional micro-hover */
.hero-logo-wrap {
    transition: transform 0.18s ease-out;
}
.hero-logo-wrap:hover {
    transform: translateY(-2px);
}

/* Sections */

.section-block {
    padding: 2.75rem 0 3.25rem;
}

.two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
}

.section-block h2 {
    margin-top: 0;
}

.section-intro {
    color: var(--text-muted);
    max-width: 30rem;
}

/* Episode list */

.episode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
    margin-top: 1.75rem;
}

.episode-card {
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.3rem 1.35rem;
    border: 1px solid var(--border-soft);
    box-shadow: 0 16px 40px rgba(0,0,0,0.55);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.episode-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 55px rgba(0,0,0,0.7);
    border-color: rgba(248,176,67,0.45);
}

/* Lists */

.feature-list {
    list-style: none;
    padding-left: 0;
    margin: 0.5rem 0 0;
}

.feature-list li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.4rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--accent);
}

/* Footer */

.site-footer {
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,0.04);
    background: rgba(5,7,11,0.98);
    padding: 1.2rem 0 1.3rem;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-logo {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 0.4rem;
}

.footer-left {
    display: flex;
    align-items: center;
}

/* Responsive */
.video-iframe-wrap {
    position: relative;
    overflow: hidden;
}

.video-iframe {
    border: 0;
}

/* cover top-right corner */
.video-iframe-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(to left, #05070b, transparent);
    pointer-events: none;
}
.video-player {
    display: block;
    width: 100%;
    max-width: 640px;   /* or 720 / 800, whatever feels right */
    height: auto;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.6);
    background: #000;
}
.episode-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.75rem 0 1.25rem;
}

.filter-btn {
    border: 1px solid var(--border-soft);
    background: rgba(10,12,18,0.9);
    color: var(--text-muted);
    border-radius: 999px;
    padding: 0.3rem 0.9rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: background 0.16s ease-out, color 0.16s ease-out, border-color 0.16s ease-out;
}

.filter-btn.active {
    background: linear-gradient(135deg, #f8b043, #e78024);
    border-color: transparent;
    color: #130c03;
}
.episodes-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem 1rem;
    margin: 0.75rem 0 1.25rem;
}

.episode-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.episode-search-wrap {
    flex: 1 1 220px;
    display: flex;
    justify-content: flex-end;
}

.episode-search-input {
    width: 100%;
    max-width: 260px;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    background: rgba(5,7,11,0.9);
    color: var(--text-main);
    font-size: 0.9rem;
}

.episode-search-input::placeholder {
    color: var(--text-muted);
}

@media (max-width: 800px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }
    .hero {
        padding-top: 3.5rem;
    }
    .two-column {
        grid-template-columns: minmax(0, 1fr);
    }
    .header-inner {
        gap: 0.75rem;
    }
    .brand-text {
        display: none;
    }
    .nav-links {
        gap: 0.75rem;
        font-size: 0.85rem;
    }
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
