 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: white;
        }

        html, body {
            height: 100%;
            overflow-x: hidden;
            background-color: #000;
        }

        body {
            background-image: url(../img/fondo.jpg);
            background-size: 100% 100%;
            background-repeat: no-repeat;
            background-position: center;
            background-attachment: fixed;
            color: white;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            position: relative;
        }

.install-btn {
  display: none;
  background: linear-gradient(135deg, #e10600, #ff3c3c);
  color: white;
  border: none;
  padding: 14px 20px;
  font-size: 12px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: 0.3s ease;
}

.install-btn:hover {
  transform: scale(1.05);
}

.ios-box {
  display: none;
  background: #111;
  color: white;
  padding: 12px;
  margin-top: 10px;
  border-radius: 12px;
  font-size: 14px;
}

.status {
  padding: 8px 14px;
  border-radius: 20px;
  font-weight: bold;
  display: inline-block;
}

.online {
  background: #e10600;
  color: white;
}

.offline {
  background: gray;
  color: white;
}

        /* Fondo con efecto de vidrio esmerilado */
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
            z-index: -1;
        }

        /* CONTENEDOR PRINCIPAL - CENTRADO */
        .main-content {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
            width: 100%;
        }

        /* REPRODUCTOR CON TRANSPARENCIA MEJORADA */
        .radio-container {
            background: rgba(13, 20, 36, 0.7);
            border-radius: 20px;
            padding: 25px;
            width: 100%;
            max-width: 340px;
            box-shadow: 
                0 8px 32px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.1),
                0 0 0 1px rgba(255, 255, 255, 0.05);
            text-align: center;
            border: 1px solid rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            position: relative;
            z-index: 10;
        }

        /* Efecto de brillo en los bordes */
        .radio-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border-radius: 20px;
            padding: 1px;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.1) 0%, 
                rgba(255, 255, 255, 0.05) 30%,
                rgba(255, 255, 255, 0.02) 70%,
                rgba(255, 255, 255, 0.1) 100%);
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
        }

        .radio-header {
            margin-bottom: 20px;
        }

        .radio-title {
            font-size: 1.9rem;
            margin-bottom: 8px;
            color: white;
            font-weight: 700;
            letter-spacing: 0.5px;
            text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
        }

        .radio-subtitle {
            font-size: 0.95rem;
            color: white;
            margin-bottom: 4px;
            opacity: 0.9;
        }

        .station-info {
            font-size: 0.85rem;
            color: white;
            margin-bottom: 15px;
            opacity: 0.8;
        }

        .radio-visualizer {
            display: flex;
            justify-content: center;
            align-items: flex-end;
            height: 65px;
            margin: 20px 0;
            gap: 3px;
        }

        .bar {
            width: 5px;
            height: 12px;
            background: linear-gradient(to top, #2563eb, #60a5fa);
            border-radius: 3px;
            transition: height 0.5s ease, background 0.5s ease;
            box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
        }

        .radio-controls {
            margin: 20px 0;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 15px;
        }

        .play-btn {
            background: linear-gradient(135deg, #2563eb, #3b82f6);
            border: none;
            border-radius: 50%;
            width: 55px;
            height: 55px;
            color: white;
            font-size: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 
                0 6px 20px rgba(37, 99, 235, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            overflow: hidden;
        }

        .play-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
            border-radius: 50%;
        }

        .play-btn:hover {
            transform: scale(1.08);
            box-shadow: 
                0 8px 25px rgba(37, 99, 235, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
        }

        .volume-control {
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 15px 0;
            gap: 10px;
        }

        .volume-slider {
            width: 130px;
            height: 4px;
            -webkit-appearance: none;
            background: rgba(45, 55, 72, 0.6);
            border-radius: 2px;
            outline: none;
        }

        .volume-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: linear-gradient(135deg, #2563eb, #3b82f6);
            cursor: pointer;
            border: 2px solid rgba(255, 255, 255, 0.8);
            box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
            transition: all 0.2s ease;
        }

        .volume-slider::-webkit-slider-thumb:hover {
            transform: scale(1.1);
            box-shadow: 0 3px 12px rgba(37, 99, 235, 0.6);
        }

        .volume-icon {
            font-size: 15px;
            color: white;
            opacity: 0.9;
        }

        .radio-status {
            margin-top: 15px;
            font-size: 13px;
            color: white;
            min-height: 18px;
            padding: 10px;
            border-radius: 10px;
            background: rgba(30, 41, 59, 0.5);
            border: 1px solid rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            opacity: 0.9;
        }

        /* OVERLAY DE BIENVENIDA CON TRANSPARENCIA MEJORADA */
        .autoplay-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url(../img/fondo2.jpg);
            background-size: 100% 100%;
            backdrop-filter: blur(25px) saturate(200%);
            -webkit-backdrop-filter: blur(25px) saturate(200%);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }

        .autoplay-content {
            background: rgba(30, 41, 59, 0.75);
            backdrop-filter: blur(30px) saturate(180%);
            -webkit-backdrop-filter: blur(30px) saturate(180%);
            padding: 35px 30px;
            border-radius: 24px;
            text-align: center;
            max-width: 380px;
            width: 90%;
            border: 1px solid rgba(255, 255, 255, 0.15);
            box-shadow: 
                0 25px 50px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.1),
                0 0 0 1px rgba(255, 255, 255, 0.05);
            position: relative;
        }

        /* Efecto de brillo en los bordes del overlay */
        .autoplay-content::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border-radius: 24px;
            padding: 1px;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.15) 0%, 
                rgba(255, 255, 255, 0.08) 30%,
                rgba(255, 255, 255, 0.03) 70%,
                rgba(255, 255, 255, 0.15) 100%);
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
        }

        .autoplay-btn {
            background: linear-gradient(135deg, #2563eb, #3b82f6);
            border: none;
            border-radius: 25px;
            padding: 14px 35px;
            color: white;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            margin-top: 25px;
            transition: all 0.3s ease;
            box-shadow: 
                0 8px 25px rgba(37, 99, 235, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
            position: relative;
            overflow: hidden;
            letter-spacing: 0.5px;
        }

        .autoplay-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
            border-radius: 25px;
        }

        .autoplay-btn:hover {
            transform: scale(1.06);
            box-shadow: 
                0 12px 30px rgba(37, 99, 235, 0.7),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
        }

        /* FOOTER CON TRANSPARENCIA MEJORADA */
        footer {
            background: rgba(0, 0, 0, 0.6);
            width: 100%;
            padding: 25px 20px;
            border: none;
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
            margin-top: auto;
        }

        /* Efecto de brillo en el borde superior del footer */
        footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, 
                transparent 0%, 
                rgba(255, 255, 255, 0.2) 50%, 
                transparent 100%);
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            text-align: center;
        }

        .footer-text {
            margin-bottom: 20px;
            font-size: 17px;
            color: white;
            text-align: center;
            font-weight: 500;
            opacity: 0.9;
        }

        .social-icons {
            display: flex;
            justify-content: center;
            gap: 18px;
            margin-bottom: 20px;
        }

        .social-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            color: white;
            text-decoration: none;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            font-size: 18px;
            box-shadow: 
                0 4px 15px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .social-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
            border-radius: 50%;
        }

        .social-btn:hover {
            transform: translateY(-5px) scale(1.05);
            box-shadow: 
                0 8px 25px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
        }

        .facebook { background: linear-gradient(135deg, rgba(30, 64, 175, 0.8), rgba(55, 48, 163, 0.8)); }
        .instagram { background: linear-gradient(135deg,rgba(240, 148, 51, 1) 0%, rgba(230, 104, 60, 1) 25%, rgba(220, 39, 67, 1) 50%, rgba(204, 35, 102, 1) 75%, rgba(188, 24, 136, 1) 100%); }
        .tiktok { background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(31, 41, 55, 0.8)); }
        .youtube { background: linear-gradient(135deg, rgba(220, 38, 38, 0.8), rgba(185, 28, 28, 0.8)); }
        .custom-logo { background: linear-gradient(135deg, rgba(37, 99, 235, 0.8), rgba(59, 130, 246, 0.8)); }

        .footer-bottom {
            font-size: 14px;
            color: white;
            text-align: center;
            margin-top: 10px;
            opacity: 0.8;
        }

        .loading-animation {
            display: none;
            width: 28px;
            height: 28px;
            margin: 15px auto;
            border: 3px solid rgba(45, 55, 72, 0.6);
            border-radius: 50%;
            border-top-color: #2563eb;
            animation: spin 1s ease-in-out infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        .now-playing {
            margin-top: 15px;
            font-style: italic;
            color: white;
            font-size: 13px;
            min-height: 16px;
            text-shadow: 0 2px 4px rgba(255, 255, 255, 0.3);
            opacity: 0.9;
        }

        .hidden {
            display: none;
        }

        .timer-container {
            margin-top: 15px;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            font-size: 13px;
            color: white;
            opacity: 0.9;
        }

        .timer-icon {
            font-size: 14px;
        }

        .timer-display {
            background: rgba(30, 41, 59, 0.5);
            padding: 6px 12px;
            border-radius: 8px;
            min-width: 85px;
            text-align: center;
            font-family: 'Courier New', monospace;
            font-weight: bold;
            color: white;
            font-size: 13px;
            border: 1px solid rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            opacity: 0.9;
        }

        .refresh-btn {
            position: fixed;
            top: 20px;
            right: 20px;
            background: rgba(30, 41, 59, 0.7);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            width: 48px;
            height: 48px;
            color: #60a5fa;
            font-size: 17px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 
                0 4px 15px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 100;
            backdrop-filter: blur(10px);
        }

        .refresh-btn:hover {
            background: rgba(37, 99, 235, 0.6);
            color: white;
            transform: rotate(180deg);
            box-shadow: 
                0 6px 20px rgba(37, 99, 235, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
        }

        .refresh-btn:active {
            transform: rotate(360deg) scale(0.95);
        }

        .refresh-btn.loading {
            animation: spin 1s linear infinite;
            pointer-events: none;
        }

        .pulse {
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
    