@font-face {
    font-family: 'laperladigital';
    src: url('../fonts/laperladigital.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LibreBaskerville';
    src: url('../fonts/librebaskervillebold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/opensansregular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Puedes agregar más estilos según sea necesario */


:root {
    --primario: #9C27B0;
    --primarioOscuro: #89119D;
    --secundario: #FFCE00;
    --secundarioOscuro: rgb(233, 187, 2);
    --blanco: #f6f6f6;
    --negro: #000;
    --gris: #868686;
    --fuentePrincipal: "Open Sans", sans-serif;
    --fuenteSecundaria: "LibreBaskerville", serif;
    --fuenteTerciaria: "laperladigital", serif;
    /*--colorBotones: #161B8E;*/
    --colorBotones: #DD2529;
    --colorBotonesHover: #f1d093;
    
}

html {
    box-sizing: border-box;
    font-size: 62.5%;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    background-color: var(--blanco);
    font-size: 1.6rem;
    line-height: 1.5;
    overflow-x: hidden;
}

p {
    font-size: 1.6rem;
    font-family: var(--fuentePrincipal);
    /*color: var(--negro);*/
}

a {
    text-decoration: none;
}

span {
    font-family: var(--fuentePrincipal);
    font-size: 1.1rem;

}

h1,
h2,
h3,
h4 {
    text-align: left;

    font-family: var(--fuenteSecundaria);
}

h1 {
    font-size: 2.4rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    line-height: 1.4;
    overflow: hidden;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    font-size: 1.8rem;
    margin: 0;
}

h4 {
    font-size: 1.6rem;
    margin: 0;
}

img {
    width: 100%;
    /* Asegura que las imágenes no excedan el tamaño del contenedor */
    height: auto;
    /* Mantiene la proporción de la imagen */
    display: block;
    /* Elimina los espacios debajo de las imágenes */
    object-fit: cover;
    /* Recorta la imagen si es más grande que el contenedor */
}

button {
    background-color: var(--colorBotones);
    /* Cambia el color de fondo */
    color: var(--blanco);
    /* Color del texto */
    border: none;
    /* Eliminar el borde */
    padding: 10px 20px;
    /* Espaciado interno */
    border-radius: 1rem;
    cursor: pointer;
    /* Cambia el cursor al pasar el ratón */
    width: 100%;

}

button:hover {
    background-color: var(--colorBotonesHover);
    color: #000;
    /* Color al pasar el ratón */
}

section {
    padding: 0rem 0;
}

.separador {
    display: none;

}


.separador-hr {
    border: none;
    height: 0.2rem;
    /* Altura de la línea */
    background-color: red;
    /* Color de la línea */
    width: 90%;
    /* Ajusta el ancho de la línea */
    margin-right: 2rem;
}




/*********************PUBLICIDAD****************************************/
.publicidad-home {

    padding: 1rem 0;


}

.publicidad-content-home {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    margin: 0 auto;
    min-height: 12rem;
    /* Evita problemas con height */


}

.publicidad-contenth2 {
    text-align: center;

}

.publicidad-contentp {
    text-align: center;
    color: #000;
}

.logo-size-fonts {
    font-size: 1.8rem;
    font-family: var(--fuenteTerciaria);
    color: var(--blanco);
}


.iconos-redes-new {
    width: 10%;
    cursor: pointer;
}



.oops-container {
    min-height: 70vh;
    margin-top: 5rem;
}


.oops-titulo h2,
.oops-titulo p {

    color: #3a3a3a;
    text-align: center;


}

.oops-titulo p {
    margin-bottom: 5rem;
}

/*********************RADIO*******************************/
/* Contenedor Principal */
#radio-viewport {
    position: relative;
    width: 100%;
    height: 400px; /* Altura ajustable para tu portal */
    background-color: #000;
    overflow: hidden;
    
}

/* El Fondo con los GIFs */
#gif-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 300px; /* Prueba dándole una altura fija para ver si aparece */
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000;
    display: block;
    z-index: 1;
    transition: background-image 1s ease-in-out;

    /* LA IMAGEN CUANDO ESTÁ EN STOP */
    background-image: url('../img/losprincipalesradio.jpg');
}

/* Texto de estado sobre el GIF */
.player-bar {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
}

#status {
    color: white;
    font-weight: bold;
    font-family: sans-serif;
}

