/* VARIABLES Y BASE */
:root { 
    --main: #00d1ff; 
    --accent: #ff8a00; 
    --wa: #25d366; 
    --bg: #000; 
}

body { 
    background: var(--bg); 
    color: #fff; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    margin: 0; 
    overflow-x: hidden; 
}

/* BARRA DE ESTADO */
.status-bar { background: #111; text-align: center; padding: 6px; font-size: 11px; border-bottom: 1px solid #333; }
.dot { height: 8px; width: 8px; background: var(--wa); border-radius: 50%; display: inline-block; margin-right: 5px; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* NAVBAR */
.navbar { display: flex; justify-content: space-between; padding: 15px 5%; background: rgba(0,0,0,0.9); position: sticky; top: 0; z-index: 1000; align-items: center; border-bottom: 1px solid #222; }
.logo { font-size: 24px; font-weight: 900; letter-spacing: -1px; }
.logo-streaming { color: var(--main); }
.btn-soporte-nav { background: transparent; border: 1px solid #444; color: #fff; padding: 6px 15px; border-radius: 8px; cursor: pointer; font-size: 12px; }

/* MENÚ RÁPIDO (NUEVO) */
.quick-menu { 
    display: flex; 
    justify-content: center; 
    gap: 10px; 
    padding: 15px; 
    background: #0a0a0a; 
    position: sticky; 
    top: 65px; 
    z-index: 900; 
    overflow-x: auto; 
    border-bottom: 1px solid #222; 
}
.quick-menu::-webkit-scrollbar { display: none; }
.quick-menu button { 
    background: #1a1a1a; 
    border: 1px solid #333; 
    color: #fff; 
    padding: 8px 18px; 
    border-radius: 20px; 
    white-space: nowrap; 
    cursor: pointer; 
    font-weight: 600;
    transition: 0.3s;
}
.quick-menu button:hover { border-color: var(--main); color: var(--main); }

/* HERO VIDEO */
.hero-video { position: relative; height: 350px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.video-container { position: absolute; top:0; left:0; width:100%; height:100%; z-index: 1; }
.video-container video { width:100%; height:100%; object-fit: cover; filter: brightness(0.3); }
.header-overlay { position: relative; z-index: 2; text-align: center; }
.badge { background: var(--main); color: #000; padding: 4px 12px; border-radius: 20px; font-size: 10px; font-weight: bold; }
h1 { font-size: 32px; margin: 15px 0; }

/* GRID DE SERVICIOS */
.seccion-titulo { text-align: center; margin: 50px 0 20px; color: var(--main); text-transform: uppercase; letter-spacing: 2px; font-size: 1.2rem; }
.grid-servicios, .grid-combos { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 20px; 
    padding: 20px 5%; 
    max-width: 1200px; 
    margin: 0 auto; 
}

/* TARJETAS */
.tarjeta, .tarjeta-combo { background: #111; padding: 25px; border-radius: 20px; border: 1px solid #222; text-align: center; position: relative; transition: 0.3s; }
.tarjeta:hover { transform: translateY(-5px); border-color: #444; }

/* COLORES POR PLATAFORMA */
.netflix { border-top: 4px solid #e50914; }
.disney { border-top: 4px solid #0063e5; }
.max { border-top: 4px solid #5822b4; }
.prime { border-top: 4px solid #00a8e1; }
.vix { border-top: 4px solid #ff5a00; }
.deezer { border-top: 4px solid #ef5464; }
.magic { border-top: 4px solid #ffd700; }
.iptv { border-top: 4px solid var(--main); }
.youtube { border-top: 4px solid #ff0000; }
.spotify { border-top: 4px solid #1db954; }

/* BOTONES */
.grupo-botones { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.btn-pagar { background: var(--main); border: none; padding: 14px; border-radius: 30px; font-weight: bold; cursor: pointer; color: #000; font-size: 14px; text-transform: uppercase; }
.btn-renovar { 
    background: var(--wa); 
    border: none; 
    padding: 14px; 
    border-radius: 30px; 
    font-weight: bold; 
    cursor: pointer; 
    color: #fff; 
    font-size: 14px; 
    text-transform: uppercase; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 8px; 
}
.icon-refresh { transition: 0.6s; font-size: 16px; }
.btn-renovar:hover .icon-refresh { transform: rotate(180deg); }

/* STOCK BADGES */
.top-card { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; font-size: 14px; font-weight: bold; }
.stock-badge { font-size: 10px; padding: 4px 8px; border-radius: 5px; }
.stock-badge.disponible { background: rgba(37, 211, 102, 0.1); color: var(--wa); }
.stock-badge.critico { background: rgba(229, 9, 20, 0.1); color: #e50914; animation: flash 1s infinite; }
@keyframes flash { 50% { opacity: 0.4; } }

.precio { font-size: 32px; font-weight: bold; color: #fff; margin: 10px 0; display: block; }

/* MODALES */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.95); display: none; justify-content: center; align-items: center; z-index: 2000; padding: 20px; }
.modal-content { background: #1a1a1a; width: 100%; max-width: 400px; padding: 30px; border-radius: 25px; border: 1px solid #333; position: relative; }
.qr-container { background: #fff; padding: 15px; border-radius: 15px; margin: 20px 0; }
.qr-container img { width: 100%; height: auto; }
.copy-box { background: #000; padding: 12px; border-radius: 12px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border: 1px solid #222; }
.copy-box span { font-family: monospace; font-size: 20px; color: var(--main); }
.copy-box button { background: var(--main); border: none; padding: 6px 12px; border-radius: 8px; font-weight: bold; cursor: pointer; }

/* NOTIFICACIONES */
.aviso-compra { 
    position: fixed; 
    bottom: 90px; 
    left: 20px; 
    background: #1a1a1a; 
    padding: 15px 25px; 
    border-radius: 12px; 
    border-left: 5px solid var(--wa); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); 
    z-index: 5000; 
    font-size: 13px; 
    animation: slideInOut 4s forwards; 
}
@keyframes slideInOut { 
    0% { transform: translateX(-150%); } 
    10%, 90% { transform: translateX(0); } 
    100% { transform: translateX(-150%); } 
}

/* WHATSAPP FLOAT */
.whatsapp-float { position: fixed; bottom: 25px; right: 25px; background: var(--wa); width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 1000; box-shadow: 0 5px 20px rgba(37,211,102,0.4); }
.whatsapp-float img { width: 35px; }

/* PESTAÑA LATERAL */
.oferta-tag-flotante { 
    position: fixed; 
    left: 0; 
    top: 50%; 
    transform: translateY(-50%); 
    background: var(--accent); 
    color: #000; 
    padding: 15px 8px; 
    border-radius: 0 15px 15px 0; 
    font-weight: 900; 
    font-size: 12px; 
    z-index: 800; 
    writing-mode: vertical-rl; 
    text-orientation: mixed; 
    cursor: pointer; 
}
