* {
    box-sizing: border-box;
}

:root {
    --bg: #19240f;
    --bg-deep: #0d1208;
    --panel: #26351a;
    --panel-dark: #070807;
    --text: #fff1d7;
    --muted: #d2bfa6;
    --accent: #efba4d;
    --accent-rgb: 239, 186, 77;
    --line: rgba(255, 255, 255, .11);
    --display-font: Georgia, 'Times New Roman', serif;
}

.theme-60a {
    --bg: #15302c;
    --bg-deep: #091614;
    --panel: #1d3b36;
    --accent: #f3c95f;
    --accent-rgb: 243, 201, 95;
}

.theme-70a {
    --bg: #2a170d;
    --bg-deep: #120906;
    --panel: #3b2416;
    --accent: #f19438;
    --accent-rgb: 241, 148, 56;
}

.theme-80a {
    --bg: #101535;
    --bg-deep: #070918;
    --panel: #1c2253;
    --accent: #45e7ff;
    --accent-rgb: 69, 231, 255;
    --display-font: Arial Black, Arial, sans-serif;
}

.theme-60b {
    --bg: #34331c;
    --bg-deep: #15150b;
    --panel: #454324;
    --accent: #f1db84;
    --accent-rgb: 241, 219, 132;
}

.theme-70b {
    --bg: #35180c;
    --bg-deep: #150905;
    --panel: #462516;
    --accent: #ffae46;
    --accent-rgb: 255, 174, 70;
}

.theme-80b {
    --bg: #241041;
    --bg-deep: #0d0618;
    --panel: #32175a;
    --accent: #68f3d1;
    --accent-rgb: 104, 243, 209;
    --display-font: Arial Black, Arial, sans-serif;
}

.theme-70c {
    --bg: #202d14;
    --bg-deep: #0d1308;
    --panel: #2a381d;
    --accent: #efb94e;
    --accent-rgb: 239, 185, 78;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at 77% 16%, rgba(var(--accent-rgb), .13), transparent 28%),
        linear-gradient(135deg, var(--bg), var(--bg-deep));
    font-family: Arial, Helvetica, sans-serif;
}

button,
input {
    font: inherit;
}

.site {
    width: min(1180px, calc(100% - 30px));
    margin: 0 auto;
}

.header {
    min-height: 94px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    color: inherit;
    text-decoration: none;
}

.brand-circle {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 2px solid var(--accent);
    border-radius: 50%;
    color: var(--accent);
    font-weight: 900;
}

.brand-text strong,
.brand-text em {
    display: block;
}

.brand-text strong {
    font-size: .95rem;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.brand-text em {
    color: var(--accent);
    font-family: var(--display-font);
    font-size: 1.45rem;
    font-style: normal;
}

.day-theme {
    padding: 10px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: .8rem;
}

.hero {
    min-height: 650px;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    gap: 54px;
    padding: 44px 0 70px;
}

.eyebrow,
.card small,
.webmaster small {
    color: var(--accent);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .19em;
}

h1,
h2 {
    font-family: var(--display-font);
}

h1 {
    margin: 0;
    font-size: clamp(3.4rem, 8vw, 7rem);
    line-height: .85;
    letter-spacing: -.055em;
}

h1 span {
    display: block;
    color: var(--accent);
}

.subtitle {
    margin: 25px 0 29px;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.6;
}

.radio-player {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(31, 45, 21, .93);
}

.player-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.player-title small,
.player-title strong {
    display: block;
}

.player-title small {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .16em;
}

.player-title strong {
    margin-top: 5px;
    font-size: 1.05rem;
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-size: .72rem;
    font-weight: 900;
}

.live-badge i,
.on-air i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 13px var(--accent);
}

.vu-panel {
    padding: 15px 16px 12px;
    border-radius: 15px;
    background: #050605;
    border: 1px solid rgba(255,255,255,.08);
}

.vu-head,
.vu-numbers {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.vu-head {
    margin-bottom: 9px;
    color: rgba(255,255,255,.6);
    font-size: .62rem;
    font-weight: 900;
    letter-spacing: .15em;
}

.vu-head b {
    color: rgba(255,255,255,.25);
}

.vu-head b.hot {
    color: #ff4e45;
    text-shadow: 0 0 9px rgba(255,78,69,.85);
}

.led-meter {
    width: 100%;
    height: 44px;
    display: grid;
    grid-template-columns: repeat(20, minmax(0, 1fr));
    gap: 5px;
}

.led-meter i {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 3px;
    opacity: .12;
    transition: opacity 55ms linear, filter 55ms linear, box-shadow 55ms linear;
}

.led-meter i.green {
    background: #31d64d;
    color: #31d64d;
}

.led-meter i.yellow {
    background: #e5d52e;
    color: #e5d52e;
}

.led-meter i.orange {
    background: #f18a23;
    color: #f18a23;
}

.led-meter i.red {
    background: #e63831;
    color: #e63831;
}

.led-meter i.active {
    opacity: 1;
    filter: brightness(1.2);
    box-shadow:
        0 0 8px currentColor,
        inset 0 0 0 1px rgba(255,255,255,.28);
}

.led-meter i.peak {
    opacity: 1;
    filter: brightness(1.45);
    box-shadow:
        0 0 11px currentColor,
        0 0 20px currentColor;
}

.vu-numbers {
    margin-top: 7px;
    color: rgba(255,255,255,.28);
    font-size: .55rem;
}

#radioAudio {
    display: none;
}

