/* =========================================================
   REDIRECT PAGES
   Shared styling for small noindex redirect helper pages:
   - characters.html
   - species.html
   - stories.html
   ========================================================= */

body.redirect-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background:
    radial-gradient(circle at 50% 12%, rgba(var(--redirect-accent-rgb), 0.14), transparent 28%),
    linear-gradient(180deg, #070707, #111);
  text-align: center;
}

body.redirect-page--characters {
  --redirect-accent-rgb: 255, 214, 126;
  --redirect-border-alpha: 0.18;
  --redirect-link-border-alpha: 0.34;
}

body.redirect-page--species {
  --redirect-accent-rgb: 175, 238, 175;
  --redirect-border-alpha: 0.22;
  --redirect-link-border-alpha: 0.34;
}

body.redirect-page--stories {
  --redirect-accent-rgb: 142, 219, 255;
  --redirect-border-alpha: 0.22;
  --redirect-link-border-alpha: 0.32;
}

.redirect-page main {
  max-width: 720px;
  padding: 1.4rem;
  border-radius: 20px;
  border: 1px solid rgba(var(--redirect-accent-rgb), var(--redirect-border-alpha));
  background: rgba(0, 0, 0, 0.72);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.34);
}

.redirect-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.redirect-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(var(--redirect-accent-rgb), var(--redirect-link-border-alpha));
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  background: rgba(var(--redirect-accent-rgb), 0.08);
}
