:root {
    /* Colors */
    --primary-color: #E91E63;
    --primary-dark: #C2185B;
    --primary-light: #F8BBD0;
    --secondary-color: #1E88E5;
    --bg-primary: #FFFFFF;
    --bg-secondary: #FAFAFA;
    --text-primary: #212121;
    --text-secondary: #757575;
    --text-light: #9E9E9E;
    --border-color: #E0E0E0;

    /* Typography - Modern Light Fonts */
    --font-primary: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Quicksand', -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: #C2185B;
}

select:focus {
    border-color: #E91E63;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

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

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

/* Responsive Mobile Styles */
@media (max-width: 768px) {
    .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%, #FFF5F5 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);
}

.episode-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s ease-out;
}

.episode-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.episode-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

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

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

.episode-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.episode-content {
    padding: var(--spacing-lg);
}

.episode-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}

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

.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 */
.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;
    }
}