/* ================================
   ESTILOS GAMER PARA TIENDA ZEROX
   ================================ */

/* Variables CSS para colores temáticos */
:root {
    --neon-blue: #00ffff;
    --neon-purple: #8a2be2;
    --neon-pink: #ff1493;
    --neon-green: #39ff14;
    --dark-bg: #0a0a0a;
    --card-bg: rgba(20, 20, 30, 0.9);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --text-glow: 0 0 10px currentColor;
}

/* Contenedor principal con efectos gamer */
.contact-container {
    width: 90%;
    max-width: 1400px;
    margin: auto;
    margin-top: 150px;
    background: linear-gradient(135deg, 
        rgba(138, 43, 226, 0.1) 0%, 
        rgba(0, 255, 255, 0.05) 50%, 
        rgba(255, 20, 147, 0.1) 100%);
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 30px rgba(0, 255, 255, 0.3),
        inset 0 0 50px rgba(138, 43, 226, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Efecto de borde animado */
.contact-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        var(--neon-blue), 
        var(--neon-purple), 
        var(--neon-pink), 
        var(--neon-green));
    border-radius: 22px;
    z-index: -1;
    animation: borderGlow 3s linear infinite;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* Tarjeta de contacto con estilo gaming */
.contact-card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 255, 255, 0.4);
    border-radius: 15px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Efecto de partículas en el fondo */
.contact-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(0, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, rgba(255, 20, 147, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 40% 60%, rgba(138, 43, 226, 0.1) 1px, transparent 1px);
    background-size: 50px 50px, 30px 30px, 40px 40px;
    animation: particleFloat 10s ease-in-out infinite;
    z-index: -1;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Grid de contacto mejorado */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: center;
}

/* Mapa con efectos gamer */
.contact-map {
    width: 100%;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 
        0 0 20px rgba(0, 255, 255, 0.4),
        inset 0 0 20px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(57, 255, 20, 0.6);
}

.contact-map::before {
    content: 'UBICACIÓN ZEROX';
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--neon-green);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: bold;
    text-shadow: var(--text-glow);
    z-index: 10;
    border: 1px solid var(--neon-green);
}

/* Información de contacto estilizada */
.contact-info {
    padding: 30px;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.7) 0%, 
        rgba(20, 20, 40, 0.8) 100%);
    border-radius: 15px;
    position: relative;
    border: 1px solid rgba(255, 20, 147, 0.4);
    box-shadow: 
        0 0 25px rgba(255, 20, 147, 0.3),
        inset 0 0 25px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Efecto de líneas de código en el fondo */
.contact-info::before {
    content: '> INICIALIZANDO CONEXIÓN...\A> ESTADO: ONLINE\A> SERVIDOR: ACTIVO\A> ZEROX.SYS CARGADO';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: rgba(0, 255, 255, 0.1);
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    white-space: pre;
    line-height: 1.4;
    padding: 20px;
    z-index: -1;
    animation: codeScroll 8s linear infinite;
}

@keyframes codeScroll {
    0% { transform: translateY(100%); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100%); opacity: 0; }
}

/* Títulos con efectos neón */
.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--neon-blue);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 
        0 0 10px var(--neon-blue),
        0 0 20px var(--neon-blue),
        0 0 30px var(--neon-blue);
    animation: titlePulse 2s ease-in-out infinite alternate;
}

@keyframes titlePulse {
    from { text-shadow: 0 0 10px var(--neon-blue), 0 0 20px var(--neon-blue); }
    to { text-shadow: 0 0 15px var(--neon-blue), 0 0 25px var(--neon-blue), 0 0 35px var(--neon-blue); }
}

.contact-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--neon-pink);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 8px var(--neon-pink);
}

.contact-text {
    font-size: 1.1rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(57, 255, 20, 0.3);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.2);
}

.contact-text span {
    color: var(--neon-green);
    font-weight: bold;
    text-shadow: 0 0 5px var(--neon-green);
}

/* Iconos de redes sociales mejorados */
.icono-correo {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 40px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    border: 1px solid rgba(138, 43, 226, 0.3);
}

.icono-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    padding: 15px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
}

.icono-item:hover {
    transform: translateY(-10px) scale(1.1);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--neon-blue);
    box-shadow: 
        0 10px 25px rgba(0, 255, 255, 0.4),
        0 0 20px rgba(0, 255, 255, 0.3);
}

.icono-item img {
    width: 60px;
    height: 60px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.5));
}

.icono-item:hover img {
    filter: 
        drop-shadow(0 0 15px rgba(0, 255, 255, 0.8))
        brightness(1.2)
        contrast(1.3);
}

.texto-hover {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--neon-blue);
    font-weight: bold;
    text-shadow: 0 0 5px var(--neon-blue);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.texto-hover.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Video container mejorado */
.video-container {
    position: relative;
    width: 85%;
    margin: 60px auto;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid var(--neon-purple);
    box-shadow: 
        0 0 30px rgba(138, 43, 226, 0.6),
        inset 0 0 30px rgba(0, 0, 0, 0.3);
}

