/**
 * Featured Events Carousel Styles - DISEÑO OPTIMIZADO Y SIMPLIFICADO
 * 
 * @version 3.2 - 26 Oct 2025 - ZOOM + CLIMA + COUNTDOWN + BADGE REPOSICIONADO 🔍☀️⏰⭐
 */

/* ========== CONTAINER ========== */
.mlet-featured-carousel-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    background: #f8f9fa;
}

/* ========== LOADING STATE ========== */
.mlet-carousel-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.mlet-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: mlet-spin 1s linear infinite;
    margin-bottom: 16px;
}

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

.mlet-carousel-loading p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    opacity: 0.9;
}

/* ========== CAROUSEL WRAPPER ========== */
.mlet-carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.mlet-carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

/* ========== SLIDES - DISEÑO CLÁSICO ========== */
.mlet-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(30px) scale(0.98);
}

.mlet-carousel-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
    z-index: 2;
}

/* Franja violeta inferior para resaltar botones */
.mlet-carousel-slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 160px;
    background: linear-gradient(
        180deg,
        rgba(75, 0, 130, 0) 0%,
        rgba(75, 0, 130, 0.2) 20%,
        rgba(75, 0, 130, 0.5) 50%,
        rgba(75, 0, 130, 0.8) 80%,
        rgba(75, 0, 130, 0.95) 100%
    );
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 2;
    pointer-events: none;
}

.mlet-slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1);
}

/* Zoom cinematográfico en slide activo */
.mlet-carousel-slide.active .mlet-slide-background {
    transform: scale(1.02);
    transition: transform 3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Zoom interactivo en hover */
.mlet-carousel-slide:hover .mlet-slide-background {
    transform: scale(1.08) !important;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mlet-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 1;
    transition: background 0.4s ease;
}

/* Overlay más brillante en hover para mejor contraste */
.mlet-carousel-slide:hover .mlet-slide-overlay {
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
}

/* ========== SLIDE CONTENT ========== */
.mlet-slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 50px 30px 50px;
    color: white;
    z-index: 4;
    box-sizing: border-box;
    text-align: center;
}

/* Badge DESTACADO reposicionado en la esquina superior */
.mlet-slide-badge-top {
    position: absolute;
    top: 15px;
    right: 80px;
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.4);
    z-index: 5;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    animation: mlet-pulse 2s infinite;
}

.mlet-slide-badge-top:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(255, 152, 0, 0.6);
}

/* Badge anterior removido del contenido */
.mlet-slide-badge {
    display: none; /* Ya no se usa - movido a esquina superior */
}

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

.mlet-slide-category {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.mlet-slide-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 40px rgba(255, 255, 255, 0.6),
        0 4px 12px rgba(0, 0, 0, 0.5);
    text-align: center;
    width: 100%;
    letter-spacing: 2px;
    animation: mlet-title-glow 3s ease-in-out infinite alternate;
}

@keyframes mlet-title-glow {
    0% { 
        text-shadow: 
            0 0 20px rgba(255, 255, 255, 0.8),
            0 0 40px rgba(255, 255, 255, 0.6),
            0 4px 12px rgba(0, 0, 0, 0.5);
    }
    100% { 
        text-shadow: 
            0 0 30px rgba(255, 255, 255, 1),
            0 0 60px rgba(255, 255, 255, 0.8),
            0 4px 12px rgba(0, 0, 0, 0.5);
    }
}

.mlet-slide-excerpt {
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 24px 0;
    opacity: 0.95;
    width: 100%;
    text-align: center;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* ========== SLIDE META ========== */
.mlet-slide-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 0px;
    width: 100%;
    flex-wrap: nowrap;
}

/* En pantallas grandes, forzar una sola línea */
@media (min-width: 1024px) {
    .mlet-slide-meta {
        gap: 15px;
        flex-wrap: nowrap;
    }
    
    .mlet-slide-date,
    .mlet-slide-location,
    .mlet-slide-price,
    .mlet-slide-button,
    .mlet-countdown {
        min-width: 140px;
        font-size: 14px;
    }
}

