/* ============================================
   UKRAINE: THE LATEST — 2026 PORTFOLIO REDESIGN
   February 2026 — Vibrant Calm Aesthetics
   ============================================ */

/* --- INTER FONT FAMILY --- */
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ============================================
   DESIGN TOKENS — Feb 2026 Dark Elegant
   ============================================ */
:root {
    /* Color Palette - Dark Elegant (Feb 2026) */
    --bg-primary: #0F1419;
    /* Deep space blue-black */
    --bg-secondary: #1A202C;
    /* Slightly lighter dark */
    --bg-tertiary: #1F2937;
    /* Keeping existing tertiary for now, adjust if needed */
    --bg-glass: rgba(26, 32, 44, 0.7);
    /* Glassmorphism dark */
    --bg-glass-heavy: rgba(26, 32, 44, 0.85);
    /* Adjusted for heavy glass */
    --bg-card: #1E2530;
    /* Card background */

    --accent-blue: #409CFF;
    /* Bright Ukrainian blue */
    --accent-blue-hover: #60AEFF;
    /* Adjusted hover for new blue */
    --accent-gold: #FFC850;
    /* Ukrainian gold */
    --accent-coral: #FF8A5B;
    /* Warm coral */
    --accent-coral-hover: #FFA070;
    /* Adjusted hover for new coral */
    --accent-green: #48D597;
    /* Success green */

    --text-primary: #F7FAFC;
    /* Almost white */
    --text-secondary: #A0AEC0;
    /* Muted gray-blue */
    --text-tertiary: #718096;
    /* Subtle gray */
    --text-inverse: #1A1D2E;
    /* Inverse for dark theme */

    --border-subtle: rgba(247, 250, 252, 0.08);
    --border-medium: rgba(247, 250, 252, 0.15);
    /* Adjusted medium border */
    --border-glow: rgba(64, 156, 255, 0.3);

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    /* Adjusted for dark theme */
    --shadow-md: 0 2px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    /* Adjusted for dark theme */
    --shadow-glow: 0 4px 24px rgba(64, 156, 255, 0.15);
    --shadow-glow-gold: 0 4px 24px rgba(255, 200, 80, 0.2);

    /* Semantic Colors */
    --success: #48D597;
    /* Using accent-green for success */
    --warning: #F59E0B;
    --danger: #EF4444;

    /* Surface Properties */
    --glass-blur: blur(24px);
    --glass-saturate: saturate(180%);
}

/* Dark Mode Override - REMOVED as default is now dark mode */

/* Typography Scale */
:root {
    --font-display: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;

    --text-xs: 0.7rem;
    /* 11.2px */
    --text-sm: 0.85rem;
    /* 13.6px */
    --text-base: 0.95rem;
    /* 15.2px */
    --text-lg: 1.1rem;
    /* 17.6px */
    --text-xl: 1.5rem;
    /* 24px */
    --text-2xl: 2.5rem;
    /* 40px */
    --text-3xl: 3.5rem;
    /* 56px */
}

/* Spacing Scale */
:root {
    --space-xs: 0.25rem;
    /* 4px */
    --space-sm: 0.5rem;
    /* 8px */
    --space-md: 1rem;
    /* 16px */
    --space-lg: 1.5rem;
    /* 24px */
    --space-xl: 2.5rem;
    /* 40px */
    --space-2xl: 4rem;
    /* 64px */
}

/* Border Radius */
:root {
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* Transitions */
:root {
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    background-image:
        radial-gradient(at 20% 30%, rgba(64, 156, 255, 0.08) 0%, transparent 50%),
        radial-gradient(at 80% 70%, rgba(255, 200, 80, 0.06) 0%, transparent 50%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    overflow-x: hidden;
    transition: background var(--transition-base), color var(--transition-base);
}

/* ============================================
   COMPONENT LIBRARY — 2026 GLASS SYSTEM
   ============================================ */

/* Micro-Glow Glass Card */
.glass-card-2026 {
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur) var(--glass-saturate);
    -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    box-shadow:
        var(--shadow-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
}

.glass-card-2026-heavy {
    background: var(--bg-glass-heavy);
    backdrop-filter: var(--glass-blur) var(--glass-saturate);
    -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    box-shadow:
        var(--shadow-lg),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.glass-card-2026:hover {
    transform: translateY(-2px);
    box-shadow:
        0 4px 24px rgba(64, 156, 255, 0.18),
        /* Adjusted for dark theme blue glow */
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Organic Blob Shape */
.blob-card {
    border-radius: 60% 40% 70% 30%;
    animation: blob-morph 8s ease-in-out infinite;
}

@keyframes blob-morph {

    0%,
    100% {
        border-radius: 60% 40% 70% 30%;
    }

    33% {
        border-radius: 40% 60% 30% 70%;
    }

    66% {
        border-radius: 70% 30% 40% 60%;
    }
}

/* Button: 2026 Lift + Glow */
.btn-2026 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-inverse);
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-hover));
    border: none;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-glow);
    cursor: pointer;
    transition: all var(--transition-slow);
    text-decoration: none;
}

