
* {
  box-sizing: border-box;
}

:root {
  --blue: #003b80;
  --dark-blue: #001b45;
  --red: #e5232b;
  --yellow: #ffdf00;
  --white: #ffffff;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(160deg, #0066b3 0%, #003b80 40%, #001333 100%);
  color: var(--white);
  font-family: Arial, sans-serif;
}

.app {
  width: 100%;
  max-width: 720px;
  margin: auto;
  padding: 24px 18px;
}

/* EN-TÊTE */

.top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 25px 10px;
  border-bottom: 2px solid var(--yellow);
  text-align: center;
}

.brand {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--yellow);
}

.onair {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 3px;
}

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

/* ACCUEIL */

.hero {
  text-align: center;
  padding: 45px 10px 40px;
}

.eyebrow {
  color: var(--yellow);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 3px;
}

.hero h1 {
  margin: 22px 0 12px;
  font-size: clamp(35px, 9vw, 58px);
  line-height: 1.08;
  font-weight: 900;
  color: var(--yellow);
}

.hero h1 span {
  color: var(--white);
}

.tagline {
  color: var(--yellow);
  font-size: 17px;
  font-weight: bold;
}

/* ÉGALISEUR */

.equalizer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  height: 35px;
  margin-top: 25px;
}

.equalizer i {
  display: block;
  width: 4px;
  height: 16px;
  border-radius: 5px;
  background: var(--red);
}

.equalizer i:nth-child(3n) {
  height: 28px;
  background: var(--yellow);
}

.equalizer i:nth-child(2n) {
  height: 20px;
}

/* CARTES */

.card {
  background: rgba(0, 18, 48, 0.85);
  border: 1px solid rgba(255, 223, 0, 0.5);
  border-radius: 20px;
  padding: 25px 20px;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* LECTEUR */

.player-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.player-heading h2,
.show h2 {
  margin: 8px 0;
  font-size: 23px;
}

.subtitle {
  color: #d5e6ff;
  font-size: 14px;
}

.live-pill {
  color: var(--yellow);
  border: 1px solid var(--red);
  border-radius: 20px;
  padding: 7px 12px;
  font-size: 11px;
  font-weight: bold;
}

audio {
  display: block;
  width: 100%;
  margin: 25px 0 15px;
}

.status {
  color: #d5e6ff;
  font-size: 13px;
  text-align: center;
}

.genres {
  color: var(--yellow);
  font-size: 11px;
  font-weight: bold;
  text-align: center;
  letter-spacing: 1px;
  line-height: 1.8;
}

/* ÉMISSION */

.show {
  text-align: center;
}

.show-time {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: bold;
  letter-spacing: 2px;
}

/* BOUTONS */

.actions {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 25px 0;
}

.action {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px;
  border-radius: 15px;
  background: rgba(0, 25, 65, 0.9);
  border: 1px solid rgba(255, 223, 0, 0.5);
  color: var(--white);
  text-decoration: none;
}

.action.primary {
  background: var(--red);
  border: 2px solid var(--yellow);
}

.action-icon {
  font-size: 25px;
}

.action span:nth-child(2) {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 5px;
}

.action strong {
  font-size: 15px;
}

.action small {
  color: #ffffff;
  font-size: 12px;
}

.action b {
  color: var(--yellow);
  font-size: 20px;
}

/* PIED DE PAGE */

footer {
  text-align: center;
  padding: 25px 10px;
  border-top: 1px solid var(--yellow);
}

footer p {
  color: var(--yellow);
  font-weight: bold;
  letter-spacing: 2px;
}

footer small {
  color: #d5e6ff;
  font-size: 10px;
  letter-spacing: 1px;
}

/* MOBILE */

@media (max-width: 480px) {
  .app {
    padding: 16px 14px;
  }

  .brand {
    font-size: 25px;
  }

  .hero {
    padding: 30px 5px;
  }

  .card {
    padding: 20px 16px;
  }

  .player-heading h2,
  .show h2 {
    font-size: 20px;
  }
}
