/* Contenedor 16:9 responsivo */
.video-container-16-9 {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio (9/16 = 0.5625) */
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}

.video-container-16-9 .video-wrapper,
.video-container-16-9 iframe,
.video-container-16-9 video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.video-container-16-9 video {
    object-fit: cover;
}

/* Fullscreen específico para contenedor 16:9 */
.video-container-16-9:fullscreen {
    width: 100vw;
    height: 100vh;
    padding-bottom: 0;
    border-radius: 0;
}

.video-container-16-9:fullscreen .video-wrapper,
.video-container-16-9:fullscreen iframe,
.video-container-16-9:fullscreen video {
    border-radius: 0;
}

/* Eliminar espacios entre header y contenido */
body {
    margin-top: 0 !important;
    padding-top: 0 !important;
    background-color: #e8e8e8 !important;
}

/* Fondo más oscuro para eventos premium */
body.evento-premium {
    background-color: #2a2a2a !important;
}

/* Fondo moderado para la página */
.container {
    background-color: transparent;
}

/* Fondo moderado para las secciones principales */
.main-content {
    background-color: #e8e8e8;
}

/* Fondo más oscuro para eventos premium */
.main-content.evento-premium {
    background-color: #2a2a2a;
}

/* Sidebar con fondo moderado */
.sidebar-content {
    background-color: #e8e8e8;
}

/* Sidebar más oscuro para eventos premium */
.sidebar-content.evento-premium {
    background-color: #2a2a2a;
}

/* Asegurar que las cards mantengan su fondo blanco */
.card {
    background-color: #ffffff !important;
    border: 1px solid #e0e0e0;
}

.hero-section {
    background-color: #000000; /* Fondo negro base */
    color: white;
    padding: 4rem 0;
    border-radius: 0; /* Sin bordes redondeados para conectar con el header */
    margin: 0; /* Sin margen para conectar directamente con el header */
    overflow: hidden;
    position: relative;
}

/* Crear una capa de fondo en escala de grises con transparencia y difuminado */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(100%) blur(120px);
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

/* Efecto de viñeta cinematográfica más oscuro */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 15%, rgba(0,0,0,0.8) 50%, rgba(0,0,0,0.95) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Asegurar que la imagen picture-in-picture mantenga sus colores */
.event-image-container {
    filter: none !important;
    z-index: 10 !important;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

.hero-content-wrapper {
    position: relative;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-title-overlay {
    position: absolute;
    top: 20px;
    left: 0;
    z-index: 5;
    max-width: 70%;
}

.event-title-overlay h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    margin-top: 0;
    margin-bottom: 20px;
    padding-top: 0;
    color: white;
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 900;
    max-width: 100%;
    word-wrap: break-word;
}

.subtitle-text {
    color: white;
    font-size: 1.3rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    margin-top: 0.5rem;
}

.event-image-container {
    position: absolute;
    top: 180px;
    right: 20px;
    z-index: 4;
    width: 650px;
    height: auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    border: 3px solid rgba(255,255,255,0.9);
}

.event-image-pip {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    filter: none !important;
}

/* Responsive para títulos largos */
@media (max-width: 1400px) {
    .event-title-overlay h1 {
        font-size: 3rem;
    }
}

@media (max-width: 1200px) {
    .event-title-overlay h1 {
        font-size: 2.5rem;
    }
    .event-title-overlay {
        max-width: 80%;
    }
}

.event-badges {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.event-badge {
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 40px;
}

.event-badge.category {
    background: #007bff;
    color: white;
}

.event-badge.type {
    background: #6c757d;
    color: white;
}

.ticket-card {
    border: 2px solid #e9ecef;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.ticket-card:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.ticket-card.featured {
    border-color: #667eea;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.share-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 1rem 0;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.share-btn:hover {
    transform: scale(1.1);
    color: white;
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.telegram { background: #0088cc; }

/* Estilos para el contador regresivo */
.countdown-card {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 20px;
    overflow: hidden;
}

.countdown-card .card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none;
    padding: 1.5rem;
}

.countdown-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 2rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.countdown-item {
    text-align: center;
    min-width: 100px;
}

.countdown-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: #667eea;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    line-height: 1;
    margin-bottom: 0.5rem;
    animation: pulse 2s infinite;
}

.countdown-label {
    font-size: 1rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.countdown-item:hover .countdown-number {
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 20%, 60%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    80% { transform: translateY(-5px); }
}

/* Responsive */
@media (max-width: 768px) {
    .countdown-container {
        gap: 0.5rem;
    }
    
    .countdown-item {
        min-width: 80px;
    }
    
    .countdown-number {
        font-size: 2.5rem;
    }
    
    .countdown-label {
        font-size: 0.9rem;
    }
}

/* Estilos para sidebar fijo */
.sidebar-sticky {
    position: sticky;
    top: 20px;
    z-index: 1000;
}

/* Asegurar que el sidebar tenga scroll interno si es muy alto */
.sidebar-sticky .card {
    transition: all 0.3s ease;
}

.sidebar-sticky .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Responsive para sidebar fijo */
@media (max-width: 991.98px) {
    .sidebar-sticky {
        position: static;
        top: auto;
    }
}

/* Estilos para el carrusel de la galería */
#carouselGaleria .carousel-item img {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#carouselGaleria .carousel-indicators {
    bottom: 10px;
}

#carouselGaleria .carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.7);
    border: none;
    margin: 0 3px;
}

#carouselGaleria .carousel-indicators button.active {
    background-color: #fff;
}

