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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 50%, #1a1a1a 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.header {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 25%, #b91c1c 50%, #dc2626 75%, #b91c1c 100%);
    color: white;
    padding: 4rem 0 2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    margin: 2rem 0;
    border: 1px solid white;
    display: flex;
    align-items: center;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 50%, transparent 100%);
    pointer-events: none;
}

/* Header Layout */
.header-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-left: 20px;
    margin-top: -1rem;
}

.header-left {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-logo {
    padding-left: 20px;
}

.header-logo img {
    max-width: 330px;
    height: auto;
    border-radius: 16px;
}

.header-social-links {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    justify-content: center;
    margin-left: 20px;
}

.header-social-links .social-link {
    color: #d1d5db;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-social-links .social-link:hover {
    color: #dc2626;
    transform: translateY(-2px);
}

.header-text {
    margin-left: 40px;
}

.header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.podcast-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    text-transform: uppercase;
}

.header .subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.podcast-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    margin-top: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Header Listen Buttons */
.header-listen-buttons {
    margin-top: 20px;
}

.header-listen-btn {
    padding: 12px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 32px;
    transition: all 0.3s ease;
    margin-right: 8px;
    margin-bottom: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    cursor: pointer;
    min-width: 56px;
    min-height: 56px;
}

.header-listen-btn.apple-podcast {
    background-color: silver;
    color: #333;
}

.header-listen-btn.spotify {
    background-color: #1DB954;
    color: white;
}

.header-listen-btn.amazon-music {
    background-color: #FF9900;
    color: white;
}

.header-listen-btn.youtube {
    background-color: #FF0000;
    color: white;
}

.header-listen-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

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

/* Reduce button size above 1200px */
@media (min-width: 1201px) {
    .header-listen-btn {
        padding: 8px;
        font-size: 28px;
        margin-right: 6px;
        margin-bottom: 6px;
        min-width: 38px;
        min-height: 38px;
    }
}

.listen-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.listen-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.listen-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

/* About Section */
.about-section {
    background: transparent;
    padding: 2rem 0 4rem 0;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    margin-top: 40px;
}

.about-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content h2 {
    color: #dc2626;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.2rem;
    color: #d1d5db;
    margin-bottom: 1.5rem;
}

/* Episodes Section */
.episodes-section {
    padding: rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: #dc2626;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.episodes-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.episode-card {
    background: #262626;
    border-radius: 16px;
    padding: 1.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(220,38,38,0.2);
}

.episode-card.full-width {
    width: 100%;
}

.episode-content-wrapper {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.episode-image {
    flex-shrink: 0;
}

.episode-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid rgba(220,38,38,0.3);
}

.episode-content {
    flex: 1;
}

.episode-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.episode-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.episode-number {
    background: #dc2626;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.episode-title {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.episode-date {
    color: #888;
    font-size: 0.9rem;
    margin-left: auto;
}

.episode-description {
    color: #d1d5db;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.episode-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.episode-duration {
    color: #888;
    font-size: 0.9rem;
}

.episode-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.topic-tag {
    background: #fef2f2;
    color: #dc2626;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.episode-audio-player {
    margin-bottom: 1.5rem;
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #1f2937;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(220,38,38,0.2);
}