.mlet-slide-date,
.mlet-slide-location,
.mlet-slide-price {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(15px);
    padding: 12px 18px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    min-width: 120px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.mlet-slide-date:hover,
.mlet-slide-location:hover,
.mlet-slide-price:hover {
    background: rgba(255, 255, 255, 0.45);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    border-color: rgba(255, 255, 255, 0.8);
}

.mlet-slide-date::before {
    content: "📅";
    margin-right: 8px;
}

.mlet-slide-location::before {
    content: "📍";
    margin-right: 8px;
}

.mlet-slide-price::before {
    content: "🎫";
    margin-right: 8px;
}

/* ========== SLIDE ACTIONS (INTEGRADO EN META) ========== */

.mlet-slide-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    border: 2px solid rgba(255, 255, 255, 0.3);
    min-width: 160px;
    text-align: center;
}

.mlet-slide-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.3) inset;
    text-decoration: none;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
    background: linear-gradient(135deg, #7b8ff0 0%, #8a5bb8 100%);
}

.mlet-button-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.mlet-slide-button:hover .mlet-button-icon {
    transform: translateX(4px);
}

/* ========== COUNTDOWN ========== */
.mlet-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(15px);
    padding: 10px 12px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    min-width: 240px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    flex-wrap: nowrap;
    overflow: hidden;
}

.mlet-countdown:hover {
    background: rgba(255, 255, 255, 0.45);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    border-color: rgba(255, 255, 255, 0.8);
}

.mlet-countdown-unit {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

.mlet-countdown-number {
    font-size: 15px;
    font-weight: 700;
    color: #FFD700;
    min-width: 18px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.mlet-countdown-label {
    font-size: 11px;
    text-transform: lowercase;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.mlet-countdown-separator {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 700;
    margin: 0 2px;
}

.mlet-countdown-active {
    color: #FFD700;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    animation: mlet-glow 2s infinite;
}

@keyframes mlet-glow {
    0%, 100% { text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
    50% { text-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.3); }
}

/* ========== NAVIGATION ========== */
.mlet-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    pointer-events: none;
}

.mlet-carousel-prev,
.mlet-carousel-next {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.mlet-carousel-prev:hover,
.mlet-carousel-next:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.mlet-carousel-icon {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

/* ========== INDICATORS ========== */
.mlet-carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: none; /* Ocultar indicadores - usuario prefiere solo flechas laterales */
    gap: 8px;
    z-index: 10;
}

.mlet-carousel-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mlet-carousel-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.mlet-carousel-dot.active {
    background: #667eea;
    border-color: #667eea;
    transform: scale(1.3);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.3);
}

/* ========== COUNTER ========== */
.mlet-carousel-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ========== EMPTY STATE ========== */
.mlet-carousel-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #6c757d;
    padding: 40px;
}

.mlet-empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.7;
}

.mlet-carousel-empty h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #495057;
}

