:root {
  --gold: #d92128;
  --gold-hi: #ff4a4f;
  --ink: #080d13;
  --ink-2: #111b26;
  --cream: #eef3f7;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  /* Atmosfera de estádio, alinhada à identidade da Rádio Futebol. */
  background-color: #07111c;
  background-image:
    radial-gradient(circle at 50% -10%, rgba(255,255,255,.34) 0 1px, transparent 2px),
    radial-gradient(ellipse at 50% 0%, rgba(217,33,40,.34), transparent 45%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 72px),
    linear-gradient(160deg, #111f2d 0%, #07111c 55%, #020508 100%);
  background-size: 28px 28px, auto, auto, auto;
  background-attachment: fixed;
  font-family: "Oswald", system-ui, sans-serif;
  color: var(--ink);
  min-height: 100dvh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
}

.stage {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto 0;
}

/* Cartão central — coluna que cabe em uma tela */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 430px);
  background: #f7f7f7;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  /* No desktop, libera a altura: o card cresce até a foto caber inteira */
  .card { height: auto; }
}

/* Foto do apresentador — exibida inteira */
.hero {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  background: #0b121a;
}
.hero__photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

/* Painel de controle escuro */
.panel {
  position: relative;
  flex: 0 0 auto;
  margin-top: 0;
  padding: 12px 14px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 100%);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.25);
}

/* ---- Player ---- */
.player {
  display: flex;
  align-items: center;
  gap: 14px;
}

.play {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: #fff;
  background: radial-gradient(circle at 35% 30%, #ff5b4d, #e2231a 60%, #b3140d);
  box-shadow: 0 6px 18px rgba(226, 35, 26, 0.45), inset 0 0 0 2px rgba(255, 255, 255, 0.12);
  transition: transform 0.12s ease, box-shadow 0.15s ease;
}
.play:hover { transform: scale(1.06); }
.play:active { transform: scale(0.94); }
.play:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.play svg { width: 24px; height: 24px; fill: currentColor; }

.player.is-playing .ico-play { display: none; }
.player:not(.is-playing) .ico-pause { display: none; }

.player__info {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold-hi);
}
.live__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff3b30;
  box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.6);
}
.player.is-playing .live__dot { animation: pulse 1.6s ease-out infinite; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(255, 59, 48, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}
.player__name {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Volume */
.player__vol {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.vol-btn {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s ease;
}
.vol-btn:hover { background: rgba(255, 255, 255, 0.16); }
.vol-btn:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.vol-btn svg { width: 18px; height: 18px; fill: currentColor; }
.player.is-muted .ico-vol { display: none; }
.player:not(.is-muted) .ico-muted { display: none; }

.vol-range {
  -webkit-appearance: none;
  appearance: none;
  width: 52px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold) var(--vol, 80%), rgba(255,255,255,0.2) var(--vol, 80%));
  cursor: pointer;
}
.vol-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold-hi);
  box-shadow: 0 0 6px rgba(240, 198, 74, 0.8);
  cursor: pointer;
}
.vol-range::-moz-range-thumb {
  width: 14px; height: 14px;
  border: 0;
  border-radius: 50%;
  background: var(--gold-hi);
  cursor: pointer;
}

/* ---- Redes sociais ---- */
.social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}
.social__btn {
  border: 0;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.social__btn svg { width: 20px; height: 20px; fill: currentColor; }
.social__btn:hover { transform: translateY(-2px) scale(1.04); }
.social__btn:active { transform: scale(0.96); }
.social__btn:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.social__btn--ig {
  background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
  box-shadow: 0 6px 16px rgba(220, 39, 67, 0.4);
}
.social__btn--wa {
  background: linear-gradient(180deg, #2bd66a, #1faa53);
  box-shadow: 0 6px 16px rgba(31, 170, 83, 0.4);
}
.social__btn--share {
  background: linear-gradient(180deg, #df3036, #99151a);
  box-shadow: 0 6px 16px rgba(217, 33, 40, 0.38);
}

/* ---- Site ---- */
.site {
  display: block;
  text-align: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--gold-hi);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.05em;
  transition: color 0.15s ease;
}
.site:hover { color: #fff; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
