/* Hero Section for Station Detail */
.station-detail-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.station-detail-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.station-detail-hero .station-logo {
    border: 3px solid rgba(255,255,255,0.3) !important;
    transition: transform 0.3s ease;
}

.station-detail-hero .station-logo:hover {
    transform: scale(1.05);
}

.station-logo {
    border: 3px solid rgba(255,255,255,0.3) !important;
    transition: transform 0.3s ease;
}

.station-logo:hover {
    transform: scale(1.05);
}

.live-badge {
    background: #e74c3c !important;
}

/* Play Button Glow Effect */
.play-btn-glow {
    background: linear-gradient(45deg, #27ae60, #2ecc71) !important;
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.5);
    transition: all 0.3s ease;
}

.play-btn-glow:hover {
    box-shadow: 0 0 30px rgba(46, 204, 113, 0.8);
    transform: scale(1.1);
}

.station-btn {
    transition: all 0.3s ease;
}

.station-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,255,255,0.2);
}

/* Playlist Glow Effect */
.playlist-card {
    background: #1a1a1a;
}

.bg-gradient-dark {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
}

.playlist-container {
    background: linear-gradient(to bottom, #1a1a1a, #2d2d2d);
    border-radius: 0 0 15px 15px;
    max-height: 400px;
    overflow-y: auto;
}

.playlist-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.playlist-item:hover {
    background: rgba(255,255,255,0.05);
}

.playlist-item.now-playing {
    background: linear-gradient(90deg, rgba(46, 204, 113, 0.2), rgba(52, 152, 219, 0.2));
    border-left: 4px solid #2ecc71;
}

.playlist-time {
    color: #7f8c8d;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    min-width: 60px;
    font-size: 0.9rem;
}

.playlist-track {
    flex: 1;
    margin-left: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.track-name {
    color: #ecf0f1;
    font-weight: 500;
}

.now-playing .track-name {
    color: #2ecc71;
    text-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
}

.now-playing-indicator {
    color: #2ecc71;
    margin-left: 10px;
}

/* Now Playing Animation - Removed for better UX */

.now-playing-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Glow Effect for Now Playing */
.glow-effect {
    height: 2px;
    background: linear-gradient(90deg, transparent, #2ecc71, transparent);
    animation: glow-pulse 2s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
    0% {
        box-shadow: 0 0 5px rgba(46, 204, 113, 0.3);
        opacity: 0.7;
    }
    100% {
        box-shadow: 0 0 20px rgba(46, 204, 113, 0.8);
        opacity: 1;
    }
}

.now-playing-indicator {
    color: #2ecc71;
    animation: pulse 1.5s ease-in-out infinite;
}

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

.glow-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(46, 204, 113, 0.1), transparent);
    pointer-events: none;
}

/* Comments Card Styles */
.comments-card {
    background: #f8f9fa;
}

.bg-gradient-light {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8ff 100%) !important;
}

/* Related Stations Styles */
.related-station-link {
    transition: all 0.2s ease;
    border-radius: 8px;
    margin-bottom: 2px;
    padding: 8px 12px !important;
}

.related-station-link:hover {
    background-color: rgba(52, 152, 219, 0.15) !important;
    transform: translateX(5px);
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Alternating Background Colors */
.related-station-link:nth-child(odd) {
    background-color: rgba(248, 249, 250, 0.3) !important;
}

.related-station-link:nth-child(even) {
    background-color: rgba(233, 236, 239, 0.2) !important;
}

.related-station-link:nth-child(odd):hover {
    background-color: rgba(52, 152, 219, 0.12) !important;
}

.related-station-link:nth-child(even):hover {
    background-color: rgba(52, 152, 219, 0.18) !important;
}

.station-thumbnail {
    width: 40px;
    height: 20px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,0.1);
}

/* Rating Stars */
.rating-stars {
    font-size: 1.5rem;
    cursor: pointer;
}

.rating-stars .star {
    color: #ddd;
    transition: color 0.2s;
    margin-right: 5px;
}

.rating-stars .star:hover,
.rating-stars .star.active {
    color: #ffc107;
}

/* Review Items */
.review-item {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid rgba(0,0,0,0.1);
}

.review-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Unified Card Styles */
.card {
    border-radius: 15px;
    overflow: hidden;
    border: none;
}

.card-header {
    border-bottom: none;
}

/* Responsive Optimizations */
@media (max-width: 768px) {
    .main-station-card h1 {
        font-size: 2rem !important;
    }
    
    .station-btn span {
        display: none !important;
    }
    
    .playlist-item {
        padding: 10px 15px;
    }
    
    .playlist-time {
        min-width: 50px;
        font-size: 0.8rem;
    }
    
    .track-name {
        font-size: 0.9rem;
    }
}

/* Small Screen Card Optimizations */
@media (max-width: 576px) {
    .col-lg-3.col-md-6.col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}