/* =========================================================
   102.5 FM — BLACK & GOLD PLAYER
   ========================================================= */

:root {
  --black: #050505;
  --black-soft: #0d0b08;
  --charcoal: #17130d;

  --gold-dark: #8a5a00;
  --gold: #d9a21b;
  --gold-bright: #ffd76a;
  --gold-pale: #ffe9a8;

  --text: #fff8e7;
  --text-secondary: rgba(255, 244, 213, 0.72);
  --text-muted: rgba(255, 244, 213, 0.54);

  --glass: rgba(12, 10, 7, 0.66);
  --glass-border: rgba(255, 205, 85, 0.34);

  --radius: 30px;
}


/* =========================================================
   RESET
   ========================================================= */

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

html {
  background: var(--black);
}

body {
  overflow-x: hidden;

  color: var(--text);

  background:
    radial-gradient(
      circle at 20% 15%,
      rgba(255, 200, 70, 0.12),
      transparent 34%
    ),
    radial-gradient(
      circle at 82% 75%,
      rgba(180, 105, 0, 0.14),
      transparent 38%
    ),
    linear-gradient(
      145deg,
      #020202 0%,
      #0c0904 38%,
      #171006 68%,
      #030303 100%
    );

  background-size: 220% 220%;

  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  animation: backgroundFlow 55s ease-in-out infinite;
}


/* =========================================================
   ANIMATED BACKGROUND
   ========================================================= */

.animated-background {
  position: fixed;
  inset: 0;
  z-index: -2;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 22% 18%,
      rgba(255, 215, 106, 0.08),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      #030303 0%,
      #0e0b06 42%,
      #1a1004 72%,
      #030303 100%
    );
}

.animated-background::after {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  background-image:
    repeating-radial-gradient(
      circle at center,
      rgba(255, 255, 255, 0.018) 0,
      rgba(255, 255, 255, 0.018) 1px,
      transparent 1px,
      transparent 3px
    );

  opacity: 0.2;
  mix-blend-mode: soft-light;
}

.background-orb {
  position: absolute;

  border-radius: 50%;

  filter: blur(110px);
  opacity: 0.5;

  will-change: transform;
}

.background-orb-one {
  width: 68vw;
  height: 68vw;

  top: -30vw;
  left: -18vw;

  background: rgba(255, 211, 105, 0.22);

  animation: orbitOne 120s linear infinite;
}

.background-orb-two {
  width: 62vw;
  height: 62vw;

  right: -24vw;
  bottom: -24vw;

  background: rgba(167, 94, 0, 0.32);

  animation: orbitTwo 145s linear infinite;
}

.background-orb-three {
  width: 44vw;
  height: 44vw;

  top: 48%;
  left: 48%;

  background: rgba(255, 178, 28, 0.13);

  animation: orbitThree 170s ease-in-out infinite;
}


/* =========================================================
   PAGE LAYOUT
   ========================================================= */

.player-page {
  min-height: 100svh;

  display: grid;
  place-items: center;

  padding:
    max(24px, env(safe-area-inset-top))
    20px
    max(24px, env(safe-area-inset-bottom));
}


/* =========================================================
   PLAYER CARD
   ========================================================= */

.radio-player {
  width: min(100%, 480px);

  padding: 34px 30px 30px;

  text-align: center;

  background:
    linear-gradient(
      180deg,
      rgba(35, 27, 14, 0.76),
      rgba(7, 7, 7, 0.72)
    );

  border: 1px solid var(--glass-border);
  border-radius: var(--radius);

  box-shadow:
    0 28px 85px rgba(0, 0, 0, 0.62),
    0 0 45px rgba(187, 116, 0, 0.09),
    inset 0 1px 0 rgba(255, 230, 160, 0.16);

  backdrop-filter: blur(30px) saturate(145%);
  -webkit-backdrop-filter: blur(30px) saturate(145%);

  animation: playerBreath 11s ease-in-out infinite;
}


