/* ═══════════════════════════════════════
   WoGL — World of GL
   wogl.io | worldofgl.com | mundogl.com
   hello@wogl.io | hola@mundogl.com

   Proprietary. All rights reserved.
   ═══════════════════════════════════════ */

.academy-collections-map {
  --room-ambient: #7058a4;
  --room-ambient-alt: #27748a;
  position: relative;
  isolation: isolate;
  min-height: calc(100dvh - var(--academy-header-h) - 72px);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 24% 18%, color-mix(in srgb, var(--room-ambient) 18%, transparent), transparent 38%),
    radial-gradient(ellipse at 78% 76%, color-mix(in srgb, var(--room-ambient-alt) 16%, transparent), transparent 42%),
    linear-gradient(132deg, #0d0913 0%, #050611 48%, #050b14 100%);
}

.academy-collections-map__cosmos {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.academy-collections-map__cosmos--showcase {
  border: 0;
}

.academy-collections-map::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 24%, transparent 72%, rgba(0, 0, 0, 0.52));
}

.academy-collections-map__intro {
  position: absolute;
  z-index: 8;
  top: 50%;
  left: 50%;
  width: min(700px, 72vw);
  text-align: center;
  transform: translate(-50%, -50%);
}

.academy-collections-map__eyebrow {
  font: 600 9px/1.4 Outfit, sans-serif;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.academy-collections-map__eyebrow {
  margin: 0 0 18px;
  color: #e8c89a;
}

.academy-collections-map__intro h1 {
  margin: 0;
  color: #eee7dd;
  font: 300 clamp(64px, 7.4vw, 118px)/0.9 Outfit, sans-serif;
  letter-spacing: -0.065em;
  text-shadow: 0 9px 42px rgba(0, 0, 0, 0.72);
}

.academy-collections-map__intro h1 em {
  display: block;
  margin-top: 13px;
  color: #d3b17f;
  font-family: Outfit, sans-serif;
  font-weight: 400;
}

.academy-collections-map__intro-copy {
  width: min(430px, 90%);
  margin: 20px auto 0;
  color: rgba(238, 231, 221, 0.76);
  font: italic 14px/1.65 Outfit, sans-serif;
}

.academy-collections-map__coming-link,
.academy-section-coming-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(232, 200, 154, 0.52);
  border-radius: 999px;
  color: #e8c89a;
  background: rgba(7, 5, 14, 0.38);
  font: 600 9px/1 Outfit, sans-serif;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.academy-collections-map__coming-link {
  margin-top: 24px;
}

.academy-collections-map__coming-link:hover,
.academy-collections-map__coming-link:focus-visible,
.academy-section-coming-action:hover,
.academy-section-coming-action:focus-visible {
  border-color: #e8c89a;
  color: #fff;
  background: rgba(232, 200, 154, 0.1);
}

.academy-collections-map__coming-link:focus-visible,
.academy-section-coming-action:focus-visible {
  outline: 1px solid #fff;
  outline-offset: 4px;
}

.academy-collections-map--coming-soon .academy-collections-map__intro {
  width: min(760px, 82vw);
}

.academy-collections-map--coming-soon .academy-collections-map__nodes {
  display: none;
}

.academy-section-card.academy-section-card--coming {
  cursor: default;
  background: linear-gradient(90deg, color-mix(in srgb, var(--section-accent) 7%, transparent), transparent 58%);
}

.academy-section-card--coming .academy-section-summary {
  min-height: 176px;
}

.academy-section-coming-copy {
  margin: 12px 0 0;
  color: rgba(238, 232, 223, 0.72);
  font: 300 16px/1.5 Outfit, sans-serif;
}

.academy-section-coming-action {
  align-self: center;
  white-space: nowrap;
}

.academy-collections-map__nodes {
  position: absolute;
  z-index: 12;
  inset: 0;
  pointer-events: none;
}

.academy-collections-map__node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px;
  border: 0;
  color: #eee7dd;
  background: transparent;
  text-align: left;
  cursor: pointer;
  pointer-events: auto;
}

.academy-collections-map__node--nw { top: 18%; left: 7%; }
.academy-collections-map__node--ne { top: 18%; right: 7%; flex-direction: row-reverse; text-align: right; }
.academy-collections-map__node--sw { bottom: 13%; left: 7%; }
.academy-collections-map__node--se { right: 7%; bottom: 13%; flex-direction: row-reverse; text-align: right; }

.academy-collections-map__orb {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 68px;
  height: 68px;
  border: 0;
  border-radius: 50%;
  transform: scale(1);
  filter: drop-shadow(0 9px 18px rgba(0, 0, 0, 0.64));
  transition: transform 0.45s var(--ease), filter 0.3s ease;
}

