:root {
  --bg: #050505;
  --bg-alt: #0b0b0b;
  --panel: #111111;
  --panel-edge: #232323;
  --text: #f2f2f2;
  --muted: #9d9d9d;
  --accent: #f4b63a;
  --accent-soft: rgba(244, 182, 58, 0.22);
  --accent-warm: #f4b63a;
  --shadow: 0 28px 60px rgba(0, 0, 0, 0.55);
}

.radio-body {
  background: radial-gradient(circle at 80% 10%, rgba(244, 182, 58, 0.18), transparent 45%),
    radial-gradient(circle at 15% 90%, rgba(244, 182, 58, 0.14), transparent 55%),
    linear-gradient(160deg, #050505 0%, #0b0b0b 50%, #070707 100%);
  color: var(--text);
  font-family: "DM Sans", "Segoe UI", Arial, sans-serif;
  padding-top: 70px;
}

.radio-body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.05), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.04), transparent 40%);
  pointer-events: none;
  z-index: 0;
}

.radio-shell {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  padding: 48px 16px 80px;
}

.radio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.brand-lockup h1 {
  font-family: "DM Sans", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.85rem, 5.8vw, 3.5rem);
  margin: 6px 0 8px;
  letter-spacing: 0.005em;
  font-weight: 600;
  line-height: 1.08;
  white-space: nowrap;
}

.brand-kicker {
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 0.75rem;
  color: var(--muted);
}

.brand-tagline {
  max-width: 420px;
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

.brand-art {
  position: relative;
  width: 140px;
  height: 140px;
}

.brand-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(244, 182, 58, 0.35);
  box-shadow: 0 0 24px rgba(244, 182, 58, 0.15);
  animation: ringPulse 6s ease-in-out infinite;
}

.brand-ring.secondary {
  inset: 18px;
  border-color: rgba(244, 182, 58, 0.35);
  animation-delay: 1.6s;
}

.player-card {
  position: relative;
  border-radius: 28px;
  background: linear-gradient(150deg, rgba(17, 17, 17, 0.95), rgba(10, 10, 10, 0.95));
  border: 1px solid var(--panel-edge);
  padding: clamp(22px, 4vw, 34px);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: cardRise 0.7s ease;
}

.player-glow {
  position: absolute;
  inset: -20% 20% auto;
  height: 180px;
  background: radial-gradient(circle, rgba(244, 182, 58, 0.28), transparent 70%);
  filter: blur(20px);
  opacity: 0.8;
  pointer-events: none;
}

.player-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(220px, 280px) 1fr;
  align-items: center;
}

.volume-dial {
  --volume: 0.8;
  position: relative;
  width: 220px;
  height: 220px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  touch-action: none;
  user-select: none;
}

.volume-dial::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 180deg, rgba(255, 255, 255, 0.08) 0 7deg, transparent 7deg 14deg),
    conic-gradient(
      from 180deg,
      var(--accent) 0deg,
      var(--accent) calc(var(--volume) * 360deg),
      #1f1f1f calc(var(--volume) * 360deg),
      #1f1f1f 360deg
    );
  box-shadow: 0 0 20px rgba(244, 182, 58, 0.18);
}

.volume-dial::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(244, 182, 58, 0.15), transparent 60%),
    #0d0d0d;
  border: 1px solid #1b1b1b;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.7);
}

.volume-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}

.play-toggle {
  position: relative;
  z-index: 4;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 1px solid #2a2a2a;
  background: #0f0f0f;
  display: grid;
  place-items: center;
  color: var(--text);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.play-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(244, 182, 58, 0.35);
}

.play-toggle:focus,
.play-toggle:focus-visible {
  outline: none;
  box-shadow: none;
}

.play-toggle .icon {
  width: 36px;
  height: 36px;
  fill: currentColor;
}

.pause-icon {
  display: none;
}

.play-toggle.is-playing .play-icon {
  display: none;
}

.play-toggle.is-playing .pause-icon {
  display: block;
}

.volume-readout {
  position: absolute;
  bottom: 38px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  z-index: 4;
}

.volume-label {
  position: absolute;
  bottom: 24px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 4;
}

.volume-note {
  position: absolute;
  top: 14px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 182, 58, 0.85);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 4;
}

.volume-dial.is-locked {
  cursor: not-allowed;
}

