@charset "UTF-8";

/* ── Wiki / Guias Hero — Apex Tale Bronze Theme v2 ── */

.wiki-hero {
  --wh-bg-0: #0c0b0a;
  --wh-bg-1: #17120b;
  --wh-bg-2: #1e1810;
  --wh-bronze: #7b5b2d;
  --wh-bronze-mid: #8a6a3a;
  --wh-bronze-bright: #c79c4d;
  --wh-gold: #c8a96b;
  --wh-gold-mid: #d4b879;
  --wh-gold-hi: #f0d18a;
  --wh-text: #ffffff;
  --wh-text-soft: #d7c8a1;
  --wh-text-muted: #a39888;
  --wh-hero-h: clamp(420px, 42svh, 480px);
}

body.body--guias-hero .wiki-hero {
  --gh-hero-min-h: var(--wh-hero-h);
  min-height: var(--wh-hero-h);
  background: var(--wh-bg-0);
  border-bottom-color: var(--wh-bronze);
  box-shadow:
    inset 0 -1px 0 rgba(199, 156, 77, 0.12),
    inset 0 1px 0 rgba(199, 156, 77, 0.06),
    0 2rem 4rem var(--mmo-shadow, rgba(0, 0, 0, 0.55));
}

body.body--guias-hero .wiki-hero + .section.section_guias-wiki {
  position: relative;
  z-index: 46;
  margin-top: 0 !important;
  padding-top: 1rem !important;
}

body.body--guias-hero .wiki-hero + .section.section_guias-wiki::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  height: clamp(24px, 4vw, 46px);
  pointer-events: none;
  background: linear-gradient(180deg, #0c0b0a 0%, rgba(12, 11, 10, 0.86) 44%, rgba(12, 11, 10, 0) 100%);
}

/* ── Cinematic layers ── */

.wiki-hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 58% 74% at 50% 42%, transparent 0%, rgba(12, 11, 10, 0.22) 50%, rgba(16, 14, 10, 0.64) 100%),
    linear-gradient(90deg, rgba(12, 11, 10, 0.72) 0%, transparent 28%, transparent 72%, rgba(12, 11, 10, 0.72) 100%);
}

.wiki-hero__glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  mix-blend-mode: screen;
}

.wiki-hero__glow--moon {
  top: clamp(2rem, 6vw, 4rem);
  left: 50%;
  z-index: 4;
  width: clamp(24rem, 50vw, 56rem);
  height: clamp(16rem, 30vw, 34rem);
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(255, 194, 98, 0.12) 0%, rgba(123, 91, 45, 0.14) 38%, transparent 72%);
  filter: blur(3rem) saturate(1.05);
  opacity: 0.75;
  animation: wh-glow-pulse 7s ease-in-out infinite;
}

.wiki-hero__particles {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.38;
  background-image:
    radial-gradient(1px 1px at 10% 18%, rgba(255, 255, 255, 0.28), transparent),
    radial-gradient(1px 1px at 24% 62%, rgba(240, 209, 138, 0.22), transparent),
    radial-gradient(1px 1px at 58% 14%, rgba(199, 156, 77, 0.22), transparent),
    radial-gradient(1px 1px at 76% 48%, rgba(255, 255, 255, 0.16), transparent),
    radial-gradient(1px 1px at 90% 72%, rgba(200, 169, 107, 0.2), transparent),
    radial-gradient(2px 2px at 42% 38%, rgba(214, 170, 75, 0.14), transparent);
  animation: wh-particles-drift 20s linear infinite;
}

body.body--guias-hero .wiki-hero .guias-hero__overlay--readability {
  background:
    radial-gradient(circle at center, rgba(255, 194, 98, 0.06), transparent 60%),
    linear-gradient(180deg, rgba(12, 11, 10, 0.22) 0%, rgba(16, 14, 10, 0.74) 100%);
}

/* ── Side characters ── */

.wiki-hero__char {
  position: absolute;
  bottom: 0;
  z-index: 1;
  width: clamp(14rem, 22vw, 28rem);
  height: 88%;
  pointer-events: none;
  opacity: 0.15;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  filter: saturate(0.85) contrast(1.05);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.35) 18%, #000 55%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.35) 18%, #000 55%, #000 100%);
}

.wiki-hero__char--left {
  left: clamp(-2rem, -1vw, 0);
  background-image: linear-gradient(135deg, rgba(123, 91, 45, 0.35), transparent 60%);
}

.wiki-hero__char--right {
  right: clamp(-2rem, -1vw, 0);
  background-image: linear-gradient(225deg, rgba(123, 91, 45, 0.35), transparent 60%);
}

