.site-with-footer { display: flex; flex-direction: column; }
.weurld-footer { margin-top: auto; }

.recreo-home,
.recreo-guide {
  display: block;
  width: 100%;
  margin: 0 auto;
  padding: 28px 22px 0;
}

.recreo-home { max-width: 1120px; }
.recreo-guide { max-width: 800px; padding-bottom: 64px; }

.recreo-home + .weurld-footer {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-top: 24px;
}

.recreo-home + .weurld-footer .recreo-marquee { margin-top: auto; }

.weurld-footer-logo {
  display: block;
  width: clamp(132px, 30vw, 210px);
  height: auto;
  margin: auto;
}
.recreo-marquee { width: 100%; margin: 0; }
.recreo-marquee .marquee-track { pointer-events: none; }
.recreo-marquee .marquee-track span { min-width: 100vw; }
.recreo-marquee:hover .marquee-track { animation-play-state: running; }

.recreo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(28px, 7vw, 100px);
  padding: clamp(20px, 4vw, 48px);
}

.recreo-kicker {
  margin: 0 0 8px;
  color: #bdbdbd;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.recreo-home :is(h1, h2),
.recreo-guide :is(h1, h2) { color: #00ff00; text-transform: uppercase; }

.recreo-hero h1,
.guide-intro h1 {
  display: block;
  letter-spacing: -0.045em;
  line-height: 1;
}

.recreo-hero h1 { font-size: clamp(3.5rem, 10vw, 7rem); }

.recreo-lead {
  max-width: 38ch;
  color: #dedede;
  line-height: 1.55;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.recreo-actions,
.guide-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 22px;
}

.recreo-cta {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(108px, 12vw, 132px);
  aspect-ratio: 1;
  border-radius: 50%;
}

.recreo-play-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  fill: #fff;
  font: 700 11px Arial, Helvetica, sans-serif;
  letter-spacing: 0.8px;
  animation: recreo-spin 20s linear infinite;
}

@keyframes recreo-spin {
  to { transform: rotate(1turn); }
}

.recreo-play-icon {
  display: grid;
  place-items: center;
  width: 66%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffde33;
  color: #000;
  animation: recreo-play-colors 18s steps(1, end) infinite;
}

.recreo-play-icon svg { width: 52%; height: 52%; }
.recreo-cta:active .recreo-play-icon { scale: 0.97; }

/* Six chapter colors, three seconds each, as in the game cover. */
@keyframes recreo-play-colors {
  0% { background-color: #ffde33; }
  16.6667% { background-color: #ff9e17; }
  33.3333% { background-color: #ff0000; }
  50% { background-color: #91b342; }
  66.6667% { background-color: #efb58a; }
  83.3333% { background-color: #ceb2a1; }
}

.recreo-text-link { color: #00ff00; text-underline-offset: 4px; }
.recreo-more-link { text-decoration: none; white-space: nowrap; }
.recreo-more-dots > span { animation: recreo-more-dot 1.8s step-end infinite backwards; }
.recreo-more-dots > span:nth-child(2) { animation-delay: 150ms; }
.recreo-more-dots > span:nth-child(3) { animation-delay: 300ms; }

@keyframes recreo-more-dot {
  0%, 75% { opacity: 0; }
  12% { opacity: 1; }
}

.recreo-shot { display: grid; place-items: center; width: min(38vw, 420px); }
.recreo-shot figure {
  grid-area: 1 / 1;
  width: 100%;
  margin: 0;
  animation: recreo-shot-fade 12s ease-in-out infinite;
}
.recreo-shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #333;
  border-radius: 14px;
}
.recreo-shot .recreo-shot-mobile { max-width: 224px; }
.recreo-shot .recreo-shot-desktop { opacity: 0; animation-delay: -6s; }
.recreo-shot figcaption { margin-top: 8px; color: #bdbdbd; font-size: 0.82rem; text-align: center; }

@keyframes recreo-shot-fade {
  0%, 42%, 100% { opacity: 1; }
  50%, 92% { opacity: 0; }
}

.weurld-links { position: relative; margin-top: 20px; padding-top: 21px; text-align: center; }
.weurld-divider {
  position: absolute;
  inset: -3.5px 0 auto;
  width: 100%;
  height: 8px;
  fill: none;
  stroke: #00ff00;
  stroke-width: 1px;
  pointer-events: none;
}
.weurld-divider { overflow: visible; }
.weurld-divider-line {
  filter: drop-shadow(0 0 3px #00ff00) drop-shadow(0 0 6px #00ff00);
}

.weurld-links h2 { font-size: 15pt; text-transform: lowercase; }
.weurld-links .socials { margin: 24px auto 0; }
.weurld-links .links p { margin: 24px 0 0; }
.weurld-links .guorld-link { gap: 4px; color: #fff; }
.weurld-links .guorld-link a { color: inherit; font-weight: 400; text-decoration: none; }
.weurld-links .guorld-link a:is(:hover, :focus-visible) { color: #00ff00; }

.guide-intro { margin-bottom: 26px; }
.guide-intro h1 { display: flex; align-items: center; justify-content: flex-start; gap: 16px; font-size: clamp(2rem, 7vw, 4.5rem); }
.guide-title-ball {
  width: clamp(38px, 9vw, 72px);
  height: auto;
  flex: none;
  animation: recreo-spin 18s linear infinite;
}
.guide-version { font-size: 0.48em; white-space: nowrap; letter-spacing: 0; }
.guide-intro-copy { margin: 20px 0 0; color: #dedede; font-size: 1.05rem; line-height: 1.65; }
.guide-section { padding: 20px 0; border-top: 1px solid #333; line-height: 1.5; }
.guide-section h2 { margin: 0 0 12px; font-size: clamp(1.35rem, 3vw, 1.8rem); line-height: 1.25; }
.guide-section p, .guide-section dd { color: #dedede; }
.guide-section p { margin: 0; }
.guide-section dl { display: grid; gap: 14px 24px; margin: 0; }
.guide-section dt { font-weight: 700; }
.guide-section dd { margin: 2px 0 0; }
.guide-section kbd { padding: 1px 5px; border: 1px solid #666; border-radius: 4px; }
.guide-illustrated {
  display: grid;
  grid-template-columns: min(22%, 118px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 3vw, 24px);
}
.guide-still, .guide-portal { display: block; width: 100%; height: auto; }
.guide-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.guide-items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.guide-items img { display: block; object-fit: contain; margin-bottom: 8px; }
.guide-footer { justify-content: space-between; margin-top: 0; padding-top: 20px; border-top: 1px solid #333; }
.guide-back { display: grid; place-items: center; width: 44px; height: 44px; font-size: 1.75rem; text-decoration: none; }

@media (max-width: 650px) {
  .recreo-home, .recreo-guide { padding: 14px 14px 0; }
  .recreo-guide { padding-bottom: 48px; }
  .recreo-hero {
    --recreo-banner-height: 144px;
    position: relative;
    isolation: isolate;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 8px 6px 20px;
  }
  .recreo-hero .recreo-lead { margin: 10px 0 0; line-height: 1.4; }
  .recreo-hero .recreo-actions { min-height: var(--recreo-banner-height); margin-top: 10px; }
  .recreo-shot {
    position: absolute;
    z-index: -1;
    inset: auto -14px 20px;
    width: auto;
    height: var(--recreo-banner-height);
    background: url("assets/recreo-portada-patio.jpg") center 49.5% / cover no-repeat;
  }
  .recreo-shot::before {
    content: "";
    position: absolute;
    inset: -52px 0 0;
    background: url("assets/recreo-portada-nino.webp") right 12% top / min(84vw, 294px) auto no-repeat;
  }
  .recreo-shot figure { display: none; }
  .recreo-play-ring { filter: drop-shadow(0 1px 2px #000); }
  .guide-intro h1 { gap: 10px; }
  .guide-controls, .guide-items { grid-template-columns: minmax(0, 1fr); }
  .guide-items > div { position: relative; min-height: 70px; padding-left: 78px; }
  .guide-items img { position: absolute; top: 0; left: 0; width: 62px; height: 62px; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .recreo-more-dots > span { animation: none; }
  .recreo-play-ring, .recreo-play-icon, .guide-title-ball, .recreo-shot figure { animation: none; }
  .recreo-shot .recreo-shot-desktop { display: none; }
}

.about-copy .support-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
}
.about-copy .support-links a {
  color: #fff;
  font: inherit;
  text-decoration: none;
}
.about-copy .support-links a:hover,
.about-copy .support-links a:focus-visible { color: inherit; font-weight: 700; }

.about-copy .support-intro { text-align: center; font-weight: 700; }

.recreo-landing :is(h1, h2, .header-nav a),
.recreo-guide :is(h1, h2),
.site-with-footer .header-nav a:is(:hover, [aria-current="page"]),
.recreo-text-link,
.recreo-marquee,
.about-copy {
  text-shadow: 0 0 3px #00ff00, 0 0 6px #00ff00;
}

.about-copy a { text-shadow: none; }
.about-copy .support-links a:is(:hover, :focus-visible) { text-shadow: inherit; }
