/* FUNFM 10.4 — shared radio interface */
:root {
    --container: 1240px;
    --radio-bg: #000000;
    --radio-panel: #111111;
    --radio-line: #303030;
    --radio-text: #ffffff;
    --radio-muted: #c4c4c4;
    --logo-red: #e21352;
    --logo-red-orange: #f14527;
    --logo-orange: #ff7200;
    --logo-violet: #2c006f;
    --logo-band-center: #d10064;
    --logo-band-orange: #fe4702;
    --logo-gradient: linear-gradient(180deg, var(--logo-red), var(--logo-red-orange) 52%, var(--logo-orange));
    --logo-band: linear-gradient(90deg, var(--logo-violet), var(--logo-band-center) 52%, var(--logo-band-orange));
    --radio-accent: var(--logo-orange);
    --radio-heading: Outfit, Inter, sans-serif;
}

body { background: var(--radio-bg); color: var(--radio-text); }
body::before { content: none; }
:where(a, button, input, textarea, select):focus-visible {
    outline: 2px solid var(--radio-accent);
    outline-offset: 4px;
}
main [id] { scroll-margin-top: 100px; }

.site-header:not(.is-sticky),
.site-header.is-sticky {
    background: #000000;
    border-bottom: 1px solid var(--radio-line);
    box-shadow: none;
}
.header-inner { height: 76px; }
.site-logo { width: 130px; flex-basis: 130px; }
.site-logo img { max-height: 66px; }
.site-logo.is-original-logo { height: 54px; overflow: hidden; }
.site-logo.is-original-logo img { width: 100%; max-height: none; }
.main-nav a {
    color: var(--radio-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .01em;
    text-transform: none;
}
.main-nav a:hover { color: var(--radio-text); }
.header-listen,
.button.button-primary,
.rail-button,
.player-main-button {
    background: var(--radio-accent);
    color: #000000;
    box-shadow: none;
}
.header-listen { height: 44px; }
.radio-home .hero-actions .button-primary { background: var(--logo-gradient); }
.radio-home .hero-greetings-marquee::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    background: var(--logo-band);
}
.radio-player .player-progress span { background: var(--logo-band); }
.header-listen::before, .button-primary::before { content: none; }

