@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600&display=swap');

/* ── FOL Radio ──────────────────────────────────── */
.radioSection {
  display: flex;
  justify-content: center;
  padding: 0 16px 48px;
}

.radioSet {
  width: 100%;
  max-width: 640px;
  background: linear-gradient(160deg, #1a1108 0%, #0e0b06 60%, #151005 100%);
  border: 1px solid rgba(220, 140, 30, 0.25);
  border-radius: 24px;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.6),
    0 0 40px rgba(200, 110, 10, 0.08),
    inset 0 1px 0 rgba(255,200,80,0.06);
  padding: 28px 28px 22px;
  position: relative;
  overflow: hidden;
}

.radioSet::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(255,255,255,0.012) 3px,
    rgba(255,255,255,0.012) 4px
  );
  pointer-events: none;
  border-radius: 24px;
}

/* Header */
.radioHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.radioLabel {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(220, 150, 40, 0.7);
  text-transform: uppercase;
}

.radioOnAir {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #555;
  text-transform: uppercase;
  transition: color 0.3s;
}

.radioOnAir.active {
  color: #e03030;
  animation: radioOnAirBlink 1.8s ease-in-out infinite;
}

@keyframes radioOnAirBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* Display */
.radioDisplay {
  background: #050c05;
  border: 1px solid rgba(220, 140, 30, 0.15);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: inset 0 2px 12px rgba(0,0,0,0.6), 0 0 20px rgba(160, 90, 0, 0.05);
  min-height: 88px;
}

.radioDisplayInner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.radioCover {
  width: 88px;
  height: 88px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  opacity: 0.92;
  display: none;
  border: 1px solid rgba(220, 140, 30, 0.25);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,0,0,0.4);
}

.radioCover.visible { display: block; }

.radioInfo {
  flex: 1;
  min-width: 0;
}

.radioNowPlaying {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(200, 130, 30, 0.5);
  text-transform: uppercase;
  margin-bottom: 5px;
  font-family: "Courier New", Courier, monospace;
}

.radioTrackTitle {
  font-size: 15px;
  font-weight: 600;
  color: rgba(220, 175, 70, 0.9);
  font-family: "Courier New", Courier, monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.02em;
}

.radioAlbumTitle {
  font-size: 11px;
  color: rgba(180, 130, 40, 0.5);
  font-family: "Courier New", Courier, monospace;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Time */
.radioTime {
  font-size: 10px;
  font-family: "Courier New", monospace;
  color: rgba(180, 130, 40, 0.45);
  margin-top: 6px;
  letter-spacing: 0.05em;
}

/* Progress bar */
.radioProgressWrap {
  margin-top: 14px;
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.radioProgressWrap:hover { background: rgba(255,255,255,0.1); }

.radioProgressFill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(180,100,10,0.7), rgba(230,160,40,0.9));
  border-radius: 2px;
  transition: width 0.25s linear;
  pointer-events: none;
}

/* Waveform canvas */
.radioWave {
  display: block;
  width: 100%;
  height: 80px;
  margin-top: 14px;
  border-radius: 4px;
}

/* Volume */
.radioVolWrap {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 4px;
}

/* На сенсорних пристроях (мобільні/iOS) програмна зміна гучності не діє —
   гучність керується апаратними кнопками. Тому ховаємо повзунок, а кнопки
   завдяки justify-content:center стають симетрично посередині. */
@media (pointer: coarse) {
  .radioVolWrap { display: none; }
}

.radioVolIcon {
  color: rgba(180,130,40,0.4);
  flex-shrink: 0;
}

.radioVolSlider {
  -webkit-appearance: none;
  appearance: none;
  width: 72px;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.radioVolSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(220,150,40,0.85);
  border: 1px solid rgba(220,150,40,0.4);
  cursor: pointer;
  box-shadow: 0 0 6px rgba(200,120,20,0.4);
}

.radioVolSlider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(220,150,40,0.85);
  border: 1px solid rgba(220,150,40,0.4);
  cursor: pointer;
}

/* Controls */
.radioControls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 18px;
}

.radioPlayBtn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #3a2008, #1a0e04);
  border: 1px solid rgba(220, 140, 30, 0.35);
  color: rgba(220, 150, 40, 0.9);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.1s;
  box-shadow: 0 0 14px rgba(180, 90, 0, 0.2), inset 0 1px 0 rgba(255,200,60,0.08);
  line-height: 1;
}

.radioPlayBtn:hover {
  border-color: rgba(220, 150, 40, 0.7);
  box-shadow: 0 0 22px rgba(200, 110, 10, 0.4), inset 0 1px 0 rgba(255,200,60,0.12);
}

.radioPlayBtn:active { transform: scale(0.96); }

.radioSkipBtn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(220, 140, 30, 0.15);
  color: rgba(220, 150, 40, 0.5);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}

.radioSkipBtn:hover {
  border-color: rgba(220, 150, 40, 0.4);
  color: rgba(220, 150, 40, 0.85);
}

.radioPipBtn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(210,140,30,0.15);
  color: rgba(180,130,40,0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
  margin-left: 6px;
}
.radioPipBtn:hover {
  border-color: rgba(210,150,40,0.4);
  color: rgba(210,150,40,0.8);
}

/* Footer */
.radioFooter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.radioBadge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
}

.radioBadge--demo {
  color: rgba(180, 130, 40, 0.6);
  border: 1px solid rgba(180, 130, 40, 0.2);
  background: rgba(180, 130, 40, 0.05);
}

.radioBadge--premium {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  padding: 5px 14px;
  border: 1px solid rgba(210, 170, 50, 0.35);
  background: linear-gradient(
    90deg,
    #7a5a10, #d4a017, #f5d060, #ffe680, #f5d060, #d4a017, #7a5a10
  );
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 4s linear infinite;
  box-shadow: 0 0 16px rgba(210, 160, 40, 0.15), inset 0 0 8px rgba(210, 160, 40, 0.04);
}

@keyframes goldShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 250% center; }
}

.radioSubscribeLink {
  font-size: 11px;
  color: rgba(107, 163, 255, 0.7);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.15s;
}

.radioSubscribeLink:hover { color: rgba(107, 163, 255, 1); }

.radioTrackCount {
  font-size: 10px;
  color: rgba(180, 130, 40, 0.4);
  letter-spacing: 0.06em;
}

@media (max-width: 480px) {
  .radioSet { padding: 20px 16px 16px; border-radius: 18px; }
  .radioPlayBtn { width: 52px; height: 52px; font-size: 18px; }
}
