:root {
            --primary-color: #ff3e3e; /* Accent color */
            --bg-color: #0a0a0a;
            --card-bg: #1a1a1a;
            --text-color: #ffffff;
        }
 
        body {
            font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            background-color: var(--bg-color);
            color: var(--text-color);
            margin: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 20px;
        }
 
        header {
            text-align: center;
            margin-bottom: 40px;
        }
 
        h1 {
            font-size: 3rem;
            letter-spacing: 5px;
            text-transform: uppercase;
            margin-bottom: 0;
            color: var(--primary-color);
        }
 
        p.subtitle {
            font-size: 1.1rem;
            opacity: 0.8;
            letter-spacing: 2px;
        }

        .social-links {
            display: flex;
            gap: 20px;
            margin-top: 20px;
            justify-content: center;
        }

        .social-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            text-decoration: none;
            transition: all 0.3s ease;
            font-size: 1.5rem;
        }

        .social-link.twitch {
            background: linear-gradient(135deg, #9146ff, #772ce8);
            color: white;
            box-shadow: 0 5px 15px rgba(145, 70, 255, 0.3);
        }

        .social-link.twitch:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 8px 25px rgba(145, 70, 255, 0.4);
            background: linear-gradient(135deg, #772ce8, #9146ff);
        }

        .social-link.instagram {
            background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
            color: white;
            box-shadow: 0 5px 15px rgba(225, 48, 108, 0.3);
        }

        .social-link.instagram:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 8px 25px rgba(225, 48, 108, 0.4);
            background: linear-gradient(135deg, #bc1888, #cc2366, #dc2743, #e6683c, #f09433);
        }
 
        .container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            width: 100%;
            max-width: 1100px;
        }

        .radio-card {
            grid-column: 1 / -1;
        }

        audio{
            background-color::#333;
        }
 
        .card {
            background: var(--card-bg);
            border-radius: 15px;
            padding: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
            border: 1px solid #333;
        }
 
        .card h2 {
            margin-top: 0;
            border-bottom: 2px solid var(--primary-color);
            display: inline-block;
            padding-bottom: 5px;
        }
 
        /* Twitch Embed aspect ratio */
        .video-container {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 */
            height: 0;
            overflow: hidden;
        }

        .video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-radius: 8px;
        }

        .chat-container {
            height: 400px;
        }

        .chat-container iframe {
            width: 100%;
            height: 100%;
            border-radius: 8px;
            border: 1px solid #333;
        }

        /* Transparent chat card */
        .chat-card {
            background: transparent;
            backdrop-filter: none;
            border: none;
            box-shadow: none;
            padding: 0;
        }
 
        /* Radio Player Styling */
        .radio-player {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 350px;
            padding: 0;
            margin: 0;
            width: 100%;
            box-sizing: border-box;
        }

        .player-container {
            background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
            border-radius: 20px;
            padding: 30px;
            width: 100%;
            max-width: 600px;
            margin: 0 auto;
            box-shadow: 0 15px 35px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
            border: 1px solid #333;
            position: relative;
            overflow: hidden;
            box-sizing: border-box;
        }

        .player-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,62,62,0.1), transparent);
            animation: shimmer 3s infinite;
        }

        @keyframes shimmer {
            0% { left: -100%; }
            100% { left: 100%; }
        }

        .player-header {
            text-align: center;
            margin-bottom: 25px;
        }

        .station-info h3 {
            margin: 0;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-color);
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .live-indicator {
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 8px 0 0 0;
            font-size: 0.8rem;
            color: #ff3e3e;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .live-dot {
            width: 8px;
            height: 8px;
            background: #ff3e3e;
            border-radius: 50%;
            margin-right: 6px;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.7; transform: scale(1.1); }
        }

        .current-track {
            margin-top: 15px;
        }

        .track-name {
            margin: 0;
            font-size: 1rem;
            color: #fff;
            opacity: 0.9;
        }

        .listeners {
            margin: 5px 0 0 0;
            font-size: 0.8rem;
            color: #888;
        }

        .player-controls {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 25px;
            gap: 15px;
        }

        .main-controls {
            display: flex;
            align-items: center;
        }

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

        #current-time, #duration {
            font-size: 0.8rem;
            color: #888;
            min-width: 35px;
        }

        #progress {
            flex: 1;
            height: 4px;
            background: #333;
            border-radius: 2px;
            outline: none;
            -webkit-appearance: none;
            appearance: none;
        }

        #progress::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 12px;
            height: 12px;
            background: var(--primary-color);
            border-radius: 50%;
            cursor: pointer;
        }

        #progress::-moz-range-thumb {
            width: 12px;
            height: 12px;
            background: var(--primary-color);
            border-radius: 50%;
            cursor: pointer;
            border: none;
        }

        #progress:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        #progress:disabled::-webkit-slider-thumb {
            cursor: not-allowed;
            background: #666;
        }

        #progress:disabled::-moz-range-thumb {
            cursor: not-allowed;
            background: #666;
        }

        .play-btn {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary-color), #ff5555);
            border: none;
            color: white;
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(255,62,62,0.3);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .play-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 8px 20px rgba(255,62,62,0.4);
        }

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

        .play-btn.playing {
            background: linear-gradient(135deg, #ff5555, var(--primary-color));
        }

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

        .volume-control i {
            color: #888;
            font-size: 1rem;
        }

        #volume {
            width: 80px;
            height: 4px;
            background: #333;
            border-radius: 2px;
            outline: none;
            -webkit-appearance: none;
            appearance: none;
        }

        #volume::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 12px;
            height: 12px;
            background: var(--primary-color);
            border-radius: 50%;
            cursor: pointer;
        }

        #volume::-moz-range-thumb {
            width: 12px;
            height: 12px;
            background: var(--primary-color);
            border-radius: 50%;
            cursor: pointer;
            border: none;
        }

        .visualizer {
            display: flex;
            align-items: end;
            justify-content: center;
            height: 40px;
            gap: 3px;
            margin-bottom: 20px;
        }

        .visualizer .bar {
            width: 3px;
            background: linear-gradient(to top, var(--primary-color), #ff8888);
            border-radius: 2px;
            animation: dance 0.6s ease-in-out infinite;
        }

        .visualizer .bar:nth-child(1) { animation-delay: 0s; height: 20%; }
        .visualizer .bar:nth-child(2) { animation-delay: 0.1s; height: 40%; }
        .visualizer .bar:nth-child(3) { animation-delay: 0.2s; height: 60%; }
        .visualizer .bar:nth-child(4) { animation-delay: 0.3s; height: 30%; }
        .visualizer .bar:nth-child(5) { animation-delay: 0.4s; height: 80%; }
        .visualizer .bar:nth-child(6) { animation-delay: 0.5s; height: 50%; }
        .visualizer .bar:nth-child(7) { animation-delay: 0.6s; height: 70%; }
        .visualizer .bar:nth-child(8) { animation-delay: 0.7s; height: 35%; }
        .visualizer .bar:nth-child(9) { animation-delay: 0.8s; height: 65%; }
        .visualizer .bar:nth-child(10) { animation-delay: 0.9s; height: 45%; }
        .visualizer .bar:nth-child(11) { animation-delay: 1.0s; height: 75%; }
        .visualizer .bar:nth-child(12) { animation-delay: 1.1s; height: 25%; }

        .visualizer.paused .bar {
            animation-play-state: paused;
            height: 20%;
            opacity: 0.3;
        }

        @keyframes dance {
            0%, 100% { transform: scaleY(1); }
            50% { transform: scaleY(1.5); }
        }

        audio {
            display: none;
        }

        /* Responsive design for radio player */
        @media (max-width: 768px) {
            .container {
                grid-template-columns: 1fr;
            }
            
            .radio-player {
                width: 100%;
                padding: 0;
                margin: 0;
            }
            
            .player-container {
                max-width: 100%;
                padding: 20px;
                width: 100%;
                box-sizing: border-box;
            }
            
            .player-controls {
                flex-direction: column;
                gap: 20px;
            }
            
            .time-control {
                width: 100%;
            }
        }

        /* Specific optimization for 755x906 and similar resolutions */
        @media (max-width: 800px) and (min-width: 750px) {
            .container {
                grid-template-columns: 1fr;
            }
            
            .radio-player {
                padding: 0;
                margin: 0;
                width: 100%;
                box-sizing: border-box;
            }
            
            .player-container {
                max-width: 100%;
                padding: 25px;
                margin: 0 auto;
                width: 100%;
                box-sizing: border-box;
            }
            
            .social-links {
                gap: 18px;
            }
            
            .social-link {
                width: 48px;
                height: 48px;
                font-size: 1.4rem;
            }
        }

        @media (max-width: 480px) {
            .container {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .social-links {
                gap: 15px;
            }
            
            .social-link {
                width: 45px;
                height: 45px;
                font-size: 1.3rem;
            }
            
            .player-container {
                padding: 15px;
            }
            
            .station-info h3 {
                font-size: 1.2rem;
            }
            
            .play-btn {
                width: 50px;
                height: 50px;
                font-size: 1rem;
            }
            
            .time-control {
                flex-direction: column;
                gap: 5px;
            }
            
            #current-time, #duration {
                align-self: center;
            }
        }

        .genre-tags {
            margin-top: 20px;
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
        }
 
        .tag {
            background: #333;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            text-transform: uppercase;
        }

        /* Footer Styling */
        footer {
            text-align: center;
            padding: 30px 20px;
            margin-top: 40px;
            border-top: 1px solid #333;
        }

        footer p {
            margin: 0;
            font-size: 0.9rem;
            color: #888;
            text-transform: lowercase;
            opacity: 0.7;
        }