/* css/styles.css */

:root {
    /* Tus variables originales */
    --primary: #d20a0a; 
    --bg-dark: #0b0b0d;
    --card-bg: #161618;
    --text-main: #ffffff;
    --text-muted: #888888;
    --border: #2a2a2c;

    /* Nuevas variables para que tu index funcione perfecto */
    --negro-puro: #000000;
    --negro-suave: #111111;
    --rojo-stake: #d20a0a;
    --gris-texto: #888888;
    --blanco: #ffffff;
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
}

/* Navegación */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 6%;
    background: #000;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo { font-weight: 900; font-size: 1.6rem; font-style: italic; }
.logo span { color: var(--primary); }

.nav-links { list-style: none; display: flex; gap: 25px; margin: 0; }
.nav-links a { 
    text-decoration: none; 
    color: var(--text-main); 
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

/* Banner */
.shop-banner {
    text-align: center;
    padding: 80px 20px;
    background: radial-gradient(circle at center, #1e1e22 0%, var(--bg-dark) 100%);
}

.shop-banner h1 { font-size: 3.5rem; margin: 0; font-weight: 900; }
.shop-banner p { color: var(--primary); letter-spacing: 3px; font-size: 0.8rem; margin-top: 10px; }

/* Grid de Productos */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 6% 80px;
}

/* Tarjeta */
.producto-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 4px; /* Estilo más cuadrado/agresivo */
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.producto-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(210, 10, 10, 0.1);
}

.categoria-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary);
    font-size: 0.65rem;
    padding: 3px 8px;
    font-weight: 800;
    z-index: 5;
    text-transform: uppercase;
}

.img-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #111;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.producto-card:hover .img-container img {
    transform: scale(1.1);
}

.producto-info { padding: 20px; }
.producto-info h3 { margin: 0; font-size: 1.1rem; letter-spacing: 0.5px; }

.desc { 
    color: var(--text-muted); 
    font-size: 0.85rem; 
    margin: 12px 0;
    line-height: 1.4;
    height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.precio-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.precio { font-size: 1.5rem; font-weight: 900; }

.btn-add {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 18px;
    font-weight: 800;
    font-size: 0.8rem;
    cursor: pointer;
    text-transform: uppercase;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%); /* Efecto visual de botón de combate */
    transition: 0.2s;
}

.btn-add:hover {
    background: #ff0000;
    padding: 10px 22px;
}

/* ==========================================================
   ESTILOS PREMIUM AGREGADOS PARA LA CARTELERA (PUBLIC)
   ========================================================== */
.fight-card-row {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    overflow: hidden;
}

.fight-card-row:hover {
    border-color: #4a4a4c;
    background-color: #1c1c1e;
}

.fighter-img {
    max-height: 200px;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.4s ease;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.6));
}

/* Hover interactivo por esquinas (Glow) */
.corner-red:hover .fighter-img {
    transform: scale(1.08) translateY(-5px);
    filter: drop-shadow(0 10px 20px rgba(210, 10, 10, 0.5));
}

.corner-blue:hover .fighter-img {
    transform: scale(1.08) translateY(-5px);
    filter: drop-shadow(0 10px 20px rgba(13, 110, 253, 0.5));
}

.vs-badge {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--primary), #8a0505);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Oswald', sans-serif;
    font-weight: 900;
    font-size: 1.1rem;
    font-style: italic;
    color: white;
    box-shadow: 0 0 15px rgba(210, 10, 10, 0.4);
    z-index: 10;
    position: relative;
}

/* ==========================================================
   EFECTO PREMIUM AGREGADO PARA LAS TARJETAS DE PRODUCTO
   ========================================================== */

/* Tarjeta del producto */
.producto-card {
    background-color: var(--negro-suave, #111);
    border: 1px solid var(--border, #2a2a2c);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.4s ease, border-color 0.4s ease;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

/* Efecto al pasar el cursor (Hover) */
.producto-card:hover {
    transform: scale(1.03); /* Ligero zoom out de la tarjeta */
    filter: drop-shadow(0 10px 25px rgba(210, 10, 10, 0.4)); /* Brillo rojo */
    border-color: rgba(210, 10, 10, 0.6) !important;
}

/* Imagen dentro de la tarjeta */
.img-container img {
    transition: transform 0.4s ease;
}

/* Zoom de la imagen al hacer hover */
.producto-card:hover .img-container img {
    transform: scale(1.08); /* Zoom in de la imagen */
}