/* estilos.css - KiosTeam FINAL FIX */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&display=swap');

:root {
    --bg-body: #050505;
    --bg-card: #0a0a0a;
    --neon-green: #00ff66;
    --text-white: #ffffff;
    --nav-bg: rgba(15, 15, 15, 0.95);
}

body {
    background-color: var(--bg-body);
    color: var(--text-white);
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    overflow-x: hidden;
    background-image: radial-gradient(circle at 50% 50%, #111 0%, #000 100%);
}

/* ANIMACIONES */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes glow {
    0% { box-shadow: 0 0 5px var(--neon-green); }
    50% { box-shadow: 0 0 20px var(--neon-green); }
    100% { box-shadow: 0 0 5px var(--neon-green); }
}

/* NAVBAR */
.navbar-container {
    display: flex; justify-content: center; padding-top: 20px;
    position: sticky; top: 0; z-index: 1000;
}
.navbar-pill {
    background: var(--nav-bg); backdrop-filter: blur(15px);
    width: 90%; max-width: 1200px; height: 70px;
    border-radius: 50px; border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}
.brand { 
    font-weight: 800; font-size: 1.5rem; font-style: italic; 
    display: flex; align-items: center; gap: 10px; 
    text-decoration: none; color: white;
}
.brand span { color: var(--neon-green); text-shadow: 0 0 10px var(--neon-green); }

.nav-links { display: flex; gap: 20px; }
.nav-links a { 
    color: #aaa; text-decoration: none; font-weight: 600; 
    text-transform: uppercase; font-size: 0.9rem; transition: 0.3s; 
}
.nav-links a:hover { color: var(--neon-green); text-shadow: 0 0 8px var(--neon-green); }

.user-profile { display: flex; align-items: center; gap: 15px; }
.user-balance { font-weight: 700; color: var(--neon-green); }
.user-img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #333; }

/* HERO SECTION */
.hero-section { 
    position: relative; max-width: 1200px; margin: 40px auto 80px; 
    height: 450px; 
}

.hero-banner {
    width: 100%; height: 100%;
    /* FONDO NEGRO ELEGANTE SI LA IMAGEN FALLA */
    background: linear-gradient(to right, #000 0%, #111 50%, #000 100%);
    border-radius: 30px; border: 1px solid rgba(255,255,255,0.1);
    position: relative; z-index: 1;
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
    box-shadow: 0 0 30px rgba(0,255,102,0.1);
}

.hero-texts { z-index: 5; position: relative; }
.hero-title { 
    font-size: 3.5rem; font-weight: 900; line-height: 1; 
    margin-bottom: 25px; text-transform: uppercase;
}
.hero-title span { color: var(--neon-green); }

.btn-action {
    background: var(--neon-green); color: #000; font-weight: 800;
    padding: 15px 40px; border-radius: 50px; border: none;
    text-decoration: none; display: inline-flex; gap: 10px; align-items: center;
    box-shadow: 0 0 25px rgba(0, 255, 102, 0.4); 
    transition: 0.3s; animation: glow 2s infinite;
}
.btn-action:hover { transform: scale(1.05); background: #fff; }

/* MASCOTAS (SOLUCIÓN CSS) */
.mascot-anime { 
    position: absolute; bottom: -20px; left: -50px; height: 500px; z-index: 10; 
    pointer-events: none; animation: float 6s ease-in-out infinite;
}
.mascot-flork { 
    position: absolute; bottom: 20px; right: -50px; height: 180px; z-index: 10;
    animation: float 4s ease-in-out infinite;
}

/* PRODUCTOS */
.products-grid {
    max-width: 1200px; margin: 0 auto 100px;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px;
}

.card-custom {
    background: var(--bg-card); border: 1px solid #222; border-radius: 20px;
    padding: 20px; display: flex; align-items: center; gap: 15px;
    transition: 0.3s; position: relative;
}
.card-custom:hover { 
    border-color: var(--neon-green); transform: translateY(-5px); 
    background: #0f0f0f; box-shadow: 0 5px 20px rgba(0,255,102,0.1);
}

.card-img { 
    width: 70px; height: 70px; border-radius: 50%; 
    object-fit: cover; border: 2px solid #333; flex-shrink: 0;
}
.card-info { flex-grow: 1; }
.card-title { font-weight: 800; font-size: 1.1rem; margin: 0; color: #fff; }
.card-sub { font-size: 0.8rem; color: #888; margin-bottom: 5px; display: block; }
.card-price { color: var(--neon-green); font-weight: 700; font-size: 1.1rem; }

.btn-buy-mini {
    background: var(--neon-green); color: #000; border: none; padding: 8px 15px;
    border-radius: 20px; font-weight: 700; cursor: pointer; transition: 0.3s;
}

/* FOOTER MARCAS */
.brands-footer {
    display: flex; justify-content: center; gap: 30px; opacity: 0.5; 
    padding-bottom: 50px; flex-wrap: wrap;
}
.brands-footer img { height: 25px; filter: grayscale(100%) brightness(200%); }

/* RESPONSIVE */
@media (max-width: 992px) {
    .mascot-anime, .mascot-flork, .nav-links { display: none; }
    .hero-section { height: auto; padding: 40px 20px; margin-bottom: 40px; }
    .hero-title { font-size: 2rem; }
}