/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Header */
header {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    color: white;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

/* Container to center the header content */
header::before, header::after {
    content: '';
    flex: 1;
}

header::before {
    max-width: calc((100% - 1000px) / 2);
}

header::after {
    max-width: calc((100% - 1000px) / 2);
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
}

.logo {
    flex-shrink: 0;
}

.logo-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Main content */
main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.hero {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 1rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.hero h2 {
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
}

/* Add specific styling for the subscription text */
.hero p:last-child {
    margin-top: 1rem;
    margin-bottom: 0;
}

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

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
}

.cta-button i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.youtube {
    background-color: #FF0000;
}

.youtube:hover {
    background-color: #cc0000;
}

.spotify {
    background-color: #1DB954;
}

.spotify:hover {
    background-color: #169c46;
}

.about, .hosts, .be-a-guest, .episodes, .subscribe {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.about h3, .hosts h3, .be-a-guest h3, .episodes h3, .subscribe h3 {
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.about h3:after, .hosts h3:after, .be-a-guest h3:after, .episodes h3:after, .subscribe h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #1a1a1a, #555);
}

.about p, .hosts p, .be-a-guest p {
    margin-bottom: 1rem;
    color: #555;
}

/* Hosts section */
.host-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.host {
    flex: 1;
    min-width: 300px;
    text-align: left;
    padding: 1.5rem;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.host h4 {
    text-align: center;
    margin-bottom: 1rem;
}

.host p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
    color: #444;
    text-align: justify;
}

.host p a {
    color: #555;
    text-decoration: none;
    border-bottom: 1px dotted #777;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

.host p a:hover {
    color: #333;
    border-bottom: 1px solid #555;
}

.host-image {
    margin: 0 auto 1.5rem;
}

.host-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
    border: 3px solid #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.host1 {
    background-image: url('images/thanos.jpeg');
}

.host2 {
    background-image: url('images/rollins.png');
}

.host h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    text-align: center;
}

.host-social {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    background-color: #0077b5;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 1rem auto 0;
    max-width: 150px;
    transition: background-color 0.3s ease;
}

.host-social:hover {
    background-color: #005885;
}

.host-social i {
    margin-right: 0.5rem;
}

/* Episodes section */
.episode-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.episode {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

.episode:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.episode-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: #1a1a1a;
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.episode-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
}

.episode-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
    width: auto;
    height: auto;
}

.episode-image img:hover {
    transform: scale(1.02);
}

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

.episode h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    padding-right: 4rem;
}

.episode-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.8rem;
    font-weight: 500;
    font-family: 'Courier New', monospace;
}

.episode p {
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.episode-links {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    margin-top: auto;
    padding-top: 0.5rem;
}

.episode-links a {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
    min-width: 85px;
    justify-content: center;
}

.episode-links a i {
    margin-right: 0.4rem;
    font-size: 0.85rem;
}

.youtube-link {
    background-color: #FF0000;
}

.youtube-link:hover {
    background-color: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 0, 0, 0.3);
}

.spotify-link {
    background-color: #1DB954;
}

.spotify-link:hover {
    background-color: #169c46;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(29, 185, 84, 0.3);
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin-top: 2rem;
}

.load-more-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #1a1a1a;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.load-more-btn:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.load-more-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Subscribe section */
.subscribe {
    text-align: center;
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
}

.subscribe p {
    margin-bottom: 1.5rem;
    color: #555;
}

.subscribe-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.subscribe-button {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
}

.subscribe-button i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    color: #666;
    border-top: 1px solid #eee;
    margin-top: 3rem;
    background-color: #f0f0f0;
}

footer p {
    margin-bottom: 1rem;
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #1a1a1a;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    background-color: #333;
    transform: translateY(-3px);
}

/* Responsive design */
.header-text {
    text-align: left;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }
    
    .header-text {
        text-align: center;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    main {
        padding: 1rem;
    }
    
    .about, .hosts, .episodes, .subscribe {
        padding: 1.5rem;
    }
    
    .host-container {
        flex-direction: column;
    }
    
    .episode-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo-img {
        width: 100px;
        height: 100px;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    .cta-buttons, .subscribe-links {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .cta-button, .subscribe-button {
        width: 100%;
        justify-content: center;
    }
}