Latest / La-Radio-Internacional-La-Voz-De-Arcangel-De-Dios / La Radio Internacional La Voz De Arcangel Tema Di No Al Halloween 10/25/24
Transcript
- <!DOCTYPE html> <html lang="es"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>MiRadio.link - Reproductor de Radio en Vivo</title> <meta name="title" content="MiRadio.link - Reproductor en Vivo" /> <meta name="description" content="Escucha tu estación de radio favorita en vivo con la mejor calidad de sonido." /> <meta property="og:type" content="music.radio_station" /> <meta property="og:title" id="og-title" content="MiRadio.link" /> <meta property="og:description" id="og-description" content="Escucha tu radio en vivo." /> <meta property="og:image" id="og-image" content="" /> <link rel="icon" id="favicon-link" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220%200%2032%2032%22><text y=%2224%22 font-size=%2224%22>📻</text></svg>" /> <!-- PWA & Mobile Web App Settings --> <meta name="theme-color" id="meta-theme-color" content="#2563EB" /> <meta name="mobile-web-app-capable" content="yes" /> <meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" /> <meta name="apple-mobile-web-app-title" id="apple-app-title" content="MiRadio" /> <link rel="apple-touch-icon" id="apple-touch-icon" href="https://cdnuploads.pages.dev/uploads/logos/radionube/radionube.png" /> <link rel="manifest" id="pwa-manifest" href="/manifest/lavozdearcangel.json" /> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap" rel="stylesheet"> <!-- Lucide Icons, API Module & Core Engine (HLS.js se carga bajo demanda solo si se reproduce video/audio HLS) --> <script src="https://unpkg.com/lucide@latest/dist/umd/lucide.js" defer></script> <script src="/api.js" defer></script> <script src="/engine.js" defer></script> <style> :root { --primary: #FF4500; --primary-rgb: 255, 69, 0; --bg-dark: #0B0F19; --card-bg: rgba(18, 24, 38, 0.75); --card-border: rgba(255, 255, 255, 0.1); --text-main: #F8FAFC; --text-muted: #94A3B8; --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif; } * { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; } body { font-family: var(--font-family); background-color: var(--bg-dark); color: var(--text-main); min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; overflow-x: hidden; transition: background-color 0.5s ease; } body.theme-christian { --font-serif: 'Cinzel', 'Playfair Display', Georgia, serif; } .ambient-bg { position: fixed; inset: 0; background-size: cover; background-position: center; filter: blur(60px) brightness(0.25) saturate(1.4); transform: scale(1.15); z-index: 0; transition: background-image 0.8s ease, opacity 0.8s ease; opacity: 0.85; } .ambient-overlay { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(circle at 50% 30%, rgba(var(--primary-rgb), 0.15), transparent 70%), linear-gradient(180deg, rgba(11, 15, 25, 0.4) 0%, rgba(11, 15, 25, 0.95) 100%); } body.theme-christian .ambient-overlay { background: radial-gradient(circle at 50% 25%, rgba(212, 175, 55, 0.22), transparent 75%), linear-gradient(180deg, rgba(9, 13, 22, 0.45) 0%, rgba(9, 13, 22, 0.96) 100%); } #app-root { position: relative; z-index: 10; width: 100%; } .shell-status-wrapper { position: relative; z-index: 10; width: 100%; max-width: 480px; padding: 20px 16px; display: flex; align-items: center; justify-content: center; min-height: 100vh; } .shell-status-card { width: 100%; background: var(--card-bg); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); border: 1px solid var(--card-border); border-radius: 28px; padding: 24px; display: flex; flex-direction: column; align-items: center; text-align: center; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 40px -10px rgba(var(--primary-rgb), 0.2); } .state-screen { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 20px; gap: 16px; } .spinner { width: 44px; height: 44px; border: 3px solid rgba(255, 255, 255, 0.15); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.8s linear infinite; } .spinner-icon { width: 26px; height: 26px; border: 3px solid rgba(255, 255, 255, 0.3); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } .modal-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(10px); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; } .modal-backdrop.active { opacity: 1; pointer-events: auto; } .modal-content { background: #111827; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 24px; width: 100%; max-width: 520px; max-height: 85vh; overflow-y: auto; padding: 24px; position: relative; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.8); } .modal-close-btn { position: absolute; top: 16px; right: 16px; background: rgba(255, 255, 255, 0.1); border: none; color: #fff; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; } .toast { position: fixed; top: 24px; left: 50%; background: rgba(15, 23, 42, 0.92); border: 1px solid var(--primary); color: #fff; padding: 10px 22px; border-radius: 9999px; font-size: 13px; font-weight: 600; backdrop-filter: blur(12px); z-index: 400; box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.55), 0 0 15px rgba(var(--primary-rgb), 0.25); opacity: 0; transform: translate(-50%, -40px); transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1); pointer-events: none; } .toast.show { opacity: 1; transform: translate(-50%, 0); } .share-wrapper { position: relative; display: inline-flex; align-items: center; } .share-menu { position: absolute; top: calc(100% + 8px); right: 0; display: flex; flex-direction: column; gap: 6px; padding: 8px; min-width: 150px; background: rgba(15, 23, 42, 0.96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 16px; box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.75), 0 0 20px rgba(var(--primary-rgb), 0.25); opacity: 0; visibility: hidden; transform: translateY(-6px) scale(0.96); transform-origin: top right; transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1); z-index: 100; } .share-menu.active { opacity: 1; visibility: visible; transform: translateY(0) scale(1); } .share-option-btn { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.05); color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; transition: all 0.2s ease; white-space: nowrap; } .share-option-btn.share-whatsapp:hover { background: rgba(37, 211, 102, 0.2); border-color: rgba(37, 211, 102, 0.5); color: #4ADE80; transform: translateX(-2px); } .share-option-btn.share-facebook:hover { background: rgba(24, 119, 242, 0.22); border-color: rgba(24, 119, 242, 0.5); color: #60A5FA; transform: translateX(-2px); } /* Social Chat Button */ .social-icon-link.social-chat { background: #0078D4 !important; color: #ffffff !important; cursor: pointer; } .social-icon-link.social-chat svg { stroke: #ffffff !important; fill: none !important; } .social-icon-link.social-chat:hover { background: #0284c7 !important; transform: translateY(-3px) scale(1.08); box-shadow: 0 4px 14px rgba(0, 120, 212, 0.45); } /* Shared Schedule & Program Card Base Layout */ .schedule-card { flex-direction: column !important; } .schedule-card-header { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; } .schedule-card-body { width: 100%; display: flex; flex-direction: column; } .schedule-card-body.collapsed { display: none !important; } .schedule-day-today-dot { width: 5px; height: 5px; border-radius: 50%; background: #10B981; display: inline-block; flex-shrink: 0; } .program-card { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; text-align: left; position: relative; transition: all 0.25s ease; } .program-card.is-active-now { background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.18) 0%, rgba(255, 255, 255, 0.05) 100%); border-color: rgba(var(--primary-rgb), 0.5); } .program-card-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; } .program-time-badge { display: inline-flex; align-items: center; gap: 5px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); color: #F8FAFC; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 9999px; } .program-live-tag { display: inline-flex; align-items: center; gap: 5px; background: rgba(239, 68, 68, 0.18); border: 1px solid rgba(239, 68, 68, 0.4); color: #EF4444; font-size: 10.5px; font-weight: 800; padding: 3px 9px; border-radius: 9999px; text-transform: uppercase; } .program-live-dot { width: 6px; height: 6px; border-radius: 50%; background: #EF4444; } .program-main-info { display: flex; align-items: flex-start; gap: 12px; } .program-announcer-avatar-wrap { width: 44px; height: 44px; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); flex-shrink: 0; display: flex; align-items: center; justify-content: center; } .program-announcer-avatar { width: 100%; height: 100%; object-fit: cover; display: block; } .program-announcer-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--primary); } .program-details { flex: 1; min-width: 0; } .program-title { font-size: 14.5px; font-weight: 700; color: inherit; line-height: 1.3; margin: 0 0 2px; } .program-announcer-name { font-size: 12px; opacity: 0.8; font-weight: 500; display: flex; align-items: center; gap: 4px; margin-bottom: 4px; } .program-description { font-size: 11.5px; opacity: 0.72; line-height: 1.45; margin: 0; } .schedule-day-group-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 4px 6px; margin-top: 6px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .schedule-day-group-title { font-size: 12.5px; font-weight: 700; color: var(--primary); text-transform: uppercase; } .schedule-day-group-count { font-size: 11px; opacity: 0.7; } .schedule-empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 28px 16px; gap: 10px; } .schedule-empty-icon { width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); display: flex; align-items: center; justify-content: center; color: var(--primary); } .schedule-empty-title { font-size: 14px; font-weight: 700; margin: 0; } .schedule-empty-desc { font-size: 12px; opacity: 0.75; max-width: 280px; line-height: 1.4; margin: 0; } </style> </head> <body> <div class="ambient-bg" id="ambient-bg"></div> <div class="ambient-overlay"></div> <!-- Estado Inicial / Error del Cascarón (antes de montar la plantilla) --> <div class="shell-status-wrapper" id="shell-status"> <div class="shell-status-card"> <div id="loading-state" class="state-screen"> <div class="spinner"></div> <p style="color: var(--text-muted); font-size: 14px; font-weight: 500;">Conectando con la estación...</p> </div> <div id="error-state" class="state-screen" style="display: none;"> <i data-lucide="alert-circle" style="width: 48px; height: 48px; color: #EF4444;"></i> <h3 style="font-size: 18px; font-weight: 700;">Estación no disponible</h3> <p id="error-msg" style="color: var(--text-muted); font-size: 13px;">No pudimos encontrar la configuración para esta radio.</p> <button id="error-redirect-btn" style="background: var(--primary); border: none; color: #fff; padding: 8px 18px; border-radius: 9999px; font-size: 13px; font-weight: 600; cursor: pointer; margin-top: 8px;"> Continuar </button> </div> </div> </div> <!-- Punto de Montaje Dinámico de Plantillas (/templates/{player_template}.html) --> <div id="app-root" style="display: none;"></div> <!-- iOS PWA Install Guide Modal --> <div class="modal-backdrop" id="ios-pwa-modal"> <div class="modal-content" style="max-width: 380px; text-align: center; padding: 24px;"> <button class="modal-close-btn" id="close-ios-pwa-modal"> <i data-lucide="x" style="width: 18px; height: 18px;"></i> </button> <div style="width: 52px; height: 52px; border-radius: 14px; background: rgba(var(--primary-rgb), 0.15); border: 1px solid var(--primary); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; color: var(--primary);"> <svg viewBox="0 0 24 24" width="26" height="26" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> <path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path> <polyline points="7 10 12 15 17 10"></polyline> <line x1="12" y1="15" x2="12" y2="3"></line> </svg> </div> <h3 style="font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 8px;">Instalar en tu iPhone / iPad</h3> <p style="font-size: 13px; color: var(--text-muted); line-height: 1.5; margin-bottom: 18px;"> Agrega esta radio a tu pantalla de inicio para escucharla en vivo sin abrir el navegador: </p> <div style="background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 14px; text-align: left; margin-bottom: 18px; font-size: 13px; display: flex; flex-direction: column; gap: 12px;"> <div style="display: flex; align-items: center; gap: 10px;"> <span style="background: var(--primary); color: #fff; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 11px; flex-shrink: 0;">1</span> <span>Toca el botón <strong>Compartir</strong> en Safari (<svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="2" style="vertical-align: -2px; display: inline;"><path d="M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8"></path><polyline points="16 6 12 2 8 6"></polyline><line x1="12" y1="2" x2="12" y2="15"></line></svg>).</span> </div> <div style="display: flex; align-items: center; gap: 10px;"> <span style="background: var(--primary); color: #fff; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 11px; flex-shrink: 0;">2</span> <span>Selecciona <strong>"Agregar al inicio"</strong> (o <em>"Add to Home Screen"</em>).</span> </div> </div> <button id="ok-ios-pwa-btn" style="background: var(--primary); color: #fff; border: none; padding: 12px 24px; border-radius: 9999px; font-weight: 700; font-size: 13px; cursor: pointer; width: 100%; transition: opacity 0.2s;"> ¡Entendido! </button> </div> </div> <!-- Live Chat Drawer Modal --> <div class="modal-backdrop" id="chat-drawer-modal"> <div class="modal-content" style="max-width: 520px; width: 95%; height: 88vh; max-height: 740px; padding: 0; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; background: #ffffff; box-shadow: 0 25px 60px rgba(0,0,0,0.8);"> <div style="background: #091422; color: #fff; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,0.12);"> <div style="display: flex; align-items: center; gap: 8px;"> <span style="width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 6px #22c55e;"></span> <strong id="chat-drawer-title" style="font-size: 14px; font-weight: 700;">Chat en Vivo</strong> </div> <button class="modal-close-btn" id="close-chat-drawer" type="button" aria-label="Cerrar chat" style="position: static; color: #ffffff; background: rgba(255,255,255,0.12); border-radius: 50%; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border: none; cursor: pointer;"> <i data-lucide="x" style="width: 16px; height: 16px;"></i> </button> </div> <iframe id="chat-drawer-iframe" src="about:blank" style="flex: 1; border: none; width: 100%; height: 100%; background: #f8fafc;"></iframe> </div> </div> <div class="toast" id="toast">Enlace copiado al portapapeles</div> <audio id="audio-player" preload="none"></audio> </body> </html>