.volume-dial.is-locked::before {
  background:
    repeating-conic-gradient(from 180deg, rgba(255, 255, 255, 0.08) 0 7deg, transparent 7deg 14deg),
    conic-gradient(from 180deg, #2a2a2a 0deg, #2a2a2a 360deg);
  box-shadow: none;
}

.volume-dial.is-locked .play-toggle {
  box-shadow: none;
}

.volume-dial.is-locked .volume-readout {
  color: var(--muted);
}

.volume-dial.is-locked .volume-note {
  opacity: 1;
  transform: translateY(0);
}

.player-meta h2 {
  margin: 12px 0 6px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.player-subtitle {
  color: var(--muted);
  margin: 0 0 16px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(244, 182, 58, 0.4);
  background: rgba(15, 27, 20, 0.8);
  color: #bdf5d2;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(244, 182, 58, 0.7);
  animation: livePulse 1.8s ease-in-out infinite;
}

.player-status {
  font-size: 0.9rem;
  color: var(--text);
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(20, 20, 20, 0.9);
  border: 1px solid #222;
  max-width: 320px;
}

.radio-support-grid {
  display: grid;
  grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.support-card {
  position: relative;
  border-radius: 24px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e6dfd2;
  box-shadow: 0 18px 40px rgba(25, 18, 8, 0.16);
  color: #1b1b1b;
}

.support-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: none;
  pointer-events: none;
}

.support-card > * {
  position: relative;
  z-index: 1;
}

.support-kicker {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  color: #b07a11;
}

.support-card h2 {
  margin: 0 0 10px;
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  color: #1b1b1b;
}

.support-copy {
  margin: 0;
  color: #6f6a62;
  line-height: 1.6;
}

.support-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  border: 1px solid rgba(176, 122, 17, 0.28);
  background: rgba(255, 255, 255, 0.96);
  color: #1b1b1b;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.support-card-share .support-btn {
  margin-top: 20px;
  background: linear-gradient(135deg, #f4b63a, #ffd67f);
  color: #15120b;
  border-color: rgba(255, 214, 127, 0.9);
}

.support-card-share .support-btn:hover {
  background: linear-gradient(135deg, #ffc956, #ffe4a7);
  border-color: rgba(255, 228, 167, 1);
  box-shadow: 0 12px 26px rgba(244, 182, 58, 0.22);
}

.feedback-toggle {
  margin-top: 20px;
}

.support-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(176, 122, 17, 0.5);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 10px 22px rgba(176, 122, 17, 0.12);
}

.support-btn:focus,
.support-btn:focus-visible {
  outline: 2px solid rgba(244, 182, 58, 0.72);
  outline-offset: 2px;
}

.support-btn-primary {
  background: linear-gradient(135deg, #f4b63a, #ffd67f);
  color: #15120b;
  border-color: rgba(255, 214, 127, 0.9);
}

.support-btn-primary:hover {
  background: linear-gradient(135deg, #ffc956, #ffe4a7);
  border-color: rgba(255, 228, 167, 1);
  box-shadow: 0 12px 26px rgba(244, 182, 58, 0.22);
}

.support-status {
  min-height: 1.2em;
  margin: 14px 0 0;
  color: #8a6a1f;
  font-size: 0.92rem;
}

.feedback-panel {
  margin-top: 18px;
}

.radio-feedback-form {
  margin-top: 0;
}

.feedback-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feedback-field {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
}

.feedback-field span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5f5a52;
}

.feedback-field input,
.feedback-field select,
.feedback-field textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid #ddd3c2;
  background: rgba(255, 255, 255, 0.9);
  color: #1b1b1b;
  padding: 13px 15px;
  font: inherit;
  resize: vertical;
  min-width: 0;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.feedback-field input::placeholder,
.feedback-field textarea::placeholder {
  color: #8a8378;
}

.feedback-field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(176, 122, 17, 0.92) 50%),
    linear-gradient(135deg, rgba(176, 122, 17, 0.92) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

.feedback-field input:focus,
.feedback-field select:focus,
.feedback-field textarea:focus {
  outline: none;
  border-color: rgba(244, 182, 58, 0.75);
  box-shadow: 0 0 0 3px rgba(244, 182, 58, 0.14);
  background: rgba(255, 255, 255, 1);
}

.feedback-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 6px;
}

.feedback-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 2px 0 18px;
  color: #403c35;
  line-height: 1.5;
  cursor: pointer;
}

.feedback-consent input {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  accent-color: #f4b63a;
  flex: 0 0 auto;
}

.feedback-note {
  margin: 0;
  color: #6f6a62;
  font-size: 0.88rem;
}

.feedback-response {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(99, 214, 157, 0.34);
  background: rgba(241, 252, 246, 0.96);
}

.feedback-response.is-error {
  border-color: rgba(216, 98, 98, 0.35);
  background: rgba(255, 242, 242, 0.96);
}

.feedback-response-title {
  margin: 0 0 6px;
  font-size: 1rem;
}

.feedback-response-text {
  margin: 0;
  color: #4f4a42;
  line-height: 1.55;
}

@keyframes ringPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}

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

@keyframes cardRise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .radio-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-art {
    align-self: center;
  }

  .player-grid {
    grid-template-columns: 1fr;
  }

  .player-meta {
    text-align: center;
  }

  .player-status {
    margin: 0 auto;
  }

  .radio-support-grid {
    grid-template-columns: 1fr;
  }

  .feedback-fields {
    grid-template-columns: 1fr;
  }

  .feedback-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .support-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-ring,
  .live-dot,
  .player-card,
  .support-btn {
    animation: none;
  }

  .support-btn {
    transition: none;
  }
}