.video-container::before {
    background: linear-gradient(
        to right,
        rgba(138, 43, 226, 0.8) 0%,
        rgba(138, 43, 226, 0.4) 20%,
        rgba(0, 0, 0, 0) 40%,
        rgba(0, 0, 0, 0) 60%,
        rgba(138, 43, 226, 0.4) 80%,
        rgba(138, 43, 226, 0.8) 100%
    );
    border-radius: 17px;
}

/* Sección de soporte técnico */
.soporte-tecnico {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.9) 0%, 
        rgba(20, 0, 40, 0.8) 50%, 
        rgba(0, 0, 0, 0.9) 100%);
    padding: 60px 40px;
    text-align: center;
    position: relative;
    border-top: 2px solid var(--neon-purple);
}

.soporte-tecnico::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, transparent 50%, rgba(0, 255, 255, 0.03) 50%),
        linear-gradient(rgba(255, 20, 147, 0.03) 50%, transparent 50%);
    background-size: 20px 20px, 20px 20px;
    animation: gridMove 10s linear infinite;
    z-index: -1;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 20px); }
}

.soporte-tecnico h2 {
    color: var(--neon-blue);
    font-size: 3rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-shadow: 
        0 0 15px var(--neon-blue),
        0 0 30px var(--neon-blue);
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { text-shadow: 0 0 15px var(--neon-blue), 0 0 30px var(--neon-blue); }
    to { text-shadow: 0 0 20px var(--neon-blue), 0 0 40px var(--neon-blue), 0 0 60px var(--neon-blue); }
}

.servicios {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    justify-items: center;
    padding: 0 200px;
    margin-top: 50px;
}

/* Tarjetas de servicio con estilo gaming */
.servicio {
    background: linear-gradient(145deg, 
        rgba(0, 0, 0, 0.8) 0%, 
        rgba(40, 0, 80, 0.6) 100%);
    border: 2px solid transparent;
    border-radius: 20px;
    width: 100%;
    max-width: 320px;
    height: 350px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

.servicio::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        transparent, var(--neon-pink), transparent, var(--neon-blue), transparent);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.servicio:hover::before {
    opacity: 1;
    animation: borderRotate 2s linear infinite;
}

@keyframes borderRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.servicio:hover {
    background: linear-gradient(145deg, 
        rgba(0, 0, 0, 0.9) 0%, 
        rgba(60, 0, 120, 0.8) 100%);
    transform: translateY(-10px) scale(1.05);
    box-shadow: 
        0 20px 40px rgba(0, 255, 255, 0.3),
        0 0 30px rgba(255, 20, 147, 0.4);
}

.servicio h3 {
    color: var(--neon-green);
    font-size: 1.4rem;
    font-weight: bold;
    margin: 15px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--neon-green);
    transition: all 0.3s ease;
}

.servicio:hover h3 {
    color: var(--neon-blue);
    text-shadow: 0 0 15px var(--neon-blue);
}

.servicio img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 15px;
    border: 2px solid rgba(0, 255, 255, 0.3);
    transition: all 0.4s ease;
    filter: brightness(0.8) contrast(1.1);
}

.servicio:hover img {
    filter: brightness(1.1) contrast(1.3) saturate(1.2);
    border-color: var(--neon-pink);
    box-shadow: 0 0 20px rgba(255, 20, 147, 0.5);
}

.servicio .texto {
    position: absolute;
    bottom: -100%;
    left: 15px;
    right: 15px;
    padding: 20px;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.95) 0%, 
        rgba(20, 0, 40, 0.9) 100%);
    border: 1px solid var(--neon-blue);
    border-radius: 15px;
    color: #ffffff;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.servicio:hover .texto {
    bottom: 20px;
    box-shadow: 
        0 0 25px rgba(0, 255, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.servicio .texto li {
    color: #e0e0e0;
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

.servicio .texto li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--neon-green);
    font-size: 0.8rem;
}

/* Responsivo mejorado */
@media (max-width: 1024px) {
    .servicios {
        padding: 0 50px;
    }
    
    .contact-container {
        margin-top: 100px;
        width: 95%;
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-map {
        height: 300px;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .servicios {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    
    .servicio {
        max-width: 100%;
        height: auto;
    }
    
    .servicio .texto {
        position: static;
        bottom: 0;
        margin-top: 15px;
        background: rgba(0, 0, 0, 0.8);
    }
    
    .icono-correo {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .icono-item {
        padding: 10px;
    }
    
    .icono-item img {
        width: 50px;
        height: 50px;
    }
    
    .video-container {
        width: 95%;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .contact-container {
        margin-top: 80px;
        padding: 15px;
    }
    
    .contact-title {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    .soporte-tecnico h2 {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .soporte-tecnico p {
        font-size: 0.9rem;
        max-width: 100%;
    }
}

/* Efectos adicionales para mejorar la experiencia gamer */
.contact-container:hover {
    box-shadow: 
        0 0 40px rgba(0, 255, 255, 0.4),
        inset 0 0 60px rgba(138, 43, 226, 0.15);
}

/* Animación de loading para simular carga de videojuego */
@keyframes loadingDots {
    0%, 20% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* Efecto de escaneo futurista */
@keyframes scanLine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100vw); }
}

/* Cursor personalizado gamer */
* {
    cursor: url('img/cursor_2.png'), auto;
}

a, button, .icono-item {
    cursor: url('img/cursor_2.png'), pointer;
}