#carouselGaleria .carousel-control-prev,
#carouselGaleria .carousel-control-next {
    width: 10%;
    opacity: 0.8;
}

#carouselGaleria .carousel-control-prev:hover,
#carouselGaleria .carousel-control-next:hover {
    opacity: 1;
}

/* Estilos para Eventos Recurrentes en la página del evento */
.calendario-evento {
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.calendario-evento .card {
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 2px solid #17a2b8;
}

.calendario-evento .card-header {
    border-radius: 12px 12px 0 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.fechas-evento {
    max-height: 250px;
    overflow-y: auto;
}

.fecha-evento-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    margin: 6px 0;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #17a2b8;
    transition: all 0.2s ease;
}

.fecha-evento-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.fecha-evento-item .fecha-info {
    display: flex;
    flex-direction: column;
}

.fecha-evento-item .fecha-dia {
    font-weight: 600;
    color: #495057;
    font-size: 0.95rem;
}

.fecha-evento-item .fecha-fecha {
    color: #6c757d;
    font-size: 0.85rem;
}

.fecha-evento-item .fecha-hora {
    color: #17a2b8;
    font-weight: 500;
    font-size: 0.9rem;
}

.fecha-evento-item .fecha-tipo {
    background: #17a2b8;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.btn-recurrente-evento {
    transition: all 0.2s ease;
}

.btn-recurrente-evento:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.badge-recurrente {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
}

/* Estilos Premium para Eventos Destacados */
.hero-section-destacado {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a, #0f0f0f, #1a1a1a);
}

.destacado-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: blur(8px) brightness(0.3);
    z-index: 1;
}

.destacado-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.7), rgba(15, 15, 15, 0.6), rgba(26, 26, 26, 0.7));
    z-index: 2;
}

.destacado-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
    z-index: 3;
}

/* Efecto Cañón de Luz Hollywood */
.hollywood-spotlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
}

.light-beam-left {
    position: absolute;
    top: -50px;
    left: -100px;
    width: 400px;
    height: 300px;
    background: linear-gradient(135deg, 
        transparent 0%, 
        rgba(255, 215, 0, 0.8) 20%, 
        rgba(255, 255, 255, 0.9) 50%, 
        rgba(255, 215, 0, 0.7) 80%, 
        transparent 100%);
    transform: rotate(-15deg);
    animation: lightBeamLeft 4s ease-in-out infinite;
    filter: blur(1px);
}

.light-beam-right {
    position: absolute;
    top: -50px;
    right: -100px;
    width: 400px;
    height: 300px;
    background: linear-gradient(45deg, 
        transparent 0%, 
        rgba(255, 215, 0, 0.8) 20%, 
        rgba(255, 255, 255, 0.9) 50%, 
        rgba(255, 215, 0, 0.7) 80%, 
        transparent 100%);
    transform: rotate(15deg);
    animation: lightBeamRight 4s ease-in-out infinite;
    filter: blur(1px);
}

