:root {
  color-scheme: dark;
  --bg: #14110f;
  --bg-warm: #2a1f18;
  --bg-card: rgba(28, 24, 22, 0.92);
  --text: #f5efe8;
  --muted: #b8a99a;
  --accent: #e8a84a;
  --accent-soft: #f4d4a0;
  --accent-blue: #6ba3d6;
  --border: rgba(255, 235, 210, 0.12);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  margin: 0;
  min-height: 100vh;
}

.page-bg {
  background:
    radial-gradient(ellipse 90% 60% at 15% -10%, rgba(232, 168, 74, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(107, 163, 214, 0.14) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 45%, #0d0b0a 100%);
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

.wrap {
  margin: 0 auto;
  max-width: 40rem;
  padding: 0 1.35rem;
}

.site-header {
  padding: 2.5rem 0 1.5rem;
}

.hero {
  text-align: center;
}

.brand-lockup {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 0.25rem;
}

.site-logo {
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  display: block;
  height: auto;
  width: 72px;
}

.brand-text {
  text-align: center;
}

.brand-text h1 {
  margin-bottom: 0;
}

.eyebrow {
  color: var(--accent-soft);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.1rem, 7vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 0.6rem;
}

.slogan {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 4.5vw, 2rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 0.65rem;
}

.coverage-badge {
  background: rgba(107, 163, 214, 0.12);
  border: 1px solid rgba(107, 163, 214, 0.35);
  border-radius: 999px;
  color: var(--accent-soft);
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 auto 1.1rem;
  max-width: 28rem;
  padding: 0.45rem 1rem;
}

.intro {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 auto 1.75rem;
  max-width: 34ch;
}

.player-panel {
  backdrop-filter: blur(8px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  margin: 0 auto;
  max-width: 28rem;
  padding: 1.25rem 1.35rem 1.35rem;
  text-align: left;
}

.now-playing {
  background: rgba(232, 168, 74, 0.1);
  border: 1px solid rgba(232, 168, 74, 0.28);
  border-radius: 12px;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
}

.now-playing-label {
  color: var(--accent-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0 0 0.35rem;
  text-transform: uppercase;
}

.now-playing-title {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
}

.now-playing-title.is-offline {
  color: var(--muted);
  font-weight: 500;
}

.player-panel-head {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.player-panel h2 {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0;
  text-transform: uppercase;
}

.on-air {
  animation: pulse 1.8s ease-in-out infinite;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5);
  flex-shrink: 0;
  height: 9px;
  width: 9px;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
    opacity: 0.85;
  }
}

.player-panel audio {
  display: block;
  width: 100%;
}

.player-note {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0.75rem 0 0;
}

main {
  padding: 0.5rem 0 2.5rem;
}

.info-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
}

.info-card h3 {
  color: var(--accent-soft);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
}

.info-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.info-card-extra {
  margin-top: 0.65rem !important;
  font-size: 0.88rem !important;
}

.info-card-highlight {
  border-color: rgba(107, 163, 214, 0.35);
}

.info-card strong {
  color: var(--text);
  font-weight: 600;
}

.tech-details {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 1.25rem;
}

.tech-details summary {
  cursor: pointer;
  list-style: none;
}

.tech-details summary::-webkit-details-marker {
  display: none;
}

.tech-details summary::before {
  content: "▸ ";
}

.tech-details[open] summary::before {
  content: "▾ ";
}

.tech-details p {
  margin: 0.5rem 0 0;
}

.tech-details a {
  color: var(--accent-blue);
  word-break: break-all;
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.82rem;
  padding: 1.35rem 0 2rem;
}

.site-footer-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: space-between;
}

.site-footer p {
  margin: 0;
}

.footer-admin-link {
  color: var(--muted);
  font-size: 0.82rem;
  opacity: 0.75;
  text-decoration: none;
}

.footer-admin-link:hover {
  color: var(--text);
  opacity: 1;
  text-decoration: underline;
}