/* SECCIÓN DE CONTROLES (Abajo) */
.controls {
    background: #222; /* Color sólido para diferenciar del GIF */
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    border-radius: 0 0 10px 10px; /* Redondeado abajo */
}

.control-btn {
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

#btn-play { background-color: #28a745; color: white; width: 6%; }
#btn-play:hover { background-color: #218838; }

#btn-stop { background-color: #dc3545; color: white; width: 6%; }
#btn-stop:hover { background-color: #c82333; }

.volume-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
}

#vol-control {
    cursor: pointer;
    accent-color: #ff0000; /* El slider será rojo como tu logo */
    width: 100px;
}

.vol-icon {
    color: white;
    font-size: 18px;
}

/* Loader */
.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    display: inline-block;
    animation: spin 1s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
}

@keyframes spin { to { transform: rotate(360deg); } }
.hidden { display: none; }


.indicador-vivo {
    display: inline-flex;
    align-items: center;
    font-family: Arial, sans-serif;
    gap: 8px; /* Espacio entre el punto y el texto */
}

.punto-rojo {
    width: 12px;
    height: 12px;
    background-color: #ff0000;
    border-radius: 50%; /* Esto lo hace redondo */
    display: inline-block;
    
    /* Animación de pulso */
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    animation: pulso-rojo 1.5s infinite;
    margin-right: 4px;
}

.texto-vivo {
    color: #ff0000;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
}

/* Definición de la animación */
@keyframes pulso-rojo {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}


/* Contenedor Principal (HD) */
.principales-player-hd {
    display: inline-flex;
    align-items: center;
    background: #1a1a1a; /* Un gris muy oscuro, más elegante que el negro puro */
    padding: 10px 20px;
    border-radius: 8px; /* Bordes redondeados sutiles */
    font-family: Arial, sans-serif;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); /* Sombra suave para darle profundidad */
}

/* Grupo de Botones */
.btn-group {
    display: flex;
    gap: 1px; /* Para que parezcan una sola barra dividida */
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1); /* Borde muy fino */
}

/* Botones Individuales */
.control-btn-hd {
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8); /* Blanco apagado para que sea serio */
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px; /* Asegura un tamaño consistente */
}

/* Botón Reproducir (Verde Esmeralda Oscuro Matte) */
.btn-play-hd {
    background-color: #1e3f2b; 
}
.btn-play-hd:hover {
    background-color: #275138;
}

/* Botón Detener (Rojo Óxido Matte) */
.btn-stop-hd {
    background-color: #5b2c2f; 
}
.btn-stop-hd:hover {
    background-color: #71393e;
}

/* Estilo de Iconos (HD) */
.icon-svg-hd {
    width: 18px;
    height: 18px;
    fill: currentColor; /* Usa el color del texto */
}

/* SECCIÓN DE VOLUMEN PREMIUM */
.volume-bar-hd {
    display: flex;
    align-items: center;
    gap: 10px;
}

#vol-control-hd {
    -webkit-appearance: none; /* Quita el estilo por defecto */
    width: 120px;
    height: 4px; /* Barra muy fina */
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    outline: none;
}

/* Estilo del "pulgar" (thumb) del volumen */
#vol-control-hd::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: #5b2c2f; /* Rojo serio del botón stop */
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #1a1a1a; /* Borde interno sutil */
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
    transition: all 0.2s ease;
}

#vol-control-hd::-webkit-slider-thumb:hover {
    background: #71393e;
    transform: scale(1.1);
}

.vol-icon-hd {
    color: rgba(255, 255, 255, 0.5); /* Icono tenue, más serio */
    font-size: 16px;
}

#live-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}




/*****************************************************************/
/* REPRODUCTOR ESTILO IMAGEN (Gris con degradado) */
.radio-losprincipales {
    margin-bottom: 10px;    
}