/* =========================================================
   LIVE INDICATOR
   ========================================================= */

.live-indicator {
  display: block;

  width: 108px;
  height: auto;

  margin: 0 auto 14px;

  opacity: 0.16;
  transform: scale(0.97);

  filter:
    drop-shadow(0 0 4px rgba(255, 215, 106, 0.08))
    drop-shadow(0 0 10px rgba(217, 162, 27, 0.05));

  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 700ms ease;
}

.live-indicator.is-live {
  opacity: 1;
  transform: scale(1);

  filter:
    drop-shadow(0 0 9px rgba(255, 215, 106, 0.42))
    drop-shadow(0 0 22px rgba(217, 162, 27, 0.24));

  animation: livePulse 2.2s ease-in-out infinite;
}

@keyframes livePulse {
  0%,
  100% {
    opacity: 0.88;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.025);
  }
}

@media (prefers-reduced-motion: reduce) {
  body,
  .background-orb,
  .radio-player,
  .station-logo-wrap,
  .station-logo,
  .live-indicator,
  .play-button.is-playing {
    animation: none;
  }
}

/* =========================================================
   STATION LOGO
   ========================================================= */

.station-logo-wrap {
  position: relative;

  width: min(100%, 350px);

  margin: 0 auto 22px;

  perspective: 1000px;

  animation: logoFloat 12s ease-in-out infinite;
}

/* Soft gold halo behind the transparent logo */
.station-logo-wrap::before {
  content: "";

  position: absolute;

  width: 72%;
  aspect-ratio: 1;

  top: 50%;
  left: 50%;

  z-index: -1;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(255, 208, 91, 0.18) 0%,
      rgba(217, 162, 27, 0.08) 42%,
      transparent 72%
    );

  filter: blur(18px);

  opacity: 0.35;

  transform:
    translate(-50%, -50%)
    scale(0.92);

  transition:
    opacity 350ms ease,
    transform 450ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 350ms ease;

  pointer-events: none;
}

.station-logo {
  display: block;

  width: 100%;
  height: auto;

  object-fit: contain;

  filter:
    drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 15px rgba(218, 155, 25, 0.12));

  transform:
    rotateX(var(--logo-rotate-x, 0deg))
    rotateY(var(--logo-rotate-y, 0deg))
    scale(var(--logo-scale, 1));

  transform-style: preserve-3d;

  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 350ms ease;

  will-change: transform, filter;
}

.station-logo-wrap:hover::before {
  opacity: 0.9;

  filter: blur(23px);

  transform:
    translate(-50%, -50%)
    scale(1.12);
}

.station-logo-wrap:hover .station-logo {
  --logo-scale: 1.025;

  filter:
    drop-shadow(0 24px 34px rgba(0, 0, 0, 0.58))
    drop-shadow(0 0 18px rgba(255, 215, 106, 0.38))
    drop-shadow(0 0 38px rgba(217, 162, 27, 0.24));
}

/* One-time logo heartbeat when the stream begins */

.station-logo.is-heartbeat {
  animation: logoHeartbeat 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes logoHeartbeat {
  0% {
    transform:
      rotateX(var(--logo-rotate-x, 0deg))
      rotateY(var(--logo-rotate-y, 0deg))
      scale(1);
  }

  45% {
    transform:
      rotateX(var(--logo-rotate-x, 0deg))
      rotateY(var(--logo-rotate-y, 0deg))
      scale(1.035);
  }

  100% {
    transform:
      rotateX(var(--logo-rotate-x, 0deg))
      rotateY(var(--logo-rotate-y, 0deg))
      scale(1);
  }
}

/* =========================================================
   LOGO EQUALIZER
   ========================================================= */

.logo-equalizer {
  position: absolute;

  width: 68%;
  height: 24%;

  left: 50%;
  bottom: 5%;

  z-index: 1;

  display: flex;
  align-items: flex-end;
  justify-content: center;

  gap: clamp(5px, 1.7vw, 9px);

  opacity: 0;

  transform:
    translateX(-50%)
    scaleY(0.65);

  transform-origin: bottom center;

  pointer-events: none;

  transition:
    opacity 600ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);

  filter:
    drop-shadow(0 0 7px rgba(255, 190, 40, 0.28))
    drop-shadow(0 0 16px rgba(217, 162, 27, 0.14));
}

