
.page-title-section {
    background: linear-gradient(180deg, 
        rgba(248, 250, 252, 1) 0%, 
        rgba(241, 245, 249, 1) 100%
    );
    padding: 3.5rem 0;
    border-radius: 0 0 32px 32px;
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.15);
    position: relative;
    overflow: hidden;
}

.page-title-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 70%;
    height: 150%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    animation: floatPodcasts 20s ease-in-out infinite;
}

@keyframes floatPodcasts {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(5%, 5%) scale(1.1); }
}

.page-title {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e293b 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.page-description {
    color: #64748b;
    font-size: 1.15rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.section-padding {
    padding: 3rem 0 5rem 0;
    background: linear-gradient(180deg, rgba(102,126,234,0.03) 0%, rgba(118,75,162,0.03) 100%);
    position: relative;
}

#podcast-categories {
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    border-radius: 20px;
    box-shadow: 0 8px 28px rgba(99, 102, 241, 0.12);
    border: 2px solid rgba(99, 102, 241, 0.1);
    margin-bottom: 2rem;
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
}

#podcast-categories::-webkit-scrollbar {
    height: 6px;
}

#podcast-categories::-webkit-scrollbar-track {
    background: rgba(99, 102, 241, 0.05);
    border-radius: 3px;
}

#podcast-categories::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 3px;
}

#podcast-categories::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
}

.category-pill {
    font-weight: 600;
    padding: 0.65rem 1.5rem;
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(99, 102, 241, 0.2);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.category-pill::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.category-pill:hover::before {
    width: 300px;
    height: 300px;
}

.category-pill.btn-light {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    color: #6366f1;
}

.category-pill.btn-light:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.3);
}

.category-pill.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.category-pill.btn-primary:hover {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.podcast-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    border: 2px solid rgba(99, 102, 241, 0.15);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.1);
    position: relative;
    height: 100%;
}

.podcast-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.podcast-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.25);
    border-color: rgba(99, 102, 241, 0.3);
}

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

.podcast-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.podcast-card:hover .podcast-card-img {
    transform: scale(1.08);
}

.podcast-card-body {
    padding: 1.25rem;
    position: relative;
    z-index: 1;
}

.podcast-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.3s ease;
}

.podcast-card:hover .podcast-card-title {
    color: #6366f1;
}

.podcast-card-desc {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.75rem;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
}

.podcast-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #64748b;
    flex-wrap: wrap;
}

.podcast-card-category {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
}

.podcast-card-category i {
    color: #fbbf24;
}

.podcast-card-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
}

.podcast-card-meta i {
    color: #8b5cf6;
}

.podcast-card-meta .btn {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border: none;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

.podcast-card-meta .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.podcast-card-meta .btn:hover::before {
    width: 200px;
    height: 200px;
}

.podcast-card-meta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
}

#load-more {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border: none;
    color: white;
    padding: 0.875rem 2.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

#load-more::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

#load-more:hover::before {
    width: 300px;
    height: 300px;
}

#load-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
}

#load-more:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Alert */
.alert-info {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 2px solid rgba(99, 102, 241, 0.2);
    color: #6366f1;
    border-radius: 16px;
    padding: 1.25rem;
    font-weight: 600;
}

.alert-warning {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
    border: 2px solid rgba(251, 191, 36, 0.3);
    color: #d97706;
    border-radius: 16px;
    padding: 1.25rem;
    font-weight: 600;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.podcast-card {
    animation: fadeInUp 0.5s ease-out backwards;
}

.podcast-card:nth-child(1) { animation-delay: 0.05s; }
.podcast-card:nth-child(2) { animation-delay: 0.1s; }
.podcast-card:nth-child(3) { animation-delay: 0.15s; }
.podcast-card:nth-child(4) { animation-delay: 0.2s; }
.podcast-card:nth-child(5) { animation-delay: 0.25s; }
.podcast-card:nth-child(6) { animation-delay: 0.3s; }
.podcast-card:nth-child(n+7) { animation-delay: 0.35s; }

@media (max-width: 991px) {
    .page-title {
        font-size: 2.3rem;
    }
    
    #podcast-categories {
        padding: 1rem;
    }
}

@media (max-width: 767px) {
    .page-title-section {
        padding: 2.5rem 0;
        border-radius: 0 0 24px 24px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-description {
        font-size: 1rem;
    }
    
    .section-padding {
        padding: 2.5rem 0 4rem 0;
    }
    
    #podcast-categories {
        border-radius: 16px;
        padding: 0.85rem;
        margin-bottom: 1.5rem;
    }
    
    .category-pill {
        padding: 0.5rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .podcast-card-body {
        padding: 1rem;
    }
    
    .podcast-card-title {
        font-size: 0.95rem;
    }
    
    .podcast-card-desc {
        font-size: 0.8rem;
    }
    
    .podcast-card-meta {
        font-size: 0.8rem;
    }
    
    .podcast-card-meta .btn {
        width: 100%;
        margin-top: 0.5rem;
    }
    
    #load-more {
        width: 100%;
        padding: 0.75rem 2rem;
    }
}

@media (max-width: 576px) {
    .page-title {
        font-size: 1.75rem;
    }
}
.btn-icon-only {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #ffffff;
}
.podcast-card-meta .btn-icon-only i { color: #ffffff !important; }
.btn-icon-only {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.btn-rate-amber {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%) !important;
    color: #111827 !important; /* near-black */
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}
.btn-rate-amber i { color: #111827; }
.btn-rate-amber:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
}