.spotlight-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 400px;
    background: radial-gradient(ellipse at center, 
        rgba(255, 215, 0, 0.6) 0%, 
        rgba(255, 255, 255, 0.4) 30%, 
        rgba(255, 215, 0, 0.2) 60%,
        transparent 80%);
    animation: spotlightPulse 3s ease-in-out infinite;
    filter: blur(2px);
}

.light-rays {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 45%, rgba(255, 215, 0, 0.3) 48%, rgba(255, 215, 0, 0.4) 50%, rgba(255, 215, 0, 0.3) 52%, transparent 55%),
        linear-gradient(-45deg, transparent 45%, rgba(255, 255, 255, 0.3) 48%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.3) 52%, transparent 55%),
        linear-gradient(90deg, transparent 45%, rgba(255, 215, 0, 0.2) 48%, rgba(255, 215, 0, 0.3) 50%, rgba(255, 215, 0, 0.2) 52%, transparent 55%),
        linear-gradient(0deg, transparent 45%, rgba(255, 255, 255, 0.2) 48%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.2) 52%, transparent 55%);
    animation: lightRays 6s linear infinite;
}

.hero-content-destacado {
    position: relative;
    z-index: 5;
    text-align: center;
    color: white;
    padding: 4rem 0;
}

.destacado-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #8b4513;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.4);
    margin-bottom: 2rem;
    animation: badgeFloat 3s ease-in-out infinite;
}

.destacado-badge-top i {
    font-size: 1.2rem;
    animation: crownRotate 2s ease-in-out infinite;
}

.event-title-destacado h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #ffffff, #ffd700, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 4s ease-in-out infinite;
}

.destacado-subtitle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 3rem;
}

.destacado-category {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.destacado-separator {
    color: #ffd700;
    font-size: 1.5rem;
    font-weight: bold;
}

.destacado-date {
    color: #ffffff;
    font-weight: 600;
}

.event-image-destacado {
    margin: 3rem 0;
    display: flex;
    justify-content: center;
}

.image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.image-frame:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.05);
}

.event-image-premium {
    width: 600px;
    height: 350px;
    object-fit: contain;
    display: block;
    background: rgba(0, 0, 0, 0.1);
}

.image-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700);
    border-radius: 30px;
    z-index: -1;
    animation: imageGlow 3s ease-in-out infinite;
}

.destacado-actions {
    margin-top: 3rem;
}

.destacado-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.stat-item i {
    font-size: 1.5rem;
    color: #ffd700;
}

.stat-item span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Animaciones Premium */
@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes badgeFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes crownRotate {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(10deg);
    }
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    }
    50% {
        text-shadow: 0 4px 30px rgba(255, 215, 0, 0.8);
    }
}

@keyframes imageGlow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* Animaciones para Efectos de Luz Hollywood */
@keyframes lightBeamLeft {
    0%, 100% {
        opacity: 0.6;
        transform: rotate(-15deg) translateX(0px);
    }
    50% {
        opacity: 0.9;
        transform: rotate(-15deg) translateX(30px);
    }
}

@keyframes lightBeamRight {
    0%, 100% {
        opacity: 0.6;
        transform: rotate(15deg) translateX(0px);
    }
    50% {
        opacity: 0.9;
        transform: rotate(15deg) translateX(-30px);
    }
}

@keyframes spotlightPulse {
    0%, 100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

@keyframes lightRays {
    0% {
        transform: rotate(0deg);
        opacity: 0.2;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        transform: rotate(360deg);
        opacity: 0.2;
    }
}

/* Responsive para Eventos Destacados */
@media (max-width: 768px) {
    .hero-section-destacado {
        min-height: 80vh;
    }
    
    .event-title-destacado h1 {
        font-size: 2.5rem;
    }
    
    .destacado-subtitle {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .event-image-premium {
        width: 400px;
        height: 250px;
    }
    
    .destacado-stats {
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem 1.5rem;
    }
}














