/* Sweet Release - Hybrid Edition (src2 layout + src3 green theme + bg3.png) */

/* ---------------------------------------------------------------------------
 * Self-hosted @font-face declarations (latin subset).
 * Files live in ../fonts/. font-display: swap avoids invisible text FOIT.
 * ------------------------------------------------------------------------- */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/inter-latin-400.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/inter-latin-500.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/inter-latin-600.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/inter-latin-700.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/jetbrainsmono-latin-400.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/jetbrainsmono-latin-500.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/jetbrainsmono-latin-600.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/jetbrainsmono-latin-700.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    /* Green-Focused Color Palette from src3 */
    --primary-color: #2E7D32;          /* Rich forest green */
    --primary-dark: #1B5E20;           /* Deep forest green */
    --primary-light: #4CAF50;          /* Vibrant green */
    --secondary-color: #66BB6A;        /* Light green */
    --accent-color: #81C784;           /* Soft green */
    --accent-light: #C8E6C9;           /* Very light green */
    --success-color: #4CAF50;          /* Success green */

    /* Complementary Colors */
    --warm-accent: #FF8A65;            /* Warm coral */
    --gold-accent: #FFB74D;            /* Golden yellow */
    --earth-tone: #8D6E63;             /* Brown from bg3 */

    /* Modern Dark Base (src2 style) */
    --background: #0A0A0A;
    --background-alt: #121212;
    --surface: #1A1A1A;
    --surface-alt: #242424;
    --surface-hover: #2A2A2A;

    /* Text Colors with Green Accent */
    --text-primary: #FFFFFF;
    --text-secondary: #CCCCCC;
    --text-muted: #888888;
    --text-accent: #4CAF50;            /* Green accent text */

    /* Borders with Green Highlights */
    --border: #333333;
    --border-light: #444444;
    --border-hover: #555555;
    --border-green: #4CAF50;           /* Green border */

    /* Typography - Modern (src2 style) */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Monaco', 'Cascadia Code', monospace;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Layout */
    --container-max: 1400px;
    --border-radius: 8px;
    --border-radius-lg: 16px;

    /* RGB components for dynamic alpha usage */
    --primary-light-rgb: 76, 175, 80;
    --background-rgb: 10, 10, 10;

    /* Shadows with Green Tint */
    --shadow-sm: 0 2px 4px rgba(var(--primary-light-rgb), 0.1);
    --shadow: 0 4px 12px rgba(var(--primary-light-rgb), 0.15);
    --shadow-lg: 0 8px 32px rgba(var(--primary-light-rgb), 0.2);
    --shadow-glow: 0 0 20px rgba(var(--primary-light-rgb), 0.3);

    /* Animations */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(var(--background-rgb), 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-green);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    max-width: var(--container-max);
    margin: 0 auto;
}

a.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-mono);
}

.brand-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    opacity: 0.7;
}

.nav-links {
    display: flex;
    gap: var(--space-xl);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    font-family: var(--font-mono);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: var(--transition);
    z-index: 1001;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
    background: rgba(var(--primary-light-rgb), 0.1);
    outline: none;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transform-origin: center;
    transition: transform 0.3s ease, opacity 0.2s ease, background 0.3s ease;
}

.nav.nav-open .nav-toggle span {
    background: var(--primary-light);
}

.nav.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.nav.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: -10%;
    left: -10%;
    right: -10%;
    bottom: -10%;
    background-image: url('../images/bg3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    will-change: transform;
}

/* Slideshow variant: Swiper owns the .hero-bg container, each slide paints
   its own image. swiper-bundle.css sets .swiper { position: relative; z-index: 1 }
   with single-class specificity, so we re-assert the .hero-bg positioning with
   two-class specificity to keep the slideshow layered behind the overlay. */
.hero-bg.hero-swiper {
    position: absolute;
    top: -10%;
    left: -10%;
    right: -10%;
    bottom: -10%;
    z-index: -2;
    width: auto;
    margin: 0;
    background-image: none;
    overflow: hidden;
}

.hero-bg.hero-swiper .swiper-wrapper,
.hero-bg.hero-swiper .swiper-slide {
    height: 100%;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    max-width: var(--container-max);
    width: 100%;
    padding: 0 var(--space-lg);
    text-align: left;
    z-index: 1;
}

.hero-title {
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 800;
    line-height: 0.9;
    margin-bottom: var(--space-lg);
    font-family: var(--font-mono);
}

