.radio-scanner {
    max-width: 480px;
    margin: 30px auto;
    border: 2px solid #333;
    background: #080808;
    font-family: 'Press Start 2P', monospace;
}

.radio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 14px;
    border-bottom: 1px solid #1e1e1e;
    font-size: 7px;
    color: #444;
    letter-spacing: 1px;
}

.radio-model {
    color: #555;
}

.radio-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #333;
    font-size: 7px;
    transition: color 0.3s;
}

.radio-indicator-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #333;
    transition: background 0.3s;
}

.radio-scanner[data-active='true'] .radio-indicator {
    color: #44ff44;
}

.radio-scanner[data-active='true'] .radio-indicator-dot {
    background: #44ff44;
    animation: blink 0.8s ease-in-out infinite;
}

.radio-display {
    padding: 14px 16px 10px;
    border-bottom: 1px solid #1a1a1a;
    display: flex;
    align-items: center;
    gap: 16px;
}

.radio-screen {
    flex: 1;
    background: #000;
    border: 1px solid #1e1e1e;
    padding: 10px 12px;
    position: relative;
    overflow: hidden;
    min-height: 52px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.radio-screen::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255,255,255,0.015) 2px,
        rgba(255,255,255,0.015) 4px
    );
    pointer-events: none;
}

.radio-freq {
    font-size: 14px;
    color: #ffffff;
    letter-spacing: 2px;
    line-height: 1;
}

.radio-status {
    font-size: 7px;
    color: #555;
    letter-spacing: 1px;
    margin-top: 6px;
}

[data-mode='music'] .radio-status {
    color: #44ff44;
    animation: status-pulse 1.2s ease-in-out infinite;
}

[data-mode='static'] .radio-status {
    color: #888;
}

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

.radio-signal-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 32px;
    flex-shrink: 0;
}

.signal-bar {
    width: 5px;
    background: #ffffff;
    opacity: 0.1;
    border-radius: 1px;
    transition: opacity 0.05s;
}

.signal-bar:nth-child(1) { height: 20%; }
.signal-bar:nth-child(2) { height: 40%; }
.signal-bar:nth-child(3) { height: 60%; }
.signal-bar:nth-child(4) { height: 80%; }
.signal-bar:nth-child(5) { height: 100%; }

.radio-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    gap: 20px;
}

.radio-play-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: none;
    border: 2px solid #444;
    color: #ffffff;
    cursor: pointer;
    padding: 14px 28px;
    font-family: 'Press Start 2P', monospace;
    font-size: 10px;
    letter-spacing: 2px;
    transition: border-color 0.2s, color 0.2s;
    position: relative;
    overflow: hidden;
}

.radio-play-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #ffffff;
    opacity: 0;
    transition: opacity 0.15s;
}

.radio-play-btn:hover {
    border-color: #ffffff;
}

.radio-play-btn:hover::before {
    opacity: 0.05;
}

.radio-play-btn:active::before {
    opacity: 0.12;
}

.radio-play-btn[data-playing='true'] {
    border-color: #ff4444;
    color: #ff4444;
}

.radio-play-btn[data-playing='true']:hover {
    border-color: #ff6666;
}

.btn-icon {
    font-size: 18px;
    line-height: 1;
}

.btn-label {
    font-size: 8px;
    letter-spacing: 2px;
}

.radio-footer {
    padding: 6px 14px;
    border-top: 1px solid #111;
    font-size: 6px;
    color: #2a2a2a;
    letter-spacing: 1px;
    text-align: center;
}

.radio-waveform {
    padding: 0 16px 12px;
}

.radio-waveform canvas {
    display: block;
    width: 100%;
    height: 28px;
    background: #000;
    border: 1px solid #111;
}
