body {
  background-color: #080c18 !important;
  background-image: url('../assets/final/v2-assets/background-pixel.png') !important;
  background-size: auto 100% !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: #ffffff;
  min-height: 100vh;
}

.page-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1.75rem 4rem;
}

/* Full-bleed banner — lives outside .page-wrap so it touches viewport edges */
.page-banner-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 2rem;
}

.page-banner {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: pixelated;
}

/* Location links overlaid in a row across the banner */
.banner-nav {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-evenly;
  align-items: flex-end;
  padding: 0 4rem;
}

/* Reset hotspot absolute positioning for flex-row context */
.banner-nav .hotspot {
  position: static;
  transform: none;
}

.banner-nav .hotspot-label {
  color: var(--color-base-cream);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.page-header {
  margin-bottom: 1.5rem;
}

.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  color: #ffffff;
}

.page-header .back-link {
  display: inline-block;
  margin-bottom: 0.6rem;
  font-family: 'Pixelify Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: #ffffff;
  text-decoration: none;
}

.page-header .back-link:hover {
  text-decoration: underline;
}

/* Dialogue text — no box, white */
.dialogue {
  font-family: 'Pixelify Sans', sans-serif;
  font-size: 0.74rem;
  line-height: 1.8;
  letter-spacing: 0.03em;
  text-transform: lowercase;
  color: #ffffff;
  max-width: 360px;
  margin-bottom: 2rem;
}

/* Region mini-map — hotspot canvas inside region index pages */
.region-map {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 9;
  background: var(--color-base-sage);
  border: 2px solid var(--color-ink);
  margin-bottom: 1.5rem;
  overflow: visible;
}

.region-map-bg {
  position: absolute;
  inset: 0;
}

/* Text location list (below mini-map; also serves as mobile fallback) */
.location-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 440px;
  margin-bottom: 1.5rem;
}

.location-list a {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  text-decoration: none;
  font-family: 'Pixelify Sans', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: lowercase;
  transition: border-color 0.12s ease;
}

.location-list a:hover {
  border-color: rgba(255, 255, 255, 0.7);
}

.loc-name {
  font-weight: 600;
}

.loc-desc {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Locked list entry */
.location-list .locked {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.55rem 0.8rem;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  font-family: 'Pixelify Sans', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.35);
  cursor: default;
}

/* ── Location card grid (region index pages) ───────────────────────── */

.location-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.location-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--color-ink);
}

.card-icon {
  width: 200px;
  height: 200px;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.location-card:not(.location-card--locked):hover .card-icon img {
  filter: drop-shadow(2px 4px 10px rgba(0, 0, 0, 0.55)) brightness(1.1);
}

.location-card:not(.location-card--locked):active .card-icon img {
  filter: drop-shadow(1px 2px 4px rgba(0, 0, 0, 0.4)) brightness(0.95);
}

/* Floating tilted icon images inside cards */

@keyframes float-card-a {
  from { transform: rotate(-3deg) translateY(0); }
  to   { transform: rotate(-3deg) translateY(-6px); }
}
@keyframes float-card-b {
  from { transform: rotate(2.5deg) translateY(0); }
  to   { transform: rotate(2.5deg) translateY(-5px); }
}
@keyframes float-card-c {
  from { transform: rotate(-2deg) translateY(0); }
  to   { transform: rotate(-2deg) translateY(-7px); }
}
@keyframes float-card-d {
  from { transform: rotate(4deg) translateY(0); }
  to   { transform: rotate(4deg) translateY(-6px); }
}

.card-icon img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  display: block;
  image-rendering: pixelated;
  filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.4));
}

.card--press .card-icon img {
  animation: float-card-a 3.8s ease-in-out infinite alternate;
}
.card--post-office .card-icon img {
  animation: float-card-b 4.2s ease-in-out infinite alternate;
  animation-delay: -1.1s;
}
.card--bulletin .card-icon img {
  animation: float-card-c 3.5s ease-in-out infinite alternate;
  animation-delay: -0.7s;
}
.card--theater .card-icon img {
  animation: float-card-d 4.6s ease-in-out infinite alternate;
  animation-delay: -1.8s;
}

.card-label {
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  text-align: center;
  color: #ffffff;
}

.card-sub {
  font-size: 0.62rem;
  letter-spacing: 0.03em;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  margin-top: 0.15rem;
}

.location-card--locked {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

.location-card--locked .card-icon img {
  filter: drop-shadow(1px 2px 4px rgba(0, 0, 0, 0.25));
}


/* ── Hero banner (Notion-style full-bleed cover) ─────────────────────
   Fixed height, edge-to-edge. Image fills and crops to fit the width.
   As viewport grows the image reveals more; shrinking crops from sides. */

.hero-banner {
  width: 100%;
  height: 240px;
  overflow: hidden;
  line-height: 0;
  margin-bottom: 0;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  image-rendering: pixelated;
  display: block;
}

/* ── Region banner placeholder (shown when no banner image yet) ──────── */

.region-banner-placeholder {
  width: 100%;
  height: 120px;
  background: linear-gradient(180deg, #2a1f28 0%, #483d45 100%);
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--color-ink);
  display: flex;
  align-items: flex-end;
  padding: 0 1.75rem 1rem;
}

.region-banner-placeholder h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--color-base-cream);
  text-transform: lowercase;
  letter-spacing: 0.04em;
  font-weight: 400;
}

/* Stub marker — remove when page is built out */
.stub-note {
  margin-top: 3rem;
  font-family: 'Pixelify Sans', sans-serif;
  font-size: 0.68rem;
  color: #bbb;
  border-top: 1px solid #e0e0e0;
  padding-top: 0.75rem;
  letter-spacing: 0.04em;
}
