/* ═══════════════════════════════════════════════════════════════════════════ AURORA G1 — Estilos de monetización y VIP Se importa en index.html SIN modificar sus estilos existentes. Clases aditivas únicamente. ═══════════════════════════════════════════════════════════════════════════ */ /* ── Modos bloqueados ─────────────────────────────────────────────────────── */ .locked { filter: grayscale(1); opacity: 0.5; pointer-events: none; position: relative; cursor: not-allowed !important; } .locked::after { content: "🔒"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 1.1rem; pointer-events: none; } /* ── Contador de energía ──────────────────────────────────────────────────── */ #energia-badge { /* Vive DENTRO de la zona del header — no flota sobre el contenido. z-index menor al header (z-index:50) para que nunca tape nada. Invisible al inicio: aparece solo cuando inicializarEnergia() confirma que hay un usuario logueado con plan basic. */ position: fixed; /* Alineado verticalmente con el avatar (header tiene min-height:70px) */ top: calc(env(safe-area-inset-top, 0px) + 22px); /* A la izquierda del avatar — el avatar está en .header-right con justify-content:flex-end, aprox últimos 60px. Ponemos el badge a 68px del borde derecho para que quede entre el título y el avatar */ right: 68px; z-index: 45; /* debajo del header (z-index:50) y paneles (100000+) */ display: none; /* oculto por defecto — JS lo muestra al obtener energía */ align-items: center; gap: 4px; background: rgba(0, 0, 0, 0.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(0, 242, 255, 0.25); border-radius: 16px; padding: 3px 8px; font-family: 'Orbitron', sans-serif; font-size: 0.58rem; color: #00f2ff; text-shadow: 0 0 6px #00f2ff; letter-spacing: 1px; pointer-events: none; transition: opacity 0.3s; } #energia-badge.agotado { border-color: rgba(255, 77, 77, 0.5); color: #ff4d4d; text-shadow: 0 0 8px #ff4d4d; } #energia-badge span { font-size: 0.7rem; } /* ── Efecto Corona / Diamond Glow ────────────────────────────────────────── */ @keyframes diamond-glow { 0% { filter: drop-shadow(0 0 6px #00f2ff) drop-shadow(0 0 12px rgba(0,242,255,0.4)); } 25% { filter: drop-shadow(0 0 14px #b000ff) drop-shadow(0 0 28px rgba(176,0,255,0.5)); } 50% { filter: drop-shadow(0 0 20px #ffffff) drop-shadow(0 0 40px rgba(255,255,255,0.7)); } 75% { filter: drop-shadow(0 0 14px #00f2ff) drop-shadow(0 0 28px rgba(0,242,255,0.5)); } 100% { filter: drop-shadow(0 0 6px #00f2ff) drop-shadow(0 0 12px rgba(0,242,255,0.4)); } } /* Solo activo cuando el body tiene .plan-corona */ body.plan-corona #logo-aurora { animation: diamond-glow 3s ease-in-out infinite; } /* ── Modal de planes ──────────────────────────────────────────────────────── */ #modal-planes { display: none; position: fixed; inset: 0; z-index: 200000; background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); align-items: center; justify-content: center; padding: 24px; } #modal-planes.show { display: flex; } .modal-planes-inner { background: rgba(8, 8, 15, 0.65); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 28px; padding: 32px 24px; width: 100%; max-width: 360px; max-height: 90dvh; overflow-y: auto; scrollbar-width: none; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255,255,255,0.08); display: flex; flex-direction: column; align-items: center; gap: 16px; position: relative; } .modal-planes-inner::-webkit-scrollbar { display: none; } .modal-planes-title { font-family: 'Orbitron', sans-serif; font-size: 1rem; letter-spacing: 3px; color: #fff; text-shadow: 0 0 12px rgba(255,255,255,0.5); text-align: center; } .modal-planes-subtitle { font-size: 0.78rem; color: rgba(255,255,255,0.65); text-align: center; line-height: 1.5; } .modal-plan-card { width: 100%; border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--plan-color, rgba(255,255,255,0.2)); background: rgba(255,255,255,0.03); position: relative; } .modal-plan-name { font-family: 'Orbitron', sans-serif; font-size: 0.85rem; font-weight: bold; color: var(--plan-color, #fff); text-shadow: 0 0 8px var(--plan-color, #fff); } .modal-plan-precio { font-size: 1.3rem; font-family: 'Orbitron', sans-serif; color: #fff; font-weight: bold; } .modal-plan-precio span { font-size: 0.7rem; color: rgba(255,255,255,0.6); font-family: 'Plus Jakarta Sans', sans-serif; } .modal-plan-feature { font-size: 0.78rem; color: rgba(255,255,255,0.8); } .btn-explorar-plan { width: 100%; padding: 12px; border-radius: 13px; border: 1px solid var(--plan-color, rgba(255,255,255,0.4)); background: rgba(255,255,255,0.06); color: #fff; font-family: 'Orbitron', sans-serif; font-size: 0.72rem; font-weight: bold; letter-spacing: 1px; cursor: pointer; transition: background 0.2s, box-shadow 0.2s; touch-action: manipulation; margin-top: 4px; } .btn-explorar-plan:active { background: rgba(255,255,255,0.15); box-shadow: 0 0 16px var(--plan-color, rgba(255,255,255,0.3)); } .btn-cerrar-modal { position: absolute; top: 14px; right: 14px; background: rgba(255,255,255,0.08); border: none; color: #fff; width: 32px; height: 32px; border-radius: 50%; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; touch-action: manipulation; } .btn-cerrar-modal:active { background: rgba(255,255,255,0.2); }