/* VARIABLES GLOBALES */
:root { 
    --main-red: #E50914; 
    --hover-red: #b20710;
    --card-bg: #141414; 
    --body-bg: #050505;
    --yape-purple: #742284;
    --plin-cyan: #00d1ce;
    --spotify-green: #1DB954;
}

/* ESTILOS BASE */
body { 
    background-color: var(--body-bg); 
    color: #f5f5f5; 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    letter-spacing: -0.2px;
}

/* NAVBAR */
.navbar-custom { 
    background-color: rgba(0,0,0,0.8); 
    backdrop-filter: blur(10px); 
}
.navbar-brand { 
    font-weight: 800; 
    font-size: 1.5rem; 
    letter-spacing: -1px; 
}

/* SECCIÓN HERO */
.hero-section { 
    padding: 120px 0 60px; 
    text-align: center; 
    background: radial-gradient(circle at top, #3a0a0d 0%, var(--body-bg) 70%);
}
.hero-title { 
    font-weight: 800; 
    font-size: clamp(2rem, 5vw, 3.5rem); 
    line-height: 1.2; 
    letter-spacing: -2px; 
}
.hero-subtitle { 
    color: #aaa; 
    max-width: 600px; 
    margin: 0 auto; 
}

/* BARRA DE PAGOS */
.payment-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.info-item {
    background: rgba(255,255,255,0.05);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    font-weight: 700;
}
.text-yape { color: var(--plin-cyan); font-weight: 800; } 
.text-entrega { color: #00ff88; font-weight: 800; }

/* RECUADRO ROJITO PRO (SHOP CONTAINER) */
.shop-container {
    background: rgba(229, 9, 20, 0.02);
    border: 1px solid rgba(229, 9, 20, 0.1);
    border-radius: 40px;
    padding: 50px 30px;
    backdrop-filter: blur(5px);
    max-width: 1300px;
    margin: 0 auto;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}

/* TARJETAS */
.product-card {
    background: var(--card-bg);
    border: 1px solid #282828;
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-12px);
    border-color: rgba(229, 9, 20, 0.5);
    box-shadow: 0 15px 40px rgba(229, 9, 20, 0.2);
}

/* LOGOS Y TEXTOS */
.logo-container {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}
.platform-logo {
    max-height: 45px;
    max-width: 140px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.1));
}
.card-title { font-weight: 700; font-size: 1.25rem; margin-bottom: 5px; }
.card-desc { color: #888; font-size: 0.9rem; line-height: 1.4; min-height: 40px; }
.price-tag { font-size: 1.8rem; font-weight: 800; color: #fff; margin: 15px 0; }
.warranty-text { font-size: 0.8rem; color: #00ff88; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 5px; }

/* BOTÓN COMPRAR */
.btn-buy { 
    background: var(--main-red); 
    border: none; 
    font-weight: 700; 
    border-radius: 12px; 
    padding: 15px; 
    transition: all 0.3s ease; 
    color: white; 
    text-decoration: none; 
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.btn-buy:hover:not(:disabled) { 
    background: var(--hover-red); 
    transform: scale(1.03); 
    box-shadow: 0 5px 20px rgba(229, 9, 20, 0.4);
    color: white;
}
.btn-buy:disabled { 
    background: #333; 
    color: #777; 
    border: 1px solid #444; 
    cursor: not-allowed; 
    opacity: 0.6; 
}

/* BADGE STOCK */
.badge-disponible {
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.badge-agotado {
    background: rgba(255, 255, 255, 0.05);
    color: #666;
    border: 1px solid rgba(255, 255, 255, 0.1);
}


/* Agrega esto para mejorar el fondo y que no se vea vacío */
.hero-section {
    padding: 140px 0 80px;
    background: 
        radial-gradient(circle at 20% 30%, rgba(229, 9, 20, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(229, 9, 20, 0.1) 0%, transparent 40%),
        var(--body-bg);
}

/* Mejora el recuadro para que tenga un brillo interno (Glow) */
.shop-container {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(229, 9, 20, 0.05);
    position: relative;
    z-index: 1;
}

/* Efecto de luz roja lateral para que no se vea negro vacío a los lados */
.shop-container::before {
    content: "";
    position: absolute;
    top: -50px; left: -50px; right: -50px; bottom: -50px;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.05) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* Botón cuando está habilitado: Que brille de verdad */
.btn-buy:not(:disabled) {
    background: linear-gradient(45deg, var(--main-red), #ff1f2a);
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(229, 9, 20, 0); }
    100% { box-shadow: 0 0 0 0 rgba(229, 9, 20, 0); }
}

/* ALERTA AMARILLA PERSONALIZADA */
.alert-warning-custom {
    background: rgba(255, 193, 7, 0.05);
    border: 1px solid rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.alert-warning-custom strong {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

@media (max-width: 768px) {
    .shop-container {
        padding: 30px 15px;
        border-radius: 25px;
        margin: 0 10px;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .monto-big {
        font-size: 2.5rem;
    }
}