/* =========================
   RADIO LOVELL — ANALOG UI
   ========================= */

body {
    margin: 0;
    background: #0a0a0a;
    color: #eaeaea;
    font-family: "Courier New", monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;

    /* subtle noise feel */
    background-image: radial-gradient(circle at 20% 20%, #111, #000);
}

/* -------------------------
   RADIO BODY
------------------------- */

.radio-shell {
    width: 420px;
    padding: 30px;
    border-radius: 12px;

    background: linear-gradient(145deg, #111, #000);
    border: 1px solid #222;

    box-shadow:
        0 20px 60px rgba(0,0,0,0.8),
        inset 0 0 40px rgba(255,255,255,0.03);

    text-align: center;
}

/* -------------------------
   DISPLAY PANEL
------------------------- */

.display {
    margin-bottom: 30px;
    padding: 20px;

    background: #050505;
    border: 1px solid #1a1a1a;
    border-radius: 8px;

    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}

/* frequency readout */
.frequency {
    font-size: 2.2rem;
    letter-spacing: 2px;
    color: #00ff99;

    text-shadow:
        0 0 8px rgba(0,255,153,0.3);
}

/* station name */
.station-name {
    margin-top: 8px;
    font-size: 1rem;
    opacity: 0.85;
    letter-spacing: 1px;
}

/* status text */
.status {
    margin-top: 6px;
    font-size: 0.8rem;
    color: #ff3b3b;
    letter-spacing: 2px;

    animation: flicker 2.5s infinite;
}

/* -------------------------
   FLICKER (SIGNAL FEEL)
------------------------- */

@keyframes flicker {
    0%   { opacity: 1; }
    3%   { opacity: 0.2; }
    6%   { opacity: 1; }
    50%  { opacity: 0.7; }
    100% { opacity: 1; }
}

/* -------------------------
   CONTROLS (BUTTONS)
------------------------- */

.controls {
    display: flex;
    justify-content: center;
    gap: 20px;
}

button {
    width: 80px;
    height: 50px;

    background: #111;
    border: 1px solid #333;
    border-radius: 6px;

    color: #eaeaea;
    font-size: 1.2rem;

    cursor: pointer;

    box-shadow:
        inset 0 -3px 0 rgba(0,0,0,0.8),
        0 4px 10px rgba(0,0,0,0.5);

    transition: transform 0.05s ease;
}

button:active {
    transform: translateY(2px);
    box-shadow:
        inset 0 -1px 0 rgba(0,0,0,0.8);
}

/* up/down subtle differentiation */
#up {
    color: #808080;
}

#down {
    color: #808080;
}