.player-container {
    background: linear-gradient(to bottom, #4a4a4a 0%, #2b2b2b 100%);
    padding: 15px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    width: 100%;
    max-width: 600px;
    box-sizing: border-box;
    border-top: 1px solid #555;
}

.play-button {
    width: 55px; height: 55px; border-radius: 50%;
    background: linear-gradient(to bottom, #9d9d9d 0%, #444444 100%);
    border: 2px solid #ccc; display: flex; justify-content: center; align-items: center;
    cursor: pointer; box-shadow: inset 0 1px 3px rgba(255,255,255,0.3);
}

/* Iconos dinámicos */
.play-icon {
    width: 0; height: 0; border-top: 10px solid transparent;
    border-bottom: 10px solid transparent; border-left: 16px solid white; margin-left: 4px;
}

.pause-icon {
    display: flex; gap: 4px;
}
.pause-bar { width: 6px; height: 18px; background: white; border-radius: 1px; }

/* BARRA DE PROGRESO Y VOLUMEN */
.player-info { flex-grow: 1; }
.song-title { color: white; margin: 0 0 8px 0; font-size: 18px; }
.progress-section { display: flex; align-items: center; gap: 12px; }
.time { color: #ccc; font-size: 12px; }

.progress-bar { flex-grow: 1; height: 4px; background: #000; border-radius: 2px; position: relative; }
.progress-fill { width: 0%; height: 100%; background: #3b73b9; box-shadow: 0 0 5px #3b73b9; transition: width 0.3s; }

.volume-section { display: flex; align-items: center; gap: 8px; margin-left: 10px; }
#vol-control { width: 80px; accent-color: #3b73b9; cursor: pointer; }

/* Loader */
.spinner { width: 14px; height: 14px; border: 2px solid #fff; border-top: 2px solid transparent; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hidden { display: none !important; }




/************************svg volumen blanco***************************/
.vol-icon-svg {
    width: 20px;   /* Tamaño ideal para la barra de control */
    height: 20px;
    display: block;
    opacity: 0.8;  /* Un poco de transparencia para que sea más serio */
    transition: opacity 0.2s;
}

.vol-icon-svg:hover {
    opacity: 1;    /* Se ilumina al pasar el mouse */
}

.volume-section {
    display: flex;
    align-items: center;
    gap: 10px;
}
/*********************************************************************************************/

@media only screen and (min-width: 576px) {
    .logo-size-fonts {
        font-size: 3.3rem;
    }




}

@media only screen and (min-width: 768px) {

    .separador h2 {
        width: 26rem;
    }


    .separador {
        display: flex;
        align-items: center;
        justify-content: right;
        gap: 1rem;
       
    }

    .logo-size-fonts {
        font-size: 4.6rem;
    }

    /*
    .iconos-redes-new {
        width: 21%;
    }*/
}

@media only screen and (min-width: 900px) {

    .separador {
        display: flex;
        align-items: center;
        justify-content: right;
        gap: 1rem;
    }

    .separador h2 {
        width: 30rem;
        color: black;
        margin-left: 1rem;

    }

    .logo-size-fonts {
        font-size: 4.1rem;
    }




    .container {
        max-width: 140rem;
        margin: 0 auto;
    }



}

@media only screen and (min-width: 1200px) {
    .logo-size-fonts {
        font-size: 6.5rem;
        margin-bottom: 3.5rem;
        color: var(--negro);
    }

    h1,
    h2,
    h3,
    h4 {
        text-align: left;
        color: var(--negro);
        font-family: var(--fuenteSecundaria);
    }

    h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    h3,
    h4 {

        font-size: 1.8rem;
    }


    .separador {
        display: flex;
        align-items: center;
        justify-content: right;
        gap: 1rem;
        margin: 5rem 0 1rem 0;
    }

    .separador h2 {
        width: 30rem;
        color: black;
        margin-left: 1rem;

    }

    .ad-content {

        width: 100%;



    }

/*
    .iconos-redes-new {
        width: 9%;
    }
*/

}


