/* =========================================================
   Global Navigator
   ========================================================= */

/* =========================================================
   POCs Agent Button
   ========================================================= */

.pocs-agent-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 99999;

  width: 64px;
  height: 64px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  background:
    radial-gradient(circle at 50% 42%,
      rgba(255, 255, 255, 0.16) 0%,
      rgba(0, 242, 255, 0.12) 32%,
      rgba(0, 15, 40, 0.42) 100%);
  border: 1px solid rgba(0, 242, 255, 0.32);
  border-radius: 50%;

  box-shadow:
    0 0 18px rgba(0, 242, 255, 0.18),
    0 0 42px rgba(120, 190, 255, 0.12),
    inset 0 0 18px rgba(255, 255, 255, 0.08);

  cursor: pointer;
  pointer-events: auto;

  transition:
    transform 360ms ease,
    border-color 360ms ease,
    box-shadow 360ms ease,
    background 360ms ease;
}

.pocs-agent-button img {
  display: block;
  width: 40px;
  height: 40px;
  max-width: 40px;
  max-height: 40px;
  object-fit: contain;

  transition:
    transform 420ms ease,
    filter 420ms ease;
}

.pocs-agent-button:hover {
  transform: translateY(-3px) scale(1.04);
  border-color: rgba(0, 242, 255, 0.72);

  box-shadow:
    0 0 24px rgba(0, 242, 255, 0.42),
    0 0 68px rgba(120, 190, 255, 0.22),
    inset 0 0 22px rgba(255, 255, 255, 0.12);
}

body.is-global-nav-open .pocs-agent-button {
  border-color: rgba(255, 214, 128, 0.72);

  box-shadow:
    0 0 28px rgba(255, 214, 128, 0.36),
    0 0 82px rgba(0, 242, 255, 0.22),
    inset 0 0 24px rgba(255, 255, 255, 0.14);
}

body.is-global-nav-open .pocs-agent-button img {
  transform: rotate(135deg) scale(1.04);
  filter:
    drop-shadow(0 0 10px rgba(255, 214, 128, 0.55))
    drop-shadow(0 0 22px rgba(0, 242, 255, 0.28));
}

/* =========================================================
   Global Nav Panel
   ========================================================= */

.pocs-global-nav {
  position: fixed;
  right: 24px;
  bottom: 104px;
  z-index: 99998;

  width: min(420px, calc(100vw - 48px));

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translateY(16px) scale(0.96);
  transform-origin: right bottom;

  transition:
    opacity 360ms ease,
    visibility 360ms ease,
    transform 360ms ease;
}

body.is-global-nav-open .pocs-global-nav {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transform: translateY(0) scale(1);
}

.pocs-global-nav__inner {
  position: relative;
  overflow: hidden;

  padding: 28px 28px 24px;

  background:
    radial-gradient(circle at 88% 92%,
      rgba(0, 242, 255, 0.22) 0%,
      rgba(0, 242, 255, 0.06) 36%,
      rgba(0, 242, 255, 0) 64%),
    linear-gradient(135deg,
      rgba(4, 16, 42, 0.84) 0%,
      rgba(8, 18, 48, 0.72) 48%,
      rgba(5, 9, 28, 0.9) 100%);

  border: 1px solid rgba(0, 242, 255, 0.22);
  border-radius: 10px;

  box-shadow:
    0 22px 80px rgba(0, 0, 0, 0.42),
    0 0 42px rgba(0, 242, 255, 0.12),
    inset 0 0 26px rgba(255, 255, 255, 0.05);

  backdrop-filter: blur(18px);
}

.pocs-global-nav__inner::before {
  content: "";
  position: absolute;
  inset: -40%;

  background:
    conic-gradient(from 180deg,
      rgba(0, 242, 255, 0),
      rgba(0, 242, 255, 0.16),
      rgba(255, 214, 128, 0.14),
      rgba(0, 242, 255, 0));

  opacity: 0.22;
  pointer-events: none;
}

.pocs-global-nav__inner::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -22px;

  width: 190px;
  height: 190px;

  background-image: url("../svg/arrival-02.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  opacity: 0.34;

  filter:
    drop-shadow(0 0 18px rgba(0, 242, 255, 0.24))
    drop-shadow(0 0 34px rgba(255, 214, 128, 0.12));

  transform: rotate(-12deg);

  pointer-events: none;
}

.pocs-global-nav__eyebrow {
  position: relative;
  z-index: 1;

  margin: 0 0 18px;

  font-family: "PrismTitle", sans-serif;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: 0.14em;

  color: rgba(0, 242, 255, 0.84);
}

.pocs-global-nav__list {
  position: relative;
  z-index: 1;

  display: grid;
  gap: 10px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.pocs-global-nav__item {
  margin: 0;
  padding: 0;
}

.pocs-global-nav__link {
  position: relative;

  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;

  padding: 14px 16px;

  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;

  background: rgba(255, 255, 255, 0.035);

  transition:
    transform 300ms ease,
    border-color 300ms ease,
    background 300ms ease,
    box-shadow 300ms ease;
}

.pocs-global-nav__link::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;

  width: 5px;
  height: 5px;

  border-radius: 50%;
  background: rgba(0, 242, 255, 0.72);

  transform: translateY(-50%);
  opacity: 0;

  transition:
    opacity 300ms ease,
    box-shadow 300ms ease;
}

.pocs-global-nav__link:hover {
  transform: translateX(-4px);

  border-color: rgba(0, 242, 255, 0.42);
  background: rgba(0, 242, 255, 0.075);

  box-shadow:
    0 0 20px rgba(0, 242, 255, 0.12),
    inset 0 0 18px rgba(255, 255, 255, 0.04);
}

.pocs-global-nav__link:hover::before {
  opacity: 1;

  box-shadow:
    0 0 10px rgba(0, 242, 255, 0.84),
    0 0 22px rgba(0, 242, 255, 0.42);
}

.pocs-global-nav__en {
  display: block;

  padding-left: 14px;

  font-size: 0.98rem;
  line-height: 1.1;
  letter-spacing: 0.12em;

  color: rgba(255, 255, 255, 0.96);
}

.pocs-global-nav__jp {
  display: block;

  font-size: 0.72rem;
  line-height: 1.2;
  letter-spacing: 0.08em;

  color: rgba(255, 214, 128, 0.72);
  white-space: nowrap;
}

/* =========================================================
   SP
   ========================================================= */

@media (max-width: 768px) {
  .pocs-agent-button {
    right: 18px;
    bottom: 18px;

    width: 58px;
    height: 58px;
  }

  .pocs-agent-button img {
    width: 36px;
    height: 36px;
    max-width: 36px;
    max-height: 36px;
  }

  .pocs-global-nav {
    right: 14px;
    bottom: 88px;

    width: calc(100vw - 28px);
  }

  .pocs-global-nav__inner {
    padding: 22px 18px 18px;
    border-radius: 10px;
  }

  .pocs-global-nav__eyebrow {
    margin-bottom: 14px;

    font-size: 0.66rem;
    letter-spacing: 0.18em;
  }

  .pocs-global-nav__list {
    gap: 8px;
  }

  .pocs-global-nav__link {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;

    padding: 13px 14px;
    border-radius: 4px;
  }

  .pocs-global-nav__en {
    font-size: 0.88rem;
    letter-spacing: 0.1em;
  }

  .pocs-global-nav__jp {
    font-size: 0.68rem;
  }
}
