:root {
    /* Colors - Silicon Docks Theme */
    --primary-color: #2962FF;
    /* Electric Blue */
    --primary-dark: #0039CB;
    /* Darker Blue */
    --primary-light: #BBDEFB;
    /* Light Blue */
    --accent-color: #00C853;
    /* Vibrant Green */
    --secondary-color: #1E88E5;
    --bg-primary: #FFFFFF;
    --bg-secondary: #FAFAFA;
    --text-primary: #212121;
    --text-secondary: #757575;
    --text-light: #9E9E9E;
    --border-color: #E0E0E0;

    /* Typography - Modern Startup Theme */
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

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

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Modern Select Dropdowns */
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: white;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23757575' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem;
    padding: 0.625rem 2.5rem 0.625rem 1rem;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 400;
    color: #212121;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

select:hover {
    border-color: #0039CB;
}

select:focus {
    border-color: #2962FF;
    box-shadow: 0 0 0 3px rgba(41, 98, 255, 0.1);
}

select option {
    font-weight: 400;
    padding: 0.5rem;
}

/* Label styling */
label {
    font-weight: 500;
    color: #212121;
    font-size: 0.875rem;
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 6px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 1000;
    padding-top: 100px;
    transform: translateY(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-menu.active {
    transform: translateY(0);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    width: 100%;
}

.mobile-menu a {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.5rem;
    transition: color 0.3s;
    font-family: var(--font-heading);
}

.mobile-menu a:hover {
    color: var(--primary-color);
}

/* Responsive Mobile Styles */
@media (max-width: 768px) {
    .desktop-nav {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block;
    }

    .container {
        padding: 0 1rem;
    }

    /* Hero section - stack vertically on mobile */
    .hero {
        padding: 2rem 0 !important;
    }

    .hero>.container>div {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .hero h1 {
        font-size: 2rem !important;
    }

    .hero p {
        font-size: 1rem !important;
    }

    /* Controls bar - stack vertically */
    .episodes-section>.container>div:first-of-type>div {
        grid-template-columns: 1fr !important;
    }

    /* Episode cards - adjust for mobile */
    .episode-item>div:first-child>div {
        grid-template-columns: 80px 1fr !important;
        gap: 1rem !important;
    }

    .episode-item img {
        width: 80px !important;
        height: 80px !important;
    }

    /* Platform buttons - wrap better */
    .episode-item button,
    .episode-item a {
        font-size: 0.75rem !important;
        padding: 0.4rem 0.8rem !important;
    }

    /* Pagination - smaller on mobile */
    #pagination button {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.875rem !important;
    }

    /* Header - simplify on mobile */
    #siteHeader h1 {
        font-size: 1.25rem !important;
    }

    #siteHeader img {
        height: 35px !important;
    }

    #siteHeader nav {
        gap: 1rem !important;
        font-size: 0.875rem !important;
    }

    /* Newsletter section */
    .newsletter-form {
        flex-direction: column !important;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100% !important;
    }

    /* Platform subscription logos */
    #subscribePlatforms img {
        height: 35px !important;
    }

    /* Footer navigation */
    #footerNav {
        flex-direction: column !important;
        gap: 1rem !important;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem !important;
    }

    #siteHeader h1 {
        font-size: 1.1rem !important;
    }

    .episode-item h3 {
        font-size: 1rem !important;
    }
}

/* Hero Section */
.hero {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, #E3F2FD 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.hero-left {
    animation: fadeInUp 0.8s ease-out;
}

.badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-md);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.hero-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.hero-actions {
    display: flex;
    gap: var(--spacing-sm);
}

.hero-right {
    position: relative;
    animation: fadeIn 1s ease-out;
}

.featured-episode {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.featured-image {
    width: 100%;
    height: auto;
    display: block;
}

.add-artwork-btn {
    position: absolute;
    bottom: var(--spacing-md);
    right: var(--spacing-md);
    background: var(--primary-color);
    color: white;
    border: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: all 0.3s ease;
}

.add-artwork-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Buttons */
.btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Audio Player */
.audio-player {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    animation: slideUp 0.6s ease-out;
}

.player-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    min-width: 300px;
}

.play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

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

