/* index.css - estilos de la portada */

/* la portada ocupa justo la pantalla y no se desplaza */
html:has(.portada),
html:has(.portada) body {
  height: 100%;
  overflow: hidden;
}

.portada {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  grid-template-columns: minmax(0, 1fr);
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  padding: 84px 16px 28px;
}

.hero {
  align-self: center;
  translate: 0 -23px;
}

/* Pantallas bajas: el rótulo y los botones se encogen para que todo quepa sin scroll */
@media (max-height: 860px) { .hero { scale: .9; } }
@media (max-height: 760px) { .hero { scale: .8; } .portada__pie p { display: none; } }
@media (max-height: 660px) { .hero { scale: .7; } }

/* En pantallas estrechas, el pie deja sitio al botón de pausa de la esquina */
@media (max-width: 640px) { .portada__pie { padding-inline: 48px; } }

.portada__rotulo { padding-bottom: clamp(28px, 6vh, 64px); }

/* "TO THE" entre los dos renglones del titular */
.enlace {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: .42em 0 .3em;
  font-family: var(--gothic);
  font-weight: 700;
  font-size: clamp(13px, 1.4vw, 17px);
  letter-spacing: .62em;
  color: var(--oro-rotulo);
}

.enlace span { margin-right: -.62em; }

/* rombos a los lados */
.enlace::before,
.enlace::after {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--sol);
  transform: rotate(45deg);
}

.botonera {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(var(--ancho-botones), 100%);
  margin: 0 auto;
}

/* ---------- Pie ---------- */

.portada__pie {
  align-self: end;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 32px;
  text-align: center;
}

.portada__pie p {
  margin: 0;
  font-size: 12px;
  letter-spacing: .24em;
  color: rgba(251, 238, 226, .62);
}

.sello {
  display: inline-block;
  padding: 3px 10px 3px 12px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .28em;
  color: var(--oro-vivo);
  border: 1px solid rgba(242, 196, 98, .55);
  background: rgba(var(--velo), .55);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