.academy-collections-map__orb::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  box-shadow: 0 0 34px color-mix(in srgb, var(--collection-accent) 48%, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.academy-collections-map__orb-canvas {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  pointer-events: none;
}

.academy-collections-map__copy {
  display: grid;
  gap: 3px;
  min-width: 190px;
  filter: drop-shadow(0 4px 14px #000);
}

.academy-collections-map__copy small,
.academy-collections-map__copy em {
  color: rgba(238, 231, 221, 0.72);
  font: 600 6.5px/1.3 Outfit, sans-serif;
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.academy-collections-map__copy strong {
  color: rgba(244, 239, 231, 0.9);
  font: 300 clamp(25px, 2.6vw, 40px)/1 Outfit, sans-serif;
  letter-spacing: -0.035em;
}

.academy-collections-map__node:hover .academy-collections-map__orb,
.academy-collections-map__node:focus-visible .academy-collections-map__orb {
  filter: drop-shadow(0 10px 24px color-mix(in srgb, var(--collection-accent) 24%, #000));
  transform: scale(1.1);
}

.academy-collections-map__node:hover .academy-collections-map__orb::after,
.academy-collections-map__node:focus-visible .academy-collections-map__orb::after {
  opacity: 1;
}

.academy-collections-map__node:hover .academy-collections-map__copy strong,
.academy-collections-map__node:focus-visible .academy-collections-map__copy strong {
  color: #fff;
}

.academy-collections-map__node:focus-visible {
  outline: 1px solid #e8c89a;
  outline-offset: 7px;
}

.academy-collections-map__pager {
  position: absolute;
  z-index: 14;
  left: 50%;
  bottom: 58px;
  display: grid;
  grid-template-columns: 44px minmax(180px, 240px) 44px;
  align-items: center;
  gap: 12px;
  width: min(352px, calc(100% - 48px));
  transform: translateX(-50%);
}

.academy-collections-map__pager-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  border: 0;
  color: rgba(238, 231, 221, 0.72);
  background: transparent;
  cursor: pointer;
  font: 600 8px/1 Outfit, sans-serif;
  letter-spacing: 0.16em;
  text-align: left;
  text-transform: uppercase;
  transition: color 0.25s ease, transform 0.25s ease;
}

.academy-collections-map__pager-button span {
  color: #e8c89a;
  font-size: 18px;
}

.academy-collections-map__pager-button--next {
  justify-content: center;
  text-align: center;
}

.academy-collections-map__pager-button:hover:not(:disabled),
.academy-collections-map__pager-button:focus-visible {
  color: #fff;
  transform: translateX(-3px);
}

.academy-collections-map__pager-button--next:hover:not(:disabled),
.academy-collections-map__pager-button--next:focus-visible {
  transform: translateX(3px);
}

.academy-collections-map__pager-button:focus-visible {
  outline: 1px solid #e8c89a;
  outline-offset: 5px;
}

.academy-collections-map__pager-button:disabled {
  cursor: default;
  color: #eee7dd;
  opacity: 0.7;
}

.academy-collections-map__room-status {
  display: grid;
  justify-items: center;
  gap: 4px;
  color: rgba(238, 231, 221, 0.74);
  text-align: center;
}

.academy-collections-map__room-status > b,
.academy-collections-map__room-status > i {
  font: 600 8px/1.4 Outfit, sans-serif;
  font-style: normal;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.academy-collections-map__room-status > i {
  color: #e8c89a;
}

.academy-collections-map__room-status > span {
  display: flex;
  gap: 9px;
  margin-top: 5px;
}

.academy-collections-map__room-status button {
  width: 24px;
  height: 2px;
  padding: 0;
  border: 0;
  background: rgba(238, 231, 221, 0.2);
  cursor: pointer;
}

.academy-collections-map__room-status button[aria-current="page"] {
  background: #e8c89a;
  box-shadow: 0 0 12px rgba(232, 200, 154, 0.42);
}

.academy-collections-map__room-status button:focus-visible {
  outline: 1px solid #fff;
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .academy-collections-map {
    min-height: auto;
    padding: 58px 24px 36px;
  }

  .academy-collections-map__intro {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    margin-bottom: 46px;
    transform: none;
  }

  .academy-collections-map__nodes {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid rgba(232, 200, 154, 0.15);
    background: rgba(232, 200, 154, 0.15);
  }

  .academy-collections-map__node,
  .academy-collections-map__node--nw,
  .academy-collections-map__node--ne,
  .academy-collections-map__node--sw,
  .academy-collections-map__node--se {
    position: relative;
    inset: auto;
    min-height: 150px;
    padding: 24px;
    flex-direction: row;
    text-align: left;
    background: rgba(8, 6, 13, 0.78);
  }

  .academy-collections-map__copy { min-width: 0; }

  .academy-collections-map__pager {
    position: relative;
    left: auto;
    bottom: auto;
    margin: 28px auto 0;
    transform: none;
  }

}

@media (max-width: 620px) {
  .academy-collections-map { padding: 42px 18px 28px; }
  .academy-collections-map__intro h1 { font-size: clamp(48px, 15vw, 72px); }
  .academy-collections-map__nodes { grid-template-columns: 1fr; }
  .academy-collections-map__node,
  .academy-collections-map__node--nw,
  .academy-collections-map__node--ne,
  .academy-collections-map__node--sw,
  .academy-collections-map__node--se { min-height: 126px; padding: 20px 16px; }
  .academy-collections-map__orb { width: 58px; height: 58px; }
  .academy-collections-map__copy strong { font-size: 29px; }
  .academy-collections-map__pager {
    grid-template-columns: 36px minmax(150px, 210px) 36px;
    gap: 8px;
    width: min(298px, 100%);
  }
  .academy-collections-map__pager-button { justify-content: center; }
  .academy-section-card--coming .academy-section-summary {
    grid-template-columns: 52px minmax(0, 1fr);
  }
  .academy-section-coming-action {
    grid-column: 2;
    justify-self: start;
    margin-top: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .academy-collections-map__orb { transition: none; }
}