.logo-equalizer span {
  width: clamp(4px, 1.1vw, 7px);
  height: 60%;

  border-radius: 999px 999px 3px 3px;

  background:
    linear-gradient(
      180deg,
      rgba(255, 233, 168, 0.86),
      rgba(217, 162, 27, 0.68),
      rgba(138, 90, 0, 0.24)
    );

  transform-origin: bottom center;

  animation:
    logoEqualizerMove
    1.35s
    ease-in-out
    infinite;

  animation-play-state: paused;
}

.logo-equalizer span:nth-child(1) {
  height: 28%;
  animation-delay: -0.9s;
}

.logo-equalizer span:nth-child(2) {
  height: 46%;
  animation-delay: -0.4s;
}

.logo-equalizer span:nth-child(3) {
  height: 70%;
  animation-delay: -1.1s;
}

.logo-equalizer span:nth-child(4) {
  height: 52%;
  animation-delay: -0.65s;
}

.logo-equalizer span:nth-child(5) {
  height: 86%;
  animation-delay: -1.3s;
}

.logo-equalizer span:nth-child(6) {
  height: 56%;
  animation-delay: -0.3s;
}

.logo-equalizer span:nth-child(7) {
  height: 74%;
  animation-delay: -1s;
}

.logo-equalizer span:nth-child(8) {
  height: 44%;
  animation-delay: -0.55s;
}

.logo-equalizer span:nth-child(9) {
  height: 26%;
  animation-delay: -1.2s;
}

.logo-equalizer.is-active {
  opacity: 0.38;

  transform:
    translateX(-50%)
    scaleY(1);
}

.logo-equalizer.is-active span {
  animation-play-state: running;
}

.station-logo {
  position: relative;
  z-index: 2;
}

@keyframes logoEqualizerMove {
  0%,
  100% {
    transform: scaleY(0.38);
    opacity: 0.48;
  }

  35% {
    transform: scaleY(1);
    opacity: 1;
  }

  70% {
    transform: scaleY(0.62);
    opacity: 0.68;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-equalizer span {
    animation: none;
  }

  .logo-equalizer.is-active {
    opacity: 0.38;
  }
}

/* =========================================================
   NOW PLAYING
   ========================================================= */

.now-playing {
  min-height: 92px;

  margin-bottom: 22px;
}

.now-playing-label {
  display: flex;
  align-items: center;

  gap: 12px;

  margin: 0 0 10px;

  color: var(--gold-pale);

  font-size: 0.76rem;
  font-weight: 700;

  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.now-playing-label::before,
.now-playing-label::after {
  content: "";

  flex: 1;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 203, 79, 0.55),
      transparent
    );
}

.now-playing h1 {
  margin: 0;

  color: var(--text);

  font-size: clamp(1.35rem, 5vw, 1.9rem);
  line-height: 1.2;

  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.48);
}

.now-playing p:last-child {
  margin: 7px 0 0;

  color: var(--gold-bright);

  font-size: 1rem;
}


/* =========================================================
   TRACK TRANSITION
   ========================================================= */

