:root {
    --bg-dark: #050510;
    --neon-pink: #ff0055;
    --neon-cyan: #00fff2;
    --neon-yellow: #faff00;
    --glass: rgba(255, 255, 255, 0.05);
    --font-cyber: 'Orbitron', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: #fff;
    font-family: var(--font-cyber);
    margin: 0;
    overflow-x: hidden;
    /* Cursor personalizado */
    cursor: crosshair;
}

/* --- 1. EFECTOS DE PANTALLA (CRT/TV) --- */
.scanlines {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.2));
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 999;
    opacity: 0.6;
}

/* Ruido estático de fondo */
.noise {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 998;
    opacity: 0.03;
    background-image: url('https://media.giphy.com/media/oEI9uBYSzLpBK/giphy.gif'); /* Gif de ruido ligero */
}

/* --- 2. CUBOS FLOTANTES --- */
.floating-shapes div {
    position: absolute;
    width: 100px; height: 100px;
    border: 2px solid var(--neon-cyan);
    box-shadow: 0 0 20px var(--neon-cyan);
    opacity: 0.2;
    z-index: -1;
    animation: float 10s infinite linear;
}

.s1 { top: 20%; left: 10%; animation-delay: 0s; border-color: var(--neon-pink); box-shadow: 0 0 20px var(--neon-pink) !important;}
.s2 { top: 70%; right: 10%; animation-delay: -3s; width: 150px; height: 150px; }
.s3 { top: 40%; left: 50%; animation-delay: -6s; border-radius: 50%; border-color: var(--neon-yellow); box-shadow: 0 0 20px var(--neon-yellow) !important;}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-50px) rotate(180deg); }
    100% { transform: translateY(0) rotate(360deg); }
}

/* --- 3. HEADER & GLITCH --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--neon-cyan);
    position: sticky; top: 0; z-index: 100;
}

/* Animación GLITCH Extrema */
.glitch {
    font-size: 3rem;
    font-weight: 900;
    position: relative;
    color: #fff;
    text-shadow: 2px 2px var(--neon-pink);
}

.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--bg-dark);
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--neon-pink);
    clip-path: inset(0 0 0 0); /* Fallback */
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--neon-cyan);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% { clip-path: inset(20% 0 80% 0); }
    20% { clip-path: inset(60% 0 10% 0); }
    40% { clip-path: inset(40% 0 50% 0); }
    60% { clip-path: inset(80% 0 5% 0); }
    80% { clip-path: inset(10% 0 70% 0); }
    100% { clip-path: inset(30% 0 20% 0); }
}

@keyframes glitch-anim-2 {
    0% { clip-path: inset(10% 0 60% 0); }
    20% { clip-path: inset(30% 0 20% 0); }
    40% { clip-path: inset(70% 0 10% 0); }
    60% { clip-path: inset(20% 0 50% 0); }
    80% { clip-path: inset(50% 0 30% 0); }
    100% { clip-path: inset(0% 0 80% 0); }
}

/* --- 4. HERO BANNER --- */
.hero-banner {
    text-align: center;
    padding: 40px 20px;
    background: radial-gradient(circle, rgba(255,0,85,0.1) 0%, rgba(0,0,0,0) 70%);
}
.hero-banner h2 { font-size: 2.5rem; margin: 0; letter-spacing: 5px; }
.blink { animation: blink 1s infinite; color: var(--neon-yellow); }
@keyframes blink { 50% { opacity: 0; } }

/* --- 5. PRODUCTOS (TARJETAS HOLOGRÁFICAS) --- */
#product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding: 40px;
}

.product-card {
    background: linear-gradient(145deg, rgba(20,20,30,0.9), rgba(10,10,20,0.9));
    border: 1px solid rgba(0, 255, 242, 0.2);
    border-radius: 0; /* Bordes rectos para ser más "tech" */
    padding: 20px;
    position: relative;
    transition: 0.4s;
    /* Efecto de recorte en la esquina */
    clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%);
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--neon-pink);
    box-shadow: 0 0 30px rgba(255, 0, 85, 0.4), inset 0 0 20px rgba(255, 0, 85, 0.1);
    z-index: 10;
}

.product-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    filter: grayscale(80%) contrast(1.2); /* Imagen desaturada por defecto */
    transition: 0.4s;
    border-bottom: 2px solid var(--neon-cyan);
}

.product-card:hover .product-img {
    filter: grayscale(0%) contrast(1); /* Color completo al hover */
    border-color: var(--neon-pink);
}

.product-card h3 { text-transform: uppercase; letter-spacing: 2px; margin: 15px 0; font-size: 1.2rem; }
.product-card p { font-size: 1.5rem; color: var(--neon-yellow); text-shadow: 0 0 10px var(--neon-yellow); font-weight: bold; }

/* Botón Agregar */
.add-btn {
    width: 100%;
    padding: 15px;
    margin-top: 15px;
    background: transparent;
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    font-family: var(--font-cyber);
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.add-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: var(--neon-cyan);
    transition: 0.3s;
    z-index: -1;
}

.add-btn:hover { color: #000; box-shadow: 0 0 20px var(--neon-cyan); }
.add-btn:hover::before { left: 0; }

/* --- 6. SIDEBAR & BOTÓN PAGAR --- */
.sidebar {
    position: fixed; top: 0; right: -450px; width: 400px; height: 100vh;
    background: rgba(5, 5, 10, 0.95);
    border-left: 2px solid var(--neon-pink);
    padding: 30px;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2000;
    box-shadow: -20px 0 50px rgba(0,0,0,0.8);
}
.sidebar.active { right: 0; }

.cart-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px; margin-bottom: 15px;
    background: rgba(255,255,255,0.03);
    border-left: 3px solid var(--neon-yellow);
}