.radio-home .hero {
    min-height: 0;
    padding: 76px 0 0;
    isolation: isolate;
    background: #000000;
}
.radio-home .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: .65;
    background: url("../images/funfm-hero-studio-v10.webp") 60% 48% / cover no-repeat;
    filter: grayscale(1);
    mask-image: none;
    mix-blend-mode: normal;
}
.radio-home .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    background: linear-gradient(90deg, #000000 0%, #000000eb 29%, #000000a6 63%, #00000042);
    box-shadow: none;
    animation: none;
}
.radio-home .hero-copy::before { content: none; }
.radio-home .hero-grid {
    display: grid;
    min-height: 0;
    grid-template-columns: minmax(0,1.55fr) minmax(285px,.85fr);
    gap: clamp(32px, 6vw, 96px);
    padding-block: clamp(52px, 6vw, 90px);
}
.radio-home .hero-copy { padding: 0; text-shadow: none; text-align: left; }
.radio-home .eyebrow {
    color: var(--radio-accent);
    font-size: 11px;
    letter-spacing: .14em;
    margin-bottom: 17px;
}
.radio-home .eyebrow span,
.radio-home .card-label i { background: var(--radio-accent); }
.radio-home .hero h1 {
    font: 800 clamp(52px, 6.25vw, 98px) / .94 var(--radio-heading);
    letter-spacing: -.065em;
    overflow-wrap: anywhere;
    text-shadow: none;
}
.radio-home .hero h1 em,
.radio-home .section-head h2 em,
.radio-home .frequency-story h2 em {
    background: none;
    color: var(--radio-accent);
}
.radio-home .hero h1 em {
    background: var(--logo-gradient);
    background-clip: text;
    color: transparent;
}
.radio-home .hero-copy > p {
    color: var(--radio-muted);
    font-size: clamp(15px, 1.35vw, 19px);
    margin: 21px 0 0;
}
.radio-home .hero-actions { margin-top: 26px; }
.radio-home .hero-actions .button {
    width: auto;
    min-height: 48px;
    padding-inline: 21px;
    border-radius: 9px;
    font-size: 11px;
    letter-spacing: .06em;
}
.radio-home .button-ghost { background: #111111e6; border-color: #ffffff45; }
.radio-home .hero-proof { margin-top: 24px; padding: 0; border: 0; }
.radio-home .hero-proof p { color: var(--radio-muted); }
.radio-home .hero-proof strong { color: var(--radio-text); letter-spacing: .09em; }

.radio-home .hero-player { display: flex; max-width: none; perspective: none; }
.radio-home .now-card,
.radio-home .now-card:hover {
    width: 100%;
    max-width: 420px;
    border: 1px solid #ffffff33;
    padding: 14px;
    border-radius: 20px;
    background: #111111f5;
    box-shadow: 0 25px 60px #08050baa;
    transform: none;
}
.radio-home .now-card::before,
.radio-home .now-art::before,
.radio-home .now-art::after { content: none; }
.radio-home .now-card-top { height: auto; gap: 12px; padding: 3px 3px 13px; }
.radio-home .card-label,
.radio-home .quality-pill { font-size: 10px; color: var(--radio-muted); }
.radio-home .now-art {
    height: auto;
    min-height: 115px;
    aspect-ratio: 2.15;
    border-radius: 12px;
    border: 1px solid #ffffff19;
    background: radial-gradient(ellipse at 85% 15%, var(--logo-violet), #090909 73%);
}
.radio-home .now-art img {
    display: block;
    background: transparent;
    padding: 16px 24px 25px;
}
.radio-home .equalizer { bottom: 8px; opacity: .55; pointer-events: none; }
.radio-home .now-info { gap: 14px; padding: 13px 3px 10px; }
.radio-home .now-info > div { min-width: 0; }
.radio-home .now-info h2 {
    font: 700 clamp(18px, 2vw, 25px) / 1.15 var(--radio-heading);
    overflow-wrap: anywhere;
}
.radio-home .now-info p { color: var(--radio-muted); overflow-wrap: anywhere; }
.now-play {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--radio-accent);
    color: #000000;
    cursor: pointer;
}
.now-play svg { display: block; width: 19px; height: 19px; }
.now-pause-icon, .now-play.is-playing .now-play-icon { display: none; }
.now-play.is-playing .now-pause-icon { display: block; }
.radio-home .next-track {
    gap: 8px;
    padding: 10px 3px 0;
    border-top: 1px solid var(--radio-line);
}
.radio-home .next-track span { color: var(--radio-accent); font-size: 9px; white-space: nowrap; }
.radio-home .next-track strong, .radio-home .next-track small { color: var(--radio-muted); }
.radio-home .next-track small { margin-left: auto; white-space: nowrap; }

.radio-home .hero-greetings-marquee {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 36px;
    background: #080808;
    border-block: 1px solid var(--radio-line);
}
.radio-home .hero-greetings-track,
.radio-home .hero-greeting-item { min-height: 36px; }
.radio-home .hero-greeting-item strong { color: var(--radio-accent); }
.radio-home .hero-greeting-item em { color: var(--radio-muted); }
.radio-home .live-rail { background: #0a0a0a; border: 0; border-bottom: 1px solid var(--radio-line); }
.radio-home .live-rail-grid-v2 {
    min-height: 83px;
    grid-template-columns: minmax(0,1.15fr) minmax(0,1fr) minmax(0,.75fr) auto;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
.radio-home .rail-brand { padding-left: 26px; }
.radio-home .rail-brand::before { content: none; }
.radio-home .rail-pulse { left: 2px; }
.radio-home .rail-brand small,
.radio-home .rail-item small { color: var(--radio-muted); font-size: 9px; }
.radio-home .rail-brand strong,
.radio-home .rail-item strong { font-size: 14px; }
.radio-home .rail-brand em,
.radio-home .rail-item em { color: var(--radio-muted); }
.radio-home .rail-button { margin-left: 18px; height: 42px; border-radius: 8px; }

.radio-home .section { padding-block: clamp(54px, 7vw, 96px); }
.radio-home .history-section,
.radio-home .section-schedule,
.radio-home .team-section,
.radio-home .news-section { background: var(--radio-bg); }
.radio-home .section-head { margin-bottom: 26px; }
.radio-home .section-head h2,
.radio-home .frequency-story h2 {
    font-family: var(--radio-heading);
    font-size: clamp(34px, 4.7vw, 62px);
    line-height: 1.02;
    letter-spacing: -.042em;
}
.radio-home .section-head h2::after { content: none; }
.radio-home .section-head p,
.radio-home .section-intro { color: var(--radio-muted); }
.radio-home .kicker { color: var(--radio-accent); }
.radio-home .history-card,
.radio-home .schedule-row,
.radio-home .dj-card,
.radio-home .news-card {
    background: var(--radio-panel);
    border-color: var(--radio-line);
    border-radius: 12px;
    box-shadow: none;
}
.radio-home .schedule-tabs { border-radius: 12px; }
.radio-home .schedule-tab { border-radius: 8px; }
.radio-home .schedule-tab.is-active { background: var(--radio-accent); color: #000000; }
.radio-home .frequency-story { min-height: 0; }
.radio-home .frequency-story-media { filter: grayscale(1); }
.radio-home .frequency-story-grid { padding-block: clamp(65px,9vw,125px); }
.site-footer { background: #0a0a0a; border-top-color: var(--radio-line); }
.radio-player {
    height: calc(78px + env(safe-area-inset-bottom));
    background: #090909f5;
    border-top-color: var(--radio-line);
    box-shadow: 0 -8px 30px #08060b6b;
}
.player-inner {
    height: 75px;
    padding-bottom: 0;
}
.player-cover { border: 1px solid var(--radio-line); border-radius: 9px; }
.player-volume { accent-color: var(--radio-accent); }

@media (max-width: 1180px) {
    .main-nav.is-open {
        inset: 76px 0 auto;
        max-height: calc(100dvh - 76px);
        padding: 22px 24px;
        background: #0d0d0d;
        border-bottom: 1px solid var(--radio-line);
    }
    .main-nav ul { gap: 2px; }
    .main-nav a { padding: 10px 0; font-size: 17px; }
    .main-nav a::after { content: none; }
    .nav-toggle { min-width: 44px; min-height: 44px; }
}

@media (max-width: 800px) {
    .radio-home .hero-grid { grid-template-columns: 1fr; gap: 27px; padding-block: 34px; }
    .radio-home .hero::before { background-position: 64% center; }
    .radio-home .hero::after {
        background: linear-gradient(130deg, #000000f2, #000000a8 65%, #000000d6);
    }
    .radio-home .hero h1 { font-size: clamp(43px, 9vw, 73px); }
    .radio-home .hero-player { justify-content: flex-start; }
    .radio-home .live-rail-grid-v2 { grid-template-columns: minmax(0,1fr) auto; }
    .radio-home .rail-brand { border: 0; }
    .radio-home .rail-item { display: none; }
}
@media (max-width: 480px) {
    .radio-home .hero-actions { display: flex; gap: 8px; }
    .radio-home .hero-actions .button { padding-inline: 11px; font-size: 10px; gap: 6px; }
    .radio-home .hero-actions .button svg { width: 15px; height: 15px; }
    .radio-home .rail-button { padding-inline: 10px; margin-left: 5px; font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
    .radio-home .hero-greetings-track,
    .radio-home .equalizer b,
    .radio-home .rail-pulse,
    .radio-player[data-state="playing"] .player-main-button { animation: none !important; }
    .radio-home .hero-greetings-marquee { overflow-x: auto; }
}
.radio-home .hero-actions .button { min-width: 0; }
.radio-home .history-card span { color: var(--radio-accent); }
.radio-home .history-card p { color: var(--radio-muted); }