.custom-player {
    display: grid;
    grid-template-columns: 56px 1fr minmax(115px, 180px);
    align-items: center;
    gap: 13px;
    margin-top: 15px;
    padding: 11px 13px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 15px;
    background:
        linear-gradient(to bottom, rgba(255,255,255,.05), transparent),
        #17130f;
}

.play-button {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #171009;
    background: var(--accent);
    cursor: pointer;
    font-size: 1.08rem;
    font-weight: 900;
    box-shadow:
        0 0 0 4px rgba(var(--accent-rgb), .11),
        inset 0 1px 0 rgba(255,255,255,.35);
}

.play-button.playing {
    box-shadow:
        0 0 0 4px rgba(var(--accent-rgb), .14),
        0 0 18px rgba(var(--accent-rgb), .28);
}

.screen-row {
    display: flex;
    justify-content: space-between;
    color: var(--accent);
    font-family: Consolas, 'Courier New', monospace;
    font-size: .72rem;
    letter-spacing: .12em;
}

.signal-bars {
    height: 18px;
    display: flex;
    align-items: end;
    gap: 3px;
    margin-top: 7px;
}

.signal-bars i {
    flex: 1;
    height: 4px;
    border-radius: 2px 2px 0 0;
    background: rgba(var(--accent-rgb), .2);
}

.playing .signal-bars i {
    background: var(--accent);
    animation: signalBounce .7s ease-in-out infinite alternate;
}

.playing .signal-bars i:nth-child(2n) {
    animation-duration: .5s;
}

.playing .signal-bars i:nth-child(3n) {
    animation-duration: .85s;
}

.volume-box {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: .62rem;
    font-weight: 900;
}

.volume-box input {
    width: 100%;
    height: 6px;
    appearance: none;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
}

.volume-box input::-webkit-slider-thumb {
    width: 17px;
    height: 17px;
    appearance: none;
    border: 2px solid #24170e;
    border-radius: 50%;
    background: var(--accent);
}

.volume-box input::-moz-range-thumb {
    width: 15px;
    height: 15px;
    border: 2px solid #24170e;
    border-radius: 50%;
    background: var(--accent);
}

.status-text {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: .76rem;
    text-align: center;
}

.quick-info {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 16px;
}

.quick-info > * {
    min-width: 130px;
    padding: 11px 14px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(0,0,0,.15);
}

.quick-info small,
.quick-info strong {
    display: block;
}

.quick-info small {
    margin-bottom: 5px;
    color: var(--muted);
    font-size: .65rem;
    text-transform: uppercase;
}

.quick-info a {
    display: grid;
    place-items: center;
    color: var(--accent);
    font-size: .78rem;
    font-weight: 900;
    text-decoration: none;
}

.retro-visual {
    position: relative;
    min-height: 500px;
    display: grid;
    place-items: center;
}

.retro-sun {
    position: absolute;
    width: 370px;
    height: 370px;
    border-radius: 50%;
    opacity: .18;
    background:
        repeating-linear-gradient(to bottom, var(--accent) 0 12px, transparent 12px 18px);
}

.radio-box {
    position: relative;
    z-index: 2;
    width: min(430px, 92%);
    height: 245px;
    display: grid;
    grid-template-columns: 43% 57%;
    gap: 22px;
    padding: 24px;
    border: 6px solid #4d2b17;
    border-radius: 25px;
    background: #7b4b2c;
    box-shadow:
        inset 0 0 0 4px #2b160c,
        0 26px 60px rgba(0,0,0,.42);
    transform: rotate(-2deg);
}