.neon-btn-cyber {
    width: 100%;
    padding: 20px;
    background: var(--neon-pink);
    border: none;
    color: #fff;
    font-family: var(--font-cyber);
    font-size: 1.2rem;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 0 15px var(--neon-pink);
    animation: pulse-btn 2s infinite;
}

@keyframes pulse-btn {
    0% { box-shadow: 0 0 15px var(--neon-pink); }
    50% { box-shadow: 0 0 30px var(--neon-pink), 0 0 50px var(--neon-pink); }
    100% { box-shadow: 0 0 15px var(--neon-pink); }
}

/* Iconos y badges */
.cart-icon-container { position: relative; cursor: pointer; }
.neon-badge {
    position: absolute; top: -5px; right: -10px;
    background: var(--neon-yellow); color: #000;
    padding: 2px 6px; border-radius: 0;
    font-size: 0.8rem; font-weight: bold;
    box-shadow: 0 0 10px var(--neon-yellow);
}

/* --- MANTÉN TUS VARIABLES Y ESTILOS ANTERIORES ARRIBA --- */
/* (Aquí pongo lo nuevo y modificado) */

:root {
    --bg-dark: #050510;
    --neon-pink: #ff0055;
    --neon-cyan: #00fff2;
    --neon-yellow: #faff00;
    --font-cyber: 'Orbitron', sans-serif;
    --font-tech: 'Share Tech Mono', monospace; /* Nueva fuente para detalles */
}

/* --- ANIMACIONES DE SCROLL (NUEVO) --- */
.hidden-el {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s;
    filter: blur(5px);
}

.show-el {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* --- MARQUEE (TEXTO QUE CORRE) --- */
.marquee-container {
    background: var(--neon-cyan);
    color: #000;
    overflow: hidden;
    white-space: nowrap;
    padding: 5px 0;
    font-family: var(--font-tech);
    font-weight: bold;
    border-bottom: 2px solid #000;
    position: relative;
    z-index: 101;
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
    padding-left: 100%;
    font-size: 1.1rem;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* --- BOTÓN OUTLINE HERO --- */
.neon-btn-outline {
    background: transparent;
    border: 2px solid var(--neon-yellow);
    color: var(--neon-yellow);
    padding: 15px 30px;
    font-family: var(--font-cyber);
    font-size: 1.2rem;
    cursor: pointer;
    margin-top: 20px;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.neon-btn-outline:hover {
    background: var(--neon-yellow);
    color: #000;
    box-shadow: 0 0 20px var(--neon-yellow);
}

/* --- SECCIÓN CATEGORÍAS --- */
.categories-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 40px 20px;
    flex-wrap: wrap;
}

.category-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--neon-cyan);
    padding: 30px;
    width: 200px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%);
}

.category-card i {
    font-size: 3rem;
    color: var(--neon-pink);
    margin-bottom: 10px;
    transition: 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    background: rgba(0, 255, 242, 0.1);
    box-shadow: 0 0 15px var(--neon-cyan);
}
.category-card:hover i {
    text-shadow: 0 0 10px var(--neon-pink);
    transform: scale(1.2);
}

/* --- SECCIÓN FEATURES --- */
.features-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 60px 40px;
    background: linear-gradient(0deg, rgba(0,0,0,0.8), transparent);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.feature-item {
    text-align: center;
    color: #ccc;
}
.feature-item i {
    font-size: 2.5rem;
    color: var(--neon-yellow);
    margin-bottom: 15px;
    filter: drop-shadow(0 0 5px var(--neon-yellow));
}
.feature-item h4 {
    color: #fff;
    margin: 10px 0;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

/* --- FOOTER TERMINAL --- */
.cyber-footer {
    background: #000;
    border-top: 2px solid var(--neon-pink);
    padding: 50px 20px 20px;
    font-family: var(--font-tech);
    position: relative;
}

.cyber-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 5px;
    background: var(--neon-pink);
    box-shadow: 0 0 20px var(--neon-pink);
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col h3 {
    color: var(--neon-pink);
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    display: inline-block;
}

.footer-col p, .footer-col a {
    color: #888;
    display: block;
    margin-bottom: 10px;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col a:hover {
    color: var(--neon-cyan);
    padding-left: 10px;
    text-shadow: 0 0 5px var(--neon-cyan);
}

.social-icons a {
    display: inline-block;
    margin-right: 15px;
    font-size: 1.5rem;
}

.footer-bar {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #222;
    color: #444;
    font-size: 0.8rem;
}

/* --- AL FINAL DE TU CSS --- */

.footer-bar {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #222;
    color: #fff; /* <--- CAMBIO IMPORTANTE: Estaba en #444 (muy oscuro) */
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Estilo específico para tu enlace */
.dev-link {
    color: var(--neon-cyan);
    text-decoration: none;
    font-weight: 900;
    text-shadow: 0 0 10px var(--neon-cyan);
    transition: 0.3s;
}

.dev-link:hover {
    color: #fff;
    text-shadow: 0 0 20px var(--neon-cyan), 0 0 40px var(--neon-cyan);
}