/* ==========================================
   JUMPER ARMY - STYLES.CSS
   Colores principales:
   - Fondo: #0a0e1a (azul oscuro/negro)
   - Texto: #e0e0e0 (gris claro)
   - Acento principal: #00d4ff (cyan brillante)
   - Acento secundario: #0099cc (cyan oscuro)
   ========================================== */

/* RESET Y BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    background-color: #0a0e1a;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* CONTENEDORES */
.contenedor {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* SECCIONES */
.seccion {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 40px 20px;
    background: linear-gradient(135deg, #0a0e1a 0%, #0d1425 50%, #0a0e1a 100%);
}

.seccion:nth-child(even) {
    background: linear-gradient(135deg, #0d1425 0%, #0a0e1a 50%, #0d1425 100%);
}


/* CAPA DE FONDO DINÁMICA */
.background-glitch {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    /* Asegúrate de que la ruta sea correcta */
    background: url('../images/backgrounds/IMG_001_Panel_fondo_dinamico.avif') no-repeat center center;
    background-size: cover;
    z-index: 0; /* Se mantiene detrás de todo el contenido */
    opacity: 0;
    pointer-events: none; /* No interfiere con clics o scroll */
    animation: flash-vision 12s infinite;  /*Ciclo de 12 segundos */
}

/* ANIMACIÓN DE FALLA DE VISIÓN */
@keyframes flash-vision {
    0%, 85% { opacity: 0; filter: grayscale(100%) brightness(0); }
    87% { opacity: 0.3; filter: grayscale(0%) brightness(1.2); }
    88% { opacity: 0.1; }
    89% { opacity: 0.4; transform: scale(1.02) translateX(5px); }
    91% { opacity: 0.2; transform: scale(1) translateX(0); }
    93%, 100% { opacity: 0; }
}

/* AJUSTE DE LAS SECCIONES */
.seccion {
    position: relative;
    z-index: 1; /* Esto asegura que el texto esté sobre la imagen */
    background: transparent !important; /* Permitimos ver a través de las secciones */
    /* Mantenemos el fondo oscuro en el body para el estado "negro" */
}

body {
    background-color: #0a0e1a; /* Tu azul oscuro base */
}

/* LOGOS */
.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.logo-principal {
    max-width: 250px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
    animation: float 3s ease-in-out infinite;
}

.logo-secundario {
    max-width: 180px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.4));
}

.logo-support {
    max-width: 400px; /* El tamaño que desees */
    width: 100%;
    height: auto;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* TÍTULOS */
.titulo-seccion {
    font-size: 2.5em;
    color: #00d4ff;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: bold;
    text-shadow: 
        0 0 10px rgba(0, 212, 255, 0.8),
        0 0 20px rgba(0, 212, 255, 0.5),
        0 0 30px rgba(0, 212, 255, 0.3);
    position: relative;
    padding-bottom: 20px;
    animation: glow 3s ease-in-out infinite;
}

.titulo-seccion::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
}

/* TEXTO */
.texto-principal {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
    color: #c0c0c0;
}

.texto-principal strong {
    color: #00d4ff;
    font-weight: bold;
}

/* BOTONES CTA */
.boton-cta {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: #0a0e1a;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 20px auto;
    display: block;
    width: fit-content;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 20px rgba(0, 212, 255, 0.5),
        0 5px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid #00d4ff;
}

.boton-cta:hover {
    background: linear-gradient(135deg, #00ffff 0%, #00d4ff 100%);
    transform: translateY(-3px);
    box-shadow: 
        0 0 30px rgba(0, 212, 255, 0.8),
        0 10px 25px rgba(0, 0, 0, 0.4);
}

.boton-cta:active {
    transform: translateY(-1px);
}

/* REDES SOCIALES */
.grid-redes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.red-social {
    background: rgba(0, 212, 255, 0.05);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 180px;
}

.red-social:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: #00d4ff;
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
    cursor: pointer;
}

/* Iconos de redes con efecto neón (usando boxicons) */
.icono-red {
    font-size: 2.8rem;
    color: #00ffff;
    text-shadow: 
        0 0 10px rgba(0, 255, 255, 0.7), 
        0 0 20px rgba(0, 255, 255, 0.5);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.red-social:hover .icono-red {
    color: #ff00ff;
    text-shadow: 
        0 0 15px rgba(255, 0, 255, 0.8), 
        0 0 30px rgba(255, 0, 255, 0.6);
    transform: scale(1.15) translateY(-5px);
}

.texto-red {
    font-size: 0.9em;
    line-height: 1.5;
    color: #b0b0b0;
    transition: color 0.3s ease;
}

.red-social:hover .texto-red {
    color: #e0e0e0;
}

.texto-llamado {
    text-align: center;
    font-size: 1.2em;
    color: #00d4ff;
    font-weight: bold;
    margin-top: 30px;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* TIENDA SECTION */
.tienda-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 30px;
}

.tienda-imagen {
    display: flex;
    justify-content: center;
    align-items: center;
}

.merch-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.3));
    transition: transform 0.3s ease;
}

.merch-image:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.5));
}

.tienda-texto {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* FOOTER */
.footer {
    background: #050810;
    border-top: 2px solid #00d4ff;
    padding: 40px 20px;
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-content p {
    color: #808080;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #00d4ff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95em;
}

.footer-links a:hover {
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
}

/* ANIMACIONES */
@keyframes glow {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(0, 212, 255, 0.8),
            0 0 20px rgba(0, 212, 255, 0.5);
    }
    50% {
        text-shadow: 
            0 0 20px rgba(0, 212, 255, 1),
            0 0 30px rgba(0, 212, 255, 0.8),
            0 0 40px rgba(0, 212, 255, 0.6);
    }
}

/* SCROLL SUAVE Y EFECTOS */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #0a0e1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00d4ff, #0099cc);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #00ffff, #00d4ff);
}

/* SELECCIÓN DE TEXTO */
::selection {
    background: #00d4ff;
    color: #0a0e1a;
}

::-moz-selection {
    background: #00d4ff;
    color: #0a0e1a;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .grid-redes {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 968px) {
    .grid-redes {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .tienda-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .titulo-seccion {
        font-size: 1.8em;
        letter-spacing: 2px;
    }
    
    .texto-principal {
        font-size: 1em;
        text-align: left;
    }
    
    .contenedor {
        padding: 40px 15px;
    }
    
    .boton-cta {
        padding: 12px 30px;
        font-size: 1em;
    }
    
    .grid-redes {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .red-social {
        padding: 20px 15px;
        min-height: 160px;
    }
    
    .icono-red {
        font-size: 2.5rem;
    }
    
    .tienda-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo-principal {
        max-width: 180px;
    }
    
    .logo-secundario {
        max-width: 130px;
    }
}

@media (max-width: 480px) {
    .titulo-seccion {
        font-size: 1.5em;
    }
    
    .seccion {
        min-height: auto;
        padding: 30px 15px;
    }
    
    .grid-redes {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .red-social {
        min-height: 140px;
    }
}
