@import url('https://fonts.googleapis.com/css2?family=Rozha+One&family=Yatra+One&family=Gotu&family=Share+Tech+Mono&family=Outfit:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;600;700&display=swap');

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --sunset-gold: #ffaa22;
    --sunset-amber: #ff8800;
    --sunset-cream: #fdf6ec;
    --sunset-sand: #f2e4cf;
    --sunset-dark: #1e1308;
    --sunset-shadow: #b39b82;
    --sunset-border: #d9c4ad;
}

html,
body {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    background: #0d0804;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ══ EXACT VINTAGE BOLLYWOOD CINEMA TITLE ═══════════════════════════════ */
.site-header {
    position: fixed;
    top: clamp(16px, 3.8vh, 44px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    text-align: center;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.site-title.hindi-retro-title {
    font-family: 'Yatra One', 'Rozha One', 'Gotu', serif;
    font-size: clamp(48px, 7.2vw, 92px);
    font-weight: 400;
    line-height: 0.94;
    letter-spacing: 0.02em;
    color: #fbf1e2;
    display: flex;
    flex-direction: column;
    align-items: center;
    user-select: none;
    gap: 2px;
    /* Exact 3D Extruded Deep Red / Crimson Terracotta Bevel */
    text-shadow:
        1px 1px 0px #b82d22,
        2px 2px 0px #a3241a,
        3px 3px 0px #8f1d14,
        4px 4px 0px #7b160f,
        5px 5px 0px #66100a,
        6px 6px 0px #520b06,
        7px 7px 0px #3d0703,
        8px 8px 0px #290402,
        9px 14px 28px rgba(0, 0, 0, 0.75);
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.45));
    transition: transform 0.3s ease;
}

.site-title.hindi-retro-title .hindi-line {
    display: block;
    position: relative;
}

.site-title.hindi-retro-title .hindi-line:first-child {
    font-size: 1.08em;
    letter-spacing: 0.04em;
}

.site-title.hindi-retro-title .hindi-line:nth-child(2) {
    font-size: 0.88em;
    letter-spacing: 0.03em;
}

/* ══ Background Video — Adaptive Full-Cover Responsive Framing ═════════ */
.bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100vw;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    pointer-events: none;
    filter: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.bg-video-landscape {
    display: block;
}

.bg-video-portrait {
    display: none;
}

/* On ALL responsive, mobile, tablet & portrait screens: Activate the new portrait background video */
@media (max-width: 920px), (orientation: portrait), (max-aspect-ratio: 1/1) {
    .bg-video-landscape {
        display: none !important;
    }
    .bg-video-portrait {
        display: block !important;
        object-position: center center !important;
    }
}

/* ══ Scene ═══════════════════════════════════════════════════════════════ */
.scene {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px 20px;
    position: relative;
    z-index: 20;
}

/* ══ RADIO BODY — WARM SUNSET CREAM & AMBER CERAMIC SKEUOMORPHIC CHASSIS ═ */
.radio-body {
    position: relative;
    display: flex;
    align-items: stretch;
    width: min(940px, 95vw);
    height: 225px;
    border-radius: 22px;
    opacity: 1;

    background:
        linear-gradient(180deg,
            #fffdf9 0%,
            #faf2e6 15%,
            #f2e4d0 48%,
            #e4d0b8 85%,
            #d6be9e 100%);

    box-shadow:
        inset 0 2.5px 0 #ffffff,
        inset 0 1px 0 rgba(255, 230, 180, 0.9),
        inset 0 -3px 0 #9c8366,
        inset 0 -1px 0 #7a634a,
        0 4.5px 0 #856e54,
        0 6px 0 #5c4a35,
        0 26px 65px rgba(0, 0, 0, 0.8),
        0 10px 26px rgba(0, 0, 0, 0.55),
        0 0 32px rgba(255, 140, 20, 0.2);

    border: 1.5px solid #d4c0a5;
    
    transform-origin: center bottom;
    transform: scale(clamp(1, calc(95vw / 940), 1.5));
}

/* Subtle warm sunburst grain texture */
.radio-body::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background:
        radial-gradient(ellipse at 50% -20%, rgba(255, 220, 140, 0.7) 0%, transparent 70%),
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(40, 20, 0, 0.015) 2px, rgba(40, 20, 0, 0.015) 3px);
    pointer-events: none;
    z-index: 0;
}

/* Sunset Golden Top Rim Highlight */
.radio-body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 22px 22px 0 0;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 220, 140, 0.9) 15%,
            #ffffff 50%,
            rgba(255, 200, 100, 0.9) 85%,
            transparent 100%);
    box-shadow: 0 1px 4px rgba(255, 180, 60, 0.8);
}

.radio-body>* {
    position: relative;
    z-index: 1;
}

