/* Navbar Radio Player */
.nav-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
}

.nav-radio-btn {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(0, 255, 100, 0.15), rgba(0, 204, 79, 0.15));
    border: 1px solid rgba(0, 255, 100, 0.3);
    border-radius: 50%;
    color: #00ff64;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.nav-radio-btn:hover {
    background: linear-gradient(135deg, rgba(0, 255, 100, 0.25), rgba(0, 204, 79, 0.25));
    border-color: rgba(0, 255, 100, 0.5);
    box-shadow: 0 0 15px rgba(0, 255, 100, 0.3);
    transform: scale(1.05);
}

.nav-radio-btn.playing {
    background: linear-gradient(135deg, #00ff64, #00cc4f);
    color: #000;
    animation: nav-pulse 2s ease-in-out infinite;
}

.nav-radio-btn.playing::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    border: 2px solid rgba(0, 255, 100, 0.3);
    animation: nav-radio-ripple 2s ease-out infinite;
}

@keyframes nav-pulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 255, 100, 0.4);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 255, 100, 0.6);
    }
}

@keyframes nav-radio-ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.nav-radio-info {
    display: flex;
    flex-direction: column;
}

.nav-radio-label {
    color: #999;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.nav-radio-btn.playing + .nav-radio-info .nav-radio-label {
    color: #00ff64;
}

/* Mobile Radio Button - Hidden on desktop, visible on mobile */
.mobile-radio-btn {
    display: none;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(0, 255, 100, 0.15), rgba(0, 204, 79, 0.15));
    border: 2px solid rgba(0, 255, 100, 0.3);
    border-radius: 50%;
    color: #00ff64;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.mobile-radio-btn:hover,
.mobile-radio-btn:active {
    background: linear-gradient(135deg, rgba(0, 255, 100, 0.25), rgba(0, 204, 79, 0.25));
    border-color: rgba(0, 255, 100, 0.5);
    box-shadow: 0 0 20px rgba(0, 255, 100, 0.4);
    transform: scale(1.05);
}

.mobile-radio-btn.playing {
    background: linear-gradient(135deg, #00ff64, #00cc4f);
    color: #000;
    animation: mobile-pulse 2s ease-in-out infinite;
}

.mobile-radio-btn.playing::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    border: 2px solid rgba(0, 255, 100, 0.3);
    animation: mobile-radio-ripple 2s ease-out infinite;
}

@keyframes mobile-pulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(0, 255, 100, 0.5);
    }
    50% {
        box-shadow: 0 0 25px rgba(0, 255, 100, 0.7);
    }
}

@keyframes mobile-radio-ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Mobile navbar adjustments */
@media (max-width: 768px) {
    .nav-radio {
        display: none;
    }
    
    .mobile-radio-btn {
        display: flex;
        order: 1;
    }
    
    .nav-brand {
        order: 2;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .nav-links {
        display: none;
    }
    
    .hamburger-menu {
        order: 3;
    }
}

/* Industrial Carousel Styles */
.industrial-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 0;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 255, 100, 0.1);
    border: 1px solid rgba(0, 255, 100, 0.3);
    color: #00ff64;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: rgba(0, 255, 100, 0.2);
    border-color: rgba(0, 255, 100, 0.5);
    box-shadow: 0 0 20px rgba(0, 255, 100, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.indicator.active {
    background: #00ff64;
    border-color: #00ff64;
    box-shadow: 0 0 10px rgba(0, 255, 100, 0.6);
}

/* Minimal Techno Radio Player */
.radio-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
}

.radio-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 100, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 204, 255, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.radio-player {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 255, 100, 0.2);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 40px rgba(0, 255, 100, 0.1);
    transition: all 0.3s ease;
}

.radio-player:hover {
    border-color: rgba(0, 255, 100, 0.3);
    box-shadow: 0 15px 50px rgba(0, 255, 100, 0.15);
}

.radio-info {
    display: flex;
    gap: 20px;
    align-items: center;
}