.speaker {
    border: 4px solid #301b10;
    border-radius: 12px;
    background:
        repeating-linear-gradient(90deg, #27160d 0 5px, #93613a 5px 8px);
}

.radio-controls {
    min-width: 0;
}

.on-air {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 7px;
    color: #ffd77a;
    font-size: .52rem;
    font-weight: 900;
    letter-spacing: .15em;
}

.on-air i {
    background: #5d220e;
    box-shadow: none;
}

.playing .on-air i {
    background: #ff9d37;
    box-shadow: 0 0 8px #ff9d37, 0 0 18px rgba(255,157,55,.7);
}

.frequency {
    position: relative;
    height: 75px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 12px;
    padding: 16px 10px;
    overflow: hidden;
    border: 3px solid #3a2112;
    border-radius: 9px;
    color: #563718;
    background: #f2ce82;
    font-size: .55rem;
}

.frequency b {
    position: absolute;
    inset: 0 auto 0 48%;
    width: 3px;
    background: #d32c24;
    animation: needle 7s ease-in-out infinite alternate;
    animation-play-state: paused;
}

.playing .frequency b {
    animation-play-state: running;
}

.radio-logo {
    margin-top: 22px;
    color: #f2c66c;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .17em;
    text-align: center;
}

.knob-row {
    display: flex;
    justify-content: center;
    gap: 22px;
    margin-top: 26px;
}

.knob-row i {
    width: 28px;
    height: 28px;
    border: 4px solid #25150d;
    border-radius: 50%;
    background: #694128;
}

.vinyl-shell {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 4%;
    width: 220px;
    height: 220px;
}

.vinyl {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background:
        repeating-radial-gradient(circle, transparent 0 4px, rgba(255,255,255,.08) 5px 6px),
        #080808;
    box-shadow: 0 20px 42px rgba(0,0,0,.5);
    transform-origin: 50% 50%;
    animation: spin 7s linear infinite;
    animation-play-state: paused;
}

.vinyl.playing {
    animation-play-state: running;
}

.vinyl-label {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    align-content: center;
    border-radius: 50%;
    color: #171009;
    background: var(--accent);
    transform: translate(-50%, -50%);
    text-align: center;
}

.vinyl-label::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #111;
    transform: translate(-50%, -50%);
}

.vinyl-label strong {
    font-size: 1.3rem;
}

.vinyl-label span {
    font-size: .46rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 27px;
}

.card,
.webmaster {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 23px;
    background: rgba(25, 34, 18, .9);
}

.card h2,
.webmaster h2 {
    margin: 8px 0 15px;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.card p,
.webmaster p {
    color: var(--muted);
    line-height: 1.7;
}

.decades {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.decades span {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--accent);
    font-weight: 900;
}

.webmaster {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 450px);
    align-items: center;
    gap: 42px;
    margin-bottom: 60px;
}

.webmaster img {
    display: block;
    width: 100%;
    max-height: 390px;
    object-fit: cover;
    border-radius: 18px;
}

footer {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .76rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes needle {
    from { transform: translateX(-52px); }
    to { transform: translateX(52px); }
}

@keyframes signalBounce {
    from { height: 4px; opacity: .45; }
    to { height: 18px; opacity: 1; }
}

@media (max-width: 900px) {
    .hero,
    .cards,
    .webmaster {
        grid-template-columns: 1fr;
    }

    .retro-visual {
        min-height: 450px;
    }
}

@media (max-width: 620px) {
    .site {
        width: min(100% - 20px, 1180px);
    }

    .day-theme {
        display: none;
    }

    .hero {
        padding-top: 25px;
    }

    h1 {
        font-size: clamp(3rem, 17vw, 5rem);
    }

    .radio-player {
        padding: 13px;
    }

    .led-meter {
        height: 34px;
        gap: 3px;
    }

    .custom-player {
        grid-template-columns: 52px 1fr;
    }

    .volume-box {
        grid-column: 1 / -1;
    }

    .retro-visual {
        min-height: 370px;
    }

    .radio-box {
        height: 205px;
        padding: 17px;
    }

    .vinyl-shell {
        width: 155px;
        height: 155px;
    }

    .vinyl-label {
        width: 58px;
        height: 58px;
    }

    .webmaster {
        padding: 20px;
    }

    footer {
        flex-direction: column;
        justify-content: center;
        gap: 7px;
    }
}

/* v301: vaste paginabreedte en stereo VU-meter */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

.site,
main,
.hero,
.hero-copy,
.radio-player,
.retro-visual {
    min-width: 0;
    max-width: 100%;
}

.site {
    overflow-x: clip;
}

.retro-visual {
    overflow: hidden;
    contain: layout paint;
}

.stereo-meter {
    display: grid;
    gap: 7px;
}

.meter-row {
    min-width: 0;
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
}

.channel-label {
    color: var(--accent);
    font-family: Consolas, 'Courier New', monospace;
    font-size: .72rem;
    text-align: center;
}

.led-meter {
    height: 24px;
    gap: 4px;
}

.vu-numbers {
    display: grid;
    grid-template-columns: 18px repeat(6, 1fr);
    gap: 8px;
    text-align: center;
}

.vu-numbers span:first-child {
    visibility: hidden;
}

.player-screen {
    min-width: 0;
}

.screen-row {
    min-height: 18px;
    align-items: center;
}

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

@media (max-width: 620px) {
    .led-meter {
        gap: 2px;
        height: 20px;
    }

    .meter-row {
        grid-template-columns: 14px minmax(0, 1fr);
        gap: 5px;
    }

    .vu-numbers {
        grid-template-columns: 14px repeat(6, 1fr);
        gap: 5px;
    }
}