.track-information {
  opacity: 1;
  transform: translateY(0);

  transition:
    opacity 280ms ease,
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.track-information.is-leaving {
  opacity: 0;
  transform: translateY(-14px);
}

.track-information.is-entering {
  opacity: 0;
  transform: translateY(14px);
}

/* =========================================================
   CURRENT SHOW
   ========================================================= */

.current-show {
  margin: 0 0 20px;
}

.current-show-label {
  margin: 0 0 6px;

  color: var(--gold-bright);

  font-size: 0.72rem;
  font-weight: 700;

  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.current-show h2 {
  margin: 0;

  color: var(--text);

  font-size: 1.05rem;
  line-height: 1.3;
}

.current-show #show-tagline {
  margin: 5px 0 0;

  color: var(--text-secondary);

  font-size: 0.9rem;
}

.current-show ul {
  margin: 6px 0 0;
  padding: 0;

  list-style: none;

  color: var(--text-secondary);

  font-size: 0.85rem;
}


/* =========================================================
   PLAYER CONTROLS
   ========================================================= */

.player-controls {
  display: flex;
  justify-content: center;

  margin: 24px 0;
}


/* =========================================================
   PLAY BUTTON
   ========================================================= */

.play-button {
  position: relative;

  width: 96px;
  height: 96px;

  display: grid;
  place-items: center;

  margin: 0 auto;

  border: 1px solid rgba(255, 222, 132, 0.76);
  border-radius: 50%;

  background:
    radial-gradient(
      circle at 34% 28%,
      #403016 0%,
      #17130c 28%,
      #060606 72%
    );

  color: var(--gold-bright);

  cursor: pointer;

  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.58),
    0 0 0 7px rgba(215, 157, 28, 0.11),
    0 0 28px rgba(225, 157, 18, 0.15),
    inset 0 2px 2px rgba(255, 231, 169, 0.24),
    inset 0 -6px 12px rgba(0, 0, 0, 0.72);

  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.play-button::before {
  content: "";

  position: absolute;
  inset: 7px;

  border: 1px solid rgba(255, 202, 68, 0.34);
  border-radius: inherit;

  pointer-events: none;
}

.play-button:hover {
  transform: scale(1.045);

  border-color: var(--gold-bright);

  box-shadow:
    0 24px 52px rgba(0, 0, 0, 0.66),
    0 0 0 8px rgba(215, 157, 28, 0.14),
    0 0 36px rgba(255, 185, 30, 0.28),
    inset 0 2px 2px rgba(255, 231, 169, 0.28),
    inset 0 -6px 12px rgba(0, 0, 0, 0.72);
}

.play-button:active {
  transform: scale(0.96);
}

.play-button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: scale(0.98);
}

.play-button.is-connecting {
  animation: connectingPulse 1.1s ease-in-out infinite;
}

@keyframes connectingPulse {
  0%,
  100% {
    opacity: 0.72;
    box-shadow:
      0 20px 48px rgba(0, 0, 0, 0.58),
      0 0 0 7px rgba(215, 157, 28, 0.08),
      0 0 18px rgba(225, 157, 18, 0.12);
  }

  50% {
    opacity: 1;
    box-shadow:
      0 22px 52px rgba(0, 0, 0, 0.62),
      0 0 0 9px rgba(215, 157, 28, 0.16),
      0 0 36px rgba(255, 184, 28, 0.28);
  }
}

.play-button:focus-visible {
  outline: 3px solid rgba(255, 211, 105, 0.66);
  outline-offset: 5px;
}

.play-button.is-playing {
  animation: playGlow 2.8s ease-in-out infinite;
}

/* =========================================================
   PLAY / PAUSE ICON
   ========================================================= */

.play-icon,
#play-icon {
  width: 0;
  height: 0;

  margin-left: 7px;

  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 24px solid currentColor;
}

.play-button.is-playing .play-icon,
.play-button.is-playing #play-icon {
  width: 25px;
  height: 30px;

  margin-left: 0;

  border: 0;
  border-left: 8px solid currentColor;
  border-right: 8px solid currentColor;
}

/* =========================================================
   VOLUME
   ========================================================= */

.volume-control {
  display: flex;
  align-items: center;

  gap: 14px;

  width: min(100%, 310px);

  margin: 0 auto;
}

.volume-icon {
  color: var(--gold-bright);

  font-size: 1.05rem;

  filter: sepia(1) saturate(2);
}

.volume-control input[type="range"] {
  width: 100%;

  cursor: pointer;

  accent-color: var(--gold);
}