.wiki-hero__char--left::after,
.wiki-hero__char--right::after {
  content: "";
  position: absolute;
  inset: 10% 5% 0;
  background: radial-gradient(ellipse 50% 70% at 50% 80%, rgba(199, 156, 77, 0.22), transparent 70%);
  opacity: 0.55;
}

/* ── Container & copy ── */

body.body--guias-hero .wiki-hero__container {
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  min-height: 0;
  padding-top: calc(var(--gh-nav-offset, 5rem) + clamp(1.25rem, 3.5vw, 6rem));
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

/* Breadcrumb flat — metallic champagne (no pill) */
body.body--guias-hero .wiki-hero .guias-hero__breadcrumb {
  margin-inline: auto;
  margin-bottom: 32px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  gap: 0.65rem;
  color: #d4c19c;
  font-family: "Cinzel", "AngelusMedieval", Georgia, serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  opacity: 1;
}

body.body--guias-hero .wiki-hero .guias-hero__crumb,
body.body--guias-hero .wiki-hero .guias-hero__sep {
  background: linear-gradient(
    180deg,
    #f7f1e4 0%,
    #ebe0c8 18%,
    #d8c9a8 38%,
    #c4b08a 55%,
    #a89068 74%,
    #8a7350 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: #d4c19c;
  text-shadow: none;
  filter:
    drop-shadow(0 1px 0 rgba(255, 248, 230, 0.22))
    drop-shadow(0 -1px 0 rgba(40, 28, 12, 0.35))
    drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

@supports (-webkit-text-fill-color: transparent) {
  body.body--guias-hero .wiki-hero .guias-hero__crumb,
  body.body--guias-hero .wiki-hero .guias-hero__sep {
    -webkit-text-fill-color: transparent;
  }
}

body.body--guias-hero .wiki-hero .guias-hero__crumb:hover,
body.body--guias-hero .wiki-hero .guias-hero__crumb:focus-visible {
  background: linear-gradient(
    180deg,
    #fffaf0 0%,
    #f2e8d0 20%,
    #e0d0a8 45%,
    #c9b07a 70%,
    #a88850 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: #e0d0a8;
  text-shadow: none;
  transform: none;
}

@supports (-webkit-text-fill-color: transparent) {
  body.body--guias-hero .wiki-hero .guias-hero__crumb:hover,
  body.body--guias-hero .wiki-hero .guias-hero__crumb:focus-visible {
    -webkit-text-fill-color: transparent;
  }
}

body.body--guias-hero .wiki-hero .guias-hero__crumb--current {
  opacity: 1;
}

.wiki-hero__center {
  position: relative;
  z-index: 11;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
}

/* Layered metal title: base fill + ::before bevel depth + ::after top shine */
.wiki-hero__title {
  position: relative;
  z-index: 0;
  display: inline-block;
  margin: 0 0 22px;
  /* Near white-gold → saturated warm gold → antique bronze (no charcoal) */
  background: linear-gradient(
    180deg,
    #fffef8 0%,
    #fff9e8 6%,
    #f7ebc0 14%,
    #efd48a 24%,
    #e0b84a 38%,
    #d4a84a 50%,
    #c08a32 64%,
    #9a6824 78%,
    #6b4420 90%,
    #5a3a14 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: #d4a84a;
  font-family: "Cinzel", "AngelusMedieval", Georgia, serif;
  font-size: clamp(76px, 7.2vw, 108px);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 0.9;
  text-transform: uppercase;
  /* Soft dark depth + subtle warm gold bloom */
  filter:
    drop-shadow(0 0 5px rgba(224, 184, 74, 0.28))
    drop-shadow(0 0 16px rgba(184, 134, 46, 0.14))
    drop-shadow(0 1px 0 rgba(255, 250, 230, 0.4))
    drop-shadow(0 2px 0 rgba(90, 58, 20, 0.42))
    drop-shadow(0 6px 8px rgba(0, 0, 0, 0.42))
    drop-shadow(0 12px 22px rgba(0, 0, 0, 0.3));
}

@supports (-webkit-text-fill-color: transparent) {
  .wiki-hero__title {
    -webkit-text-fill-color: transparent;
    text-shadow: none;
  }
}

/* Depth + carved inner bevel (solid duplicate behind clipped fill) */
.wiki-hero__title::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: -1;
  color: #6b4420;
  -webkit-text-fill-color: #6b4420;
  background: none;
  filter: none;
  pointer-events: none;
  user-select: none;
  letter-spacing: inherit;
  font: inherit;
  text-transform: inherit;
  text-shadow:
    /* Carved ridge — bright top inner light (white-gold) */
    0 1px 0 rgba(255, 254, 248, 0.98),
    0 2px 0 rgba(255, 242, 200, 0.7),
    0 3px 0 rgba(232, 200, 120, 0.28),
    /* Dark bottom inner facets */
    0 -1px 0 rgba(50, 28, 6, 0.78),
    0 -2px 0 rgba(35, 18, 4, 0.5),
    /* Side bevel facets */
    1px 0 0 rgba(255, 248, 220, 0.5),
    -1px 0 0 rgba(50, 28, 6, 0.6),
    1px 1px 0 rgba(255, 236, 180, 0.35),
    -1px -1px 0 rgba(35, 18, 4, 0.4),
    /* Soft emboss extrusion */
    0 3px 1px rgba(45, 26, 8, 0.48),
    1px 4px 3px rgba(25, 14, 4, 0.36),
    0 5px 8px rgba(0, 0, 0, 0.28);
}

/* Top-edge shine overlay — lit from above + upper facet band */
.wiki-hero__title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 252, 240, 0.78) 8%,
    rgba(255, 240, 190, 0.42) 18%,
    rgba(255, 220, 140, 0.18) 30%,
    rgba(212, 168, 74, 0.06) 42%,
    transparent 55%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: none;
  pointer-events: none;
  user-select: none;
  letter-spacing: inherit;
  font: inherit;
  text-transform: inherit;
  opacity: 0.92;
}

.wiki-hero .wiki-hero__subtitle {
  margin: 0 0 28px;
  /* Pale champagne → muted bronze (carved metal, matching reference) */
  background: linear-gradient(
    180deg,
    #f7f1e4 0%,
    #ebe0c8 18%,
    #d8c9a8 38%,
    #c4b08a 55%,
    #a89068 74%,
    #8a7350 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: #d4c19c;
  font-family: "Cinzel", "AngelusMedieval", Georgia, serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.42em;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
  /* Soft bevel + depth against dark hero */
  filter:
    drop-shadow(0 1px 0 rgba(255, 248, 230, 0.28))
    drop-shadow(0 -1px 0 rgba(40, 28, 12, 0.4))
    drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55))
    drop-shadow(0 2px 5px rgba(0, 0, 0, 0.32));
}

@supports (-webkit-text-fill-color: transparent) {
  .wiki-hero .wiki-hero__subtitle {
    -webkit-text-fill-color: transparent;
  }
}

.wiki-hero__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(420px, 78%);
  margin: 0;
  opacity: 0.95;
}

