:root {
  --bg: #060716;
  --bg-soft: #101329;
  --panel: rgba(9, 14, 38, 0.72);
  --panel-strong: rgba(13, 17, 44, 0.9);
  --line: rgba(141, 172, 255, 0.18);
  --text: #f4f7ff;
  --muted: #b3bce1;
  --cyan: #5fe4ff;
  --electric: #5d7cff;
  --pink: #f364ff;
  --violet: #8f58ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Rajdhani", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 20%, rgba(81, 223, 255, 0.28), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(243, 100, 255, 0.24), transparent 20%),
    radial-gradient(circle at 50% 100%, rgba(93, 124, 255, 0.2), transparent 30%),
    linear-gradient(145deg, #04050e 0%, #070a18 45%, #0d1030 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

.page-shell {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
  padding-bottom: 40px;
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100%, 980px);
  margin: 18px auto 0;
  padding: 14px 20px;
  background: rgba(10, 13, 33, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand img {
  display: block;
  width: min(320px, 44vw);
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.topnav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topnav a:hover,
.topnav a:focus-visible {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 32px;
  align-items: center;
  min-height: calc(100vh - 110px);
  padding: 72px 0 36px;
}

.eyebrow,
.mini-label,
h1,
h2,
h3,
.button,
.live-pill {
  font-family: "Orbitron", sans-serif;
}

.eyebrow,
.mini-label {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.93;
  letter-spacing: -0.05em;
}

.hero-text,
.section-heading p,
.supporting-text,
.footer p {
  color: var(--muted);
  font-size: 1.24rem;
  line-height: 1.45;
}

.hero-text {
  max-width: 52ch;
  margin: 22px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #06101b;
  background: linear-gradient(90deg, var(--cyan), #81c9ff 55%, #c89bff 100%);
  box-shadow: 0 14px 40px rgba(95, 228, 255, 0.28);
}

.button-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 0;
}

.stat {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.stat dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.96rem;
}

.stat dd {
  margin: 0;
  font-size: 1.15rem;
}

.nowplaying-inline,
#hero-connections,
#live-status-copy {
  color: var(--text);
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-pill::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3fffc1;
  box-shadow: 0 0 18px rgba(63, 255, 193, 0.85);
}

.live-pill.is-offline::before {
  background: #ff7f9a;
  box-shadow: 0 0 18px rgba(255, 127, 154, 0.8);
}

.hero-visual {
  position: relative;
}

.orb-stage {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.orb-glow {
  position: absolute;
  inset: auto;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.8;
}

.orb-glow-a {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(95, 228, 255, 0.36), transparent 68%);
  transform: translate(-18%, -8%);
}

.orb-glow-b {
  width: 330px;
  height: 330px;
  background: radial-gradient(circle, rgba(243, 100, 255, 0.34), transparent 68%);
  transform: translate(20%, 20%);
}

.orb-card {
  position: relative;
  width: min(100%, 520px);
  padding: 18px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.orb-card::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.orb-card img {
  display: block;
  width: 100%;
  height: auto;
  animation: drift 8s ease-in-out infinite;
}

.section {
  padding: 56px 0 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 14px 0 0;
}

.panel {
  padding: 24px;
  background: linear-gradient(180deg, rgba(14, 18, 45, 0.92), rgba(7, 10, 27, 0.88));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.live-grid,
.schedule-grid,
.audience-grid {
  display: grid;
  gap: 22px;
}

.live-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.panel-highlight {
  position: relative;
  min-height: 320px;
  background:
    linear-gradient(135deg, rgba(95, 228, 255, 0.16), transparent 35%),
    linear-gradient(225deg, rgba(243, 100, 255, 0.18), transparent 40%),
    linear-gradient(180deg, rgba(14, 18, 45, 0.96), rgba(7, 10, 27, 0.92));
}

.cover-art-shell,
.recent-list {
  min-height: 100%;
}

.cover-art-shell > *,
.recent-list > * {
  width: 100%;
}

.cover-art-shell {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100%;
  isolation: isolate;
}

.cover-art-backdrop {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(8, 10, 27, 0.08), rgba(8, 10, 27, 0.3)),
    url("./Resurse/Logo/logo.png");
  background-position: center;
  background-size: cover;
  filter: blur(34px) saturate(1.1);
  transform: scale(1.08);
  opacity: 0.45;
}

.cover-art-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  justify-items: center;
  width: min(100%, 360px);
  text-align: center;
}

.cover-art-image {
  width: min(100%, 280px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.38),
    0 0 0 10px rgba(255, 255, 255, 0.03);
  background: rgba(255, 255, 255, 0.04);
}

.cover-art-label {
  margin: 0;
  color: var(--muted);
  font-family: "Orbitron", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 320px;
}

.panel-copy h3 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.08;
}

.signal-line {
  width: 100%;
  height: 1px;
  margin: 24px 0 18px;
  background: linear-gradient(90deg, transparent, rgba(95, 228, 255, 0.8), rgba(243, 100, 255, 0.8), transparent);
}

.player-box {
  margin-top: 22px;
}

.radio-player-frame {
  width: 100%;
  min-height: 330px;
  border: 0;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.stream-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.stream-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  text-decoration: none;
  font-family: "Orbitron", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.stream-link:hover,
.stream-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(95, 228, 255, 0.5);
}

.stream-link-primary {
  color: #06101b;
  background: linear-gradient(90deg, var(--cyan), #81c9ff 55%, #c89bff 100%);
  border-color: transparent;
}

.recent-panel {
  padding: 18px;
}

.recent-list {
  display: grid;
  gap: 12px;
}

.recent-track {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.recent-track-cover {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(95, 228, 255, 0.22), rgba(243, 100, 255, 0.22)),
    rgba(255, 255, 255, 0.04);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.recent-track-copy {
  min-width: 0;
}

.recent-track-title {
  margin: 0;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.25;
}

.recent-track-meta {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.recent-track-placeholder .recent-track-cover {
  background:
    linear-gradient(135deg, rgba(95, 228, 255, 0.14), rgba(243, 100, 255, 0.14)),
    rgba(255, 255, 255, 0.03);
}

.schedule-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.audience-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.frame-panel iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
}

.frame-panel.compact iframe {
  min-height: 210px;
}

.frame-panel.tall iframe {
  min-height: 360px;
}

.audience-stat-panel {
  display: flex;
  flex-direction: column;
}

.audience-stat-shell {
  display: grid;
  align-content: center;
  gap: 10px;
  min-height: 360px;
  padding: 8px 4px 4px;
}

.audience-stat-value {
  margin: 0;
  color: var(--text);
  font-family: "Orbitron", sans-serif;
  font-size: clamp(3.4rem, 9vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.audience-stat-caption {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.audience-stat-divider {
  width: 100%;
  height: 1px;
  margin: 10px 0 4px;
  background: linear-gradient(90deg, rgba(95, 228, 255, 0.55), rgba(243, 100, 255, 0.45), transparent);
}

.audience-stat-meta {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.45;
}

.audience-stat-meta span {
  color: var(--text);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 38px 0 12px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 980px) {
  .topbar,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero,
  .live-grid,
  .schedule-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .orb-stage {
    min-height: 440px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 22px), var(--content-width));
  }

  .topbar {
    top: 10px;
    padding: 14px 16px;
    border-radius: 28px;
  }

  .brand img {
    width: min(270px, 72vw);
  }

  .topnav {
    gap: 12px;
  }

  h1 {
    max-width: 10ch;
  }

  .hero-text,
  .section-heading p,
  .supporting-text,
  .footer p {
    font-size: 1.08rem;
  }

  .panel {
    padding: 18px;
  }

  .frame-panel iframe {
    min-height: 320px;
  }
}
