:root {
  --bg: #030303;
  --panel: rgba(14,14,14,0.72);
  --border: rgba(247,147,26,0.16);
  --orange: #f7931a;
  --text: #f5f2ea;
  --muted: rgba(245,242,234,0.58);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at 50% 22%, rgba(247,147,26,0.12), transparent 32%),
    linear-gradient(180deg, #070707, #020202);
  color: var(--text);
  font-family: Inter, Helvetica, Arial, sans-serif;
}

body {
  overflow-x: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.radio-shell {
  width: min(1580px, calc(100vw - 64px));
  margin: 0 auto;
  padding: 18px 0 24px;
}

.topbar {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 12px 0 20px;
}

.topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(247,147,26,0.24),
      transparent
    );
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 16px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(247,147,26,0.18);
  background: rgba(247,147,26,0.05);
  color: var(--orange);
  text-decoration: none;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  transition: all 0.22s ease;
}

.brand-pill:hover {
  background: rgba(247,147,26,0.10);
  border-color: rgba(247,147,26,0.34);
  transform: translateY(-1px);
}

h1 {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(48px, 5vw, 78px);
  line-height: 0.94;
  letter-spacing: -0.055em;
  font-weight: 650;
  color: #f5f2ea;
  text-shadow:
    0 0 40px rgba(255,255,255,0.04),
    0 0 120px rgba(247,147,26,0.04);
}

h1 span {
  display: block;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-actions a {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 152px;
  min-height: 58px;
  padding: 0 24px;
  border-radius: 999px;

  border: 1px solid rgba(247,147,26,0.26);

  background:
    linear-gradient(
      180deg,
      rgba(247,147,26,0.10),
      rgba(247,147,26,0.04)
    );

  color: #fff4dd;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  backdrop-filter: blur(18px);

  box-shadow:
    0 0 28px rgba(247,147,26,0.08),
    inset 0 1px 0 rgba(255,255,255,0.05);

  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.top-actions a::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at top,
      rgba(247,147,26,0.16),
      transparent 65%
    );
  opacity: 0;
  transition: opacity 0.22s ease;
}

.top-actions a:hover {
  transform: translateY(-2px);

  border-color: rgba(247,147,26,0.52);

  background:
    linear-gradient(
      180deg,
      rgba(247,147,26,0.16),
      rgba(247,147,26,0.07)
    );

  box-shadow:
    0 0 42px rgba(247,147,26,0.22),
    0 16px 36px rgba(0,0,0,0.42);
}

.top-actions a:hover::before {
  opacity: 1;
}

.radio-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 280px;
  gap: 18px;
  align-items: start;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 22px;
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 90px rgba(0,0,0,0.4);
}

.panel-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.panel-heading span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 20px var(--orange);
}

.panel-heading p {
  margin: 0;
  color: var(--orange);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
}

.metric {
  padding: 18px 0;
  border-bottom: 1px solid rgba(247,147,26,0.1);
}

.metric:last-child {
  border-bottom: 0;
}

.metric label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.metric strong {
  display: block;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.metric small {
  color: var(--orange);
}

.hero-metric strong {
  font-size: 48px;
}

.price-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 12px;
}

.refresh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(247,147,26,0.22);
  background: rgba(255,255,255,0.03);
  color: #f7931a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.refresh-btn:hover {
  background: rgba(247,147,26,0.12);
  border-color: rgba(247,147,26,0.34);
  transform: translateY(-1px);
}

.center-stage {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 50% 22%, rgba(247,147,26,0.18), transparent 32%),
    linear-gradient(180deg, #080808, #010101);
  min-height: 0;
  box-shadow: 0 24px 90px rgba(0,0,0,0.5);
}

.hero-glow {
  position: absolute;
  inset: 16% 18%;
  background: rgba(247,147,26,0.22);
  filter: blur(120px);
}

.binary-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent 0 48px,
      rgba(247,147,26,0.18) 49px,
      transparent 50px
    );
  animation: radioDrift 18s linear infinite;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 22px;
  height: 100%;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--orange);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12px;
}

.hero-kicker span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 18px var(--orange);
}

.video-shell {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(247,147,26,0.24);
  background: #000;
  box-shadow:
    0 0 90px rgba(247,147,26,0.14),
    0 24px 70px rgba(0,0,0,0.55);
}

.video-shell iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16/8.4;
  border: 0;
}

.scene-card {
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.scene-card:hover {
  transform: translateY(-2px);
}

.hero-copy {
  margin-top: 8px;
}

.hero-copy h2 {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: clamp(24px, 3.2vw, 46px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  text-shadow: 0 0 28px rgba(247,147,26,0.22);
}

.hero-copy p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.scene-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 14px;
  padding: 0;
}

.scene-card {
  position: relative;
  height: 82px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(247,147,26,0.18);
  background: #000;
  cursor: pointer;
  padding: 0;
}

.scene-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.64;
}

.scene-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(0,0,0,0.82));
}

