/* Template Ficha 10 - Neon Cyberpunk */

/* Animaciones CSS optimizadas */
@keyframes nf-cyber-hero {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(80px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
@keyframes nf-cyber-title {
    from {
        opacity: 0;
        transform: scale(0.7);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes nf-cyber-info {
    from {
        opacity: 0;
        transform: translateX(70px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}
@keyframes nf-cyber-schedule {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.nf-animate-cyber-hero {
    animation: nf-cyber-hero 1.4s ease-out forwards;
}
.nf-animate-cyber-title {
    animation: nf-cyber-title 1.2s ease-out forwards;
}
.nf-animate-cyber-info {
    animation: nf-cyber-info 0.8s ease-out forwards;
}
.nf-animate-cyber-schedule {
    animation: nf-cyber-schedule 0.7s ease-out forwards;
}
/* Hover de iconos ahora en CSS */
.nf-cyber-icon-neon {
    transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
}
.nf-cyber-info-neon:hover .nf-cyber-icon-neon {
    transform: scale(1.5) rotate(720deg) !important;
}
.nf-cyber-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #000000 0%, #1a0033 25%, #0d001a 50%, #1a0033 75%, #000000 100%) !important;
    padding: 60px 0 !important;
    position: relative !important;
    overflow: hidden !important;
}
.nf-cyber-page::before {
    content: '';
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    background: 
        radial-gradient(circle at 10% 20%, rgba(138, 43, 226, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(0, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 0, 255, 0.05) 0%, transparent 60%);
    z-index: 0 !important;
    animation: cyber-breathe 10s ease-in-out infinite;
    pointer-events: none !important;
}
@keyframes cyber-breathe {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}
.nf-cyber-scanlines {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 255, 255, 0.04) 0px,
        transparent 2px,
        transparent 4px
    );
    pointer-events: none;
    z-index: 0 !important;
    animation: scanline-move 10s linear infinite;
}
@keyframes scanline-move {
    0% { transform: translateY(0); }
    100% { transform: translateY(30px); }
}
.nf-cyber-container {
    max-width: 1100px;
    margin: 0 auto !important;
    padding: 0 20px !important;
    position: relative !important;
    z-index: 1 !important;
}
.nf-cyber-hero {
    background: rgba(10, 0, 30, 0.92) !important;
    border-radius: 25px !important;
    padding: 70px !important;
    margin-bottom: 40px !important;
    box-shadow: 
        0 0 100px rgba(138, 43, 226, 0.5),
        0 0 50px rgba(0, 255, 255, 0.3),
        inset 0 0 80px rgba(138, 43, 226, 0.1);
    position: relative !important;
    overflow: hidden !important;
    border: 2px solid transparent !important;
}
.nf-cyber-hero::before {
    content: '';
    position: absolute !important;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 25px !important;
    background: linear-gradient(135deg, #8a2be2, #00ffff, #ff00ff, #00ffff, #8a2be2) !important;
    background-size: 400% 400% !important;
    z-index: -1 !important;
    animation: neon-flow 6s linear infinite;
}
@keyframes neon-flow {
    0% { background-position: 0% 50%; }
    100% { background-position: 400% 50%; }
}
.nf-cyber-hero::after {
    content: '⚡';
    position: absolute !important;
    bottom: 30px;
    right: 30px;
    font-size: 150px !important;
    opacity: 0.03 !important;
    filter: drop-shadow(0 0 20px #00ffff);
}
.nf-cyber-top {
    text-align: center !important;
    margin-bottom: 50px !important;
    padding-bottom: 30px !important;
    border-bottom: 2px solid rgba(0, 255, 255, 0.3) !important;
    position: relative !important;
}
.nf-cyber-top::after {
    content: '';
    position: absolute !important;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%) !important;
    width: 250px !important;
    height: 2px !important;
    background: linear-gradient(90deg, transparent, #00ffff, #8a2be2, #00ffff, transparent) !important;
    box-shadow: 0 0 15px #00ffff !important;
}
.nf-cyber-neon-tag {
    display: inline-block !important;
    padding: 10px 25px !important;
    background: rgba(138, 43, 226, 0.3) !important;
    color: #00ffff !important;
    border-radius: 25px !important;
    border: 1px solid #8a2be2 !important;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.6) !important;
    font-size: 13px !important;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 800 !important;
    margin-bottom: 25px !important;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}
.nf-cyber-title {
    font-size: 58px !important;
    font-weight: 900 !important;
    margin: 0 0 20px 0 !important;
    background: linear-gradient(135deg, #8a2be2 0%, #00ffff 50%, #ff00ff 100%) !important;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text !important;
    line-height: 1.2 !important;
    text-transform: uppercase;
    letter-spacing: 4px;
    filter: drop-shadow(0 0 30px rgba(138, 43, 226, 0.9));
    animation: title-glitch 5s infinite;
}
@keyframes title-glitch {
    0%, 100% { opacity: 1; }
    94% { opacity: 1; }
    95% { opacity: 0.8; transform: translateX(-2px); }
    96% { opacity: 1; transform: translateX(2px); }
    97% { opacity: 0.9; transform: translateX(0); }
}
.nf-cyber-location-cyber {
    font-size: 19px !important;
    color: #00ffff !important;
    font-weight: 700 !important;
    margin-bottom: 30px !important;
    text-shadow: 0 0 12px rgba(0, 255, 255, 0.8);
}
.nf-cyber-rating-neon {
    display: inline-flex !important;
    align-items: center;
    gap: 22px !important;
    padding: 22px 50px !important;
    background: rgba(138, 43, 226, 0.25) !important;
    color: #00ffff !important;
    border-radius: 60px !important;
    border: 2px solid #8a2be2 !important;
    box-shadow: 
        0 0 40px rgba(138, 43, 226, 0.7),
        inset 0 0 25px rgba(138, 43, 226, 0.3);
    font-size: 20px !important;
    font-weight: 900 !important;
    position: relative !important;
    overflow: hidden !important;
}
.nf-cyber-rating-neon::before {
    content: '';
    position: absolute !important;
    top: -50%;
    left: -50%;
    width: 200% !important;
    height: 200% !important;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 255, 255, 0.4) 50%, transparent 70%) !important;
    animation: neon-shimmer 4s infinite;
}
@keyframes neon-shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}
.nf-cyber-stars-neon {
    color: #ff00ff !important;
    font-size: 26px !important;
    text-shadow: 0 0 15px #ff00ff;
    position: relative !important;
    z-index: 1 !important;
}
.nf-cyber-main-layout {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 50px !important;
    margin-bottom: 50px !important;
}
@media (max-width: 968px) {
    .nf-cyber-main-layout {
        grid-template-columns: 1fr;
    }
}
.nf-cyber-image-neon {
    position: relative !important;
    border-radius: 25px !important;
    overflow: hidden !important;
    height: 550px !important;
    box-shadow: 
        0 0 60px rgba(138, 43, 226, 0.6),
        0 0 40px rgba(0, 255, 255, 0.4);
    border: 3px solid #00ffff !important;
}
.nf-cyber-image-neon::before {
    content: '';
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.45) 0%, rgba(0, 255, 255, 0.45) 100%) !important;
    opacity: 0 !important;
    transition: opacity 0.5s ease;
    z-index: 1 !important;
}
.nf-cyber-image-neon:hover::before {
    opacity: 1 !important;
}
.nf-cyber-image-neon img {
    width: 100% !important;
    height: 100% !important;
    min-height: 200px !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.7s ease;
    filter: contrast(1.15) brightness(0.92);
    transform: none !important; /* Evitar movimiento con scroll */
}
.nf-cyber-image-neon:hover img {
    transform: scale(1.15) !important;
    filter: contrast(1.3) brightness(1.05);
}
.nf-cyber-lightning {
    position: absolute !important;
    top: 25px;
    left: 25px;
    width: 80px !important;
    height: 80px !important;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.4) 0%, transparent 70%) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 45px !important;
    border: 2px solid #00ffff !important;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.8) !important;
    z-index: 2 !important;
    animation: lightning-pulse 2s ease-in-out infinite;
}
@keyframes lightning-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 30px rgba(0, 255, 255, 0.8); }
    50% { transform: scale(1.1); box-shadow: 0 0 50px rgba(0, 255, 255, 1); }
}
.nf-cyber-sidebar {
    display: flex !important;
    flex-direction: column !important;
    gap: 25px !important;
}
.nf-cyber-info-neon {
    background: rgba(138, 43, 226, 0.12) !important;
    padding: 32px !important;
    border-radius: 18px !important;
    border: 1px solid #8a2be2 !important;
    box-shadow: 
        0 0 25px rgba(138, 43, 226, 0.35),
        inset 0 0 20px rgba(138, 43, 226, 0.15);
    transition: all 0.4s ease;
    position: relative !important;
}
.nf-cyber-info-neon::before {
    content: '';
    position: absolute !important;
    top: 0;
    left: 0;
    width: 4px !important;
    height: 0 !important;
    background: linear-gradient(180deg, #00ffff, #8a2be2, #ff00ff) !important;
    transition: height 0.4s ease;
    box-shadow: 0 0 12px #00ffff !important;
}
.nf-cyber-info-neon:hover::before {
    height: 100% !important;
}
.nf-cyber-info-neon:hover {
    transform: translateY(-10px) translateX(12px) !important;
    border-color: #00ffff !important;
    box-shadow: 
        0 0 50px rgba(0, 255, 255, 0.6),
        inset 0 0 30px rgba(0, 255, 255, 0.2);
}
.nf-cyber-icon-neon {
    font-size: 44px !important;
    margin-bottom: 15px !important;
    display: block !important;
    filter: drop-shadow(0 0 15px #00ffff);
}
.nf-cyber-label-neon {
    font-size: 12px !important;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #00ffff !important;
    font-weight: 900 !important;
    margin-bottom: 10px !important;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.9);
}
.nf-cyber-value-neon {
    font-size: 18px !important;
    color: #e0e0e0 !important;
    font-weight: 700 !important;
    line-height: 1.6 !important;
}
.nf-cyber-section {
    background: rgba(10, 0, 30, 0.92) !important;
    border-radius: 25px !important;
    padding: 60px !important;
    margin-bottom: 35px !important;
    box-shadow: 
        0 0 80px rgba(138, 43, 226, 0.4),
        0 0 40px rgba(0, 255, 255, 0.2);
    border: 2px solid rgba(138, 43, 226, 0.5) !important;
}
.nf-cyber-section-title {
    font-size: 38px !important;
    font-weight: 900 !important;
    background: linear-gradient(135deg, #8a2be2 0%, #00ffff 100%) !important;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text !important;
    margin: 0 0 40px 0 !important;
    text-align: center !important;
    text-transform: uppercase;
    letter-spacing: 4px;
    filter: drop-shadow(0 0 20px rgba(138, 43, 226, 0.9));
}
/* SOLO el contenedor interno debe tener grid, NO el padre */
.nf-cyber-schedule-grid > .wp-block-group__inner-container {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
}
@media (max-width: 768px) {
    .nf-cyber-schedule-grid > .wp-block-group__inner-container {
        grid-template-columns: 1fr !important;
    }
}
.nf-cyber-schedule-row {
    background: rgba(138, 43, 226, 0.12) !important;
    padding: 22px 35px !important;
    border-radius: 15px !important;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #8a2be2 !important;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.25) !important;
    transition: all 0.3s ease;
}
.nf-cyber-schedule-row:hover {
    transform: translateY(-8px) scale(1.02) !important;
    border-color: #00ffff !important;
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.5) !important;
    background: rgba(0, 255, 255, 0.12) !important;
}
.nf-cyber-day-neon {
    font-weight: 900 !important;
    color: #00ffff !important;
    font-size: 17px !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.9);
}
.nf-cyber-time-neon {
    color: #e0e0e0 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}
.nf-cyber-map-neon {
    border-radius: 25px !important;
    overflow: hidden !important;
    box-shadow: 
        0 0 60px rgba(138, 43, 226, 0.6),
        0 0 40px rgba(0, 255, 255, 0.4);
    border: 3px solid #00ffff !important;
}
.nf-cyber-cta-ultimate {
    background: linear-gradient(135deg, #8a2be2 0%, #4b0082 25%, #8a2be2 50%, #4b0082 75%, #8a2be2 100%) !important;
    background-size: 300% 300% !important;
    animation: ultimate-cyber 8s ease infinite;
    padding: 70px 60px !important;
    border-radius: 25px !important;
    text-align: center !important;
    margin-top: 40px !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 
        0 0 80px rgba(138, 43, 226, 0.7),
        0 0 40px rgba(0, 255, 255, 0.4);
    border: 3px solid #00ffff !important;
}
@keyframes ultimate-cyber {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.nf-cyber-cta-ultimate::before {
    content: '';
    position: absolute !important;
    top: -50%;
    left: -50%;
    width: 200% !important;
    height: 200% !important;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.25) 0%, transparent 70%) !important;
    animation: ultimate-rotate 12s linear infinite;
    z-index: 0 !important;
    pointer-events: none !important;
}
.nf-cyber-cta-ultimate a {
    position: relative !important;
    z-index: 2 !important;
}
@keyframes ultimate-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.nf-cyber-cta-title {
    font-size: 50px !important;
    font-weight: 900 !important;
    color: #00ffff !important;
    margin: 0 0 20px 0 !important;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.9);
    position: relative !important;
    z-index: 1 !important;
    text-transform: uppercase;
    letter-spacing: 4px;
}
.nf-cyber-cta-subtitle {
    font-size: 23px !important;
    color: rgba(255, 255, 255, 0.92) !important;
    margin: 0 0 40px 0 !important;
    position: relative !important;
    z-index: 1 !important;
    font-weight: 600 !important;
}
.nf-cyber-button-ultimate {
    display: inline-block !important;
    padding: 26px 70px !important;
    background: rgba(0, 255, 255, 0.25) !important;
    color: #00ffff !important;
    text-decoration: none;
    font-size: 20px !important;
    font-weight: 900 !important;
    border-radius: 60px !important;
    border: 3px solid #00ffff !important;
    box-shadow: 
        0 0 40px rgba(0, 255, 255, 0.7),
        inset 0 0 25px rgba(0, 255, 255, 0.25);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative !important;
    z-index: 1 !important;
    text-transform: uppercase;
    letter-spacing: 4px;
}
.nf-cyber-button-ultimate:hover {
    transform: scale(1.2) translateY(-10px) !important;
    background: rgba(0, 255, 255, 0.45) !important;
    box-shadow: 
        0 0 60px rgba(0, 255, 255, 1),
        inset 0 0 40px rgba(0, 255, 255, 0.4);
}



/* Fix: Eliminar espacio extra debajo de mapas (responsive) */
.su-u-responsive-media-yes.mapa,
.su-gmap.su-u-responsive-media-yes {
    padding-bottom: 0 !important;
    height: 0 !important;
    padding-top: 56.25% !important; /* Aspect ratio 16:9 pero arriba */
    position: relative !important;
}
.su-u-responsive-media-yes.mapa iframe,
.su-gmap.su-u-responsive-media-yes iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    height: 100% !important;
    width: 100% !important;
    min-height: 300px; /* Altura mínima en móviles */
}

/* Responsive adicional */
@media (max-width: 768px) {
    .nf-cyber-page { padding: 40px 20px !important; }
    .nf-cyber-card { padding: 40px 30px !important; }
    .nf-cyber-title { font-size: 36px !important; }
    .nf-cyber-info-item { padding: 20px !important; }
    .su-u-responsive-media-yes.mapa,
    .su-gmap.su-u-responsive-media-yes { padding-top: 75% !important; }
}
@media (max-width: 480px) {
    .nf-cyber-card { padding: 30px 20px !important; }
    .nf-cyber-title { font-size: 28px !important; }
}