.play-btn {
    background: #dc2626;
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.play-btn:hover {
    background: #b91c1c;
    transform: scale(1.05);
}

.play-btn.playing {
    background: #059669;
}

.timeline {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #374151;
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
}

.progress-fill {
    height: 100%;
    background: #dc2626;
    width: 0%;
    transition: width 0.1s ease;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #9ca3af;
}

.current-time, .duration {
    font-family: 'Roboto', monospace;
}

/* Resources Section */
.resources-container {
    background: #262626;
    padding: 4rem 0;
    margin: 2rem 0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    text-align: center;
    border: 1px solid white;
}

.resources-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.resource-card {
    background: #262626;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #dc2626;
    position: relative;
    transition: all 0.3s ease;
}



.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(220,38,38,0.1) 0%, rgba(220,38,38,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.resource-card:hover::before {
    opacity: 1;
}

.resource-card > * {
    position: relative;
    z-index: 2;
}

.resource-card h4 {
    color: #dc2626;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.resource-card p {
    color: #d1d5db;
    margin-bottom: 1rem;
}

.resource-link {
    color: #dc2626;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.resource-link:hover {
    color: #b91c1c;
    transform: translateX(5px);
}

.resource-link::after {
    content: "→";
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.resource-link:hover::after {
    transform: translateX(3px);
}

/* Responsive Design for Resources */
@media (max-width: 600px) {
    .resources-container {
        padding: 2rem 0 !important;
    }
    
    .resources-flex {
        flex-direction: column !important;
        gap: 2rem !important;
        padding: 0 1rem !important;
        margin: 1rem auto !important;
    }
    
    .resource-card {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    text-align: center;
    padding: 3rem 0;
    margin-top: 4rem;
}

/* Prevent header height increase below 850px */
@media (max-width: 850px) {
    .header {
        padding: 15px 2rem;
    }
    
    .header-content {
        padding-top: 0.5rem;
        gap: 1rem;
    }
    
    .header h1 {
        font-size: 1.9rem !important;
        margin-bottom: 0.2rem;
        line-height: 1.1;
    }
    
    .podcast-subtitle {
        font-size: 1rem !important;
        margin-bottom: 0.4rem;
        line-height: 1.2;
    }
    
    .podcast-meta {
        gap: 0.4rem;
        margin-bottom: 0.8rem;
    }
    
    .meta-item {
        font-size: 0.75rem;
        margin-bottom: 0.2rem;
    }
    
    .header-listen-buttons {
        gap: 0.4rem;
        margin-top: 0.5rem;
    }
    
    .header-listen-btn {
        padding: 4px 8px !important;
        font-size: 10px !important;
        min-height: 20px !important;
    }
    
    .header-logo img {
        width: 55%;
        height: auto;
    }
    
    .header-social-links {
        margin-top: 0.4rem;
        gap: 1.5rem;
    }
    
    .header-social-links .social-link {
        font-size: 1rem;
    }
}

/* Reduce button size between 850px and 768px */
@media (max-width: 850px) and (min-width: 769px) {
    .header-listen-btn {
        padding: 2px 4px;
        font-size: 8px;
        border-radius: 2px;
    }
    
    .header-listen-buttons {
        gap: 0.1rem;
    }
}

/* Additional responsive breakpoint for smaller screens */
@media (max-width: 950px) {
    .header {
        text-align: center;
    }
    
    .header-content {
        flex-direction: row;
        align-items: center;
        text-align: center;
        justify-content: center;
        width: 100%;
        max-width: 800px;
        margin: 0 auto;
        padding-top: 1rem;
        gap: 2rem;
    }
    
    .header {
        padding: 20px 2rem;
    }
    
    .subtitle {
        display: none;
    }
    
    .header-text {
        margin-top: 0px !important;
        margin: 0 !important;
    }
    
    .header-left {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: auto;
        gap: 1rem;
        margin-bottom: 0;
    }
    
    .header-logo img {
        width: 75%;
        height: auto;
    }
    
    .header-logo {
        padding-top: 0.5rem;
    }
    
    .header-text {
        margin-left: 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin-top: 0px;
    }
    
    .header-listen-buttons {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        width: 100%;
    }
}





/* Increase button size above 1200px */
@media (min-width: 1201px) {
    .header-listen-btn {
        padding: 14px 24px;
        font-size: 1rem;
        border-radius: 8px;
    }
}



/* Responsive Design */

/* Stack header vertically below 768px */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
        padding-top: 0.2rem;
    }
    
    .header-left {
        margin-bottom: 0.5rem;
        margin-top: -0.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    
    .header-social-links {
        margin-top: 0.1rem;
        gap: 1rem;
    }
    
    .header-text {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-right: 0 !important;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    
    .header-listen-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .podcast-meta {
        flex-direction: row !important;
        justify-content: center !important;
        gap: 1rem !important;
        flex-wrap: wrap !important;
    }
    
    .meta-item {
        margin-bottom: 0 !important;
    }
}

@media (max-width: 1200px) {
    /* Header text sizing adjustments */
    .header h1 {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }
    
    .podcast-subtitle {
        font-size: 1.4rem;
        margin-bottom: 0.3rem;
    }
    
    .subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .podcast-meta {
        margin-top: 1rem;
    }
    
    .meta-item {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .header-listen-buttons {
        margin-top: 1rem;
    }
    
    .header-listen-btn {
        padding: 10px 16px;
        font-size: 0.8rem;
        margin-right: 0.6rem;
        margin-bottom: 0.4rem;
        border-radius: 4px;
    }
    
    /* Keep header-left (logo and social icons) the same size */
    .header-logo img {
        /* Keep original size - no changes */
    }
    
    .header-social-links {
        /* Keep original size - no changes */
    }
    
    .header-social-links .social-link {
        /* Keep original size - no changes */
    }
    
    /* Reduce gaps and margins */
    .header-content {
        gap: 1.5rem;
    }
    
    .header-text {
        margin-left: 1rem;
        padding-right: 20px;
        margin-top: 1rem;
    }
}



@media (max-width: 480px) {
    .header {
        padding: 1.5rem 0.5rem;
    }
    
    .header-content {
        gap: 1rem;
    }
    
    .header-logo img {
        max-width: 150px;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
    
    .podcast-subtitle {
        font-size: 1.2rem;
    }
    
    .header .subtitle {
        font-size: 0.9rem;
    }
    
    .header-listen-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .episode-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .episode-title {
        font-size: 1.2rem;
    }
    

    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .footer-content {
        padding: 0 1rem;
    }
    
    .social-links {
        gap: 1rem;
    }
}

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

.footer h3 {
    margin-bottom: 1rem;
    color: #dc2626;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #dc2626;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .header h1 {
        font-size: 2.5rem;
    }
    
    .episodes-grid {
        grid-template-columns: 1fr;
    }
    
    .podcast-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
        margin-left: 0;
    }
    
    .header-text {
        margin-left: 0;
        text-align: center;
    }
    
    .header-logo img {
        max-width: 175px; /* Reduced by 30% from 250px */
    }
    
    .episode-content-wrapper {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }
    
    .episode-image {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .episode-image img {
        margin: 0 auto !important;
        display: block !important;
        width: 140px !important; /* Reduced by 30% from 200px */
        height: 140px !important; /* Reduced by 30% from 200px */
    }
    
    .audio-controls {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .play-btn {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
        margin-left: 0;
        margin-right: auto;
    }
    
    .timeline {
        width: 100%;
    }
    
    .about-content p {
        font-size: 1rem !important;
        margin-bottom: 0rem !important;
    }
    
    .about-content {
        margin-top: 0rem !important;
        margin-bottom: 0rem !important;
    }
    
    .about-section {
        margin-top: 0rem !important;
        margin-bottom: 0rem !important;
    }
}

@media (max-width: 400px) {
    .podcast-meta {
        display: none !important;
    }
}