.scene-card span {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 8px;
  z-index: 2;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.scene-card:hover,
.scene-card.active {
  border-color: rgba(247,147,26,0.48);
  box-shadow: 0 0 26px rgba(247,147,26,0.14);
}

.scene-card.active span {
  color: var(--orange);
}

.station-card {
  border-color: rgba(247,147,26,0.42);
  box-shadow:
    0 0 34px rgba(247,147,26,0.18),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

.radio-command {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  padding: 12px;
  border: 1px solid rgba(247,147,26,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.025);
  backdrop-filter: blur(18px);
}

.command-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.command-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(247,147,26,0.22);
  background: rgba(247,147,26,0.07);
  color: var(--orange);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.command-links a:hover {
  background: rgba(247,147,26,0.12);
  border-color: rgba(247,147,26,0.34);
}

@media (max-width: 1200px) {
  .radio-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {

  .command-links {
    flex-direction: column;
  }

  .command-links a {
    min-height: 48px;
  }
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .hero-panel {
    min-height: auto;
  }

  .hero-copy h2 {
    letter-spacing: 0.06em;
  }
}

@keyframes radioDrift {
  from {
    transform: translateY(-40px);
  }

  to {
    transform: translateY(40px);
  }
}
@media (max-width: 700px) {
  .radio-shell {
    width: min(100% - 28px, 520px);
    padding: 14px 0 22px;
  }

  .topbar {
    margin-bottom: 14px;
    padding: 8px 0 16px;
  }

  h1 {
    font-size: clamp(44px, 15vw, 64px);
    letter-spacing: -0.06em;
  }

  .radio-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .center-stage {
    order: 1;
  }

  .metrics-panel {
    order: 2;
  }

  .network-panel {
    order: 3;
  }

  .panel {
    border-radius: 24px;
    padding: 18px;
  }

  .hero-inner {
    padding: 16px;
  }

  .hero-kicker {
    margin-bottom: 14px;
    font-size: 11px;
    letter-spacing: 0.18em;
  }

  .video-shell {
    border-radius: 18px;
  }

  .video-shell iframe {
    aspect-ratio: 16 / 9;
  }

  .scene-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(92px, 1fr));
    gap: 10px;
    overflow-x: auto;
    padding: 2px 2px 10px;
    margin-top: 14px;
    scrollbar-width: none;
  }

  .scene-row::-webkit-scrollbar {
    display: none;
  }

  .scene-card {
    width: 92px;
    height: 92px;
    border-radius: 18px;
  }

  .scene-card span {
    left: 8px;
    right: 8px;
    bottom: 8px;
    font-size: 9px;
    line-height: 1.1;
    text-align: center;
  }

  .station-overlay {
    padding: 8px;
  }

  .station-pill {
    font-size: 8px;
    padding: 3px 7px;
  }

  .top-actions {
    width: 100%;
    gap: 10px;
  }

  .top-actions a {
    min-width: 0;
    flex: 1;
    min-height: 48px;
    padding: 0 14px;
    font-size: 12px;
  }

  .radio-command {
    border-radius: 24px;
  }
}

@media (max-width: 700px) {
  .scene-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: visible;
    padding: 0;
    margin-top: 14px;
  }

  .scene-card {
    width: 100%;
    height: 72px;
    border-radius: 18px;
  }

  .scene-card img {
    object-fit: cover;
    opacity: 0.58;
  }

  .scene-card span {
    left: 18px;
    right: 18px;
    bottom: 18px;
    font-size: 13px;
    text-align: left;
  }

  .station-overlay {
    padding: 12px 16px;
  }

  .station-overlay span {
    font-size: 13px;
  }

  .station-pill {
    font-size: 8px;
  }
}

@media (max-width: 700px) {
  .radio-shell {
    width: min(100% - 32px, 460px);
    padding: 18px 0 28px;
  }

  .radio-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .center-stage {
    order: 1;
  }

  .metrics-panel {
    order: 2;
  }

  .network-panel {
    order: 3;
  }

  .hero-panel,
  .panel {
    border-radius: 30px;
    padding: 18px;
    background:
      radial-gradient(circle at 50% 0%, rgba(247,147,26,0.10), transparent 38%),
      rgba(10,10,10,0.78);
  }

  .hero-inner {
    padding: 0;
  }

  .hero-kicker {
    margin-bottom: 16px;
    font-size: 11px;
    letter-spacing: 0.18em;
  }

  .video-shell {
    border-radius: 22px;
  }

  .video-shell iframe {
    aspect-ratio: 16 / 9;
  }

  .scene-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 16px;
  }

  .scene-card {
    width: 100%;
    height: 78px;
    border-radius: 22px;
  }

  .scene-card img {
    opacity: 0.48;
  }

  .scene-card::after {
    background:
      linear-gradient(90deg, rgba(0,0,0,0.86), rgba(0,0,0,0.28)),
      linear-gradient(180deg, transparent, rgba(0,0,0,0.50));
  }

  .scene-card span {
    left: 22px;
    right: 22px;
    bottom: 25px;
    font-size: 15px;
    letter-spacing: 0.12em;
    text-align: left;
  }

  .station-overlay {
    padding: 14px 18px;
  }

  .station-overlay span {
    font-size: 15px;
    letter-spacing: 0.12em;
  }

  .station-pill {
    font-size: 8px;
    padding: 4px 8px;
  }

  .metric {
    padding: 20px 0;
  }

  .hero-metric strong {
    font-size: 54px;
  }

  .metric strong {
    font-size: 38px;
  }

  .metric label {
    font-size: 15px;
  }

  .price-meta {
    gap: 16px;
  }

  .refresh-btn {
    padding: 10px 18px;
  }

  .top-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .top-actions a {
    min-width: 0;
    min-height: 54px;
  }

  .radio-command {
    border-radius: 28px;
  }

  .command-links {
    width: 100%;
  }

  .command-links a {
    width: 100%;
  }
}