:root { --navy: #050b18; --panel: #09172b; --red: #ef2039; --gold: #f4b32b; --text: #f6f8fc; --muted: #91a1ba; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--navy); color: var(--text); font-family: Inter, Arial, Helvetica, sans-serif; }
button, input { font: inherit; }
.radio-shell { min-height: 100vh; display: grid; place-content: center; padding: 48px; position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(circle at 48% 115%, #102a4b 0, transparent 43%), linear-gradient(135deg, #030711 0%, #07101e 48%, #040812 100%); }
.radio-shell::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .23; background-image: radial-gradient(rgba(255,255,255,.3) .55px, transparent .55px); background-size: 5px 5px; mask-image: linear-gradient(to bottom, black, transparent 80%); }
.ambient { position: absolute; width: 440px; height: 440px; border-radius: 50%; filter: blur(100px); opacity: .25; z-index: -1; }
.ambient-red { right: -100px; top: -170px; background: #f30d31; }
.ambient-blue { left: -180px; bottom: -240px; background: #0c6dc2; }
.player { width: min(1180px, calc(100vw - 64px)); min-height: 370px; display: grid; grid-template-columns: 270px minmax(380px, 1fr) 245px; gap: 36px; align-items: center; padding: 40px; position: relative; border: 1px solid rgba(163,188,222,.55); border-radius: 30px; background: linear-gradient(125deg, rgba(27,20,37,.88), rgba(7,22,42,.94) 43%, rgba(7,21,39,.9)); box-shadow: 0 38px 90px rgba(0,0,0,.58), inset 0 1px rgba(255,255,255,.08); backdrop-filter: blur(20px); }
.player::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; background: linear-gradient(100deg, rgba(239,32,57,.8), transparent 25%, transparent 72%, rgba(68,132,195,.45)); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; padding: 1px; }
.brand-column { align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.logo-frame { aspect-ratio: 1; width: 100%; max-width: 240px; padding: 9px; border-radius: 26px; background: white; border: 2px solid rgba(244,179,43,.75); box-shadow: 0 0 0 5px rgba(239,32,57,.08), 0 14px 40px rgba(0,0,0,.4), 0 0 32px rgba(239,32,57,.16); overflow: hidden; }
.logo-frame img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 18px; }
.live-line { font-size: 12px; letter-spacing: .09em; color: #ff5467; font-weight: 750; text-align: center; }
.live-dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.5); animation: pulse 2s infinite; }
.player-main { min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; background: linear-gradient(135deg, #ff2941, #c80e28); padding: 7px 13px; border-radius: 7px; font-size: 13px; font-weight: 800; letter-spacing: .08em; box-shadow: 0 7px 20px rgba(239,32,57,.25); }
.player-main h1 { margin: 14px 0 24px; font-size: clamp(30px, 3.2vw, 47px); line-height: 1; letter-spacing: -.045em; }
.player-main h1 span { color: #dbe7f9; }
.now-playing p { margin: 0 0 7px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .15em; }
.now-playing h2 { margin: 0; min-height: 30px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 19px; font-weight: 650; letter-spacing: -.01em; }
.meta { display: flex; gap: 14px; margin-top: 7px; color: #7f91aa; font-size: 11px; }
.meta span + span::before { content: "•"; margin-right: 14px; color: #ef2039; }
.equalizer { height: 58px; display: flex; align-items: center; gap: 4px; margin: 17px 0 13px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.equalizer i { --bar: calc(10px + (var(--i) % 7) * 4px); display: block; flex: 1; min-width: 3px; max-width: 7px; height: var(--bar); border-radius: 5px; background: linear-gradient(to top, #ed1938, #ff5b28 58%, #f5b322); opacity: .48; transform-origin: center; box-shadow: 0 0 8px rgba(238,34,50,.22); }
.equalizer.is-playing i { opacity: 1; animation: dance .72s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -37ms); }
.transport { display: flex; align-items: center; justify-content: center; gap: 16px; }
.play-button { width: 66px; height: 66px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid #ff6575; border-radius: 50%; cursor: pointer; color: white; background: linear-gradient(145deg, #ff3148, #c90827); box-shadow: 0 0 0 7px rgba(238,32,56,.11), 0 0 26px rgba(239,32,57,.45), inset 0 1px rgba(255,255,255,.3); transition: transform .2s, box-shadow .2s; }
.play-button:hover { transform: scale(1.06); box-shadow: 0 0 0 9px rgba(238,32,56,.11), 0 0 38px rgba(239,32,57,.55); }
.play-button:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
.play-button:disabled { cursor: wait; opacity: .8; }
.play-button svg { width: 27px; fill: currentColor; }
.play-button .pause-icon, .play-button .spinner { display: none; }
.play-button.is-playing .play-icon { display: none; }
.play-button.is-playing .pause-icon { display: block; }
.play-button.is-loading svg { display: none; }
.play-button.is-loading .spinner { display: block; }
.play-button svg path[d^="m8"] { transform: translateX(1px); }
.play-copy { display: flex; flex-direction: column; min-width: 125px; }
.play-copy strong { font-size: 14px; }
.play-copy span { margin-top: 3px; color: var(--muted); font-size: 11px; }
.spinner { width: 24px; height: 24px; border: 3px solid rgba(255,255,255,.35); border-top-color: white; border-radius: 50%; animation: spin .7s linear infinite; }
.audio-error { margin: 9px 0 -12px; color: #ff93a0; text-align: center; font-size: 11px; }
.status-panel { align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 38px; padding-left: 34px; border-left: 1px solid rgba(141,166,201,.22); }
.listener-count { display: flex; align-items: center; gap: 14px; }
.listener-count svg, .volume-control svg { width: 30px; fill: none; stroke: #d9e4f4; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.listener-count div { display: flex; align-items: baseline; gap: 7px; }
.listener-count strong { font-size: 30px; line-height: 1; }
.listener-count span { color: var(--muted); font-size: 13px; }
.volume-control { display: grid; grid-template-columns: 30px 1fr 34px; align-items: center; gap: 12px; }
.volume-control input { width: 100%; height: 4px; appearance: none; border-radius: 9px; cursor: pointer; background: linear-gradient(90deg, var(--red) var(--volume), #263b58 var(--volume)); }
.volume-control input::-webkit-slider-thumb { appearance: none; width: 16px; height: 16px; border: 2px solid #ff8d99; border-radius: 50%; background: #d61631; box-shadow: 0 2px 8px rgba(0,0,0,.4); }
.volume-control input::-moz-range-thumb { width: 13px; height: 13px; border: 2px solid #ff8d99; border-radius: 50%; background: #d61631; }
.volume-control > span:last-child { color: var(--muted); font-size: 11px; text-align: right; }
.signal { margin: 0; color: #71849e; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.signal span { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #36ce83; box-shadow: 0 0 12px #36ce83; }
.signal span.offline { background: #f4b32b; box-shadow: 0 0 12px #f4b32b; }
.footer-note { margin: 24px 0 0; text-align: center; color: #64758e; text-transform: uppercase; letter-spacing: .28em; font-size: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
@keyframes dance { from { transform: scaleY(.55); } to { transform: scaleY(1.45); } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 960px) { .player { grid-template-columns: 190px 1fr; width: min(720px, calc(100vw - 40px)); gap: 30px; } .status-panel { grid-column: 1 / -1; align-self: auto; flex-direction: row; justify-content: space-around; align-items: center; gap: 25px; padding: 22px 0 0; border-left: 0; border-top: 1px solid rgba(141,166,201,.22); } .logo-frame { max-width: 190px; } }
@media (max-width: 640px) { .radio-shell { padding: 22px; place-content: center; } .player { grid-template-columns: 1fr; width: min(420px, calc(100vw - 28px)); gap: 23px; padding: 24px; border-radius: 26px; } .brand-column { align-items: center; gap: 13px; } .logo-frame { width: 148px; } .player-main { text-align: center; } .player-main h1 { margin: 12px 0 18px; font-size: 31px; } .now-playing h2 { font-size: 17px; } .meta { justify-content: center; } .equalizer { height: 44px; margin: 12px 0; } .status-panel { grid-column: auto; flex-wrap: wrap; gap: 20px; padding-top: 20px; } .signal { flex-basis: 100%; text-align: center; } .listener-count strong { font-size: 24px; } .footer-note { margin-top: 17px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; } }