/* WebKit range styling */

.volume-control input[type="range"]::-webkit-slider-runnable-track {
  height: 5px;

  border-radius: 999px;

  background:
    linear-gradient(
      90deg,
      var(--gold-dark),
      var(--gold-bright)
    );
}

.volume-control input[type="range"]::-webkit-slider-thumb {
  width: 17px;
  height: 17px;

  margin-top: -6px;

  border: 2px solid #1a1207;
  border-radius: 50%;

  background: var(--gold-bright);

  box-shadow:
    0 0 0 3px rgba(255, 199, 58, 0.13),
    0 2px 8px rgba(0, 0, 0, 0.45);

  -webkit-appearance: none;
}


/* Firefox range styling */

.volume-control input[type="range"]::-moz-range-track {
  height: 5px;

  border-radius: 999px;

  background:
    linear-gradient(
      90deg,
      var(--gold-dark),
      var(--gold-bright)
    );
}

.volume-control input[type="range"]::-moz-range-thumb {
  width: 15px;
  height: 15px;

  border: 2px solid #1a1207;
  border-radius: 50%;

  background: var(--gold-bright);

  box-shadow:
    0 0 0 3px rgba(255, 199, 58, 0.13),
    0 2px 8px rgba(0, 0, 0, 0.45);
}


/* =========================================================
   PLAYER STATUS
   ========================================================= */

.player-status {
  min-height: 20px;

  margin: 18px 0 0;

  color: var(--text-muted);

  font-size: 0.86rem;
}

/* =========================================================
   RADIOJAR LIVE CHAT
   ========================================================= */

.chat-section {
  width: 100%;

  margin: 22px auto 0;
}


/* Open-chat button */

.chat-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 9px;

  min-height: 42px;

  padding: 10px 18px;

  border: 1px solid rgba(255, 205, 85, 0.28);
  border-radius: 999px;

  background:
    linear-gradient(
      180deg,
      rgba(44, 33, 16, 0.72),
      rgba(11, 9, 6, 0.76)
    );

  color: rgba(255, 233, 168, 0.76);

  font: inherit;
  font-size: 0.76rem;
  font-weight: 650;

  letter-spacing: 0.08em;
  text-transform: uppercase;

  cursor: pointer;

  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 229, 158, 0.09);

  transition:
    color 240ms ease,
    border-color 240ms ease,
    background 240ms ease,
    box-shadow 260ms ease,
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.chat-toggle:hover {
  color: var(--gold-bright);

  border-color: rgba(255, 215, 106, 0.58);

  background:
    linear-gradient(
      180deg,
      rgba(58, 42, 18, 0.84),
      rgba(13, 10, 6, 0.86)
    );

  box-shadow:
    0 13px 28px rgba(0, 0, 0, 0.38),
    0 0 20px rgba(217, 162, 27, 0.13),
    inset 0 1px 0 rgba(255, 229, 158, 0.14);

  transform: translateY(-1px);
}

.chat-toggle:active {
  transform: translateY(0) scale(0.98);
}

.chat-toggle:focus-visible {
  outline: 2px solid rgba(255, 215, 106, 0.72);
  outline-offset: 4px;
}


/* Speech-bubble icon */

.chat-toggle-icon {
  position: relative;

  width: 16px;
  height: 13px;

  display: block;

  border: 1.5px solid currentColor;
  border-radius: 5px;
}

.chat-toggle-icon::after {
  content: "";

  position: absolute;

  left: 3px;
  bottom: -4px;

  width: 5px;
  height: 5px;

  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;

  transform: skewY(-28deg);
}

/* Collapsible chat panel */

.chat-panel {
  width: 100%;

  max-height: 0;

  margin: 0 auto;

  overflow: hidden;

  opacity: 0;
  visibility: hidden;

  transform: translateY(8px);

  transition:
    max-height 520ms cubic-bezier(0.22, 1, 0.36, 1),
    margin 360ms ease,
    opacity 300ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 520ms;
}