.mlet-carousel-empty p {
    font-size: 16px;
    margin: 0;
    opacity: 0.8;
    max-width: 300px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .mlet-slide-content {
        padding: 15px 15px 25px 15px;
        justify-content: center;
    }
    
    .mlet-slide-title {
        font-size: 28px;
        width: 100%;
    }
    
    .mlet-slide-excerpt {
        font-size: 16px;
        width: 100%;
    }
    
    .mlet-slide-meta {
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 15px;
        justify-content: center;
    }
    
    .mlet-slide-date,
    .mlet-slide-location,
    .mlet-slide-price,
    .mlet-slide-button {
        min-width: 180px;
        font-size: 12px;
        padding: 10px 12px;
    }
    
    .mlet-countdown {
        min-width: 280px;
        font-size: 11px;
        padding: 8px 10px;
        gap: 2px;
    }
    
    .mlet-countdown-number {
        font-size: 12px;
    }
    
    .mlet-countdown-label {
        font-size: 9px;
    }
    
    .mlet-carousel-nav {
        padding: 0 15px;
    }
    
    .mlet-carousel-prev,
    .mlet-carousel-next {
        width: 40px;
        height: 40px;
    }
    
    .mlet-carousel-icon {
        font-size: 16px;
    }
    
    .mlet-carousel-counter {
        top: 15px;
        right: 15px;
        font-size: 11px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .mlet-slide-content {
        padding: 10px 10px 20px 10px;
    }
    
    .mlet-slide-title {
        font-size: 22px;
        letter-spacing: 1px;
    }
    
    .mlet-slide-excerpt {
        font-size: 14px;
    }
    
    .mlet-slide-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    /* Ajustar franja violeta en móvil */
    .mlet-carousel-slide::after {
        height: 120px;
    }
    
    .mlet-slide-date,
    .mlet-slide-location,
    .mlet-slide-price,
    .mlet-slide-button {
        min-width: 160px;
        font-size: 11px;
        padding: 8px 10px;
    }
    
    .mlet-countdown {
        min-width: 260px;
        font-size: 10px;
        padding: 6px 8px;
        gap: 1px;
    }
    
    .mlet-countdown-number {
        font-size: 11px;
    }
    
    .mlet-countdown-label {
        font-size: 8px;
    }
    
    .mlet-countdown-separator {
        font-size: 10px;
        margin: 0 1px;
    }
    
    .mlet-carousel-indicators {
        bottom: 15px;
    }
    
    .mlet-carousel-dot {
        width: 10px;
        height: 10px;
    }
}

/* Vista previa rápida removida - funcionalidad innecesaria */

/* ========== INFORMACIÓN DEL CLIMA ========== */

/* Badge del clima en el carrusel */
.mlet-weather-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 5;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mlet-weather-badge img {
    width: 20px;
    height: 20px;
}

.mlet-weather-badge span {
    color: #2c5aa0;
    font-weight: 700;
}

/* Widget del clima en el modal */
.mlet-weather-widget {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mlet-weather-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.mlet-weather-icon img {
    width: 60px;
    height: 60px;
}

.mlet-weather-info {
    text-align: center;
}

.mlet-weather-temp {
    font-size: 28px;
    font-weight: 700;
    color: #FFD700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.mlet-weather-desc {
    font-size: 14px;
    opacity: 0.9;
    margin: 5px 0;
    text-transform: capitalize;
}

.mlet-weather-location {
    font-size: 12px;
    opacity: 0.7;
}

.mlet-weather-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.mlet-weather-detail {
    text-align: center;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.mlet-weather-detail-label {
    display: block;
    font-size: 11px;
    opacity: 0.7;
    margin-bottom: 2px;
}

.mlet-weather-detail-value {
    display: block;
    font-weight: 600;
    font-size: 13px;
    color: #FFD700;
}

/* Meta item del clima */
.mlet-weather-item {
    background: rgba(255, 193, 7, 0.2);
    border-radius: 8px;
    padding: 5px 8px;
}

/* Responsive para clima y vista previa */
@media (max-width: 768px) {
    .mlet-weather-badge {
        font-size: 11px;
        padding: 6px 10px;
    }
    
    .mlet-weather-badge img {
        width: 16px;
        height: 16px;
    }
    
    .mlet-weather-widget {
        padding: 15px;
    }
    
    .mlet-weather-main {
        flex-direction: column;
        gap: 10px;
    }
    
    .mlet-weather-temp {
        font-size: 24px;
    }
    
    .mlet-weather-details {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    /* Ajustar badge DESTACADO en tablet/móvil */
    .mlet-slide-badge-top {
        right: 50px;
        font-size: 11px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .mlet-slide-badge-top {
        right: 15px;
        font-size: 10px;
        padding: 5px 10px;
    }
}