@import url("./fonts/iransans/css/fontiran.css");
:root {
  color-scheme: dark;
  --background: #211915;
  --accent: #ffad63;
  --foreground: #f8f2ed;
  --muted: #c4bcb6;
  --button-text: #301700;
}

:root[data-theme=light] {
  color-scheme: light;
  --background: #faf6f2;
  --foreground: #302721;
  --muted: #6b5b51;
  --button-text: #fff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: color-mix(in srgb, var(--background) 96%, var(--accent));
  color: var(--foreground);
  font-family: "irs";
}

body, .brand, .header, footer, .live-badge, .live-badge span, .eyebrow, .intro h1 span, .orbit, .record, .status-dot, .play-label, .volume-control, .theme-button, .visual-area::before {
  transition: color 1.5s, background-color 1.5s, border-color 1.5s, box-shadow 1.5s;
}

button, input {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible, input:focus-visible, a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.page {
  width: min(100% - 64px, 1120px);
  min-height: 100vh;
  margin: auto;
  display: flex;
  flex-direction: column;
}

.header {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid color-mix(in srgb, var(--foreground) 15%, transparent);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--foreground);
  font: 700 22px;
  letter-spacing: -0.8px;
}

.brand-dot {
  color: var(--accent);
}

.brand-logo {
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.theme-button {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid color-mix(in srgb, var(--foreground) 20%, transparent);
  border-radius: 20px;
  padding: 7px 11px;
  background: transparent;
  color: var(--foreground);
  font-size: 11px;
}

.theme-button:hover {
  border-color: var(--accent);
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  direction: ltr;
  color: var(--muted);
  font: 700 9px;
  letter-spacing: 1.5px;
}

.live-badge span, .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

main {
  flex: 1;
  display: grid;
  place-items: center;
}

.player {
  width: 100%;
  padding: 66px 0 58px;
  text-align: center;
}

.eyebrow {
  color: var(--accent);
  font: 10px;
  letter-spacing: 2.4px;
}

.intro h1 {
  margin: 18px 0 8px;
  font-size: clamp(24px, 4vw, 39px);
  line-height: 1.6;
  font-weight: 800;
}

.intro h1 span {
  color: var(--accent);
}

.intro p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.visual-area {
  position: relative;
  width: min(350px, 82vw);
  aspect-ratio: 1;
  margin: 30px auto 10px;
  display: grid;
  place-items: center;
  direction: ltr;
}

.visual-area::before {
  content: "";
  position: absolute;
  width: 65%;
  height: 65%;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(80px);
  opacity: 0.16;
}

.orbit {
  position: absolute;
  inset: 3%;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: 50%;
}

#visualizer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.record {
  position: relative;
  width: 51%;
  height: 51%;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--background) 88%, var(--accent));
  background-image: repeating-radial-gradient(circle, transparent 0 2px, color-mix(in srgb, var(--accent) 9%, transparent) 3px, transparent 4px 6px);
  box-shadow: 0 0 0 8px var(--background), 0 0 0 9px color-mix(in srgb, var(--accent) 30%, transparent), 0 16px 35px rgba(0, 0, 0, 0.2);
}

.status {
  min-height: 60px;
}

.status-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.status-heading strong {
  font-size: 12px;
  font-weight: 600;
}

.status-dot {
  background: var(--muted);
}

.status-dot.live {
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.status-dot.error {
  background: #e99e86;
}

.status p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.listener-count {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.theme-notice {
  margin: 8px 0;
  color: var(--muted);
  font-size: 11px;
}

.controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
}

.play-button {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: var(--button-text);
  transition: transform 0.2s, background-color 1.5s, color 1.5s;
}

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

.play-button svg {
  width: 23px;
  height: 23px;
}

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

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

.play-label {
  color: var(--muted);
  font-size: 11px;
}

.volume-control {
  display: flex;
  direction: ltr;
  align-items: center;
  gap: 10px;
  margin-top: 13px;
  color: var(--muted);
}

.icon-button {
  display: grid;
  place-items: center;
  padding: 4px;
  border: 0;
  background: transparent;
  color: inherit;
}

.icon-button svg {
  width: 19px;
  height: 19px;
}

.volume-control input {
  width: 100px;
  height: 3px;
  accent-color: var(--accent);
  cursor: pointer;
}

.volume-control span {
  min-width: 27px;
  font: 10px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 22px 0;
  border-top: 1px solid color-mix(in srgb, var(--foreground) 15%, transparent);
  color: var(--muted);
  font-size: 10px;
}

footer span:first-child {
  font: 9px;
  letter-spacing: 1.5px;
}

@media (max-width: 480px) {
  .page {
    width: calc(100% - 36px);
  }
  .header {
    height: 72px;
  }
  .header-actions {
    gap: 10px;
  }
  .player {
    padding: 50px 0;
  }
  .visual-area {
    width: min(310px, 82vw);
    margin-top: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
  }
}/*# sourceMappingURL=styles.css.map */