.title-line {
    display: block;
    color: rgba(255, 255, 255, 0.92);
    position: relative;
    text-shadow:
        1px 1px 3px rgba(0, 0, 0, 0.8),
        0 0 15px rgba(255, 255, 255, 0.1),
        0 0 30px rgba(var(--primary-light-rgb), 0.05);
    letter-spacing: -0.01em;
    font-weight: 700;
}

.title-line:first-child {
    animation: slideInLeft 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.title-line:last-child {
    animation: slideInRight 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.hero-subtitle {
    margin-bottom: var(--space-xl);
    font-family: var(--font-mono);
    font-size: 1.1rem;
}

.code-block {
    display: inline-block;
    background: rgba(26, 26, 46, 0.9);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--border-radius);
    border: 1px solid var(--primary-color);
    text-align: left;
    line-height: 1.8;
    box-shadow: var(--shadow);
}

.code-comment { color: var(--text-muted); }
.code-function { color: var(--primary-color); }
.code-operator { color: var(--text-primary); }
.code-method { color: var(--secondary-color); }
.code-bracket { color: var(--gold-accent); }
.code-string { color: #FF6B9D; }

.hero-description {
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.hero-actions {
    display: flex;
    justify-content: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-4xl);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    margin-top: var(--space-4xl);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-mono);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: var(--space-xs);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    display: none;
}

.btn-primary {
    background: var(--primary-color);
    color: #FFFFFF;
    box-shadow: var(--shadow-glow);
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: var(--primary-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px) scale(1.05);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.8);
    color: #FFFFFF;
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(10px);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: #FFFFFF;
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    background: var(--surface-hover);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-icon {
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 10px;
    border-color: transparent transparent transparent currentColor;
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    font-family: var(--font-mono);
    color: var(--primary-color);
    position: relative;
}

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

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Concepts Section */
.concepts {
    padding: var(--space-4xl) 0;
    background: var(--surface);
}

/* Concepts Content (page content display) */
.concepts-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.concepts-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    font-size: 1.05rem;
}

.concepts-content h2 {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: var(--space-2xl) 0 var(--space-md);
}

.concepts-content h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: var(--space-xl) 0 var(--space-md);
}

.concepts-content a {
    color: var(--primary-light);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: var(--transition);
}

.concepts-content a:hover {
    color: var(--secondary-color);
}

.concepts-content ul,
.concepts-content ol {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    padding-left: var(--space-xl);
    line-height: 1.8;
}

.concepts-content li::marker {
    color: var(--primary-color);
}

.concepts-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin: var(--space-lg) 0;
}

.concepts-placeholder {
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
    padding: var(--space-3xl) 0;
}

.tech-tag {
    background: rgba(var(--primary-light-rgb), 0.1);
    color: var(--primary-color);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    font-family: var(--font-mono);
    border: 1px solid rgba(var(--primary-light-rgb), 0.2);
}

/* Episodes Section */
.episodes {
    padding: var(--space-4xl) 0;
    background: var(--background-alt);
}

.episodes-filter {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--border-radius);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(var(--primary-light-rgb), 0.05);
}

.episodes-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.episode-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

.episode-card .episode-title a::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

.episode-card.featured {
    border-color: var(--primary-color);
    background: var(--surface);
}

.episode-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.episode-meta {
    display: flex;
    gap: var(--space-md);
    align-items: center;
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.episode-number {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.episode-status {
    background: var(--success-color);
    color: var(--background);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--border-radius);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.episode-duration {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.episode-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.episode-description {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.episode-tech {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.episode-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.play-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.play-btn .play-icon {
    font-size: 1.1rem;
    line-height: 1;
    color: var(--text-primary);
    margin-left: 2px;
}

.play-btn:hover {
    background: var(--primary-light);
    transform: scale(1.05);
}

.episode-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: var(--font-mono);
}

.episode-card.sr-hidden {
    display: none;
}

.episodes-load-more {
    text-align: center;
}

.episodes-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-3xl) var(--space-lg);
    background: var(--surface);
    border: 1px dashed var(--border-light);
    border-radius: var(--border-radius-lg);
    color: var(--text-secondary);
}

.episodes-empty-icon {
    font-size: 3rem;
    color: var(--primary-light);
    margin-bottom: var(--space-md);
    opacity: 0.85;
}

.episodes-empty-title {
    font-family: var(--font-mono);
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.episodes-empty-text {
    max-width: 480px;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* About Section */
.about {
    padding: var(--space-4xl) 0;
    background: var(--surface);
}

/* About description */
.about-description {
    max-width: 800px;
    margin: 0 auto var(--space-2xl);
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: center;
}

.host-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: var(--space-2xl);
}

.host-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
    background: var(--surface-alt);
    padding: var(--space-2xl) var(--space-xl);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
    flex: 1;
    max-width: 420px;
}

.host-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.host-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    font-family: var(--font-mono);
    overflow: hidden;
    flex-shrink: 0;
}

.host-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.host-details {
    text-align: center;
    width: 100%;
}

.host-name {
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.host-role {
    color: var(--primary-light);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: var(--space-md);
}

.host-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: center;
}

/* Contact Section */
.contact {
    padding: var(--space-4xl) 0;
    background: var(--background-alt);
}

.contact-content {
    display: block;
    max-width: 720px;
    margin: 0 auto;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.contact-method {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.contact-method:hover {
    border-color: var(--primary-color);
    background: var(--surface-hover);
}

.method-icon {
    font-size: 1.5rem;
}

.method-info {
    display: flex;
    flex-direction: column;
}

.method-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.method-value {
    color: var(--text-primary);
    font-weight: 500;
}


/* Footer */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--border-green);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-xl);
}