.radio-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 255, 100, 0.1), rgba(0, 204, 255, 0.1));
    border: 2px solid rgba(0, 255, 100, 0.3);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #00ff64;
    animation: pulse-radio 2s ease-in-out infinite;
}

@keyframes pulse-radio {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 255, 100, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 255, 100, 0.5);
    }
}

.radio-details {
    flex: 1;
}

.radio-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #ffffff, #00ff64);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.radio-subtitle {
    color: #00ff64;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.now-playing {
    color: #999;
    font-size: 13px;
}

.now-playing span {
    color: #fff;
    font-weight: 500;
}

.radio-controls {
    display: flex;
    gap: 25px;
    align-items: center;
}

.radio-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00ff64, #00cc4f);
    border: none;
    border-radius: 50%;
    color: #000;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 255, 100, 0.3);
}

.radio-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 255, 100, 0.5);
}

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

.radio-btn.playing {
    animation: pulse-play 1.5s ease-in-out infinite;
}

@keyframes pulse-play {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(0, 255, 100, 0.3);
    }
    50% {
        box-shadow: 0 8px 35px rgba(0, 255, 100, 0.6);
    }
}

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

.volume-icon {
    color: #00ff64;
    font-size: 18px;
}

.volume-slider {
    width: 120px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #00ff64;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 255, 100, 0.5);
    transition: all 0.2s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(0, 255, 100, 0.7);
}

.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #00ff64;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 10px rgba(0, 255, 100, 0.5);
    transition: all 0.2s ease;
}

.volume-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(0, 255, 100, 0.7);
}

.volume-value {
    color: #999;
    font-size: 13px;
    min-width: 40px;
    font-weight: 500;
}

.radio-visualizer {
    grid-column: 1 / -1;
    display: flex;
    gap: 6px;
    align-items: flex-end;
    height: 40px;
    justify-content: center;
    margin-top: 15px;
}

.visualizer-bar {
    width: 6px;
    background: linear-gradient(to top, #00ff64, #00ccff);
    border-radius: 3px;
    height: 10px;
    transition: height 0.1s ease;
}

.radio-player.playing .visualizer-bar:nth-child(1) {
    animation: visualize 0.8s ease-in-out infinite;
}

.radio-player.playing .visualizer-bar:nth-child(2) {
    animation: visualize 0.9s ease-in-out infinite 0.1s;
}

.radio-player.playing .visualizer-bar:nth-child(3) {
    animation: visualize 1s ease-in-out infinite 0.2s;
}

.radio-player.playing .visualizer-bar:nth-child(4) {
    animation: visualize 0.85s ease-in-out infinite 0.3s;
}

.radio-player.playing .visualizer-bar:nth-child(5) {
    animation: visualize 0.95s ease-in-out infinite 0.4s;
}

.radio-player.playing .visualizer-bar:nth-child(6) {
    animation: visualize 1.1s ease-in-out infinite 0.5s;
}

.radio-player.playing .visualizer-bar:nth-child(7) {
    animation: visualize 0.9s ease-in-out infinite 0.6s;
}

.radio-player.playing .visualizer-bar:nth-child(8) {
    animation: visualize 1s ease-in-out infinite 0.7s;
}

@keyframes visualize {
    0%, 100% {
        height: 10px;
    }
    50% {
        height: 35px;
    }
}

/* Responsive Radio Player */
@media (max-width: 768px) {
    .radio-player {
        grid-template-columns: 1fr;
        padding: 25px 20px;
        gap: 20px;
    }
    
    .radio-info {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .radio-controls {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .volume-control {
        width: 100%;
        justify-content: center;
    }
    
    .volume-slider {
        flex: 1;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .radio-section {
        padding: 40px 0;
    }
    
    .radio-player {
        padding: 20px 15px;
    }
    
    .radio-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .radio-title {
        font-size: 1.2rem;
    }
    
    .radio-btn {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
}

/* Rolling Number Animation */
.stat-number {
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.stat-number.rolling {
    animation: number-blur 0.1s ease-in-out;
}

@keyframes number-blur {
    0%, 100% {
        filter: blur(0);
    }
    50% {
        filter: blur(2px);
    }
}
