:root {
  --bg: #050608;
  --bg-soft: #0d1118;
  --panel: rgba(10, 14, 20, 0.86);
  --panel-strong: rgba(16, 21, 30, 0.94);
  --text: #f3f4f6;
  --muted: #aab3c2;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #ff7a2f;
  --accent-soft: #ffb36b;
  --signal: #d8dde6;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  background:
    radial-gradient(circle at left center, rgba(255, 104, 26, 0.3), transparent 28%),
    radial-gradient(circle at 30% 20%, rgba(78, 95, 122, 0.24), transparent 25%),
    linear-gradient(180deg, #030405 0%, #0a0d13 48%, #050608 100%);
  color: var(--text);
}

body.is-fa {
  font-family: Tahoma, "Geeza Pro", sans-serif;
}

a {
  color: inherit;
}

button,
input,
audio {
  font: inherit;
}

.site-shell {
  position: relative;
  overflow: clip;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 32px 20px 28px;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 40%, rgba(255, 122, 47, 0.34), transparent 18%),
    linear-gradient(90deg, rgba(3, 4, 5, 0.34) 0%, rgba(3, 4, 5, 0.16) 44%, rgba(3, 4, 5, 0.52) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(5, 6, 8, 0.16) 38%, rgba(5, 6, 8, 0.7) 100%),
    url("/radio-background.png") center center / cover no-repeat;
  transform: scaleX(-1);
  transform-origin: center;
  pointer-events: none;
}

body.is-fa .hero__backdrop {
  transform: none;
}

.hero__content,
.section {
  width: min(1160px, 100%);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero__topbar,
.player-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.section__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

body.is-fa .section__heading {
  align-items: flex-end;
}

.section__eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  color: var(--accent-soft);
}

.section__heading > * {
  margin: 0;
  text-align: start;
  unicode-bidi: isolate;
}

h2[data-copy="broadcastTitle"] {
  width: 100%;
  direction: ltr;
  text-align: left;
}

body.is-fa h2[data-copy="broadcastTitle"] {
  direction: rtl;
  text-align: right;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: end;
  margin-top: 40px;
}

.hero__copy {
  padding: 40px 0 10px;
  max-width: 760px;
}

.hero__kicker {
  margin: 0 0 12px;
  font-size: clamp(1rem, 2vw, 1.45rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--signal);
}

.hero__logo-lockup {
  margin: 0;
  font-size: clamp(3.2rem, 9vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

body.is-fa .hero__logo-lockup {
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.08;
}

.hero__strapline {
  margin: 0;
  max-width: 24ch;
  margin-top: 24px;
  font-size: clamp(1.2rem, 2.6vw, 2rem);
  line-height: 1.2;
  color: var(--text);
}

body.is-fa .hero__strapline {
  max-width: 19ch;
  line-height: 1.5;
  letter-spacing: 0;
}

.hero__frequency {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: baseline;
  margin: 26px 0 0;
  color: var(--muted);
}

.hero__frequency span:first-child {
  color: var(--text);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button,
.language-toggle__button,
.broadcast-card__button {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 18px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.button:hover,
.language-toggle__button:hover,
.broadcast-card__button:hover {
  transform: translateY(-1px);
}

.button--primary,
.broadcast-card__button {
  background: linear-gradient(90deg, var(--accent), #ff9349);
  color: #111;
  font-weight: 700;
}

.button--ghost,
.language-toggle__button {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--text);
}

.language-toggle {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.language-toggle__button {
  padding: 10px 14px;
}

.language-toggle__button.is-active {
  background: rgba(255, 122, 47, 0.18);
  border-color: rgba(255, 122, 47, 0.48);
}

.hero__brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 8px 0;
}

.hero__brand-logo {
  display: block;
  height: 28px;
  width: auto;
}

.about-card,
.info-card,
.player-card,
.broadcast-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.section {
  padding: 32px 20px 24px;
}

.section h2 {
  margin: 8px 0 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.03em;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 20px;
  margin-top: 24px;
}

.about-card,
.info-card,
.player-card {
  padding: 24px;
}

.about-card__body {
  color: var(--muted);
  line-height: 1.7;
}

.about-card__body p:first-child {
  margin-top: 0;
}

.about-card__body p:last-child {
  margin-bottom: 0;
}

.about-card__body a {
  color: var(--accent-soft);
}

.info-card h3,
.player-card__title {
  margin: 0 0 14px;
  font-size: 1.2rem;
}

.info-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.info-card__list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.info-card__list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.info-card__list span,
.player-card__status,
.broadcast-card__filename {
  color: var(--muted);
}

.player-card__audio {
  width: 100%;
}

.broadcast-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.broadcast-card {
  padding: 20px;
}

.broadcast-card__top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.broadcast-card__title {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.5;
}

.broadcast-card__filename {
  margin: 10px 0 0;
  font-size: 0.9rem;
}

.broadcast-card__button[disabled] {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  cursor: not-allowed;
}

.broadcast-card__button.is-current {
  background: linear-gradient(90deg, #ffd78b, #ffb15f);
}

.broadcast-list__sentinel {
  height: 1px;
}

@media (max-width: 920px) {
  .hero {
    min-height: auto;
  }

  .hero__grid,
  .about-grid,
  .broadcast-list {
    grid-template-columns: 1fr;
  }

  .hero__strapline {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .hero,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero__topbar,
  .player-card__header,
  .broadcast-card__top {
    align-items: start;
    flex-direction: column;
  }

  .section__heading {
    align-items: flex-start;
  }

  body.is-fa .section__heading {
    align-items: flex-end;
  }

  .button,
  .broadcast-card__button {
    width: 100%;
    text-align: center;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__topbar {
    justify-content: flex-start;
  }
}
