@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;500;700&family=Inter:wght@400;700;900&display=swap');

:root {
    --bg-dark: #050505;
    --neon-cyan: #00f0ff;
    --hacker-green: #00ff41;
    --border-color: #1a1a1a;
}

body {
    font-family: 'Inter', sans-serif;
}
.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

/* Esconder barra de scroll para un look de App nativa */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #030303;
}
::-webkit-scrollbar-thumb {
    background: #18181b;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #00ff41;
}

/* Ajuste del iframe para que no deje bordes blancos */
iframe {
    width: 100vw;
    height: 100vh;
    outline: none;
}

/* Navegación y Efectos */
.nav-link {
    position: relative;
    color: #a1a1aa;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s;
}
.nav-link:hover, .nav-link.active { color: var(--neon-cyan); }
.nav-link::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0%; height: 2px;
    background-color: var(--neon-cyan); transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Tarjetas de Producto estilo MyHackerTech */
.product-card {
    background: #0a0a0a;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
}
.product-card:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
    transform: translateY(-5px);
}
.img-box {
    background: #000;
    aspect-ratio: 1/1;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; border-bottom: 1px solid var(--border-color);
    padding: 2rem;
}
.img-box img {
    max-width: 100%; max-height: 100%; object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.1));
    transition: transform 0.5s ease;
}
.product-card:hover .img-box img { transform: scale(1.1); }

/* Glitch Title */
.glitch { position: relative; color: white; }
.glitch::before, .glitch::after {
    content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}
.glitch::before { left: 2px; text-shadow: -1px 0 red; clip: rect(24px, 550px, 90px, 0); animation: glitch-anim 2s infinite linear alternate-reverse; }
.glitch::after { left: -2px; text-shadow: -1px 0 blue; clip: rect(85px, 550px, 140px, 0); animation: glitch-anim 2.5s infinite linear alternate-reverse; }