.chat-panel.is-open {
  max-height: 1100px;

  margin-top: 18px;

  opacity: 1;
  visibility: visible;

  transform: translateY(0);

  transition:
    max-height 700ms cubic-bezier(0.22, 1, 0.36, 1),
    margin 360ms ease,
    opacity 320ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s;
}

.chat-panel-inner {
  width: 100%;

  overflow: visible;

  border: 1px solid rgba(255, 205, 85, 0.28);
  border-radius: 20px;

  background:
    linear-gradient(
      180deg,
      rgba(29, 22, 13, 0.94),
      rgba(5, 5, 5, 0.96)
    );

  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.48),
    0 0 26px rgba(217, 162, 27, 0.08),
    inset 0 1px 0 rgba(255, 229, 158, 0.1);
}


/* Chat header */

.chat-panel-header {
  min-height: 48px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 14px 0 17px;

  border-bottom:
    1px solid rgba(255, 205, 85, 0.16);
}

.chat-panel-header p {
  margin: 0;

  color: rgba(255, 233, 168, 0.76);

  font-size: 0.72rem;
  font-weight: 700;

  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.chat-close {
  width: 31px;
  height: 31px;

  display: grid;
  place-items: center;

  padding: 0;

  border: 0;
  border-radius: 50%;

  background: transparent;

  color: rgba(255, 233, 168, 0.58);

  font-size: 1.35rem;
  line-height: 1;

  cursor: pointer;

  transition:
    color 200ms ease,
    background 200ms ease,
    transform 200ms ease;
}

.chat-close:hover {
  color: var(--gold-bright);

  background:
    rgba(255, 205, 85, 0.09);

  transform: rotate(5deg);
}

.chat-close:focus-visible {
  outline: 2px solid rgba(255, 215, 106, 0.7);
  outline-offset: 2px;
}


/* Radiojar iframe-based chat */

.radiojar-chat-frame-wrap {
  width: 100%;
  height: 640px;

  overflow: visible;

  background: #2d3036;
}

.radiojar-chat-frame {
  display: block;

  width: 100%;
  height: 640px;

  border: 0;

  background: #2d3036;
}


/* Mobile */

@media (max-width: 520px) {
  .chat-panel.is-open {
    max-height: 1250px;
  }

  .radiojar-chat-frame-wrap,
  .radiojar-chat-frame {
    height: 700px;
  }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  .chat-panel,
  .chat-toggle,
  .chat-close {
    transition: none;
  }
}

/* =========================================================
   SOCIAL LINKS
   ========================================================= */

.social-links {
  display: flex;
  justify-content: center;

  margin: 22px 0 0;
}

.facebook-link {
  position: relative;

  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  text-decoration: none;

  opacity: 0.62;

  transform:
    translateY(0)
    rotate(0deg)
    scale(1);

  transition:
    opacity 260ms ease,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 320ms ease;
}

.facebook-link::before {
  content: "";

  position: absolute;
  inset: 5px;

  z-index: -1;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(255, 210, 96, 0.22),
      rgba(217, 162, 27, 0.08) 48%,
      transparent 74%
    );

  filter: blur(10px);

  opacity: 0;

  transform: scale(0.72);

  transition:
    opacity 320ms ease,
    transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

.facebook-logo {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;

  border-radius: 50%;

  filter:
    brightness(0.84)
    sepia(0.08)
    drop-shadow(0 5px 12px rgba(0, 0, 0, 0.38));

  transition:
    filter 320ms ease;
}

.facebook-link:hover {
  opacity: 1;

  transform:
    translateY(-2px)
    rotate(3deg)
    scale(1.08);
}

.facebook-link:hover::before {
  opacity: 1;

  transform: scale(1.25);
}

.facebook-link:hover .facebook-logo {
  filter:
    brightness(0.96)
    sepia(0.05)
    drop-shadow(0 6px 14px rgba(0, 0, 0, 0.44))
    drop-shadow(0 0 12px rgba(255, 209, 87, 0.36));
}

.facebook-link:focus-visible {
  opacity: 1;

  outline: 2px solid rgba(255, 215, 106, 0.72);
  outline-offset: 5px;
}

/* =========================================================
   DEVELOPER CREDIT
   ========================================================= */

.developer-credit {
  margin: 18px 0 0;

  text-align: center;
}

.developer-credit a {
  color: rgba(255, 233, 168, 0.28);

  font-size: 0.66rem;
  font-weight: 500;

  letter-spacing: 0.12em;

  text-decoration: none;

  transition:
    color 240ms ease,
    opacity 240ms ease,
    text-shadow 240ms ease;
}

.developer-credit a:hover {
  color: rgba(255, 215, 106, 0.70);

  text-shadow:
    0 0 8px rgba(217, 162, 27, 0.18);
}

.developer-credit a:focus-visible {
  color: var(--gold-bright);

  outline: 2px solid rgba(255, 215, 106, 0.6);
  outline-offset: 4px;
  border-radius: 4px;
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.visually-hidden {
  position: absolute;

  width: 1px;
  height: 1px;

  padding: 0;
  margin: -1px;

  overflow: hidden;

  clip: rect(0, 0, 0, 0);

  white-space: nowrap;

  border: 0;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 520px) {
  .player-page {
    padding:
      max(18px, env(safe-area-inset-top))
      14px
      max(18px, env(safe-area-inset-bottom));
  }

  .radio-player {
    padding: 28px 20px 25px;

    border-radius: 25px;
  }

  .live-indicator {
    width: 96px;
  }

.station-logo-wrap {
  width: min(100%, 300px);
}

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

  .now-playing {
    min-height: 88px;
  }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  body,
  .background-orb,
  .radio-player,
  .station-logo,
  .play-button.is-playing {
    animation: none;
  }

  .play-button,
  .track-information {
    transition: none;
  }
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes backgroundFlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes orbitOne {
  0% {
    transform:
      translate(0, 0)
      rotate(0deg)
      scale(1);
  }

  50% {
    transform:
      translate(22vw, 16vh)
      rotate(180deg)
      scale(1.08);
  }

  100% {
    transform:
      translate(0, 0)
      rotate(360deg)
      scale(1);
  }
}

@keyframes orbitTwo {
  0% {
    transform:
      translate(0, 0)
      rotate(0deg)
      scale(1.05);
  }

  50% {
    transform:
      translate(-20vw, -15vh)
      rotate(-180deg)
      scale(0.95);
  }

  100% {
    transform:
      translate(0, 0)
      rotate(-360deg)
      scale(1.05);
  }
}

@keyframes orbitThree {
  0%,
  100% {
    transform:
      translate(-50%, -50%)
      scale(1);
  }

  50% {
    transform:
      translate(-38%, -62%)
      scale(1.18);
  }
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes playerBreath {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.006);
  }
}

@keyframes playGlow {
  0%,
  100% {
    box-shadow:
      0 20px 48px rgba(0, 0, 0, 0.58),
      0 0 0 7px rgba(215, 157, 28, 0.11),
      0 0 24px rgba(225, 157, 18, 0.16),
      inset 0 2px 2px rgba(255, 231, 169, 0.24),
      inset 0 -6px 12px rgba(0, 0, 0, 0.72);
  }

  50% {
    box-shadow:
      0 24px 54px rgba(0, 0, 0, 0.66),
      0 0 0 9px rgba(215, 157, 28, 0.16),
      0 0 42px rgba(255, 184, 28, 0.34),
      inset 0 2px 2px rgba(255, 231, 169, 0.3),
      inset 0 -6px 12px rgba(0, 0, 0, 0.72);
  }
}

.ios-volume-note {
  display: none;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.4;
  text-align: center;
}

.is-ios .volume-control {
  display: none;
}

.is-ios .ios-volume-note {
  display: block;
}