.btn-2026:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 28px rgba(64, 156, 255, 0.25);
    /* Adjusted for dark theme blue glow */
}

.btn-2026:active {
    transform: translateY(-1px) scale(0.98);
}

/* Button Variant: Coral */
.btn-2026-coral {
    background: linear-gradient(135deg, var(--accent-coral), var(--accent-coral-hover));
    box-shadow: 0 2px 16px rgba(255, 138, 91, 0.2);
    /* Adjusted for new coral */
}

.btn-2026-coral:hover {
    box-shadow: 0 6px 28px rgba(255, 138, 91, 0.35);
    /* Adjusted for new coral */
}

/* Icon Button */
.btn-icon-2026 {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-icon-2026:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
    transform: scale(1.1);
}

.btn-icon-2026:active {
    transform: scale(0.95);
}

/* ============================================
   HEADER
   ============================================ */

.app-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: var(--glass-blur) var(--glass-saturate);
    -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
    background: var(--bg-glass-heavy);
    border-bottom: 1px solid var(--border-subtle);
    padding: var(--space-md) var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-flag {
    font-size: 1.4rem;
}

.logo-sub {
    font-size: var(--text-sm);
    font-weight: 400;
    color: var(--text-secondary);
    margin-left: var(--space-sm);
}

/* ============================================
   STICKY MINI-PLAYER
   ============================================ */

.mini-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    height: 80px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--bg-glass-heavy);
    backdrop-filter: var(--glass-blur) var(--glass-saturate);
    -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
    border-top: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-lg);
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.mini-player.visible {
    transform: translateY(0);
}

.mini-player-content {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    padding: 0 var(--space-xl);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: var(--space-lg);
}

.mini-player-info {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    min-width: 0;
}

.mini-player-artwork {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    object-fit: cover;
    box-shadow: var(--shadow-md);
}

.mini-player-text {
    min-width: 0;
    flex: 1;
}

.mini-player-title {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-player-subtitle {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
}

.mini-player-controls {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

/* Mini-player Skip Buttons - PROFESSIONAL SIZE (36px) */
.mini-controls button.skip-btn svg,
.mini-player-controls button.skip-btn svg {
    width: 36px;
    height: 36px;
}

.mini-player-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-md);
}

.mini-player-time {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
}

/* ============================================
   MAIN LAYOUT
   ============================================ */

.app-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-lg) 140px;
}

/* ============================================
   HERO PLAYER (Modal/Expandable)
   ============================================ */

.hero-player-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.hero-player-modal.visible {
    display: flex;
    opacity: 1;
}

.hero-player-card {
    max-width: 900px;
    width: 100%;
    background: var(--bg-glass-heavy);
    backdrop-filter: var(--glass-blur) var(--glass-saturate);
    -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform var(--transition-base);
}

.hero-player-modal.visible .hero-player-card {
    transform: scale(1);
}

.hero-image-wrap {
    position: relative;
    width: 100%;
    max-height: 400px;
    background: var(--bg-tertiary);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-wrap img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
}

.gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, var(--bg-secondary), transparent);
    pointer-events: none;
}

.player-body {
    padding: var(--space-xl);
}

/* Hero Player Skip Buttons - PROFESSIONAL SIZE (36px) */
.hero-controls button.skip-btn svg,
.hero-player-controls button.skip-btn svg {
    width: 36px;
    height: 36px;
}

/* Close Button */
.btn-close-modal {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-close-modal:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

/* ============================================
   EPISODE GRID (Primary Content)
   ============================================ */

.episodes-section {
    margin-bottom: var(--space-2xl);
}

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
}

.section-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.section-count {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    font-weight: 500;
}

.episode-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    content-visibility: auto;
    overflow: visible;
    padding: 6px;
}

.episode-card {
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur) var(--glass-saturate);
    -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    will-change: transform;
}

.episode-artwork {
    width: 100%;
    height: 120px;
    /* Or aspect-ratio: 16/9; */
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-md);
}

.episode-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent-blue);
}

.episode-card.active {
    background: linear-gradient(135deg, rgba(64, 156, 255, 0.05), rgba(255, 200, 80, 0.05));
    /* Adjusted for dark theme */
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-glow);
}

