:root {
    --primary-color: #A18E36;
    --text-color: #ffffff;
    --bg-dark: #0f0f13;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.1);
}

.radiodivina-player-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    overflow: hidden;
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    margin: 20px 0;
}

.channels{display:none;}

.background-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #333;
    background-size: cover;
    background-position: center;
    filter: blur(80px) brightness(0.4);
    z-index: -1;
    transition: background-image 0.5s ease;
}

.player-container {
    background: #333;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    text-align: center;
    position: relative;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #ff0055;
    border-radius: 50%;
    margin-right: 5px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.cover-art {
    margin-bottom: 1.5rem;
    position: relative;
    perspective: 1000px;
}

.cover-art img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.rotate-anim {
    animation: rotate-in 0.6s ease-out;
}

@keyframes rotate-in {
    0% { transform: rotateY(90deg) scale(0.8); opacity: 0; }
    100% { transform: rotateY(0deg) scale(1); opacity: 1; }
}

.track-info {
    margin-bottom: 2rem;
}

.track-info h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-info p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}
#track-title{color:#f2e9e4; display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;

  overflow: hidden;        /* necessario per line-clamp */
  text-overflow: clip;     /* niente ellipsis */
  white-space: normal;}



.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.play-btn {
    background: var(--primary-color);
    border: none;
    color: white;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 0, 85, 0.4);
}

.play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 0, 85, 0.6);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 992px){
	.volume-control{display:none;}}
	
	

input[type=range] {
    -webkit-appearance: none;
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
	background-color: #9e8e2f !important;
    border-radius: 2px;
    outline: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
}

.channels {
    text-align: left;
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
}

.channels h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.5);
}

.channel-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.channel-list::-webkit-scrollbar {
    display: none;
}

.channel-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 15px;
    border-radius: 12px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
    border: 1px solid transparent;
}

.channel-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.channel-item.active {
    background: rgba(255, 0, 85, 0.2);
    border-color: var(--primary-color);
    color: white;
}