.wiki-hero__divider-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

/* ── Responsive ── */

@media (max-width: 991.98px) {
  .wiki-hero {
    --wh-hero-h: clamp(400px, 44svh, 460px);
  }

  .wiki-hero__title {
    font-size: clamp(52px, 10vw, 78px);
    letter-spacing: 0.12em;
  }

  .wiki-hero .wiki-hero__subtitle {
    letter-spacing: 0.24em;
    white-space: normal;
    text-align: center;
  }

  .wiki-hero__char {
    opacity: 0.08;
    width: clamp(10rem, 18vw, 16rem);
  }
}

@media (max-width: 767.98px) {
  body.body--guias-hero .wiki-hero {
    --wh-hero-h: auto;
    min-height: 0;
  }

  body.body--guias-hero .wiki-hero__container {
    padding-top: calc(var(--gh-nav-offset, 5rem) + 1.5rem);
    padding-bottom: clamp(3rem, 14vw, 5rem);
  }

  body.body--guias-hero .wiki-hero .guias-hero__breadcrumb {
    margin-bottom: 1.5rem;
  }

  .wiki-hero__title {
    margin-bottom: 14px;
    font-size: clamp(44px, 12vw, 60px);
  }

  .wiki-hero .wiki-hero__subtitle {
    margin-bottom: 1.25rem;
    letter-spacing: 0.18em;
  }

  .wiki-hero__divider {
    width: min(280px, 82%);
  }

  .wiki-hero__char {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .wiki-hero__title,
  .wiki-hero__subtitle,
  .wiki-hero__divider {
    animation: wh-enter 0.85s cubic-bezier(0.2, 1, 0.3, 1) both;
  }

  .wiki-hero__subtitle {
    animation-delay: 0.1s;
  }

  .wiki-hero__divider {
    animation-delay: 0.18s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wiki-hero__glow--moon,
  .wiki-hero__particles {
    animation: none !important;
  }
}

@keyframes wh-enter {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wh-glow-pulse {
  0%,
  100% {
    opacity: 0.62;
    transform: translateX(-50%) scale(1);
  }

  50% {
    opacity: 0.85;
    transform: translateX(-50%) scale(1.05);
  }
}

@keyframes wh-particles-drift {
  0% {
    background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
  }

  100% {
    background-position: 120% 80%, 60% 140%, 180% 40%, 90% 160%, 140% 60%, 70% 120%;
  }
}
