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

body {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    padding: 40px 0;
    text-align: center;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-full {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    width: auto;
}

/* Main content */
main {
    min-height: calc(100vh - 200px);
    padding: 40px 0;
}

/* Hero section */
.hero {
    text-align: center;
    margin-bottom: 80px;
    padding: 20px 0;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #FFFFFF 0%, #CCCCCC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.3rem;
    color: #B0B0B0;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* Player section */
.player-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 80px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.player-container {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
}

.album-art {
    width: 200px;
    height: 200px;
    border-radius: 15px;
    background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #999;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.album-art img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.player-info {
    flex: 1;
}

.player-info h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.share-btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #FF6B6B;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.share-btn-modern svg {
    width: 20px;
    height: 20px;
    stroke: #FF8E53;
}

.share-btn-modern:hover {
    transform: translateX(3px);
    color: #FF8E53;
}

.share-btn-modern:hover svg {
    stroke: #FF6B6B;
}

.share-btn-modern:active {
    transform: translateX(1px);
}

.player-info .episode-date {
    color: #B0B0B0;
    font-size: 1rem;
    font-weight: 500;
}

.player-info .episode-description {
    color: #CCCCCC;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-top: 10px;
    max-width: 500px;
}

.audio-player {
    width: 100%;
    margin-top: 30px;
    position: relative;
}

.audio-player audio {
    width: 100%;
    height: 50px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

/* Audio error message */
.audio-error {
    padding: 12px 16px;
    margin-top: 15px;
    border-radius: 8px;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.4);
    color: #FF8787;
    font-size: 0.9rem;
    animation: slideInDown 0.3s ease;
}

.audio-player audio:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.1);
}

.audio-player::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(255, 142, 83, 0.1));
    border-radius: 35px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.audio-player:hover::before {
    opacity: 1;
}

/* Episodes section */
.episodes-section h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 300;
}

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

.episode-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 15px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #333;
    position: relative;
    overflow: hidden;
}

.episode-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FF6B6B 0%, #FF8E53 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.episode-card:hover {
    background: linear-gradient(135deg, #2d2d2d 0%, #3a3a3a 100%);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.2);
}

.episode-number {
    color: #FF6B6B;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.episode-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 400;
    line-height: 1.4;
}

.episode-date {
    color: #CCCCCC;
    font-size: 0.85rem;
    margin-bottom: 15px;
    display: none;
}

.episode-description {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Promo section */
.promo-section {
    padding: 60px 0;
    text-align: center;
}

.promo-text {
    font-size: 1.1rem;
    color: #CCCCCC;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.promo-text a {
    color: #FF6B6B;
    text-decoration: none;
    transition: color 0.3s ease;
}

.promo-text a:hover {
    color: #FF8787;
    text-decoration: underline;
}

/* Loading state */
.loading {
    text-align: center;
    padding: 40px;
    color: #CCCCCC;
}

/* Error message */
.error-message {
    padding: 30px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 142, 83, 0.05) 100%);
    border: 1px solid rgba(255, 107, 107, 0.3);
    text-align: center;
    color: #CCCCCC;
    margin: 20px auto;
    max-width: 500px;
}

.error-message h3 {
    color: #FF6B6B;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.error-message p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #B0B0B0;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #FF6B6B;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
    position: relative;
}

.loading-spinner::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 3px solid transparent;
    border-top: 3px solid rgba(255, 142, 83, 0.5);
    border-radius: 50%;
    animation: spin 1.5s linear infinite reverse;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Skeleton screens */
.skeleton-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid #333;
    position: relative;
    overflow: hidden;
}

.skeleton-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: shimmer-skeleton 2s ease-in-out infinite;
}

@keyframes shimmer-skeleton {
    0% { left: -100%; }
    100% { left: 100%; }
}

.skeleton-text {
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    margin-bottom: 10px;
}

.skeleton-text.title {
    height: 18px;
    width: 80%;
    margin-bottom: 15px;
}

.skeleton-text.description {
    height: 14px;
    width: 100%;
    margin-bottom: 8px;
}

.skeleton-text.description:last-child {
    width: 60%;
}

/* Smooth animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Add smooth transitions to all interactive elements */
.episode-card {
    animation: fadeInUp 0.6s ease both;
}

.player-section {
    animation: slideInLeft 0.8s ease both;
}

.logo-full {
    animation: fadeInUp 0.8s ease both;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Enhanced focus states */
.episode-card:focus,
.social-links a:focus,
audio:focus {
    outline: 2px solid #FF6B6B;
    outline-offset: 2px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 50px 0 30px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #FF6B6B, transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 25px;
}

.social-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 107, 0.3), transparent);
    transition: left 0.5s ease;
}

.social-links a:hover::before {
    left: 100%;
}

.social-links a:hover {
    color: #FFFFFF;
    background: rgba(255, 107, 107, 0.1);
    border-color: rgba(255, 107, 107, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.2);
}

.copyright {
    color: #999;
    font-size: 14px;
    font-weight: 400;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .player-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .album-art {
        width: 160px;
        height: 160px;
    }
    
    .player-info h2 {
        font-size: 1.5rem;
    }
    
    .episodes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .logo-full {
        max-height: 150px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .social-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .player-section {
        padding: 30px 20px;
        margin-bottom: 60px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 2rem;
        letter-spacing: -0.5px;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .player-section {
        padding: 20px 15px;
        margin-bottom: 40px;
    }
    
    .episode-card {
        padding: 20px;
    }
    
    .album-art {
        width: 120px;
        height: 120px;
    }
    
    .player-info h2 {
        font-size: 1.3rem;
    }
    
    .player-info .episode-date {
        font-size: 0.9rem;
    }
    
    .episode-title {
        font-size: 1rem;
    }
    
    .episode-number {
        font-size: 0.75rem;
    }
    
    .social-links a {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    footer {
        padding: 40px 0 20px;
    }
}

@media (max-width: 320px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .episode-card {
        padding: 15px;
    }
    
    .album-art {
        width: 100px;
        height: 100px;
    }
}