.play-btn svg {
    width: 24px;
    height: 24px;
}

.player-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.player-duration {
    color: var(--text-light);
    font-size: 0.9rem;
}

.player-controls {
    flex: 1;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: var(--spacing-xs);
}

.progress {
    height: 100%;
    background: var(--primary-color);
    width: 0%;
    transition: width 0.1s linear;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Episodes Section */
.episodes-section {
    padding: var(--spacing-2xl) 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    font-size: 1.1rem;
}

/* Filters */
.filters {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    border: 2px solid var(--border-color);
    background: white;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary-light);
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Episodes Grid */
.episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

/* Redesigned Episode Card */
.episode-card-new {
    background: white;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    padding: 1.5rem;
    gap: 1.5rem;
}

.episode-card-new:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-light);
}

.episode-image-container {
    position: relative;
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.episode-image-new {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.episode-image-container:hover .episode-image-new {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.play-overlay svg {
    width: 20px;
    height: 20px;
    fill: white;
    margin-left: 2px;
    /* Visual adjustment for play icon */
}

.episode-image-container:hover .play-overlay {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--primary-dark);
}

.episode-content-new {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.episode-header-new {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.episode-title-new {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
    cursor: pointer;
    transition: color 0.2s;
}

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

.episode-date-new {
    font-size: 0.85rem;
    color: var(--text-light);
    white-space: nowrap;
    margin-left: 1rem;
}

.episode-description-wrapper {
    margin-bottom: 1rem;
}

.episode-description-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.episode-description-text.expanded {
    -webkit-line-clamp: unset;
}

.see-more-btn {
    background: none;
    border: none;
    padding: 0;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 0.25rem;
    font-family: var(--font-primary);
}

.see-more-btn:hover {
    text-decoration: underline;
}

.episode-footer-new {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
}

.episode-platforms-new {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.platform-icon-link {
    display: inline-block;
    transition: transform 0.2s;
}

.platform-icon-link:hover {
    transform: translateY(-2px);
}

.platform-icon-img {
    height: 24px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.2s;
}

.platform-icon-link:hover .platform-icon-img {
    filter: grayscale(0%);
    opacity: 1;
}

.go-to-page-link {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.go-to-page-link:hover {
    color: var(--primary-color);
}

.episode-duration-new {
    font-size: 0.9rem;
    color: var(--text-light);
}

@media (max-width: 600px) {
    .episode-card-new {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .episode-image-container {
        width: 100%;
        height: 200px;
    }

    .episode-header-new {
        flex-direction: column;
        gap: 0.5rem;
    }

    .episode-date-new {
        margin-left: 0;
    }

    .episode-footer-new {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .episode-duration-new {
        align-self: flex-end;
    }
}

.episode-meta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    font-size: 0.85rem;
    color: var(--text-light);
}

.episode-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Podcast Platforms */
.episode-actions-stacked {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.listen-on-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.listen-on-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.episode-platforms-list {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.go-to-page-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    /* Space between logos and link if they were on same line, but here they are stacked */
}

/* Adjust platform icons if needed */
.platform-icon-link img,
.platform-icon-link svg {
    width: 24px;
    height: 24px;
    color: #757575;
    /* Default color for SVGs */
    transition: color 0.2s;
}

.platform-icon-link:hover svg {
    color: var(--primary-color);
}

.podcast-platforms {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-sm) 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.platform-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.platform-icons {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.platform-btn {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    background: var(--primary-light);
    color: var(--primary-dark);
    border: 1px solid var(--primary-color);
}

.platform-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.3);
}

.episode-actions {
    display: flex;
    gap: var(--spacing-sm);
}

.action-btn {
    flex: 1;
    padding: var(--spacing-sm);
    border: 1px solid var(--border-color);
    background: white;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.action-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: var(--primary-light);
}

/* Newsletter Section */
.newsletter-section {
    background: var(--primary-color);
    color: white;
    padding: var(--spacing-2xl) 0;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-icon {
    margin-bottom: var(--spacing-md);
}

.newsletter-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.newsletter-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: var(--spacing-lg);
}

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

.newsletter-input {
    flex: 1;
    padding: var(--spacing-md);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    outline: none;
}

.newsletter-form .btn-primary {
    background: white;
    color: var(--primary-color);
}

.newsletter-form .btn-primary:hover {
    background: var(--bg-primary);
}

.newsletter-message {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    font-weight: 500;
}

.newsletter-message.success {
    background: rgba(255, 255, 255, 0.2);
}

.newsletter-message.error {
    background: rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: var(--spacing-lg) 0;
    text-align: center;
}

/* Loading State */
.loading {
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--text-light);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .audio-player {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .player-info {
        width: 100%;
    }

    .episodes-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }

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

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

    .hero-actions {
        flex-direction: column;
    }

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

/* Platform SVG Icons */
.platform-svg {
    width: 24px;
    height: 24px;
    color: #757575;
    transition: all 0.3s ease;
}

.platform-svg:hover {
    color: #E91E63;
    transform: scale(1.1);
}

.platform-svg.spotify:hover {
    color: #1DB954;
}

.platform-svg.apple:hover {
    color: #000000;
}

.platform-svg.youtube:hover {
    color: #FF0000;
}

.platform-svg.google:hover {
    color: #4285F4;
}

/* Episode Detail Page Styles - Player Card Layout */
.episode-detail-section {
    padding: 4rem 0;
    background: #FAFAFA;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.episode-player-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    overflow: hidden;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto 2rem auto;
}

.episode-card-image {
    width: 350px;
    /* Increased width slightly */
    height: 350px;
    /* Fixed height to match width for square aspect ratio */
    flex-shrink: 0;
    position: relative;
}

.episode-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.episode-card-content {
    padding: 2rem 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center content vertically */
}

.prev-episode-label {
    color: #E91E63;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.prev-episode-label:hover {
    text-decoration: underline;
}

.episode-card-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #212121;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.episode-card-meta {
    color: #9E9E9E;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.player-controls-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.play-listen-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.play-button-small {
    width: 56px;
    height: 56px;
    background: #8C9EFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    border: none;
    color: white;
    flex-shrink: 0;
}

.play-button-small:hover {
    transform: scale(1.05);
    background: #7986CB;
}

.play-button-small svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
    margin-left: 3px;
}

.listen-on-group-inline {
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid #E0E0E0;
    padding: 0.5rem 1rem;
    border-radius: 24px;
    /* Pill shape */
}

.listen-on-label-inline {
    font-size: 0.85rem;
    color: #E91E63;
    font-weight: 500;
    white-space: nowrap;
}

.platform-icons-inline {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.share-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #757575;
    background: none;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
}

.share-button:hover {
    color: #212121;
}

.progress-container {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0;
    /* Remove top margin */
}

#currentTime,
#totalDuration {
    font-size: 0.85rem;
    color: #757575;
    font-variant-numeric: tabular-nums;
    min-width: 40px;
}

/* Custom Progress Bar */
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
    cursor: pointer;
    height: 4px;
    border-radius: 2px;
}

input[type=range]:focus {
    outline: none;
}

/* Webkit (Chrome, Safari) */
input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    background: #E0E0E0;
    border-radius: 2px;
}

input[type=range]::-webkit-slider-thumb {
    height: 12px;
    width: 12px;
    border-radius: 50%;
    background: #E91E63;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -4px;
    transition: transform 0.1s;
}

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

/* Firefox */
input[type=range]::-moz-range-track {
    width: 100%;
    height: 4px;
    background: #E0E0E0;
    border-radius: 2px;
}

input[type=range]::-moz-range-thumb {
    height: 12px;
    width: 12px;
    border: none;
    border-radius: 50%;
    background: #E91E63;
    cursor: pointer;
}

.episode-description-container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

.episode-description-text {
    color: #616161;
    line-height: 1.8;
    font-size: 1.1rem;
    font-weight: 400;
}

/* Responsive */
@media (max-width: 800px) {
    .episode-player-card {
        flex-direction: column;
        max-width: 500px;
        /* Limit width on mobile */
    }

    .episode-card-image {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
        /* Maintain square on mobile */
    }

    .episode-card-content {
        padding: 1.5rem;
    }

    .episode-card-title {
        font-size: 1.75rem;
    }

    .player-controls-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .share-button {
        align-self: flex-start;
    }
}