/* ══ SUNSET GOLDEN CHROME ANTENNA ════════════════════════════════════════ */
.antenna-base {
    position: absolute;
    top: -10px;
    right: 75px;
    width: 18px;
    height: 13px;
    background: linear-gradient(180deg, #ffffff 0%, #d8c2a8 60%, #8c765c 100%);
    border-radius: 5px 5px 2px 2px;
    border: 1px solid #735d44;
    box-shadow:
        0 2px 5px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 #ffffff,
        inset 0 -1px 0 #52402d;
    display: flex;
    justify-content: center;
}

.antenna-pole {
    position: absolute;
    bottom: 9px;
    width: 3px;
    height: 98px;
    background: linear-gradient(90deg, #a69279 0%, #fff6e8 25%, #ebd5bd 50%, #a69279 80%, #75634d 100%);
    border-radius: 2px 2px 0 0;
    box-shadow:
        1px 0 3px rgba(0, 0, 0, 0.35),
        inset 0 0 1px #ffffff;
    transform-origin: bottom center;
    transform: rotate(-7deg);
}

.antenna-pole::after {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #fffdf8 0%, #c4ab8e 60%, #69533a 100%);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* ══ LEFT TV / VIDEO SCREEN PANEL (WARM RECESSED BEZEL) ═════════════════ */
.speaker-panel {
    width: 320px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    border-right: 1px solid #c9b397;
    position: relative;
    box-shadow: 1px 0 0 rgba(255, 255, 255, 0.85);
}

.radio-tv-screen {
    width: 295px;
    height: 165px;
    border-radius: 14px;
    background: #000000;
    box-shadow:
        inset 0 5px 16px rgba(0, 0, 0, 0.98),
        inset 0 1px 4px rgba(0, 0, 0, 1),
        inset 0 -2px 5px rgba(255, 180, 60, 0.12),
        0 1px 0 #ffffff,
        0 3px 8px rgba(0, 0, 0, 0.35),
        0 0 0 1.5px #cfb99d;
    border: 2px solid #3d2a14;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.yt-player-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    border-radius: 10px;
    display: none;
}

.yt-player-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: auto;
}

.radio-screen-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    filter: none;
    z-index: 1;
}

.tv-crt-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(255, 230, 170, 0.28) 0%,
            rgba(255, 210, 130, 0.1) 22%,
            transparent 45%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 220, 140, 0.2),
        inset 0 0 14px rgba(0, 0, 0, 0.6);
    pointer-events: none;
    z-index: 2;
    border-radius: 10px;
}

.speaker-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.22em;
    color: #241609;
    text-shadow: 0 1px 0 #ffffff;
    line-height: 1.1;
}

.logo-sub {
    font-family: 'JetBrains Mono', monospace;
    font-size: 8px;
    letter-spacing: 0.12em;
    color: #ffffff;
    font-weight: 700;
    background: linear-gradient(180deg, #ff7711 0%, #e04400 100%);
    padding: 2px 7px;
    border-radius: 4px;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
    border: 1px solid #bf3800;
}

/* ══ CENTER PANEL (SUNSET OBSIDIAN LCD & TACTILE CONTROLS) ═══════════════ */
.center-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 6px;
    padding: 8px 14px;
    min-width: 0;
}

.lcd-shell {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(180deg, #1c1208 0%, #0c0803 100%);
    border-radius: 10px;
    border: 1.5px solid #3d2812;
    padding: 6px 10px;
    box-shadow:
        inset 0 4px 10px rgba(0, 0, 0, 0.95),
        inset 0 1px 3px rgba(0, 0, 0, 1),
        0 1px 0 #ffffff,
        0 2px 4px rgba(0, 0, 0, 0.2);
}

.lcd-screen {
    flex: 1;
    background: radial-gradient(ellipse at center, #170d04 0%, #080401 100%);
    border-radius: 6px;
    border: 1px solid #2e1b09;
    box-shadow:
        inset 0 2px 8px rgba(0, 0, 0, 0.95),
        inset 0 0 14px rgba(255, 140, 20, 0.15);
    padding: 6px 10px;
    position: relative;
    overflow: hidden;
}

.lcd-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 200, 100, 0.08) 0%, transparent 100%);
    pointer-events: none;
}

.lcd-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    line-height: 1;
}

.lcd-band {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #ff7700;
    text-shadow: 0 0 8px rgba(255, 120, 0, 0.8);
}

.lcd-freq {
    font-family: 'JetBrains Mono', monospace;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1;
    color: #ffcc55;
    text-shadow:
        0 0 12px rgba(255, 180, 50, 0.95),
        0 0 24px rgba(255, 100, 0, 0.6);
    transition: opacity 0.05s;
}

.lcd-freq.flicker {
    opacity: 0.15;
}

.lcd-mhz {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    color: #d4a770;
    letter-spacing: 0.08em;
}

.lcd-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    color: #ffe6ba;
    letter-spacing: 0.08em;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 0 6px rgba(255, 160, 40, 0.4);
}

