/* Orbit Rodeo · portada (provisional). Solo la cargan las cuatro portadas. */

/* Cabecera: Dusty sobre la órbita de Ceres, como el gráfico destacado de la tienda */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero-sky,
.hero-sky img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-sky {
  z-index: -2;
}

.hero-sky img {
  object-fit: cover;
  object-position: 50% 40%;
}

/* Cielo más oscuro a la izquierda, brillo cálido detrás de Dusty y el planeta fundido abajo */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(45% 55% at 88% 22%, rgb(255 179 92 / 0.14), transparent 70%),
    linear-gradient(90deg, rgb(7 8 11 / 0.82), rgb(7 8 11 / 0.3) 55%, rgb(7 8 11 / 0)),
    linear-gradient(rgb(7 8 11 / 0.25), rgb(7 8 11 / 0) 30%, rgb(7 8 11 / 0) 62%, var(--bg));
}

.hero-body {
  display: grid;
  gap: 1.5rem;
  padding-top: 0.5rem;
}

.logo {
  font-family: "Michroma", sans-serif;
  font-size: clamp(2.75rem, 1rem + 9.5vw, 6.5rem);
  letter-spacing: 0.03em;
  line-height: 1.12;
  text-transform: uppercase;
}

.logo span {
  display: block;
}

.logo .rodeo {
  color: var(--hat);
}

/* La línea del lazo */
.logo::after {
  content: "";
  display: block;
  width: 6.2em;
  max-width: 100%;
  aspect-ratio: 460 / 24;
  margin-top: 0.28em;
  background: url("/img/lazo.svg") 0 50% / contain no-repeat;
}

.tagline {
  margin-top: 1.1rem;
  font-size: clamp(1.0625rem, 0.95rem + 0.9vw, 1.5rem);
}

.hero-dusty {
  justify-self: end;
  width: min(72%, 20rem);
  margin-right: -0.25rem;
  -webkit-mask-image: linear-gradient(#000 90%, transparent);
  mask-image: linear-gradient(#000 90%, transparent);
}

@media (min-width: 48rem) {
  .hero-body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
    align-items: end;
    column-gap: 2rem;
    padding-top: 1.5rem;
  }

  .hero-copy {
    align-self: center;
    padding-bottom: 3rem;
  }

  .hero-dusty {
    width: 100%;
    margin-right: 0;
  }
}

/* Secciones */
.section {
  padding-top: clamp(3.5rem, 2.5rem + 4vw, 6rem);
}

.section h2 {
  font-size: clamp(1.125rem, 0.95rem + 0.9vw, 1.5rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

:lang(zh) .section h2 {
  letter-spacing: 0.08em;
}

.section h2::after {
  content: "";
  display: block;
  width: 8rem;
  aspect-ratio: 460 / 24;
  margin-top: 0.9rem;
  background: url("/img/lazo.svg") 0 50% / contain no-repeat;
}

/* Qué es */
.about p {
  max-width: 48rem;
  margin-top: 1.75rem;
  font-size: clamp(1.125rem, 0.9rem + 0.9vw, 1.625rem);
  line-height: 1.6;
}

/* Tres rasgos */
.traits ul,
.cast ul,
.shots ul {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.traits ul {
  display: grid;
  gap: 1rem;
}

.traits li {
  padding: 1.5rem 1.5rem 1.75rem;
  border: 1px solid var(--rule);
  background: linear-gradient(rgb(30 52 62 / 0.45), rgb(30 52 62 / 0.1));
}

.traits img {
  width: 3.5rem;
  height: 3.5rem;
}

.traits h3 {
  margin-top: 1.25rem;
  color: var(--hat);
  font-size: 0.9375rem;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

:lang(zh) .traits h3 {
  font-size: 1.0625rem;
  letter-spacing: 0.04em;
}

.traits p {
  margin-top: 0.75rem;
  color: var(--muted);
}

@media (min-width: 48rem) {
  .traits ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Capturas (BRIEF §3.4): el hueco está comentado en el HTML de cada portada.
   De 4 a 6 por idioma, 1920 × 1080 en WebP, en img/capturas/<idioma>/. */
.shots ul {
  display: grid;
  grid-auto-columns: 86%;
  grid-auto-flow: column;
  gap: 1rem;
  margin-inline: calc(var(--gutter) * -1);
  padding: 0 var(--gutter) 0.5rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: var(--gutter);
  scroll-snap-type: x mandatory;
}

.shots li {
  scroll-snap-align: start;
}

.shots img {
  width: 100%;
  border: 1px solid var(--rule);
}

@media (min-width: 48rem) {
  .shots ul {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-inline: 0;
    padding: 0;
    overflow: visible;
  }
}

@media (min-width: 64rem) {
  .shots ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Personajes: el color de cada retrato es el de su avatar en el juego (portraits.gd) */
.cast ul {
  display: grid;
  gap: 1.5rem;
}

.who {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  align-content: start;
  align-items: start;
  gap: 1.25rem;
}

.who-dusty {
  --tone: #1a1e28;
  --glow: #333b4e;
  --ring: var(--hat);
}

.who-bev {
  --tone: var(--petrol);
  --glow: #2f5464;
  --ring: var(--accent);
}

.who-manager {
  --tone: #10283c;
  --glow: #1d4766;
  --ring: #8cd9ff;
}

.who-pic {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-bottom: 2px solid var(--ring);
  background: radial-gradient(circle at 50% 30%, var(--glow), var(--tone) 72%);
}

.who-pic img {
  width: auto;
  max-width: none;
  height: 94%;
}

/* El Gerente siempre llega en holograma */
.who-manager .who-pic::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(rgb(140 217 255 / 0.08) 0 1px, transparent 1px 4px);
}

.who h3 {
  font-size: 1.0625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.who-role {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.who-note {
  margin-top: 0.6rem;
}

@media (min-width: 48rem) {
  .cast ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .who {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .who h3 {
    margin-top: 1.25rem;
  }
}

/* Llamada a la acción */
.cta-box {
  padding: clamp(2rem, 1.5rem + 2.5vw, 3.25rem) 1.5rem;
  border: 2px solid var(--accent);
  background: radial-gradient(70% 140% at 50% 0%, rgb(255 179 92 / 0.1), transparent 70%);
  text-align: center;
}

.cta h2::after {
  margin-inline: auto;
}

.cta p {
  margin-top: 1.25rem;
}

.cta a {
  overflow-wrap: anywhere;
}
