:root {
  --blue: #1369ff;
  --blue-2: #48c2ff;
  --green: #1ab61a;
  --green-2: #63e565;
  --red: #ef1b1b;
  --red-2: #ff5b49;
  --white: #ffffff;
  --muted: #d6dde8;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #061019;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--white);
  background:
    linear-gradient(rgba(3, 8, 16, 0.48), rgba(3, 8, 16, 0.76)),
    url('bg-grauna.png') center / cover no-repeat fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 26%, rgba(19, 105, 255, 0.20), transparent 26%),
    radial-gradient(circle at 80% 24%, rgba(239, 27, 27, 0.16), transparent 24%),
    radial-gradient(circle at 78% 72%, rgba(26, 182, 26, 0.18), transparent 24%);
}

.page-shell {
  position: relative;
  width: min(1380px, calc(100% - 34px));
  margin: 0 auto;
  padding: 32px 0 24px;
}

.hero-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  gap: 28px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(5, 10, 18, .54), rgba(8, 15, 22, .28));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 28px 80px rgba(0,0,0,.40), inset 0 1px 0 rgba(255,255,255,.06);
  overflow: hidden;
}

.overlay-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(19,105,255,.10), transparent 32%),
    linear-gradient(225deg, rgba(26,182,26,.08), transparent 30%),
    linear-gradient(325deg, rgba(239,27,27,.08), transparent 28%);
}

.hero-left,
.hero-right {
  position: relative;
  z-index: 1;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-wrap {
  width: fit-content;
  padding: 16px;
  border-radius: 26px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 15px 30px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.08);
}

.station-logo {
  display: block;
  width: min(100%, 440px);
  max-height: 440px;
  object-fit: contain;
  border-radius: 18px;
}

.hero-copy {
  margin-top: 26px;
  max-width: 620px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--blue-2);
  font-size: 13px;
  letter-spacing: 3px;
  font-weight: 700;
}

.social-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-btn {
  min-width: 126px;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(8, 13, 20, .55);
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-weight: 700;
  letter-spacing: .4px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,.20);
}

.facebook:hover { border-color: var(--blue-2); }
.instagram:hover { border-color: var(--red-2); }
.youtube:hover { border-color: var(--red); }
.tiktok:hover { border-color: var(--green-2); }

.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.player-card {
  position: relative;
  padding: 24px 24px 18px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(145deg, rgba(7, 12, 22, .72), rgba(4, 8, 12, .58));
  box-shadow: 0 25px 60px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.06);
}

.player-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(19,105,255,.10), transparent 24%, transparent 76%, rgba(26,182,26,.10)),
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 24%);
}

.player-top,
.player-body,
.cover-section,
.player-controls,
.player-message {
  position: relative;
  z-index: 1;
}

.player-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-2);
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 13px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

.player-card.playing .dot {
  animation: pulse 1.45s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 27, 27, .55); }
  70% { box-shadow: 0 0 0 12px rgba(239, 27, 27, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 27, 27, 0); }
}

.stream-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: var(--green-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.player-body {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  align-items: center;
  padding: 22px 0 20px;
}

.play-button {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  border: 3px solid var(--blue-2);
  background: radial-gradient(circle at 30% 30%, rgba(72, 194, 255, .18), rgba(19, 105, 255, .10)), rgba(4, 10, 16, .62);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 0 0 12px rgba(19,105,255,.05), 0 0 36px rgba(19,105,255,.20), inset 0 0 20px rgba(72,194,255,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.play-button:hover {
  transform: scale(1.03);
  box-shadow: 0 0 0 14px rgba(19,105,255,.06), 0 0 42px rgba(19,105,255,.26), inset 0 0 24px rgba(72,194,255,.08);
}

.play-button svg {
  width: 50px;
  height: 50px;
  fill: currentColor;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.65));
}

.mini-label {
  margin: 0 0 8px;
  color: var(--green-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.track-info h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}

.slogan {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 15px;
}

.waveform {
  height: 78px;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
}

.waveform span {
  width: 5px;
  flex: 0 0 5px;
  height: 10px;
  border-radius: 4px;
  background: rgba(255,255,255,.25);
  transform-origin: center;
}

.player-card.playing .waveform span {
  background: linear-gradient(to top, var(--blue), var(--red-2), var(--green));
  animation: equalizer .78s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * -.045s);
}

@keyframes equalizer {
  from {
    height: 10px;
    opacity: .65;
  }
  to {
    height: calc(16px + (var(--i) % 9) * 7px);
    opacity: 1;
  }
}

.cover-section {
  margin-bottom: 18px;
}

.cover-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.cover-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(239, 27, 27, .12);
  border: 1px solid rgba(239, 27, 27, .28);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.cover-note {
  color: var(--muted);
  font-size: 12px;
}

.cover-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
}

.cover-image {
  width: 120px;
  height: 120px;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  border: 2px solid rgba(255,255,255,.14);
  box-shadow: 0 10px 24px rgba(0,0,0,.24);
  background: rgba(255,255,255,.08);
}

.cover-meta strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.cover-meta span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.player-controls {
  display: grid;
  grid-template-columns: auto minmax(130px, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.icon-button {
  border: 0;
  background: none;
  color: #fff;
  padding: 0;
  cursor: pointer;
}

.icon-button svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

input[type="range"] {
  width: 100%;
  cursor: pointer;
  accent-color: var(--green);
}

.stream-link {
  color: var(--blue-2);
  text-decoration: none;
  font-weight: 700;
}

.stream-link:hover {
  color: var(--green-2);
}

.player-message {
  min-height: 18px;
  margin: 12px 0 0;
  color: #ffd5d2;
  text-align: center;
  font-size: 12px;
}

.footer-bar {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(5, 10, 18, .56);
  color: var(--muted);
  font-size: 13px;
}

.divider {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,.18);
}

.footer-bar a {
  color: var(--green-2);
  text-decoration: none;
}

.footer-bar a:hover {
  color: var(--blue-2);
}

@media (max-width: 1020px) {
  .hero-card {
    grid-template-columns: 1fr;
  }

  .logo-wrap {
    margin: 0 auto;
  }

  .hero-copy,
  .social-row {
    justify-content: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 700px) {
  .page-shell {
    width: min(100% - 18px, 1380px);
    padding-top: 18px;
  }

  .hero-card {
    padding: 18px;
  }

  .player-body,
  .cover-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .track-info,
  .cover-meta {
    width: 100%;
  }

  .play-button {
    width: 102px;
    height: 102px;
  }

  .cover-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .player-controls {
    grid-template-columns: auto 1fr;
  }

  .stream-link {
    grid-column: 1 / -1;
    text-align: center;
  }

  .footer-bar {
    flex-direction: column;
  }

  .divider {
    display: none;
  }
}
