/* Hero Section with Wave Background */
.hero {
    position: relative;
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
    z-index: 0;
}

/* Wave SVG Background */
.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 200px;
    z-index: 1;
}

.hero-waves svg {
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1100px;
    width: 100%;
}

.album-container {
    flex-shrink: 0;
}

.album-img {
    width: 320px;
    height: 320px;
    border-radius: 20px;
    box-shadow: 
        0 25px 80px rgba(139, 92, 246, 0.3),
        0 10px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease;
}

.album-img:hover {
    transform: scale(1.02) rotate(-1deg);
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0 0 20px;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff, #a0a0b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text .tagline {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.7;
}

.listen-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.listen-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.listen-btn.apple {
    background: linear-gradient(135deg, #fc3c44, #d63384);
    color: white;
}

.listen-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.listen-btn img {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
}

/* Episodes Section */
.episodes-section {
    padding: 80px 20px;
    background: var(--bg-secondary);
    position: relative;
}

.episodes-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.section-header {
    max-width: 1100px;
    margin: 0 auto 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.section-header a {
    color: var(--accent-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.section-header a:hover {
    text-decoration: underline;
}

.episodes-list {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Episode Card */
.episode-card {
    display: flex;
    gap: 25px;
    background: var(--bg-card);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.episode-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.episode-thumbnail {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-secondary);
}

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

.episode-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.episode-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.episode-meta .episode-number {
    background: var(--accent-gradient);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
}

.episode-meta .date {
    opacity: 0.8;
}

.episode-meta .duration {
    opacity: 0.8;
}

.episode-card h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
}

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

.episode-card .listen-link {
    display: inline-flex;
    align-items: center;
    margin-top: 15px;
    color: var(--accent-primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.episode-card:hover .listen-link {
    color: var(--text-primary);
}

/* Make episode card clickable */
a.episode-card {
    text-decoration: none;
    cursor: pointer;
}

/* Custom Audio Player Styling */
audio::-webkit-media-controls-panel {
    background: var(--bg-secondary);
}

/* Play Button Overlay */
.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.episode-thumbnail:hover .play-overlay {
    opacity: 1;
}

/* Subscribe Section */
.subscribe-section {
    padding: 80px 20px;
    text-align: center;
}

.subscribe-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.subscribe-section p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.platform-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.platform-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.platform-link:hover {
    border-color: var(--accent-primary);
    background: rgba(139, 92, 246, 0.1);
}

.platform-link img {
    width: 24px;
    height: 24px;
}

/* Responsive Design */
@media (max-width: 900px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .listen-buttons {
        justify-content: center;
    }
    
    .album-img {
        width: 260px;
        height: 260px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 20px 40px;
        min-height: 75vh;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text .tagline {
        font-size: 1rem;
    }
    
    .episode-card {
        flex-direction: column;
        gap: 15px;
    }
    
    .episode-thumbnail {
        width: 100%;
        height: 180px;
    }
    
    .section-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .episodes-section {
        padding: 50px 15px;
    }
}

@media (max-width: 480px) {
    .album-img {
        width: 220px;
        height: 220px;
    }
    
    .listen-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .listen-btn {
        width: 100%;
        justify-content: center;
    }
}