/* LCD List button placed right after the LCD display */
.lcd-list-btn {
    font-family: 'JetBrains Mono', monospace;
    cursor: pointer;
    border-radius: 6px;
    padding: 6px 9px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    user-select: none;
    flex-shrink: 0;
    background: linear-gradient(180deg, #ffffff 0%, #faf3e8 40%, #ebd7be 100%);
    border: 1px solid #bfab93;
    box-shadow:
        0 2.5px 0 #9e8971,
        0 3px 6px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 #ffffff;
    color: #4a3520;
    transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.15s;
    outline: none;
}

.lcd-list-btn:hover {
    background: linear-gradient(180deg, #ffffff 0%, #fffbf5 40%, #f3e3ce 100%);
}

.lcd-list-btn.pressed,
.lcd-list-btn:active {
    transform: translateY(2px);
    box-shadow:
        0 0.5px 0 #9e8971,
        0 1px 2px rgba(0, 0, 0, 0.2),
        inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.lcd-list-btn.active {
    background: linear-gradient(180deg, #3d2309 0%, #1f1104 100%);
    border-color: #ff9900;
    color: #ffaa00;
    box-shadow:
        0 1px 0 #9e8971,
        inset 0 2px 6px rgba(0, 0, 0, 0.9),
        0 0 10px rgba(255, 153, 0, 0.4);
    transform: translateY(1.5px);
}

.lcd-btn-text {
    font-size: 7.5px;
    letter-spacing: 0.1em;
    font-weight: 800;
    line-height: 1;
}

/* Sunset Glass LED Indicators */
.signal-leds {
    display: flex;
    flex-direction: column;
    gap: 2.5px;
    align-items: center;
}

.signal-leds span {
    width: 7px;
    height: 3.5px;
    border-radius: 1.5px;
    background: #1f1408;
    border: 1px solid #0d0702;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.9);
    transition: background 0.1s, box-shadow 0.1s;
}

.signal-leds span.lit {
    background: #ffaa00;
    box-shadow: 0 0 6px rgba(255, 170, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border-color: #cc8800;
}

.signal-leds span.peak {
    background: #ff4400;
    box-shadow: 0 0 8px rgba(255, 68, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    border-color: #b33000;
}

/* 3D Skeuomorphic Debossed Progress Slider */
.progress-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 2px;
    user-select: none;
}

.progress-bar-bg {
    flex: 1;
    height: 7px;
    border-radius: 4px;
    background: linear-gradient(180deg, #1f1408 0%, #3d2812 100%);
    border: 1px solid #140b03;
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.85),
        0 1px 0 #ffffff;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    border-radius: 3px;
    background: linear-gradient(90deg, #ff8800 0%, #ffbb33 70%, #fff0aa 100%);
    box-shadow: 0 0 8px rgba(255, 150, 0, 0.8);
    transition: width 0.1s linear;
}

.progress-time {
    font-family: 'JetBrains Mono', monospace;
    font-size: 8px;
    font-weight: 700;
    color: #614830;
    min-width: 28px;
    text-shadow: 0 1px 0 #ffffff;
}

/* Skeuomorphic Recessed Tuner Band */
.tuner-band {
    position: relative;
}

.tuner-scale {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2px;
}

.tuner-scale span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 7.5px;
    color: #6b533a;
    font-weight: 700;
    text-shadow: 0 1px 0 #ffffff;
}

.tuner-track {
    position: relative;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(180deg, #cfbeaa 0%, #e6d7c5 100%);
    border: 1px solid #a8947e;
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.35),
        0 1px 0 #ffffff;
    overflow: visible;
}

.tuner-fill {
    position: absolute;
    inset: 1px;
    border-radius: 2px;
    background: linear-gradient(90deg,
            rgba(255, 160, 30, 0.25) 0%,
            rgba(255, 85, 0, 0.5) 50%,
            rgba(255, 160, 30, 0.25) 100%);
}

.tuner-indicator {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: left 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.tuner-needle-line {
    width: 2.5px;
    height: 16px;
    background: linear-gradient(180deg, #ff8800 0%, #cc3300 100%);
    border-radius: 1px;
    box-shadow:
        0 0 6px rgba(255, 120, 0, 0.95),
        0 1px 3px rgba(0, 0, 0, 0.4);
    border: 0.5px solid #ffffff;
}

/* ══ PRESETS / DECK BUTTONS ROW ═════════════════════════════════════════ */
.presets-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.preset-group-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 7px;
    letter-spacing: 0.15em;
    color: #5c4731;
    font-weight: 800;
    flex-shrink: 0;
    text-shadow: 0 1px 0 #ffffff;
}

.presets-btns {
    display: flex;
    gap: 5px;
    width: 100%;
}

/* 3D TACTILE MECHANICAL SUNSET BUTTONS */
.preset-btn {
    flex: 1;
    font-family: 'JetBrains Mono', monospace;
    cursor: pointer;
    border-radius: 6px;
    padding: 4px 6px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    position: relative;
    user-select: none;
    transition: transform 0.08s ease, box-shadow 0.08s ease, border-color 0.15s, background 0.15s;

    background: linear-gradient(180deg, #ffffff 0%, #faf3e8 40%, #ebd7be 100%);
    border: 1px solid #bfab93;
    box-shadow:
        0 3px 0 #9e8971,
        0 4px 6px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 #ffffff;
    color: #2e1d0c;
    outline: none;
}

.preset-btn:hover {
    background: linear-gradient(180deg, #ffffff 0%, #fef8f0 40%, #f0dec7 100%);
    border-color: #a8947b;
}

.preset-btn.pressed,
.preset-btn:active {
    transform: translateY(2.5px);
    box-shadow:
        0 0.5px 0 #9e8971,
        0 1px 2px rgba(0, 0, 0, 0.2),
        inset 0 2px 4px rgba(0, 0, 0, 0.25);
}

.preset-btn.active {
    background: linear-gradient(180deg, #2b1a0a 0%, #170d04 100%);
    color: #ffffff;
    border-color: #ff9900;
    transform: translateY(2px);
    box-shadow:
        0 1px 0 #9e8971,
        inset 0 2px 5px rgba(0, 0, 0, 0.9),
        0 0 10px rgba(255, 153, 0, 0.4);
}

.preset-btn.active .p-freq {
    color: #ff9900;
    text-shadow: 0 0 6px rgba(255, 150, 0, 0.8);
}

.p-freq {
    font-size: 7.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #523e2a;
    line-height: 1;
}

/* ══ SKEUOMORPHIC HARDWARE VECTOR ICONS ══════════════════════════════════ */
.deck-icon-svg {
    width: 12px;
    height: 12px;
    fill: #422f1d;
    filter: drop-shadow(0 1px 0 #ffffff);
    transition: fill 0.15s, filter 0.15s;
}

.preset-btn:hover .deck-icon-svg {
    fill: #26190e;
}

.preset-btn.active .deck-icon-svg {
    fill: #ffaa00;
    filter: drop-shadow(0 0 4px rgba(255, 170, 0, 0.85)) drop-shadow(0 0 8px rgba(255, 120, 0, 0.5));
}

.lcd-list-btn .deck-icon-svg {
    width: 13px;
    height: 13px;
    fill: #4a3520;
    filter: drop-shadow(0 1px 0 #ffffff);
}

.lcd-list-btn.active .deck-icon-svg {
    fill: #ffaa00;
    filter: drop-shadow(0 0 4px rgba(255, 170, 0, 0.85));
}

.tray-arrow-svg {
    width: 12px;
    height: 12px;
    fill: #ff8800;
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.6));
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.playlist-tray.open .tray-arrow-svg {
    transform: rotate(180deg);
}

/* ══ RIGHT PANEL (3D WARM BRASS & SUNSET METAL KNOBS) ═════════════════════ */
.right-panel {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    border-left: 1px solid #c9b397;
    position: relative;
    flex-shrink: 0;
    box-shadow: -1px 0 0 rgba(255, 255, 255, 0.8);
}

.panel-divider {
    width: 1px;
    height: 42px;
    background: #c9b397;
    box-shadow: 1px 0 0 rgba(255, 255, 255, 0.8);
}

.knob-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.knob-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 7.5px;
    letter-spacing: 0.15em;
    color: #523e2a;
    font-weight: 800;
    text-shadow: 0 1px 0 #ffffff;
}

.knob-ring {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, #ffffff 0%, #e6d3bd 50%, #a69076 100%);
    border: 1.5px solid #947e64;
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.35),
        0 1px 0 #ffffff,
        inset 0 1.5px 0 #ffffff,
        inset 0 -1.5px 0 #6e5942;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: ns-resize;
}

.knob {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    position: relative;
    background:
        radial-gradient(circle at center, #ffffff 0%, transparent 70%),
        conic-gradient(from 0deg,
            #f5e9da 0deg, #d4c0aa 45deg, #ffffff 90deg, #c7b29b 135deg,
            #f5e9da 180deg, #d4c0aa 225deg, #ffffff 270deg, #c7b29b 315deg, #f5e9da 360deg);
    border: 1px solid #856f56;
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.85),
        inset 0 -2px 4px rgba(0, 0, 0, 0.4),
        0 2px 5px rgba(0, 0, 0, 0.3);
    transition: transform 0s;
}

.knob-marker {
    position: absolute;
    top: 3px;
    left: 50%;
    width: 2.5px;
    height: 7px;
    background: linear-gradient(180deg, #ff7700 0%, #cc3300 100%);
    border-radius: 1px;
    transform: translateX(-50%);
    box-shadow: 0 0 4px rgba(255, 120, 0, 0.9), 0 1px 2px rgba(0, 0, 0, 0.4);
    border: 0.5px solid #ffffff;
}

.knob-shine {
    position: absolute;
    top: 4px;
    left: 5px;
    width: 9px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
    transform: rotate(-35deg);
    pointer-events: none;
}

.knob-ticks {
    display: flex;
    justify-content: space-between;
    width: 38px;
}

.tk-l,
.tk-r {
    font-size: 8px;
    color: #6e563d;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    text-shadow: 0 1px 0 #ffffff;
}

/* 3D Skeuomorphic Tactile Play Switch */
.play-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.play-button {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: transform 0.08s ease, box-shadow 0.12s ease;
    background: linear-gradient(180deg, #382414 0%, #211308 50%, #120a03 100%);
    border: 1.5px solid #080401;
    box-shadow:
        0 4px 0 #000000,
        0 6px 14px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 200, 100, 0.35),
        inset 0 -1px 0 rgba(0, 0, 0, 0.8);
}

.play-button:hover {
    background: linear-gradient(180deg, #472f1b 0%, #29180b 50%, #170d05 100%);
}

.play-button.pressed,
.play-button:active {
    transform: translateY(3px);
    box-shadow:
        0 1px 0 #000000,
        0 2px 6px rgba(0, 0, 0, 0.4),
        inset 0 2px 4px rgba(0, 0, 0, 0.6);
}

.play-button svg {
    width: 18px;
    height: 18px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.8));
}

.play-led {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #553b22 0%, #241406 70%, #000000 100%);
    border: 1px solid #000000;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(255, 200, 100, 0.2);
    transition: background 0.3s, box-shadow 0.3s;
}

.play-led.on {
    background: radial-gradient(circle at 35% 35%, #ffcc66 0%, #ff8800 60%, #cc3300 100%);
    box-shadow:
        0 0 10px #ff8800,
        0 0 18px rgba(255, 120, 0, 0.9),
        inset 0 1px 2px rgba(255, 255, 255, 0.9);
    animation: ledPulse 1.2s ease-in-out infinite;
}

@keyframes ledPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.65;
        transform: scale(0.88);
    }
}

.play-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 7px;
    letter-spacing: 0.12em;
    color: #523e2a;
    font-weight: 800;
    text-shadow: 0 1px 0 #ffffff;
}

/* ══ PLAYLIST TRAY (TOP DOCKED MECHANICAL DRAWER) ════════════════════════ */
.playlist-tray {
    position: fixed;
    bottom: 235px;
    left: 50%;
    transform: translateX(-50%) translateY(calc(100% - 34px));
    width: min(540px, 94vw);
    max-width: calc(100vw - 20px);
    z-index: 10;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.playlist-tray.open {
    transform: translateX(-50%) translateY(0);
}

.tray-handle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    min-height: 34px;
    background: linear-gradient(180deg, #ffffff 0%, #faf2e6 45%, #ecd6bc 100%);
    border: 1.5px solid #bfab93;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: #4a3520;
    user-select: none;
    box-shadow:
        0 -3px 8px rgba(0, 0, 0, 0.25),
        inset 0 1.5px 0 #ffffff;
    transition: color 0.2s, background 0.2s;
    touch-action: manipulation;
}

.tray-handle:hover,
.tray-handle:focus-visible {
    color: #ff7700;
    background: linear-gradient(180deg, #ffffff 0%, #fff9f0 45%, #f4dec5 100%);
    outline: none;
}

.tray-body {
    max-height: 260px;
    overflow-y: auto;
    background: linear-gradient(180deg, #1c1208 0%, #0d0803 100%);
    border: 1.5px solid #4a331c;
    border-top: none;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.75);
    -webkit-overflow-scrolling: touch;
}

.tray-body::-webkit-scrollbar {
    width: 5px;
}

.tray-body::-webkit-scrollbar-track {
    background: transparent;
}

.tray-body::-webkit-scrollbar-thumb {
    background: rgba(255, 160, 40, 0.35);
    border-radius: 3px;
}

.track-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    min-height: 44px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 160, 40, 0.08);
    transition: background 0.15s;
    user-select: none;
    touch-action: manipulation;
}

.track-item:hover,
.track-item:focus-visible {
    background: rgba(255, 160, 40, 0.12);
    outline: none;
}

.track-item.active {
    background: rgba(255, 160, 40, 0.18);
    border-left: 3.5px solid #ff9900;
}

.track-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    color: rgba(255, 180, 80, 0.5);
    width: 22px;
    flex-shrink: 0;
    font-weight: 700;
}

.track-info {
    flex: 1;
    min-width: 0;
}

.track-title {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #ffeed2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-artist {
    font-family: 'JetBrains Mono', monospace;
    font-size: 8.5px;
    color: rgba(255, 190, 100, 0.65);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
}

.track-play-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    color: rgba(255, 160, 40, 0.6);
}

.track-play-icon svg {
    width: 10px;
    height: 10px;
    fill: #ffaa00;
    filter: drop-shadow(0 0 4px rgba(255, 170, 0, 0.8));
}

.cd-disc {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    position: relative;
    background:
        radial-gradient(circle at 50% 50%,
            #1a1108 0%,
            #1a1108 18%,
            transparent 18%),
        conic-gradient(from 0deg,
            rgba(255, 160, 40, 0.45),
            rgba(200, 100, 20, 0.25),
            rgba(255, 220, 100, 0.6),
            rgba(180, 80, 10, 0.25),
            rgba(255, 160, 40, 0.45)),
        radial-gradient(circle, #3a2810 0%, #1a0e04 100%);
    box-shadow:
        0 0 0 1px rgba(255, 160, 40, 0.2),
        inset 0 0 4px rgba(0, 0, 0, 0.7);
    transition: opacity 0.2s;
}

.cd-disc::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0e0804;
    border: 1px solid rgba(255, 160, 40, 0.3);
    box-shadow: 0 0 3px rgba(255, 140, 20, 0.4);
}

.cd-disc::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 8px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 230, 140, 0.3);
    transform: rotate(-30deg);
    pointer-events: none;
}

.track-item.active .cd-disc {
    animation: cdSpin 3s linear infinite;
    box-shadow:
        0 0 0 1px rgba(255, 160, 40, 0.5),
        0 0 10px rgba(255, 150, 20, 0.4),
        inset 0 0 4px rgba(0, 0, 0, 0.6);
}

@keyframes cdSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ══ SPIDER-MAN INSIDE VIDEO SCREEN (RESPONSIVE) ═════════════════════════ */
.tv-spiderman-mini {
    display: none;
    position: absolute;
    bottom: 0px;
    right: 8px;
    height: 84%;
    max-height: 125px;
    width: auto;
    z-index: 5;
    pointer-events: none;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 14px rgba(255, 140, 20, 0.55));
    animation: tvSpideyFloat 4s ease-in-out infinite alternate;
}

.tv-spiderman-img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

@keyframes tvSpideyFloat {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    100% {
        transform: translateY(-4px) rotate(0.8deg);
    }
}

/* ══ SPIDER-MAN CHARACTER WATERMARK COVER (DESKTOP) ═══════════════════════ */
.character-wrapper {
    position: absolute;
    bottom: 0;
    right: max(25px, calc(50% - 730px));
    height: 330px;
    z-index: 25;
    pointer-events: none;
    display: flex;
    align-items: flex-end;
}

.spiderman-figure {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter:
        drop-shadow(0 15px 30px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 18px rgba(255, 140, 20, 0.35));
    transform-origin: bottom center;
    animation: spidermanFloat 6s ease-in-out infinite alternate;
}

@keyframes spidermanFloat {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    100% {
        transform: translateY(-6px) rotate(0.8deg);
    }
}

/* ══ TOP FLOATING BAR (INSTALL APP + PLAYLIST) ════════════════════════════ */
.top-floating-bar {
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 35;
    display: flex;
    align-items: center;
    gap: 8px;
}

.floating-action-btn,
.mobile-playlist-toggle {
    font-family: 'JetBrains Mono', monospace;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.12em;
    padding: 7px 12px;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #faf2e6 45%, #ecd6bc 100%);
    border: 1.5px solid #bfab93;
    color: #3b2814;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.4),
        0 1px 0 #ffffff,
        inset 0 1px 0 #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.15s, color 0.15s;
    outline: none;
    user-select: none;
    touch-action: manipulation;
}

.install-pwa-btn {
    background: linear-gradient(180deg, #ff9429 0%, #e65c00 100%);
    color: #ffffff;
    border: 1.5px solid #ffaa44;
    box-shadow: 0 4px 14px rgba(230, 92, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    animation: pwaGlow 2.5s ease-in-out infinite alternate;
}

@keyframes pwaGlow {
    0% { box-shadow: 0 4px 12px rgba(230, 92, 0, 0.35); }
    100% { box-shadow: 0 4px 18px rgba(255, 140, 20, 0.65), 0 0 12px rgba(255, 170, 40, 0.4); }
}

.install-pwa-btn:hover {
    background: linear-gradient(180deg, #ffa347 0%, #f06a00 100%);
    color: #ffffff;
}

.mobile-playlist-toggle {
    display: none;
    position: relative;
    top: auto;
    right: auto;
}

.mobile-playlist-toggle:hover {
    color: #ff7700;
    background: linear-gradient(180deg, #ffffff 0%, #fff9f0 45%, #f4dec5 100%);
}

.mobile-playlist-toggle.pressed,
.mobile-playlist-toggle:active,
.floating-action-btn.pressed,
.floating-action-btn:active {
    transform: translateY(2px);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4), inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* ══ CRT PICTURE-IN-PICTURE (FLOAT ABOVE APPS) BUTTON ═════════════════════ */
.crt-pip-btn {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 5;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 170, 34, 0.45);
    border-radius: 4px;
    color: #ffaa22;
    padding: 3px 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.1em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.15s ease;
    opacity: 0.85;
}

.crt-pip-btn:hover {
    opacity: 1;
    background: rgba(255, 140, 0, 0.35);
    border-color: #ffaa22;
    box-shadow: 0 0 8px rgba(255, 170, 34, 0.5);
}

.crt-pip-btn svg {
    width: 10px;
    height: 10px;
}

/* ══ CRT FULLSCREEN BUTTON ════════════════════════════════════════════════ */
.crt-full-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 5;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 170, 34, 0.45);
    border-radius: 4px;
    color: #ffaa22;
    padding: 3px 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.1em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.15s ease;
    opacity: 0.85;
}

.crt-full-btn:hover {
    opacity: 1;
    background: rgba(255, 140, 0, 0.35);
    border-color: #ffaa22;
    box-shadow: 0 0 8px rgba(255, 170, 34, 0.5);
}

.crt-full-btn svg {
    width: 10px;
    height: 10px;
}

.mobile-tray-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: linear-gradient(180deg, #2b1c0e 0%, #170e06 100%);
    border-bottom: 1px solid #4a331c;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #ffaa22;
}

.mobile-tray-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 170, 34, 0.3);
    color: #ffffff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, transform 0.1s;
}

.mobile-tray-close:active {
    transform: scale(0.9);
    background: rgba(255, 80, 0, 0.6);
}

/* ══ RESPONSIVE DESIGN (Desktop, Laptop, Tablet, Mobile) ══════════════════ */
@media (max-width: 1200px) {
    .character-wrapper {
        height: 270px;
        right: max(10px, calc(50% - 560px));
    }
}

@media (max-width: 860px) {
    .bg-video-landscape {
        display: none !important;
    }
    .bg-video-portrait {
        display: block !important;
        object-position: center center !important;
    }

    /* Show the sleek floating toggle button */
    .mobile-playlist-toggle {
        display: flex;
    }

    /* Remove the static top tray handle completely from above the radio */
    .tray-handle {
        display: none !important;
    }

    .mobile-tray-header {
        display: flex;
    }

    /* Convert playlist tray into clean slide-up modal / sheet */
    .playlist-tray {
        position: fixed;
        bottom: 24px;
        left: 50%;
        width: min(480px, 92vw);
        max-height: 70vh;
        z-index: 50;
        transform: translate(-50%, 120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), 0 0 0 100vmax rgba(0, 0, 0, 0.5);
        border-radius: 14px;
        overflow: hidden;
        border: 1.5px solid #5a3d20;
    }

    .playlist-tray.open {
        transform: translate(-50%, 0);
        opacity: 1;
        pointer-events: auto;
    }

    .tray-body {
        border-radius: 0 0 14px 14px;
        max-height: 55vh;
        border: none;
    }

    /* Hide big outside character to reveal the golden-hour background */
    .character-wrapper {
        display: none !important;
    }

    /* Display Spider-Man directly inside the CRT video screen */
    .tv-spiderman-mini {
        display: flex;
    }

    /* Compact header to maximize background view */
    .site-header {
        top: clamp(8px, 2vh, 16px);
    }

    .site-title.hindi-retro-title {
        font-size: clamp(30px, 5.2vw, 46px);
        text-shadow:
            1px 1px 0px #b82d22,
            2px 2px 0px #a3241a,
            3px 3px 0px #8f1d14,
            4px 4px 0px #7b160f,
            5px 8px 18px rgba(0, 0, 0, 0.7);
    }

    .scene {
        padding: 0 10px 12px;
    }

    .radio-body {
        width: 96vw;
        height: auto;
        min-height: 190px;
    }

    .speaker-panel {
        width: 220px;
        padding: 6px 8px;
    }

    .radio-tv-screen {
        width: 200px;
        height: 120px;
    }

    .right-panel {
        gap: 8px;
        padding: 0 10px;
    }

    .knob-ring {
        width: 36px;
        height: 36px;
    }

    .knob {
        width: 26px;
        height: 26px;
    }

    .play-button {
        width: 34px;
        height: 34px;
    }
}

@media (max-width: 680px) {
    html,
    body {
        align-items: flex-end;
        overflow-y: auto;
    }

    .bg-video-landscape {
        display: none !important;
    }
    .bg-video-portrait {
        display: block !important;
        object-position: center center !important;
    }

    .site-header {
        top: clamp(4px, 1vh, 8px);
    }

    .site-title.hindi-retro-title {
        font-size: clamp(22px, 5.5vw, 30px);
        gap: 0;
        text-shadow:
            1px 1px 0px #b82d22,
            2px 2px 0px #a3241a,
            3px 3px 0px #8f1d14,
            4px 6px 14px rgba(0, 0, 0, 0.65);
    }

    .scene {
        padding: 0 6px 10px;
        position: relative;
        z-index: 25;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    /* ── VERTICAL STACKED LAYOUT: BIG VIDEO ON TOP, CONTROLS BELOW ── */
    .radio-body {
        display: flex !important;
        flex-direction: column !important;
        width: min(480px, 96vw) !important;
        height: auto !important;
        min-height: auto !important;
        border-radius: 14px !important;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 30;
        transform: scale(1) !important;
    }

    /* ── BIG VIDEO SCREEN ON TOP ── */
    .speaker-panel {
        width: 100% !important;
        border-right: none !important;
        border-bottom: 1px solid #c9b397 !important;
        padding: 8px 8px 6px !important;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        box-shadow: none !important;
    }

    .radio-tv-screen {
        width: 100% !important;
        max-width: 100% !important;
        height: 52vw !important;
        max-height: 260px !important;
        border-radius: 10px !important;
    }

    .tv-spiderman-mini {
        display: none !important;
    }

    .speaker-logo {
        display: none !important;
    }

    /* ── CONTROLS ROW BELOW VIDEO ── */
    .center-panel {
        padding: 4px 8px !important;
        gap: 3px !important;
        flex: 0 0 auto !important;
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
    }

    .lcd-shell {
        padding: 3px 8px !important;
        border-radius: 6px;
        gap: 6px;
    }

    .lcd-freq {
        font-size: 18px !important;
    }

    .lcd-band, .lcd-mhz {
        font-size: 8px !important;
    }

    .lcd-meta {
        font-size: 8.5px !important;
        max-width: 200px;
    }

    .lcd-track-idx {
        font-size: 7.5px !important;
    }

    .lcd-list-btn {
        padding: 3px 6px !important;
        font-size: 7px !important;
    }

    .signal-leds {
        display: none !important;
    }

    .progress-wrap {
        height: 12px !important;
        gap: 6px !important;
    }

    .progress-bar-bg {
        height: 5px !important;
    }

    .progress-time {
        font-size: 8px !important;
        min-width: 26px;
    }

    .tuner-band {
        display: none !important;
    }

    .presets-row {
        gap: 3px !important;
    }

    .preset-group-label {
        display: none !important;
    }

    .presets-btns {
        gap: 3px !important;
    }

    .preset-btn {
        padding: 3px 5px !important;
        border-radius: 4px !important;
    }

    .preset-btn .deck-icon-svg {
        width: 9px !important;
        height: 9px !important;
    }

    .p-freq {
        font-size: 6.5px !important;
    }

    /* Right panel becomes a horizontal row at bottom */
    .right-panel {
        border-left: none !important;
        border-top: 1px solid #c9b397 !important;
        padding: 6px 10px !important;
        gap: 8px !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        box-shadow: none !important;
    }

    .right-panel::before {
        display: none;
    }

    .panel-divider {
        display: block !important;
        width: 1px !important;
        height: 30px !important;
    }

    .knob-group {
        gap: 2px !important;
    }

    .knob-label {
        font-size: 6.5px !important;
    }

    .knob-ring {
        width: 28px !important;
        height: 28px !important;
    }

    .knob {
        width: 20px !important;
        height: 20px !important;
    }

    .knob-marker {
        width: 2px;
        height: 4px;
        top: 2px;
    }

    .knob-ticks {
        display: none !important;
    }

    .play-group {
        gap: 2px !important;
    }

    .play-button {
        width: 32px !important;
        height: 32px !important;
        border-radius: 6px !important;
    }

    .play-button svg {
        width: 14px !important;
        height: 14px !important;
    }

    .play-led {
        width: 4px !important;
        height: 4px !important;
        top: 3px !important;
        right: 3px !important;
    }

    .play-label {
        font-size: 6.5px !important;
    }

    .antenna-base {
        display: none !important;
    }

    .character-wrapper {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .bg-video-landscape {
        display: none !important;
    }
    .bg-video-portrait {
        display: block !important;
        object-position: center center !important;
    }

    .radio-tv-screen {
        height: 48vw !important;
        max-height: 220px !important;
    }

    .lcd-meta {
        max-width: 160px !important;
    }

    .lcd-freq {
        font-size: 16px !important;
    }
}

@media (max-width: 380px) {
    .bg-video-landscape {
        display: none !important;
    }
    .bg-video-portrait {
        display: block !important;
        object-position: center center !important;
    }

    .radio-tv-screen {
        height: 45vw !important;
        max-height: 180px !important;
    }

    .lcd-freq {
        font-size: 14px !important;
    }

    .lcd-meta {
        max-width: 120px !important;
    }

    .preset-btn {
        padding: 2px 3px !important;
    }

    .p-freq {
        font-size: 5.5px !important;
    }

    .presets-row {
        gap: 2px !important;
    }
}

/* ══ RESPONSIVE TILT / LANDSCAPE MODE (ULTRA-SLIM MINI RADIO) ════════════ */
@media (orientation: landscape) and (max-height: 560px), (max-height: 480px) {
    html, body {
        align-items: flex-end;
    }

    .bg-video {
        object-position: 50% 35%;
    }

    /* Ultra-compact top title */
    .site-header {
        top: 3px;
    }

    .site-title.hindi-retro-title {
        flex-direction: row;
        gap: 8px;
        font-size: clamp(16px, 3.5vw, 24px);
        text-shadow:
            1px 1px 0px #b82d22,
            2px 2px 0px #a3241a,
            3px 4px 10px rgba(0, 0, 0, 0.7);
    }

    .site-title.hindi-retro-title .hindi-line:first-child,
    .site-title.hindi-retro-title .hindi-line:nth-child(2) {
        font-size: 1em;
    }

    .scene {
        padding: 0 8px 6px;
    }

    /* Ultra-slim horizontal mini radio */
    .radio-body {
        flex-direction: row !important;
        width: min(720px, 96vw);
        height: 105px !important;
        min-height: 105px !important;
        border-radius: 12px;
        box-shadow:
            inset 0 1.5px 0 #ffffff,
            inset 0 -2px 0 #9c8366,
            0 2px 0 #856e54,
            0 10px 25px rgba(0, 0, 0, 0.75);
        transform: scale(1) !important;
    }

    .antenna-base {
        display: none;
    }

    .character-wrapper {
        display: none !important;
    }

    /* Left mini CRT screen */
    .speaker-panel {
        width: 140px !important;
        padding: 3px 6px !important;
        border-right: 1px solid #c9b397 !important;
        border-bottom: none !important;
        gap: 2px;
    }

    .radio-tv-screen {
        width: 130px !important;
        max-width: 130px !important;
        height: 74px !important;
        border-radius: 8px !important;
    }

    .tv-spiderman-mini {
        display: flex;
        height: 70%;
        max-height: 52px;
        right: 2px;
    }

    .speaker-logo {
        display: none !important;
    }

    /* Center LCD panel */
    .center-panel {
        padding: 3px 6px !important;
        gap: 2px !important;
        flex: 1;
    }

    .lcd-shell {
        padding: 2px 6px !important;
        border-radius: 6px;
        gap: 6px;
    }

    .lcd-freq {
        font-size: 16px !important;
    }

    .lcd-band, .lcd-mhz {
        font-size: 8px !important;
    }

    .lcd-meta {
        font-size: 8px !important;
        max-width: 180px;
    }

    .lcd-track-idx {
        font-size: 7.5px !important;
    }

    .lcd-list-btn {
        padding: 2px 5px !important;
        border-radius: 4px;
    }

    .lcd-btn-text {
        font-size: 7px !important;
    }

    .signal-leds {
        gap: 2px;
    }

    .signal-leds span {
        width: 3px;
        height: 8px;
    }

    .progress-wrap {
        height: 10px;
        gap: 4px;
    }

    .progress-bar-bg {
        height: 4px;
    }

    .progress-time {
        font-size: 7.5px;
        min-width: 24px;
    }

    .tuner-band {
        display: none;
    }

    .presets-row {
        gap: 3px;
    }

    .preset-group-label {
        display: none;
    }

    .presets-btns {
        gap: 3px;
    }

    .preset-btn {
        padding: 2px 5px !important;
        border-radius: 3px;
        gap: 1px;
    }

    .preset-btn .deck-icon-svg {
        width: 8px;
        height: 8px;
    }

    .p-freq {
        font-size: 6.5px !important;
    }

    /* Right controls */
    .right-panel {
        width: auto !important;
        padding: 0 8px !important;
        gap: 6px !important;
        border-left: 1px solid rgba(255, 140, 30, 0.15) !important;
        border-top: none !important;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    .right-panel::before {
        display: none;
    }

    .panel-divider {
        display: block !important;
        height: 38px !important;
    }

    .knob-group {
        gap: 2px !important;
    }

    .knob-label {
        font-size: 6.5px !important;
    }

    .knob-ring {
        width: 28px !important;
        height: 28px !important;
    }

    .knob {
        width: 20px !important;
        height: 20px !important;
    }

    .knob-marker {
        width: 2px;
        height: 4px;
        top: 2px;
    }

    .knob-ticks {
        display: none;
    }

    .play-group {
        gap: 2px !important;
    }

    .play-button {
        width: 30px !important;
        height: 30px !important;
        border-radius: 6px !important;
    }

    .play-button svg {
        width: 14px !important;
        height: 14px !important;
    }

    .play-led {
        width: 4px !important;
        height: 4px !important;
        top: 3px !important;
        right: 3px !important;
    }

    .play-label {
        font-size: 6.5px !important;
    }

    .mobile-playlist-toggle {
        top: 6px;
        right: 8px;
        padding: 3px 6px;
        font-size: 7.5px;
    }

    .playlist-tray {
        max-height: 85vh;
        width: min(420px, 92vw);
        bottom: 8px;
    }

    .tray-body {
        max-height: 70vh;
    }
}