/* ===== INDEX: BEDROCK HUB HERO — full artwork, natural aspect ratio ===== */

@import url("https://fonts.cdnfonts.com/css/minecraft-4");

.depth-banner {
  position: relative;
  width: 100%;
  max-width: none;
  line-height: normal;
}

/* Hero height = image height. No fixed/min viewport height. No crop. */
.depth-banner--library {
  --hub-green: #62a336;
  --hub-green-bright: #7ec850;
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  max-width: none;
  overflow: visible;
  background: #060504;
}

.depth-banner--library picture {
  display: block;
  width: 100%;
  line-height: 0;
}

.depth-banner--library .depth-bg-layer {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  vertical-align: top;
  pointer-events: none;
  user-select: none;
}

/* No full-hero dark wash — artwork keeps its own lighting */
.depth-banner--library .depth-overlay {
  display: none !important;
}

/* Text layered over central hall — image is never moved or cropped */
.depth-hub-inner {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 12;
  width: min(820px, 92vw);
  margin: 0;
  padding: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  pointer-events: auto;
  animation: none !important;
}

.depth-hub-chevron {
  color: var(--hub-green-bright);
  font-size: 0.6rem;
  line-height: 1;
  margin-bottom: 0.5rem;
  opacity: 0.85;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.65);
  animation: hubChevronBob 2.4s ease-in-out infinite;
}

@keyframes hubChevronBob {
  0%, 100% { transform: translateY(0); opacity: 0.65; }
  50% { transform: translateY(4px); opacity: 1; }
}

.depth-hub-title {
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.02em;
}

.depth-hub-title-line {
  display: block;
  font-family: "Minecraft", "Russo One", sans-serif;
  font-size: clamp(2rem, 5.8vw, 4.35rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: unset;
  text-shadow:
    0.06em 0 #1c1c1c,
    0.06em 0.06em #1c1c1c,
    0.12em 0.06em #141414,
    0.12em 0.12em #0d0d0d;
}

.depth-hub-title-line--accent {
  font-size: clamp(2.15rem, 6.4vw, 4.85rem);
  color: #7ec850;
  letter-spacing: 0.05em;
  text-shadow:
    0.06em 0 #1e3310,
    0.06em 0.06em #1e3310,
    0.12em 0.06em #152409,
    0.12em 0.12em #0c1505;
}

.depth-hub-lead {
  margin: 0 auto 1.25rem;
  max-width: 36em;
  font-family: var(--font-body, "IBM Plex Sans", sans-serif);
  font-size: clamp(0.875rem, 1.6vw, 1.0625rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.94);
  font-weight: 400;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.85);
}

/* Quick-link pills */
.depth-hub-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}

.depth-hub-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  font-family: var(--font-body, "IBM Plex Sans", sans-serif);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.depth-hub-pill:hover {
  border-color: rgba(98, 163, 54, 0.55);
  background: rgba(98, 163, 54, 0.14);
  color: #fff;
}

.depth-hub-pill-icon {
  font-size: 0.8125rem;
  line-height: 1;
}

/* Scroll hint — bottom of artwork */
.depth-hub-scroll {
  position: absolute;
  bottom: 0.65rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 12;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
  transition: color 0.15s;
}

.depth-hub-scroll:hover {
  color: var(--hub-green-bright);
}

.depth-hub-scroll-chevron {
  color: var(--hub-green-bright);
  font-size: 0.55rem;
  animation: hubChevronBob 2.4s ease-in-out infinite;
}

.depth-copy-stack { display: none; }
.depth-atmosphere { display: none; }

@media (max-width: 900px) {
  .depth-hub-inner {
    top: 38%;
    left: 50%;
    width: min(94%, 24rem);
  }
}

@media (max-width: 768px) {
  .depth-hub-pills {
    gap: 0.35rem;
  }

  .depth-hub-pill {
    font-size: 0.5625rem;
    padding: 0.45rem 0.6rem;
  }

  .depth-hub-title-line {
    font-size: clamp(1.65rem, 9vw, 2.75rem);
    letter-spacing: 0.05em;
  }

  .depth-hub-title-line--accent {
    font-size: clamp(1.75rem, 9.5vw, 2.95rem);
  }

  .depth-hub-lead {
    font-size: 0.875rem;
    margin-bottom: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .depth-hub-chevron,
  .depth-hub-scroll-chevron { animation: none; }
}

/* Content sections below hero */
.bedrock-intro {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .bedrock-intro { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; }
}

.bedrock-intro-img {
  width: 100%;
  border: 2px solid var(--mc-border);
  display: block;
  border-radius: 0;
}

.bedrock-intro-panel {
  padding: 2rem;
}

@media (min-width: 768px) {
  .bedrock-intro-panel { padding: 2.5rem; }
}

.use-block-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .use-block-grid { grid-template-columns: repeat(3, 1fr); }
}

.use-block {
  background: #1c1e1b;
  border: 2px solid #333830;
  padding: 1.25rem;
  min-height: 100px;
}

.use-block.span-2 { grid-column: span 2; }

.final-cta {
  background: linear-gradient(180deg, #1a1c19 0%, #121411 100%);
  border-top: 2px solid var(--mc-border);
  text-align: center;
  padding: 5rem 1rem;
}

.final-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  text-transform: uppercase;
  margin: 0 0 1rem;
}
