:root {
    /* Paleta Premium Industrial */
    --bg-dark: #050508;
    --bg-card: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --accent-white: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.6);

    /* Colores de acento (uso sutil) */
    --neon-blue: #00f3ff;
    --neon-pink: #ff0055;

    /* Fuentes */
    --font-main: 'Roboto Mono', monospace;
    --font-title: 'Press Start 2P', cursive;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--accent-white);
    font-family: var(--font-main);
    background-image:
        radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
    background-size: 40px 40px;
    line-height: 1.6;
}

/* NAVBAR - FLOATING & GLASS */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    background: rgba(5, 5, 8, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

.navbar .logo {
    font-family: var(--font-title);
    font-size: 1rem;
    letter-spacing: -1px;
    text-transform: uppercase;
    color: var(--accent-white);
}

.navbar-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.navbar-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: 0.3s;
}

.navbar-links a:hover,
.navbar-links a.neon-text {
    color: var(--accent-white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* CONTAINER ADJUSTMENT */
.container {
    max-width: 1300px;
    margin: 120px auto 50px;
    padding: 0 20px;
}

/* ACTUALIZACIÓN DE LA TARJETA */
.product-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 20px;
    /* Reducimos padding para dar más aire a la imagen */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* Alineamos al inicio */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    min-height: 550px;
    /* Aumentamos un poco el alto total */
    overflow: hidden;
}

/* LA IMAGEN AHORA ABARCA LA MITAD (50%) */
.prod-img {
    width: 100%;
    height: 275px;
    /* Exactamente la mitad de los 550px de la tarjeta */
    object-fit: contain;
    /* Para que el producto no se corte ni se deforme */
    margin: 0 0 20px 0;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.15));
    transition: transform 0.5s ease;
    z-index: 2;
    /* Efecto de matiz blanco detrás de la imagen para que resalte */
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
}

.product-card:hover .prod-img {
    transform: scale(1.15);
    /* Zoom más pronunciado al ser más grande */
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.25));
}

/* AJUSTE DE TEXTOS PARA EL ESPACIO RESTANTE */
.product-card h3 {
    font-size: 0.95rem;
    margin-bottom: 5px;
    height: auto;
    /* Que el texto use lo que necesite */
}

.product-info-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    /* Ocupa el espacio restante del 50% inferior */
    justify-content: space-around;
}

/* VARIANTES DE TARJETA (MATICES) */
.card-industrial {
    border-left: 4px solid var(--color-main);
}

.card-hologram {
    background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 1px, transparent 2px);
}

.card-toxic {
    border-top: 4px solid var(--color-main);
}

/* POPEYE NOTIFICATIONS */
.popeye-indicator {
    position: absolute;
    width: 50px;
    z-index: 5;
    background: transparent;
}

.popeye-indicator img {
    background: transparent;
}

.popeye-top-right {
    top: 10px;
    right: 10px;
}

.popeye-bottom-left {
    bottom: 10px;
    left: 10px;
}

.bubble-quote {
    position: absolute;
    background: #000;
    color: #fff;
    border: 1px solid #fff;
    padding: 8px;
    font-size: 0.6rem;
    width: 120px;
    top: -40px;
    display: none;
    text-transform: uppercase;
}

.product-card:hover .bubble-quote {
    display: block;
}

/* ANIMACIONES BUCLE */
.anim-float {
    animation: floating 3s ease-in-out infinite;
}

.anim-shake:hover {
    animation: shake-extreme 0.2s infinite;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes shake-extreme {
    0% {
        transform: translate(1px, 1px);
    }

    50% {
        transform: translate(-1px, -1px);
    }
}