.episode-number {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: var(--accent-blue);
    color: white;
    font-size: var(--text-xs);
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

.episode-title {
    font-size: var(--text-lg);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.episode-date {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    margin-bottom: var(--space-md);
}

.episode-actions {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

/* ============================================
   NEWSLETTER BLOB CARD (Inline)
   ============================================ */

/* Newsletter Inline Blob Card */
.newsletter-blob {
    background: linear-gradient(135deg, #FF6B35 0%, #FFD700 100%);
    padding: var(--space-2xl) var(--space-xl);
    border-radius: 32px;
    animation: blob-morph 8s ease-in-out infinite, float 6s ease-in-out infinite;
    text-align: center;
    box-shadow: 0 12px 48px rgba(255, 107, 53, 0.4);
    position: relative;
    overflow: hidden;
}

.newsletter-blob::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.newsletter-blob h3 {
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.newsletter-blob p {
    font-size: 1.05rem;
    color: #FFFFFF;
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 1;
    opacity: 0.95;
}

.newsletter-blob form {
    display: flex;
    gap: var(--space-sm);
    max-width: 450px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.newsletter-blob input[type="email"] {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    border-radius: 14px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.98);
    font-size: var(--text-base);
    color: #1A1D2E;
    font-weight: 500;
}

.newsletter-blob input[type="email"]::placeholder {
    color: #718096;
}

.newsletter-blob button {
    padding: var(--space-md) var(--space-2xl);
    border-radius: 14px;
    border: none;
    background: #FFFFFF;
    color: #FF6B35;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 200ms ease;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.newsletter-blob button:hover {
    background: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.newsletter-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.newsletter-headline {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-sm);
}

.newsletter-subtext {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-lg);
}

.newsletter-form {
    display: flex;
    gap: var(--space-sm);
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    font-family: var(--font-body);
    font-size: var(--text-base);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-input:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.3);
}

/* ============================================
   PLAYBACK CONTROLS
   ============================================ */

.now-playing-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--success);
    margin-bottom: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-full);
}

.now-playing-tag.paused {
    color: var(--warning);
    background: rgba(245, 158, 11, 0.1);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.85);
    }
}

.now-playing-tag.paused .pulse-dot {
    animation: none;
    width: 8px;
    height: 8px;
    border-radius: 2px;
}

.ep-counter {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    margin-bottom: var(--space-sm);
}

.ep-title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

.ep-date {
    font-size: var(--text-base);
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

/* Progress Bar */
.progress-bar-wrap {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.time-label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 45px;
    font-variant-numeric: tabular-nums;
}

.time-label:last-child {
    text-align: right;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: var(--bg-tertiary);
    outline: none;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-blue);
    box-shadow: 0 2px 8px rgba(0, 87, 255, 0.3);
    cursor: pointer;
    transition: transform var(--transition-fast);
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Controls */
.controls-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.controls-center {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.btn-play {
    width: 64px;
    height: 64px;
    background: var(--accent-blue);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    transition: all var(--transition-slow);
}

.btn-play:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 32px rgba(0, 87, 255, 0.3);
}

.btn-play:active {
    transform: scale(0.95);
}

/* ============================================
   COLLAPSIBLE SECTIONS
   ============================================ */

.collapsible-section {
    margin-bottom: var(--space-lg);
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur) var(--glass-saturate);
    -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.section-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.section-toggle:hover {
    background: rgba(255, 255, 255, 0.03);
}

.toggle-chevron {
    transition: transform var(--transition-base);
    color: var(--text-tertiary);
}

.section-toggle[aria-expanded="true"] .toggle-chevron {
    transform: rotate(180deg);
}

.section-collapsible {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.section-collapsible.open {
    max-height: 800px;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Ultra-small: 320px-380px */
@media (max-width: 380px) {
    .app-container {
        padding: var(--space-lg) var(--space-md) 140px;
    }

    .episode-grid {
        grid-template-columns: 1fr;
    }

    .ep-title {
        font-size: var(--text-xl);
    }

    .controls-center {
        gap: var(--space-sm);
    }
}

/* Small: 381px-600px */
@media (min-width: 381px) and (max-width: 600px) {
    .episode-grid {
        grid-template-columns: 1fr;
    }
}

/* Medium: 601px-900px */
@media (min-width: 601px) and (max-width: 900px) {
    .episode-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Medium-Large: 901px-1200px */
@media (min-width: 901px) and (max-width: 1200px) {
    .episode-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large: 1201px+ uses default 4 columns */

/* ============================================
   SKELETON LOADERS
   ============================================ */

.skeleton {
    display: inline-block;
    border-radius: var(--radius-sm);
    background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-secondary) 50%, var(--bg-tertiary) 75%);
    background-size: 200% 100%;
    animation: skeleton-shine 1.5s ease-in-out infinite;
}

.skeleton-title {
    width: 80%;
    height: 2em;
}

.skeleton-date {
    width: 40%;
    height: 1em;
    margin-top: var(--space-sm);
}

@keyframes skeleton-shine {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ============================================
   ERROR STATE
   ============================================ */

.error-state {
    text-align: center;
    padding: var(--space-2xl);
}

.error-icon {
    font-size: 4rem;
    margin-bottom: var(--space-lg);
}

.error-state h2 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    margin-bottom: var(--space-md);
}

.error-state p {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

/* ============================================
   KEYBOARD HINTS
   ============================================ */

.keyboard-hints {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
    padding: var(--space-lg);
    font-size: var(--text-sm);
    color: var(--text-tertiary);
}

.kbd-hint {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

kbd {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {

    .mini-player,
    .btn-close-modal,
    .keyboard-hints {
        display: none;
    }
}
/* Archived badge inline with brand title */
.archived-badge {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 190, 50, 0.9);
    background: rgba(180, 130, 20, 0.2);
    border: 1px solid rgba(255, 190, 50, 0.3);
    border-radius: 4px;
    padding: 2px 6px;
    vertical-align: middle;
    margin-left: 6px;
    line-height: 1.4;
}
