/* MU Umbrella — Fortaleza */
:root {
  --fortaleza-gold: #c69a4b;
  --fortaleza-ivory: #f0e3c7;
  --fortaleza-ink: #090f18;
  --fortaleza-surface: url('../img/fortaleza-stone.webp');
}

body #weNavbar {
  background: linear-gradient(180deg, #0c1524, var(--fortaleza-ink));
  border-top: 1px solid var(--fortaleza-gold);
  border-bottom: 2px solid #8e622f;
  box-shadow: 0 4px 0 #302b27, 0 10px 20px #0007;
}

#weNavbar .we-brand .we-brand-logo {
  width: clamp(132px, 13vw, 190px);
  height: 46px;
  object-fit: contain;
}

html body #weNavbar :is(#navbar li > a, .we-navbar-actions > .we-btn, #weLangToggle) {
  color: var(--fortaleza-ivory);
  border-color: #82653a;
  border-radius: 4px;
  background: linear-gradient(180deg, #18273b, #0b121d);
  box-shadow: inset 0 0 0 1px #1b1510, 0 2px 3px #0005;
  animation: none;
}

html body #weNavbar :is(#navbar li > a, .we-navbar-actions > .we-btn, #weLangToggle):is(:hover, :focus-visible),
html body #weNavbar #navbar :is(li.active > a, a[aria-current="page"]) {
  color: #fff5dc;
  border-color: #e6bd72;
  background: linear-gradient(180deg, #123761, #0c1827);
}

html body #weNavbar :is(#navbar li > a, .we-navbar-actions > .we-btn, #weLangToggle) .we-icon {
  color: #dfba75;
}

body .we-info-page .we-info-hero,
body .we-info-page .we-info-stat-card {
  background-color: #0e1928;
  background-image: linear-gradient(105deg, #101d2a45, #070d17c9), var(--fortaleza-surface);
  background-size: cover;
  border: 1px solid #a87c3d;
  border-radius: 5px;
  box-shadow: inset 0 0 0 3px #0a1019, inset 0 0 0 4px #73522c, 0 5px 14px #0007;
}

body .we-info-page .we-info-hero {
  border-top: 6px solid #625345;
  border-bottom: 6px solid #625345;
}

body .we-info-page .we-info-hero-icon,
body .we-info-page .we-info-stat-icon {
  color: #f1cf8b;
  background-color: #152132;
}

body .we-info-page .we-info-stat-card {
  animation: none;
}

body .we-info-page .we-info-stat-card:hover {
  border-color: #edc27a;
}

body .we-info-page .we-info-stat-icon .we-icon,
body .we-info-page .we-info-section-title .we-icon {
  color: #e6ba68;
  stroke: currentColor;
  filter: none;
}

body .we-info-page .we-info-stat-label,
body .we-info-page .we-info-stat-value {
  color: var(--fortaleza-ivory);
  text-shadow: 0 2px 4px #000;
}

body .we-info-title .we-hero-title-logo,
body .we-hero-main .we-hero-title-logo {
  width: min(100%, 540px);
  height: auto;
  max-height: none;
  animation: none;
  filter: drop-shadow(0 4px 8px #000a);
}

body .we-info-page .we-info-table-wrap {
  border-color: #765933;
}

/* Float the hero artwork and community plates without moving their links. */
@media (prefers-reduced-motion: no-preference) {
  body .we-info-title .we-hero-title-logo,
  body .we-hero-main .we-hero-title-logo {
    animation: muUmbrellaCommunityFloat 5s ease-in-out infinite;
  }

  body .we-hero-main .mu-umbrella-platforms > img,
  body .we-hero-main .mu-umbrella-community > a > img {
    animation: muUmbrellaCommunityFloat 3.8s ease-in-out infinite;
  }

  body .we-hero-main .mu-umbrella-platforms > img { animation-delay: -0.9s; }
  body .we-hero-main .mu-umbrella-discord > img { animation-delay: -1.9s; }
  body .we-hero-main .mu-umbrella-community > a:is(:hover, :focus-visible) > img {
    animation-play-state: paused;
  }
}

@media (prefers-reduced-motion: reduce) {
  body .we-info-title .we-hero-title-logo,
  body .we-hero-main .we-hero-title-logo,
  body .we-hero-main .mu-umbrella-platforms > img,
  body .we-hero-main .mu-umbrella-community > a > img {
    animation: none;
  }
}
