/* Radio Station Specific Styles */

/* Professional Radio Player */
.radio-player-section {
    padding: 50px 0;
}

.radio-player-card {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(32, 32, 32, 0.9));
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 5px 20px rgba(57, 148, 168, 0.2);
    margin-bottom: 30px;
    border: 1px solid rgba(57, 148, 168, 0.3);
    backdrop-filter: blur(10px);
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(57, 148, 168, 0.1);
}

.station-info h1 {
    margin: 0;
    color: #3994A8;
    font-size: 28px;
    font-weight: bold;
}

.station-info .tagline {
    margin: 5px 0 0 0;
    color: #666;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.live-indicator-badge {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.3);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.now-playing-section {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.album-art-container {
    position: relative;
    flex-shrink: 0;
}

.album-art {
    position: relative;
    width: 180px;
    height: 180px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.album-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.vinyl-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 30%, rgba(0,0,0,0.1) 31%, rgba(0,0,0,0.1) 32%, transparent 33%);
    pointer-events: none;
}

.play-controls-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.main-play-btn {
    background: linear-gradient(45deg, #3994A8, #40A1B7);
    border: none;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    color: white;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(57, 148, 168, 0.4);
}

.main-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(57, 148, 168, 0.6);
}

.main-play-btn.playing {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    animation: pulse 2s infinite;
}

.track-info-section {
    flex: 1;
}

.now-playing-text h3 {
    margin: 0 0 10px 0;
    color: #bbb;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.now-playing-text h2 {
    margin: 0 0 10px 0;
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.dj-name {
    color: #3994A8;
    font-weight: bold;
    margin: 0 0 20px 0;
    font-size: 16px;
}

.radio-stats-grid {
    display: flex;
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: rgba(57, 148, 168, 0.05);
    border-radius: 10px;
    min-width: 80px;
}

.stat-item i {
    color: #3994A8;
    font-size: 20px;
    margin-bottom: 8px;
    display: block;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.player-controls-section {
    padding-top: 20px;
    border-top: 1px solid rgba(57, 148, 168, 0.1);
}

.volume-control-pro {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 400px;
}

.volume-slider-container {
    position: relative;
    flex: 1;
    height: 8px;
    background: #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.volume-slider-pro {
    width: 100%;
    height: 8px;
    background: transparent;
    outline: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.volume-slider-pro::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    background: #3994A8;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(57, 148, 168, 0.4);
}

.volume-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #3994A8, #40A1B7);
    width: 50%;
    transition: width 0.1s;
}

.volume-display {
    font-weight: bold;
    color: #3994A8;
    min-width: 40px;
    text-align: right;
}

.mute-btn {
    background: none;
    border: none;
    color: #3994A8;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s;
}

.mute-btn:hover {
    color: #40A1B7;
}

.mute-btn.muted {
    color: #e74c3c;
}

.now-playing-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.album-art {
    position: relative;
    width: 120px;
    height: 120px;
    margin-right: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.album-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.album-art:hover .play-overlay {
    opacity: 1;
}

.play-btn {
    background: #3994A8;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.play-btn:hover {
    background: #40A1B7;
    transform: scale(1.1);
}

.play-btn.playing {
    background: #e74c3c;
}

.track-info h2 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 24px;
}

.dj-name {
    color: #3994A8;
    font-weight: bold;
    margin: 0 0 15px 0;
}

.radio-stats {
    display: flex;
    gap: 20px;
}

.radio-stats span {
    color: #666;
    font-size: 14px;
}

.radio-stats i {
    color: #3994A8;
    margin-right: 5px;
}

/* Player Controls */
.player-controls {
    margin-bottom: 20px;
}

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

.volume-slider {
    flex: 1;
    height: 5px;
    background: #ddd;
    outline: none;
    border-radius: 5px;
}

.volume-slider::-webkit-slider-thumb {
    appearance: none;
    width: 15px;
    height: 15px;
    background: #3994A8;
    border-radius: 50%;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: #3994A8;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

/* Recently Played Section */
.recently-played {
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #E7E7E7;
    clear: both;
}

.recently-played h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #3994A8;
    font-size: 35px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.recently-played .history-list {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-height: none;
}

.recently-played .history-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    color: #666;
    font-size: 16px;
    transition: all 0.3s;
    margin-bottom: 0;
    background: transparent;
    border-left: none;
    border-radius: 0;
}

.recently-played .history-item:hover {
    background: #f8f9fa;
    transform: none;
    border-left: none;
}

.recently-played .history-item:last-child {
    border-bottom: none;
}

/* Music Library */
.music-library {
    background: #f8f9fa;
    padding: 50px 0;
}

.music-library h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #3994A8;
    font-size: 35px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.search-controls {
    margin-bottom: 30px;
}

.search-box {
    display: flex;
    gap: 10px;
}

.search-box input {
    flex: 1;
}

.pagination-controls {
    display: flex;
    gap: 5px;
    justify-content: flex-end;
}

.page-btn {
    background: #3994A8;
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.page-btn:hover, .page-btn.active {
    background: #40A1B7;
}

.music-list {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.music-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
}

.music-item:hover {
    background: #f8f9fa;
}

.music-item:last-child {
    border-bottom: none;
}

.music-item-art {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    margin-right: 15px;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    overflow: hidden;
}

.music-item-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.music-item-info {
    flex: 1;
}

.music-item-info h5 {
    margin: 0 0 5px 0;
    color: #333;
}

.music-item-info p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.music-item-controls {
    display: flex;
    gap: 10px;
}

.music-item-controls button {
    background: #3994A8;
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.music-item-controls button:hover {
    background: #40A1B7;
}

/* Track Player */
.track-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid #ddd;
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s;
    z-index: 1000;
}

.track-player.active {
    transform: translateY(0);
}

.track-player-content {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.track-info-mini {
    display: flex;
    align-items: center;
    flex: 1;
}

.track-info-mini img {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    margin-right: 15px;
}

.track-details h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
}

.track-details p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.track-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #ddd;
}

.progress {
    height: 100%;
    background: #3994A8;
    width: 0%;
    transition: width 0.1s;
}

.pagination-info {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

/* PWA Mode Styles */
.pwa-mode .header {
    padding-bottom: 20px;
}

body.pwa-mode .top,
body.pwa-mode .navbar,
body.pwa-mode .music-library,
body.pwa-mode .recently-played,
body.pwa-mode .footer {
    display: none !important;
}

body.pwa-mode .radio-player-section {
    padding: 20px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100vh !important;
}

/* Desktop PWA uses same styling as main site */

/* Mobile Responsive */
@media (max-width: 767px) {
    .now-playing-info {
        flex-direction: column;
        text-align: center;
    }
    
    .album-art {
        margin: 0 0 20px 0;
        width: 150px;
        height: 150px;
    }
    
    .search-controls .row > div {
        margin-bottom: 15px;
    }
    
    .pagination-controls {
        justify-content: center;
    }
    
    /* Mobile Radio Player Fixes */
    .now-playing-section {
        flex-direction: column !important;
        text-align: center !important;
        gap: 20px !important;
    }
    
    .track-info-section {
        order: 2 !important;
    }
    
    .album-art-container {
        order: 1 !important;
    }
    
    .now-playing-text {
        margin-bottom: 20px !important;
    }
    
    .now-playing-text h2 {
        font-size: 20px !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        margin: 0 0 15px 0 !important;
    }
    
    .radio-stats-grid {
        justify-content: center !important;
        gap: 10px !important;
        margin-top: 15px !important;
    }
    
    .stat-item {
        padding: 10px !important;
        min-width: 70px !important;
    }
    
    .radio-player-card {
        padding: 15px !important;
        margin: 10px !important;
    }
    
    /* PWA Mobile Fixes */
    body.pwa-mode .radio-player-card {
        border-radius: 15px !important;
        padding: 10px !important;
        margin: 20px !important;
        max-width: 90% !important;
    }
    
    body.pwa-mode .album-art {
        width: 100px !important;
        height: 100px !important;
    }
    
    body.pwa-mode .main-play-btn {
        width: 50px !important;
        height: 50px !important;
        font-size: 18px !important;
    }
    
    body.pwa-mode .now-playing-text h2 {
        font-size: 20px !important;
    }
    
    body.pwa-mode .stat-item {
        padding: 10px !important;
        min-width: 60px !important;
    }
}

/* Force professional radio player styling */
.radio-player-card.professional-style,
.radio-player-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
    border: 1px solid rgba(57, 148, 168, 0.2) !important;
    border-radius: 20px !important;
    padding: 40px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
    color: #fff !important;
}

.main-play-btn {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #3994A8, #40A1B7) !important;
    border: none !important;
    color: white !important;
    font-size: 24px !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    box-shadow: 0 10px 25px rgba(57, 148, 168, 0.4) !important;
}

.main-play-btn:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 15px 35px rgba(57, 148, 168, 0.6) !important;
}

