/* RadyoSever v1.20 — Figma Modern Homepage & Motion System */
:root {
  --rs-v120-surface: rgba(17, 18, 35, .78);
  --rs-v120-border: rgba(139, 92, 246, .22);
  --rs-v120-cyan: #22d3ee;
  --rs-v120-purple: #8b5cf6;
  --rs-v120-shadow: 0 22px 60px rgba(2, 3, 14, .32);
}

body {
  background:
    radial-gradient(circle at 84% 4%, rgba(34, 211, 238, .07), transparent 24rem),
    radial-gradient(circle at 28% 8%, rgba(139, 92, 246, .11), transparent 30rem),
    var(--rs-bg, #070711);
}

.rs-hero-enhanced {
  isolation: isolate;
  overflow: hidden;
  border-radius: clamp(22px, 3vw, 36px);
  border: 1px solid rgba(139, 92, 246, .28);
  background:
    radial-gradient(circle at 78% 28%, rgba(34, 211, 238, .16), transparent 27%),
    radial-gradient(circle at 62% 14%, rgba(139, 92, 246, .28), transparent 34%),
    linear-gradient(135deg, rgba(34, 20, 72, .94), rgba(9, 12, 32, .97) 52%, rgba(4, 42, 49, .88));
  box-shadow: var(--rs-v120-shadow), inset 0 1px rgba(255, 255, 255, .05);
}

.rs-hero-enhanced::after {
  content: '';
  position: absolute;
  width: min(38vw, 520px);
  aspect-ratio: 1;
  right: -7%;
  top: -30%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, .25), rgba(34, 211, 238, .08) 46%, transparent 70%);
  filter: blur(3px);
  animation: rs-v120-aurora 12s ease-in-out infinite alternate;
}

.rs-hero-title {
  letter-spacing: -.045em;
  text-wrap: balance;
  text-shadow: 0 12px 40px rgba(139, 92, 246, .22);
}

.rs-hero-subtitle { max-width: 690px; text-wrap: pretty; }

.rs-hero-search-inner {
  min-height: 64px;
  border: 1px solid rgba(139, 92, 246, .36);
  border-radius: 20px;
  background: rgba(7, 8, 20, .74);
  box-shadow: inset 0 1px rgba(255, 255, 255, .04), 0 14px 40px rgba(0, 0, 0, .22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.rs-hero-search-inner:focus-within {
  border-color: var(--rs-v120-cyan);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, .12), 0 20px 46px rgba(0, 0, 0, .28);
  transform: translateY(-2px);
}

.rs-hero-quicklink {
  border: 1px solid rgba(255, 255, 255, .09);
  background: rgba(13, 14, 31, .66);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.rs-section-header { margin-bottom: clamp(18px, 2.4vw, 30px); }
.rs-section-title { letter-spacing: -.025em; text-wrap: balance; }

.rs-radio-card {
  border-radius: 24px;
  border: 1px solid var(--rs-v120-border);
  background: linear-gradient(155deg, rgba(23, 24, 47, .92), rgba(11, 12, 27, .94));
  box-shadow: 0 16px 38px rgba(0, 0, 0, .2), inset 0 1px rgba(255, 255, 255, .035);
  transform: translateZ(0);
  transition: transform .22s cubic-bezier(.2, .8, .2, 1), border-color .22s ease, box-shadow .22s ease;
}

@media (hover: hover) {
  .rs-radio-card:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 211, 238, .48);
    box-shadow: 0 24px 58px rgba(0, 0, 0, .34), 0 0 0 1px rgba(34, 211, 238, .08);
  }

  .rs-radio-card:hover .rs-play-btn { transform: scale(1.06); }
}

.rs-radio-card-logo { border-radius: 18px; overflow: hidden; }
.rs-radio-card-logo img { transition: transform .5s cubic-bezier(.2, .8, .2, 1), filter .3s ease; }
@media (hover: hover) { .rs-radio-card:hover .rs-radio-card-logo img { transform: scale(1.035); filter: saturate(1.08); } }

.rs-player {
  border: 1px solid rgba(139, 92, 246, .3) !important;
  background: rgba(8, 9, 22, .9) !important;
  box-shadow: 0 -18px 54px rgba(0, 0, 0, .38), inset 0 1px rgba(255, 255, 255, .05) !important;
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
}

.rs-audio-active .rs-player { animation: rs-v120-player-in .32s cubic-bezier(.2, .9, .25, 1); }
.rs-audio-active .rs-player-equalizer { filter: drop-shadow(0 0 8px rgba(34, 211, 238, .5)); }

.rs-motion-ready .rs-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease-out, transform .5s cubic-bezier(.2, .75, .25, 1);
}

.rs-motion-ready .rs-reveal.is-visible,
.rs-motion-disabled .rs-reveal { opacity: 1; transform: none; }

@keyframes rs-v120-aurora {
  from { transform: translate3d(-12px, 5px, 0) scale(.97); opacity: .72; }
  to { transform: translate3d(18px, 18px, 0) scale(1.04); opacity: 1; }
}

@keyframes rs-v120-player-in {
  from { opacity: .65; transform: translateY(18px) scale(.99); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 767px) {
  .rs-hero-enhanced { border-radius: 0 0 28px 28px; }
  .rs-hero-enhanced::after { width: 340px; right: -35%; top: -10%; }
  .rs-hero-search-inner { min-height: 56px; border-radius: 17px; }
  .rs-radio-card { border-radius: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  .rs-hero-enhanced::after,
  .rs-audio-active .rs-player { animation: none !important; }
  .rs-motion-ready .rs-reveal { opacity: 1; transform: none; transition: none; }
  .rs-radio-card, .rs-radio-card-logo img, .rs-hero-search-inner { transition: none !important; }
}

@media (forced-colors: active) {
  .rs-hero-enhanced, .rs-radio-card, .rs-player { border: 1px solid CanvasText !important; }
}
