/* Leading Voices Section */
.leading-voices-section {
    padding: 5rem 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.leading-voices-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
}

/* Header */
.leading-voices-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.leading-voices-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
    background: linear-gradient(135deg, #ffffff 0%, #e5e7eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.leading-voices-subtitle {
    font-size: 1.25rem;
    color: #d1d5db;
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.6;
}

/* Carousel Container */
.leading-voices-carousel {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    max-width: 100%;
}

.leading-voices-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 1.5rem;
}

/* Voice Card */
.voice-card {
    position: relative;
    min-width: 380px;
    height: 480px;
    border-radius: 1.5rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: transparent;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.voice-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 25px 50px -12px rgba(59, 130, 246, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

@media (max-width: 1024px) {
    .voice-card {
        min-width: 340px;
        height: 420px;
    }
}

@media (max-width: 768px) {
    .voice-card {
        min-width: 300px;
        height: 380px;
    }
}

@media (max-width: 480px) {
    .voice-card {
        min-width: 280px;
        height: 360px;
    }
}

/* Voice Video */
.voice-card-video {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    border-radius: 1rem;
    overflow: hidden;
}

.voice-card-vid {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.voice-card:hover .voice-card-vid {
    transform: scale(1.05);
}

/* Legacy Image Support */
.voice-card-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.voice-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.voice-card:hover .voice-card-img {
    transform: scale(1.05);
    transition: transform 0.4s ease;
}

/* Voice Overlay */
.voice-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        transparent 0%, 
        transparent 30%, 
        rgba(0, 0, 0, 0.3) 50%, 
        rgba(0, 0, 0, 0.7) 75%, 
        rgba(0, 0, 0, 0.95) 100%
    );
    z-index: 2;
}

/* Play Button */
.voice-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.voice-play-button:hover {
    background: rgba(255, 255, 255, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.voice-play-button svg {
    width: 24px;
    height: 24px;
    color: #1e3a8a;
    margin-left: 2px;
}

/* Duration Badge */
.voice-duration {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 3;
    backdrop-filter: blur(4px);
}

/* Content */
.voice-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 3;
    color: #ffffff;
}

/* Category Badge */
.voice-category {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 0.375rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Title */
.voice-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Speaker Info Layout */
.voice-speaker-info {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.speaker-avatar {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

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

.speaker-details {
    flex: 1;
    min-width: 0;
}

/* Enhanced Category Badge */
.voice-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Enhanced Title */
.voice-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Enhanced Speaker Info */
.voice-speaker {
    font-size: 0.8125rem;
    color: #e5e7eb;
    line-height: 1.4;
}

.voice-speaker strong {
    display: block;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.125rem;
    font-size: 0.875rem;
}

.speaker-title {
    font-size: 0.75rem;
    color: #d1d5db;
    font-weight: 500;
}

/* Video Modal Styles */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
}

.video-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-player {
    width: 100%;
    height: auto;
    max-height: 90vh;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

.video-modal-close {
    position: absolute;
    top: -3rem;
    right: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Navigation Arrows */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    z-index: 4;
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.carousel-nav-prev {
    left: 1rem;
}

.carousel-nav-next {
    right: 1rem;
}

.carousel-nav svg {
    width: 20px;
    height: 20px;
    color: #ffffff;
}

/* Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .leading-voices-title {
        font-size: 2.5rem;
    }
    
    .voice-card {
        min-width: 280px;
        height: 350px;
    }
}

@media (max-width: 768px) {
    .leading-voices-section {
        padding: 3rem 0;
    }
    
    .leading-voices-title {
        font-size: 2rem;
    }
    
    .leading-voices-subtitle {
        font-size: 1.125rem;
    }
    
    .voice-card {
        min-width: 260px;
        height: 320px;
    }
    
    .voice-card-content {
        padding: 1.5rem;
    }
    
    .voice-card-title {
        font-size: 1.125rem;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
    }
    
    .carousel-nav svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .voice-card {
        min-width: 240px;
        height: 300px;
    }
    
    .voice-card-content {
        padding: 1.25rem;
    }
    
    .carousel-nav-prev {
        left: 0.5rem;
    }
    
    .carousel-nav-next {
        right: 0.5rem;
    }
}

/* Animation for cards */
.voice-card {
    animation: slideInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.voice-card:nth-child(1) { animation-delay: 0.1s; }
.voice-card:nth-child(2) { animation-delay: 0.2s; }
.voice-card:nth-child(3) { animation-delay: 0.3s; }
.voice-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}