@charset "utf-8";
/* CSS Document */
* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Courier New', monospace;
            background: #000;
            min-height: 100svh;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #fff;
        }

        .radio-container {
            position:fixed; top:50%; left: 50%; transform: translate(-50%,-70%);
            max-width: 600px;
            width: 90%;
        }

        .radio-face {
            border-radius: 15px;
            padding: 30px;
            color: #ccc;
            position: relative;
        }

        .brand-name {
            text-align: center;
            font-size: 28px;
            font-weight: bold;
            margin-bottom: 20px;
            font-family: serif;
        }

        .frequency-display {
            background: #333;
            color: #00ff00;
            padding: 15px;
            text-align: center;
            font-size: 24px;
            font-family: 'Courier New', monospace;
            border-radius: 8px;
            margin-bottom: 20px;
        }
        #muteButton { display: none;}

        .tuning-section {
            margin: 30px 0;
        }

        .tuning-label {
            font-size: 16px;
            margin-bottom: 10px;
            text-align: center;
            font-weight: bold;
        }

        .tuning-slider {
            width: 100%;
            height: 8px;
            background: #666;
            border-radius: 4px;
            outline: none;
            -webkit-appearance: none;
            position: relative;
        }

        .tuning-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 30px;
            height: 30px;
            background: #00ff00;
            border-radius: 50%;
            cursor: pointer;
        }

        .tuning-slider::-moz-range-thumb {
            width: 30px;
            height: 30px;
            background: #00ff00;
            border-radius: 50%;
            cursor: pointer;
        }

        .frequency-marks {
            display: flex;
            justify-content: space-between;
            margin-top: 10px;
            font-size: 12px;
            opacity: 0.7;
        }

        .controls {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 30px;
        }

        .control-button {
            background: none!;
            border: none;
            color: #f4f4f4;
            width: 80px; height: 80px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 18px; border:2px solid #FFF; box-sizing: border-box; background-color: transparent;
            
            transition: all 0.2s;
        }

        .control-button:active {
           
        }

        .volume-control {
            margin-top: 20px; display: none;
        }

        .volume-slider {
            width: 100%;
            height: 6px;
            background: #333;
            border-radius: 3px;
            outline: none;
            -webkit-appearance: none;
        }

        .volume-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 20px;
            height: 20px;
            background: #ffd700;
            border-radius: 50%;
            cursor: pointer;
        }

        .speaker-grille {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 80px;
            height: 80px;
            background: #333;
            border-radius: 50%;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 3px;
            padding: 10px; display: none;
        }

        .speaker-hole {
            width: 8px;
            height: 8px;
            background: #666;
            border-radius: 50%;
        }

        .signal-indicator {
            position: absolute;
            top: 20px;
            left: 20px;
            display: flex;
            gap: 3px;
        }

        .signal-bar {
            width: 4px;
            height: 20px;
            background: #333;
            border-radius: 2px;
            transition: background-color 0.3s;
        }

        .signal-bar.active {
            background: #00ff00;
        }

        .station-info {
            text-align: center;
            margin-top: 15px;
            font-size: 14px;
            opacity: 0.8;
            min-height: 20px; height: 2em;
        }

        @keyframes glow {
            0%, 100% { text-shadow: 0 0 5px #00ff00; }
            50% { text-shadow: 0 0 20px #00ff00, 0 0 30px #00ff00; }
        }

        .frequency-display.tuned {
            animation: glow 2s infinite;
        }

        .debug-info {
            position: fixed;
            top: 10px;
            left: 10px;
            background: rgba(0,0,0,0.8);
            color: #00ff00;
            padding: 10px;
            font-family: monospace;
            font-size: 12px;
            border-radius: 5px;
            z-index: 1000;
        }
        
        #UI { width: 100%; position: fixed; bottom: 0; left: 0; padding: 20px; box-sizing: border-box;}

