
/* RADIO PLAYER STYLES */
.radio-player {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.radio-player:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.radio-info h1 {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1.5rem;
}

.equalizer-placeholder {
    height: 60px;
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.equalizer {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 60px;
    margin: 1.5rem 0;
    gap: 4px;
    position: absolute;
    width: 100%;
}

.equalizer-container {
    position: relative;
    height: 60px;
    margin: 1.5rem 0;
}

/*.bar {
    width: 8px;
    background: linear-gradient(to top, #ff6b6b, #4ecdc4);
    border-radius: 4px;
    animation: bounce 1.2s infinite ease-in-out;
}*/


.bar {
    width: 8px;
    background: linear-gradient(to top, #ff6b6b, #4ecdc4);
    border-radius: 4px;
    transition: height 0.1s ease;
    height: 20px; /* domyślna wysokość */
}


.bar:nth-child(1) { animation-delay: -1.2s; }
.bar:nth-child(2) { animation-delay: -1.1s; }
.bar:nth-child(3) { animation-delay: -1.0s; }
.bar:nth-child(4) { animation-delay: -0.9s; }
.bar:nth-child(5) { animation-delay: -0.8s; }
.bar:nth-child(6) { animation-delay: -0.7s; }
.bar:nth-child(7) { animation-delay: -0.6s; }

@keyframes bounce {
    0%, 40%, 100% {
        transform: scaleY(0.4);
        height: 20px;
    }
    20% {
        transform: scaleY(1.0);
        height: 60px;
    }
}

.hidden {
    display: none !important;
}

.controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.play-btn:active {
    transform: scale(0.95);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.volume-slider {
    width: 120px;
    height: 8px;
    background: #ddd;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border-radius: 50%;
    cursor: pointer;
}

.status {
    text-align: center;
    color: #666;
    font-size: 0.7rem;
    margin-top: 1rem;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}



/*.ads-section {
    background: red !important;
    border: 5px solid yellow !important;
    min-height: 200px !important;
    z-index: 9999 !important;
}

.ads-container {
    background: blue !important;
    color: white !important;
    min-height: 150px !important;
    display: block !important;
    visibility: visible !important;
}

*/


.ads-section {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
 /*   padding: 1.5rem;*/
    margin-top: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.ads-container {
    border-radius: 10px;
   /* padding: 1rem;*/
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    /* min-height: 120px;  <-- usuń tę linię */
    display: block !important;
    visibility: visible !important;
    min-height: 513px;
}

.ad-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    animation: progress 30s linear infinite;
}

@keyframes progress {
    from { width: 0%; }
    to { width: 100%; }
}

.content-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.content-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.content-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

.content-card .list-group-item {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 0.5rem;
    border-radius: 8px;
}



/* Dodaj style dla programu dnia */
.content-card .list-group-flush {
    padding-bottom: 1rem;
}

.content-card .list-group-item:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    margin-bottom: 0;
}

.list-group-item.bg-success {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

.list-group-item.bg-success small,
.list-group-item.bg-success strong {
    color: white !important;
}



.stats-card {
    text-align: center;
    padding: 1rem;
}

.stats-number {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.news-ticker {
    background: linear-gradient(90deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem;
    border-radius: 20px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.news-ticker-content {
    display: inline-block;
    animation: scroll 20s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}


.ad-image {
    max-width: 80px;
    max-height: 60px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px;
}

.ad-content {
    z-index: 2;
    position: relative;
}

.ad-content a:hover {
    opacity: 0.9;
    transform: scale(1.02);
    transition: all 0.3s ease;
}