.main-play-btn.playing {
    background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
    animation: pulse 2s infinite !important;
}

/* Compact Radio Player */
.compact-radio-player {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    margin-top: 30px;
    border: 1px solid rgba(57, 148, 168, 0.3);
}

.compact-player-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 600px;
    margin: 0 auto;
}

.compact-now-playing {
    display: flex;
    align-items: center;
    flex: 1;
}

.compact-now-playing img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    margin-right: 15px;
}

.compact-track-info {
    color: #fff;
}

.compact-track-info div:first-child {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
}

.compact-track-info div:last-child {
    font-size: 14px;
    color: #3994A8;
}

.compact-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.compact-play-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3994A8, #40A1B7);
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
}

.compact-play-button:hover {
    transform: scale(1.05);
}

.compact-play-button.playing {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

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

.compact-mute-btn {
    background: none;
    border: none;
    color: #3994A8;
    font-size: 16px;
    cursor: pointer;
}

.compact-volume-slider {
    width: 100px;
    height: 5px;
    background: #ddd;
    outline: none;
    border-radius: 5px;
}

.compact-volume-slider::-webkit-slider-thumb {
    appearance: none;
    width: 15px;
    height: 15px;
    background: #3994A8;
    border-radius: 50%;
    cursor: pointer;
}

@media (max-width: 767px) {
    .compact-player-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .compact-now-playing {
        justify-content: center;
    }
}ustify-content: center;
    }
    
    .music-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .music-item-art {
        margin: 0 0 10px 0;
    }
    
    .track-player-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .track-controls {
        width: 100%;
        justify-content: center;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3994A8;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Pulse Animation for Live Indicator */
.live-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #e74c3c;
    border-radius: 50%;
    margin-right: 5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}