/* =========================================================
   Crowd outro
   ========================================================= */

.crowd-outro {
  position: relative;

  width: 100%;
  overflow: hidden;

  background: var(--color-ink);
}

.crowd-outro__image {
  display: block;

  width: 100%;
  height: auto;

  transform: translateY(1px);
}

.crowd-outro.is-on-display .crowd-outro__image {
  animation: crowd-live-intro 900ms steps(1, end) both;
}

@keyframes crowd-live-intro {
  0% {
    transform: translate(-2%, 1px) scale(1.025);
  }

  18% {
    transform: translate(1.25%, 1px) scale(1.025);
  }

  34% {
    transform: translate(-0.8%, 1px) scale(1.025);
  }

  50% {
    transform: translate(0.55%, 1px) scale(1.025);
  }

  68% {
    transform: translate(-0.25%, 1px) scale(1.015);
  }

  82% {
    transform: translate(0.12%, 1px) scale(1.008);
  }

  100% {
    transform: translate(0, 1px) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .crowd-outro.is-on-display .crowd-outro__image {
    animation: none;
  }
}

/* =========================================================
   Rocktober Fest Ajuda 2026
   Footer
   ========================================================= */

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: end;
  gap: var(--space-5);

  width: 100%;
  max-width: none;

  margin: 0;
  padding: var(--space-5) var(--section-inline);

  background: var(--color-ink);
  color: var(--color-paper);

  border-top: 1px solid rgba(242, 229, 204, 0.22);
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
}

.site-footer__brand strong {
  font-family: var(--font-display);
  font-size: var(--text-lg);
}

.site-footer__brand span {
  font-size: var(--text-xs);
}

.site-footer__nav,
.site-footer__meta,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.site-footer a {
  font-size: var(--text-xs);

  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

/* Footer privacy control and production credits. */
.site-footer__privacy {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: var(--text-xs);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.site-footer__privacy:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 4px;
}

.site-footer__credits {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: stretch;
  text-align: center;
  padding-top: var(--space-2);
  border-top: 1px solid rgba(242, 229, 204, 0.22);
  opacity: 0.7;
}

.site-footer__credits p {
  margin: 0;
  font-size: var(--text-xs);
  line-height: 1.6;
  max-width: none;
  width: 100%;
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 900px) {
  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
    gap: var(--space-3);
  }
}