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> <style>
:root { :root {
--accent-color: #00e676; /* WhatsApp Green */ --accent-color: #00e676;
--primary-color: #38bdf8; /* Sky Blue */ --primary-color: #38bdf8;
--secondary-color: #f472b6; /* Pink */ --secondary-color: #f472b6;
--vibrant-green: #22c55e; --bg-dark: #0f172a;
--bg-overlay: rgba(15, 23, 42, 0.4); --glass-bg: rgba(255, 255, 255, 0.03);
--glass-bg: rgba(15, 23, 42, 0.4); --glass-border: rgba(255, 255, 255, 0.08);
--glass-border: rgba(255, 255, 255, 0.2);
} }
body, html { body, html {
@ -47,391 +46,310 @@ $whatsapp_link = "https://chat.whatsapp.com/DkG96pTzAFO3hvLqmzwmTY";
height: 100%; height: 100%;
font-family: 'Inter', sans-serif; font-family: 'Inter', sans-serif;
color: #ffffff; color: #ffffff;
background: radial-gradient(circle at top right, #1e293b, #0f172a); background-color: #0f172a;
overflow: hidden; overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
} }
.background-blob { .background-container {
display: none; 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 { .background-overlay {
display: none; 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 { /* Floating Microphones Effect */
from { transform: translate(0, 0); } .floating-mic {
to { transform: translate(100px, 100px); } 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 { .app-container {
display: flex; display: flex;
width: 100%; width: 100%;
height: 100vh; max-width: 1000px;
height: auto;
align-items: center; align-items: center;
justify-content: center;
padding: 2rem; padding: 2rem;
box-sizing: border-box; box-sizing: border-box;
position: relative; position: relative;
z-index: 10;
} }
/* Left Side: Player */
.player-section { .player-section {
flex: 1; width: 100%;
max-width: 480px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
max-width: 520px;
z-index: 10;
} }
.glass-card { .glass-card {
background: var(--glass-bg); background: var(--glass-bg);
backdrop-filter: blur(16px); backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(20px);
border: 1px solid var(--glass-border); border: 1px solid var(--glass-border);
border-radius: 32px; border-radius: 40px;
padding: 2.5rem; padding: 3rem;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.6);
transition: transform 0.3s ease; transition: all 0.5s ease;
text-align: center;
} }
.brand h1 { .brand h1 {
font-size: 3rem; font-size: 2.5rem;
font-weight: 800; font-weight: 700;
margin: 0 0 0.5rem; margin: 0 0 0.5rem;
background: linear-gradient(to right, #fff, var(--primary-color), var(--secondary-color)); color: #fff;
-webkit-background-clip: text; letter-spacing: -0.02em;
-webkit-text-fill-color: transparent;
letter-spacing: -0.05em;
} }
.brand-logo { .brand-logo {
width: 150px; width: 120px;
height: auto; height: auto;
margin-bottom: 1.5rem; margin: 0 auto 1.5rem;
display: block; display: block;
filter: drop-shadow(0 0 15px rgba(56, 189, 248, 0.4)); filter: grayscale(1) brightness(1.5);
transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); opacity: 0.8;
transition: all 0.4s ease;
} }
.brand-logo:hover { .brand-logo:hover {
transform: scale(1.08) rotate(-2deg); filter: grayscale(0) brightness(1);
opacity: 1;
transform: scale(1.05);
} }
.brand p { .brand p {
font-size: 1.1rem; font-size: 1rem;
font-weight: 300; font-weight: 300;
opacity: 0.9; opacity: 0.5;
margin-bottom: 2rem; margin-bottom: 2.5rem;
color: #94a3b8; color: #fff;
}
/* Radio Player UI */
.radio-player {
display: flex;
flex-direction: column;
gap: 2rem;
} }
.now-playing-container { .now-playing-container {
position: relative; background: rgba(255, 255, 255, 0.02);
background: rgba(15, 23, 42, 0.6); border-radius: 24px;
border-radius: 20px;
padding: 1.5rem; padding: 1.5rem;
border: 1px solid rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.05);
overflow: hidden; margin-bottom: 2rem;
}
.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);
} }
.track-info { .track-info {
flex: 1; display: flex;
overflow: hidden; flex-direction: column;
} align-items: center;
gap: 0.5rem;
.track-title {
font-weight: 700;
font-size: 1.25rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
color: #f8fafc;
} }
.track-status { .track-status {
font-size: 0.75rem; font-size: 0.7rem;
font-weight: 700; font-weight: 600;
text-transform: uppercase; text-transform: uppercase;
letter-spacing: 0.1em; letter-spacing: 0.2em;
color: var(--secondary-color); color: var(--primary-color);
display: flex; display: flex;
align-items: center; align-items: center;
gap: 0.4rem; gap: 0.5rem;
} }
.live-dot { .live-dot {
width: 8px; width: 6px;
height: 8px; height: 6px;
background-color: var(--secondary-color); background-color: var(--primary-color);
border-radius: 50%; border-radius: 50%;
display: inline-block; animation: pulse 1.5s infinite;
box-shadow: 0 0 10px var(--secondary-color);
} }
/* Visualizer */ @keyframes pulse {
.visualizer { 0% { transform: scale(1); opacity: 1; }
display: flex; 50% { transform: scale(1.5); opacity: 0.5; }
align-items: flex-end; 100% { transform: scale(1); opacity: 1; }
gap: 3px;
height: 30px;
margin-top: 10px;
padding-left: 2px;
} }
.bar { .track-title {
width: 4px; font-weight: 500;
background: linear-gradient(to top, var(--primary-color), var(--secondary-color)); font-size: 1.1rem;
border-radius: 2px; color: #f8fafc;
height: 3px; max-width: 100%;
transition: height 0.2s ease; overflow: hidden;
} text-overflow: ellipsis;
.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; }
} }
.controls { .controls {
display: flex; display: flex;
flex-direction: column;
align-items: center; align-items: center;
gap: 1.5rem; gap: 2rem;
background: rgba(255, 255, 255, 0.03);
padding: 1rem;
border-radius: 20px;
} }
.play-btn { .play-btn {
width: 72px; width: 80px;
height: 72px; height: 80px;
border-radius: 24px; border-radius: 50%;
background: linear-gradient(135deg, var(--primary-color), #0284c7); background: #fff;
border: none; border: none;
color: #fff; color: var(--bg-dark);
font-size: 2rem; font-size: 2.5rem;
cursor: pointer; cursor: pointer;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
box-shadow: 0 15px 30px -5px rgba(56, 189, 248, 0.4); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
} }
.play-btn:hover { .play-btn:hover {
transform: translateY(-4px) scale(1.02); transform: scale(1.1);
box-shadow: 0 20px 40px -5px rgba(56, 189, 248, 0.5); box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}
.play-btn:active {
transform: scale(0.95);
} }
.volume-container { .volume-container {
flex: 1; width: 100%;
max-width: 200px;
display: flex; display: flex;
align-items: center; align-items: center;
gap: 1rem; gap: 1rem;
opacity: 0.5;
transition: opacity 0.3s;
}
.volume-container:hover {
opacity: 1;
} }
.volume-slider { .volume-slider {
flex: 1; flex: 1;
height: 6px; height: 4px;
-webkit-appearance: none; -webkit-appearance: none;
background: rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.1);
border-radius: 10px; border-radius: 2px;
outline: none; outline: none;
} }
.volume-slider::-webkit-slider-thumb { .volume-slider::-webkit-slider-thumb {
-webkit-appearance: none; -webkit-appearance: none;
width: 18px; width: 12px;
height: 18px; height: 12px;
background: #fff; background: #fff;
border-radius: 50%; border-radius: 50%;
cursor: pointer; 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 { .payment-section {
margin-top: 2rem; margin-top: 3rem;
background: rgba(255, 255, 255, 0.02); opacity: 0.4;
padding: 1.5rem; transition: opacity 0.3s;
border-radius: 24px;
border: 1px solid rgba(255, 255, 255, 0.05);
} }
.qr-container { .payment-section:hover {
margin: 1rem auto 0; opacity: 1;
display: flex;
justify-content: center;
} }
.qr-placeholder { .payment-section p {
width: 160px; font-size: 0.65rem;
height: 160px; font-weight: 600;
background: rgba(255,255,255,0.05); letter-spacing: 0.15em;
border: 2px dashed rgba(255,255,255,0.2); margin-bottom: 1rem;
border-radius: 20px;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
gap: 0.8rem;
color: #94a3b8;
transition: all 0.3s ease;
} }
.qr-placeholder:hover { .qr-container img {
border-color: var(--primary-color); width: 100px;
color: var(--primary-color); height: 100px;
background: rgba(56, 189, 248, 0.05); border-radius: 12px;
filter: grayscale(1) contrast(1.2);
transition: all 0.4s ease;
} }
/* Responsive */ .qr-container:hover img {
@media (max-width: 1024px) { filter: grayscale(0);
.app-container { transform: scale(1.1);
flex-direction: column; }
height: auto;
overflow-y: auto; .whatsapp-float {
padding: 2rem 1rem; position: fixed;
} bottom: 2rem;
.player-section { right: 2rem;
max-width: 100%; color: var(--accent-color);
width: 100%; font-size: 2.5rem;
margin-bottom: 3rem; transition: transform 0.3s;
} z-index: 100;
.image-section { }
padding-left: 0;
width: 100%; .whatsapp-float:hover {
} transform: scale(1.1) rotate(10deg);
}
@media (max-width: 640px) {
.glass-card { .glass-card {
padding: 1.5rem; padding: 2rem;
} }
.brand h1 { .brand h1 {
font-size: 2.2rem; font-size: 2rem;
} }
} }
</style> </style>
</head> </head>
<body> <body>
<div class="background-blob"></div> <div class="background-container"></div>
<div class="background-blob-2"></div> <div class="background-overlay"></div>
<!-- Floating Microphones Background -->
<div id="mics-background"></div>
<div class="app-container"> <div class="app-container">
<!-- Left Section: Player -->
<section class="player-section"> <section class="player-section">
<div class="glass-card"> <div class="glass-card">
<header class="brand"> <header class="brand">
<img src="assets/pasted-20260214-203540-699a2e6a.png?v=<?php echo time(); ?>" alt="Lili Records Logo" class="brand-logo"> <img src="assets/pasted-20260214-203540-699a2e6a.png?v=<?php echo time(); ?>" alt="Lili Records Logo" class="brand-logo">
<h1>Lili Records</h1> <h1>Lili Records</h1>
<p>Siente la música, vive el ritmo.</p> <p>Música que acompaña tu vida.</p>
</header> </header>
<div class="radio-player"> <div class="radio-player">
<div class="now-playing-container"> <div class="now-playing-container">
<div class="now-playing"> <div class="track-info">
<div class="now-playing-icon"> <div class="track-status">
<i class="bi bi-broadcast"></i> <span class="live-dot"></span> EN VIVO
</div> </div>
<div class="track-info"> <div id="track-title" class="track-title">Cargando señal...</div>
<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> </div>
</div> </div>
@ -440,45 +358,55 @@ $whatsapp_link = "https://chat.whatsapp.com/DkG96pTzAFO3hvLqmzwmTY";
<i id="play-icon" class="bi bi-play-fill"></i> <i id="play-icon" class="bi bi-play-fill"></i>
</button> </button>
<div class="volume-container"> <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)"> <input type="range" class="volume-slider" min="0" max="1" step="0.01" value="1" oninput="changeVolume(this.value)">
</div> </div>
</div> </div>
<!-- Transfermovil QR Section -->
<div class="payment-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"> <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>
</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> </section>
</div> </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> <audio id="radio-audio" src="https://listen.radioking.com/radio/828046/stream/897251" preload="none"></audio>
<script> <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 audio = document.getElementById('radio-audio');
const playBtn = document.getElementById('play-pause'); const playBtn = document.getElementById('play-pause');
const playIcon = document.getElementById('play-icon'); const playIcon = document.getElementById('play-icon');