Auto commit: 2026-02-15T01:15:51.250Z

This commit is contained in:
Flatlogic Bot 2026-02-15 01:15:51 +00:00
parent 09f69cf62d
commit 280ba6f230
2 changed files with 212 additions and 284 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 358 KiB

496
index.php
View File

@ -31,13 +31,12 @@ $whatsapp_link = "https://chat.whatsapp.com/DkG96pTzAFO3hvLqmzwmTY";
<style>
:root {
--accent-color: #00e676; /* WhatsApp Green */
--primary-color: #38bdf8; /* Sky Blue */
--secondary-color: #f472b6; /* Pink */
--vibrant-green: #22c55e;
--bg-overlay: rgba(15, 23, 42, 0.4);
--glass-bg: rgba(15, 23, 42, 0.4);
--glass-border: rgba(255, 255, 255, 0.2);
--accent-color: #00e676;
--primary-color: #38bdf8;
--secondary-color: #f472b6;
--bg-dark: #0f172a;
--glass-bg: rgba(255, 255, 255, 0.03);
--glass-border: rgba(255, 255, 255, 0.08);
}
body, html {
@ -47,391 +46,310 @@ $whatsapp_link = "https://chat.whatsapp.com/DkG96pTzAFO3hvLqmzwmTY";
height: 100%;
font-family: 'Inter', sans-serif;
color: #ffffff;
background: radial-gradient(circle at top right, #1e293b, #0f172a);
background-color: #0f172a;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
}
.background-blob {
display: none;
.background-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -2;
background-image: url('assets/pasted-20260215-011439-25779668.jpg?v=<?php echo time(); ?>');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
.background-blob-2 {
display: none;
.background-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
background: linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);
}
@keyframes move {
from { transform: translate(0, 0); }
to { transform: translate(100px, 100px); }
/* Floating Microphones Effect */
.floating-mic {
position: absolute;
color: rgba(255, 255, 255, 0.05);
font-size: 3rem;
z-index: 0;
pointer-events: none;
animation: float-and-rotate 20s linear infinite;
}
@keyframes float-and-rotate {
0% {
transform: translate(0, 0) rotate(0deg);
opacity: 0;
}
10% { opacity: 0.1; }
90% { opacity: 0.1; }
100% {
transform: translate(var(--move-x), var(--move-y)) rotate(360deg);
opacity: 0;
}
}
.app-container {
display: flex;
width: 100%;
height: 100vh;
max-width: 1000px;
height: auto;
align-items: center;
justify-content: center;
padding: 2rem;
box-sizing: border-box;
position: relative;
z-index: 10;
}
/* Left Side: Player */
.player-section {
flex: 1;
width: 100%;
max-width: 480px;
display: flex;
flex-direction: column;
justify-content: center;
max-width: 520px;
z-index: 10;
}
.glass-card {
background: var(--glass-bg);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid var(--glass-border);
border-radius: 32px;
padding: 2.5rem;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
transition: transform 0.3s ease;
border-radius: 40px;
padding: 3rem;
box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.6);
transition: all 0.5s ease;
text-align: center;
}
.brand h1 {
font-size: 3rem;
font-weight: 800;
font-size: 2.5rem;
font-weight: 700;
margin: 0 0 0.5rem;
background: linear-gradient(to right, #fff, var(--primary-color), var(--secondary-color));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
letter-spacing: -0.05em;
color: #fff;
letter-spacing: -0.02em;
}
.brand-logo {
width: 150px;
width: 120px;
height: auto;
margin-bottom: 1.5rem;
margin: 0 auto 1.5rem;
display: block;
filter: drop-shadow(0 0 15px rgba(56, 189, 248, 0.4));
transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
filter: grayscale(1) brightness(1.5);
opacity: 0.8;
transition: all 0.4s ease;
}
.brand-logo:hover {
transform: scale(1.08) rotate(-2deg);
filter: grayscale(0) brightness(1);
opacity: 1;
transform: scale(1.05);
}
.brand p {
font-size: 1.1rem;
font-size: 1rem;
font-weight: 300;
opacity: 0.9;
margin-bottom: 2rem;
color: #94a3b8;
}
/* Radio Player UI */
.radio-player {
display: flex;
flex-direction: column;
gap: 2rem;
opacity: 0.5;
margin-bottom: 2.5rem;
color: #fff;
}
.now-playing-container {
position: relative;
background: rgba(15, 23, 42, 0.6);
border-radius: 20px;
background: rgba(255, 255, 255, 0.02);
border-radius: 24px;
padding: 1.5rem;
border: 1px solid rgba(255, 255, 255, 0.1);
overflow: hidden;
}
.now-playing {
display: flex;
align-items: center;
gap: 1.2rem;
position: relative;
z-index: 2;
}
.now-playing-icon {
width: 50px;
height: 50px;
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
border-radius: 14px;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
border: 1px solid rgba(255, 255, 255, 0.05);
margin-bottom: 2rem;
}
.track-info {
flex: 1;
overflow: hidden;
}
.track-title {
font-weight: 700;
font-size: 1.25rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
color: #f8fafc;
display: flex;
flex-direction: column;
align-items: center;
gap: 0.5rem;
}
.track-status {
font-size: 0.75rem;
font-weight: 700;
font-size: 0.7rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.1em;
color: var(--secondary-color);
letter-spacing: 0.2em;
color: var(--primary-color);
display: flex;
align-items: center;
gap: 0.4rem;
gap: 0.5rem;
}
.live-dot {
width: 8px;
height: 8px;
background-color: var(--secondary-color);
width: 6px;
height: 6px;
background-color: var(--primary-color);
border-radius: 50%;
display: inline-block;
box-shadow: 0 0 10px var(--secondary-color);
animation: pulse 1.5s infinite;
}
/* Visualizer */
.visualizer {
display: flex;
align-items: flex-end;
gap: 3px;
height: 30px;
margin-top: 10px;
padding-left: 2px;
@keyframes pulse {
0% { transform: scale(1); opacity: 1; }
50% { transform: scale(1.5); opacity: 0.5; }
100% { transform: scale(1); opacity: 1; }
}
.bar {
width: 4px;
background: linear-gradient(to top, var(--primary-color), var(--secondary-color));
border-radius: 2px;
height: 3px;
transition: height 0.2s ease;
}
.is-playing .bar {
animation: equalize 1s infinite alternate;
}
.is-playing .bar:nth-child(1) { animation-duration: 0.4s; }
.is-playing .bar:nth-child(2) { animation-duration: 0.7s; }
.is-playing .bar:nth-child(3) { animation-duration: 0.5s; }
.is-playing .bar:nth-child(4) { animation-duration: 0.9s; }
.is-playing .bar:nth-child(5) { animation-duration: 0.6s; }
.is-playing .bar:nth-child(6) { animation-duration: 0.8s; }
.is-playing .bar:nth-child(7) { animation-duration: 0.4s; }
.is-playing .bar:nth-child(8) { animation-duration: 0.7s; }
@keyframes equalize {
0% { height: 5px; }
100% { height: 25px; }
.track-title {
font-weight: 500;
font-size: 1.1rem;
color: #f8fafc;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
}
.controls {
display: flex;
flex-direction: column;
align-items: center;
gap: 1.5rem;
background: rgba(255, 255, 255, 0.03);
padding: 1rem;
border-radius: 20px;
gap: 2rem;
}
.play-btn {
width: 72px;
height: 72px;
border-radius: 24px;
background: linear-gradient(135deg, var(--primary-color), #0284c7);
width: 80px;
height: 80px;
border-radius: 50%;
background: #fff;
border: none;
color: #fff;
font-size: 2rem;
color: var(--bg-dark);
font-size: 2.5rem;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 15px 30px -5px rgba(56, 189, 248, 0.4);
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.play-btn:hover {
transform: translateY(-4px) scale(1.02);
box-shadow: 0 20px 40px -5px rgba(56, 189, 248, 0.5);
}
.play-btn:active {
transform: scale(0.95);
transform: scale(1.1);
box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}
.volume-container {
flex: 1;
width: 100%;
max-width: 200px;
display: flex;
align-items: center;
gap: 1rem;
opacity: 0.5;
transition: opacity 0.3s;
}
.volume-container:hover {
opacity: 1;
}
.volume-slider {
flex: 1;
height: 6px;
height: 4px;
-webkit-appearance: none;
background: rgba(255, 255, 255, 0.1);
border-radius: 10px;
border-radius: 2px;
outline: none;
}
.volume-slider::-webkit-slider-thumb {
-webkit-appearance: none;
width: 18px;
height: 18px;
width: 12px;
height: 12px;
background: #fff;
border-radius: 50%;
cursor: pointer;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
border: 2px solid var(--primary-color);
}
/* Right Side: Featured Image */
.image-section {
flex: 1.2;
display: flex;
justify-content: center;
align-items: center;
padding-left: 4rem;
}
.featured-img-container {
width: 100%;
max-width: 600px;
position: relative;
border-radius: 40px;
overflow: hidden;
box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.7);
aspect-ratio: 16 / 9;
background: #1e293b;
}
.featured-img-container img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}
.featured-img-container:hover img {
transform: scale(1.08);
}
.featured-img-overlay {
position: absolute;
inset: 0;
background: linear-gradient(to top, rgba(15, 23, 42, 0.6), transparent);
pointer-events: none;
}
/* Payment Section */
.payment-section {
margin-top: 2rem;
background: rgba(255, 255, 255, 0.02);
padding: 1.5rem;
border-radius: 24px;
border: 1px solid rgba(255, 255, 255, 0.05);
margin-top: 3rem;
opacity: 0.4;
transition: opacity 0.3s;
}
.qr-container {
margin: 1rem auto 0;
display: flex;
justify-content: center;
.payment-section:hover {
opacity: 1;
}
.qr-placeholder {
width: 160px;
height: 160px;
background: rgba(255,255,255,0.05);
border: 2px dashed rgba(255,255,255,0.2);
border-radius: 20px;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
gap: 0.8rem;
color: #94a3b8;
transition: all 0.3s ease;
.payment-section p {
font-size: 0.65rem;
font-weight: 600;
letter-spacing: 0.15em;
margin-bottom: 1rem;
}
.qr-placeholder:hover {
border-color: var(--primary-color);
color: var(--primary-color);
background: rgba(56, 189, 248, 0.05);
.qr-container img {
width: 100px;
height: 100px;
border-radius: 12px;
filter: grayscale(1) contrast(1.2);
transition: all 0.4s ease;
}
/* Responsive */
@media (max-width: 1024px) {
.app-container {
flex-direction: column;
height: auto;
overflow-y: auto;
padding: 2rem 1rem;
}
.player-section {
max-width: 100%;
width: 100%;
margin-bottom: 3rem;
}
.image-section {
padding-left: 0;
width: 100%;
}
.qr-container:hover img {
filter: grayscale(0);
transform: scale(1.1);
}
.whatsapp-float {
position: fixed;
bottom: 2rem;
right: 2rem;
color: var(--accent-color);
font-size: 2.5rem;
transition: transform 0.3s;
z-index: 100;
}
.whatsapp-float:hover {
transform: scale(1.1) rotate(10deg);
}
@media (max-width: 640px) {
.glass-card {
padding: 1.5rem;
padding: 2rem;
}
.brand h1 {
font-size: 2.2rem;
font-size: 2rem;
}
}
</style>
</head>
<body>
<div class="background-blob"></div>
<div class="background-blob-2"></div>
<div class="background-container"></div>
<div class="background-overlay"></div>
<!-- Floating Microphones Background -->
<div id="mics-background"></div>
<div class="app-container">
<!-- Left Section: Player -->
<section class="player-section">
<div class="glass-card">
<header class="brand">
<img src="assets/pasted-20260214-203540-699a2e6a.png?v=<?php echo time(); ?>" alt="Lili Records Logo" class="brand-logo">
<h1>Lili Records</h1>
<p>Siente la música, vive el ritmo.</p>
<p>Música que acompaña tu vida.</p>
</header>
<div class="radio-player">
<div class="now-playing-container">
<div class="now-playing">
<div class="now-playing-icon">
<i class="bi bi-broadcast"></i>
<div class="track-info">
<div class="track-status">
<span class="live-dot"></span> EN VIVO
</div>
<div class="track-info">
<div class="track-status">
<span class="live-dot"></span> EN VIVO
</div>
<div id="track-title" class="track-title">Conectando...</div>
<div id="visualizer" class="visualizer">
<div class="bar"></div>
<div class="bar"></div>
<div class="bar"></div>
<div class="bar"></div>
<div class="bar"></div>
<div class="bar"></div>
<div class="bar"></div>
<div class="bar"></div>
</div>
</div>
<a href="<?= $whatsapp_link ?>" target="_blank" title="WhatsApp directo" style="color: var(--accent-color); font-size: 2rem; margin-left: auto; display: flex; align-items: center; transition: transform 0.2s;">
<i class="bi bi-whatsapp"></i>
</a>
<div id="track-title" class="track-title">Cargando señal...</div>
</div>
</div>
@ -440,45 +358,55 @@ $whatsapp_link = "https://chat.whatsapp.com/DkG96pTzAFO3hvLqmzwmTY";
<i id="play-icon" class="bi bi-play-fill"></i>
</button>
<div class="volume-container">
<i class="bi bi-volume-up" style="font-size: 1.2rem; opacity: 0.6;"></i>
<i class="bi bi-volume-down-fill"></i>
<input type="range" class="volume-slider" min="0" max="1" step="0.01" value="1" oninput="changeVolume(this.value)">
</div>
</div>
<!-- Transfermovil QR Section -->
<div class="payment-section">
<p style="font-size: 0.8rem; font-weight: 700; text-align: center; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.1em; margin: 0;">APOYA LA RADIO</p>
<p>APOYA NUESTRA LABOR</p>
<div class="qr-container">
<img src="assets/pasted-20260214-203505-f7d808c3.jpg?v=<?php echo time(); ?>" alt="Transfermóvil QR" style="width: 160px; height: 160px; object-fit: contain; border-radius: 20px; border: 2px solid rgba(255,255,255,0.1); background: #fff; padding: 5px; box-shadow: 0 10px 25px rgba(0,0,0,0.3);">
<img src="assets/pasted-20260214-203505-f7d808c3.jpg?v=<?php echo time(); ?>" alt="Transfermóvil QR">
</div>
</div>
</div>
</div>
<?php if (isset($_GET['admin']) && $_GET['admin'] === '1'): ?>
<!-- Admin Real-Time Stats (Only visible with ?admin=1) -->
<div class="glass-card mt-4" style="margin-top: 2rem;">
<h3 style="font-size: 1.2rem; margin-bottom: 1rem; color: var(--accent-color);">
<i class="bi bi-shield-lock"></i> Panel Admin Real-Time
</h3>
<iframe src="admin.php?token=lili_admin_2026" style="width: 100%; height: 400px; border: none; border-radius: 12px; background: rgba(0,0,0,0.2);"></iframe>
</div>
<?php endif; ?>
</section>
<!-- Right Section: Featured Image -->
<section class="image-section">
<div class="featured-img-container">
<img src="assets/pasted-20260214-202809-06aae656.png" alt="Lili Records Featured">
<div class="featured-img-overlay"></div>
</div>
</section>
</div>
<a href="<?= $whatsapp_link ?>" target="_blank" class="whatsapp-float">
<i class="bi bi-whatsapp"></i>
</a>
<audio id="radio-audio" src="https://listen.radioking.com/radio/828046/stream/897251" preload="none"></audio>
<script>
// Create floating mics
const micBg = document.getElementById('mics-background');
const micCount = 15;
for (let i = 0; i < micCount; i++) {
const mic = document.createElement('i');
mic.className = 'bi bi-mic-fill floating-mic';
const startX = Math.random() * window.innerWidth;
const startY = Math.random() * window.innerHeight;
const moveX = (Math.random() - 0.5) * 400;
const moveY = (Math.random() - 0.5) * 400;
const delay = Math.random() * -20;
const duration = 15 + Math.random() * 20;
mic.style.left = `${startX}px`;
mic.style.top = `${startY}px`;
mic.style.setProperty('--move-x', `${moveX}px`);
mic.style.setProperty('--move-y', `${moveY}px`);
mic.style.animationDelay = `${delay}s`;
mic.style.animationDuration = `${duration}s`;
mic.style.fontSize = `${2 + Math.random() * 4}rem`;
micBg.appendChild(mic);
}
const audio = document.getElementById('radio-audio');
const playBtn = document.getElementById('play-pause');
const playIcon = document.getElementById('play-icon');