:root {
  --navy: #072d44;
  --navy-soft: #0f5e87;
  --blue: #18a2d2;
  --cream: #f7f2db;
  --cream-deep: #ece4c7;
  --text: #08293d;
  --shadow: 0 24px 60px rgba(5, 28, 42, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Chakra Petch", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(24, 162, 210, 0.14), transparent 32%),
    linear-gradient(180deg, #fbf7e9 0%, var(--cream) 100%);
}

.landing {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.station-card {
  width: min(100%, 860px);
  padding: 2rem 1.5rem 1.5rem;
  border: 1px solid rgba(7, 45, 68, 0.1);
  border-radius: 28px;
  background: rgba(255, 252, 242, 0.9);
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.brand-icon {
  display: block;
  width: clamp(78px, 12vw, 94px);
  height: auto;
}

.brand-wordmark {
  display: block;
  width: min(100%, 320px);
  height: auto;
}

.tagline,
.whatsapp-copy,
.station-link {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.tagline {
  max-width: 38ch;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.player-shell {
  display: grid;
  gap: 0.85rem;
  padding: 1.15rem;
  border: 1px solid rgba(7, 45, 68, 0.1);
  border-radius: 28px;
  background: var(--cream-deep);
}

.player-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 7rem;
  padding: 1rem 1.25rem;
  border: 0;
  border-radius: 24px;
  background: var(--navy);
  color: #f8fbff;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.4rem, 4.2vw, 2rem);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  cursor: pointer;
}

.player-button.offline {
  opacity: 0.5;
}

.player-button.playing {
  background: var(--blue);
  color: #072d44;
}

.player-status {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  text-align: center;
}

#audio {
  display: none;
}

.actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.whatsapp-copy {
  max-width: 40ch;
  text-align: center;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  background: #25d366;
  color: #062a17;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.station-link {
  display: block;
  margin-top: 1.25rem;
  text-align: center;
  color: var(--navy-soft);
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.16em;
}

@media (max-width: 720px) {
  .station-card {
    padding: 1.35rem 1rem 1rem;
    border-radius: 22px;
  }

  .brand-icon {
    width: clamp(70px, 22vw, 86px);
  }

  .brand-wordmark {
    width: min(100%, 280px);
  }

  .player-button {
    min-height: 5.25rem;
  }
}