.footer-brand h4 {
    color: var(--primary-color);
    font-family: var(--font-mono);
    margin-bottom: var(--space-sm);
}

.footer-brand p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.version-info {
    display: flex;
    gap: var(--space-md);
}

.version,
.build {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: var(--space-2xl);
}

.link-group h5 {
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.link-group a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
    transition: var(--transition);
}

.link-group a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-tech {
    display: flex;
    gap: var(--space-md);
}

.tech-item {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Animations */
@keyframes slideInLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(var(--background-rgb), 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-green);
        padding: 0 var(--space-lg);
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        opacity: 0;
        transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.25s ease, visibility 0s linear 0.35s;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
    }

    .nav.nav-open .nav-links {
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        padding: var(--space-sm) var(--space-lg) var(--space-md);
        visibility: visible;
        opacity: 1;
        transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.25s ease, visibility 0s linear 0s;
    }

    .nav-links .nav-link,
    .nav-links a,
    .nav-links li > a {
        display: block;
        width: 100%;
        padding: var(--space-md) 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--border);
        color: var(--text-secondary);
    }

    .nav-links li {
        list-style: none;
    }

    .nav-links li:last-child > a,
    .nav-links > a:last-child,
    .nav-links > .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link::before {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    body.nav-open-lock {
        overflow: hidden;
    }

    .hero-title {
        font-size: clamp(2rem, 6vw, 4rem);
    }

    .hero-stats {
        gap: var(--space-md);
    }

    .host-grid {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }

    .hero-content {
        padding: 0 var(--space-sm);
    }

    .episode-card {
        padding: var(--space-lg);
    }

    .section-title {
        font-size: 2rem;
    }

    .code-block {
        font-size: 0.9rem;
        padding: var(--space-sm) var(--space-md);
    }
}

/* Episode title links */
.episode-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.episode-title a:hover {
    color: var(--primary-color);
}

/* Page Template */
.page-content {
    padding-top: calc(80px + var(--space-3xl));
    padding-bottom: var(--space-4xl);
    min-height: 100vh;
}

body.admin-bar .page-content {
    padding-top: calc(112px + var(--space-3xl));
}

.page-header {
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border);
}

.page-title {
    font-family: var(--font-mono);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
}

.page-body {
    max-width: 800px;
}

.page-body p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    font-size: 1rem;
}

.page-body h2 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: var(--space-2xl) 0 var(--space-md);
}

.page-body h3 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: var(--space-xl) 0 var(--space-md);
}

.page-body a {
    color: var(--primary-light);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: var(--transition);
}

.page-body a:hover {
    color: var(--secondary-color);
}

.page-body ul,
.page-body ol {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    padding-left: var(--space-xl);
    line-height: 1.8;
}

.page-body li::marker {
    color: var(--primary-color);
}

.page-body strong {
    color: var(--text-primary);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* Selection Styling */
::selection {
    background: rgba(var(--primary-light-rgb), 0.2);
    color: var(--text-primary);
}

/* WordPress Admin Bar Support */
body.admin-bar .nav {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .nav {
        top: 46px;
    }
}

/* ---------------------------------------------------------------------------
 * Hero image (replaces background-image div for crawlable <img> + LCP).
 * ------------------------------------------------------------------------- */
.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.swiper-slide.hero-slide {
    position: relative;
}

.swiper-slide.hero-slide .hero-bg-img {
    z-index: 0;
}

/* Episode header image */
.episode-hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.episode-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.episode-hero--image .episode-hero-bg-img {
    z-index: 0;
}
