/* LOCKED SCENE FEATURE BUTTON PLACEMENT */

.feature-scene-buttons {
  position: absolute;
  inset: 0;
  z-index: 7;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.42s ease 0.22s;
}

.shop-shell.is-inside .feature-scene-buttons {
  opacity: 1;
  pointer-events: auto;
}

.feature-scene-button {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  min-width: clamp(7.4rem, 33vw, 10.6rem);
  min-height: clamp(2.45rem, 8.8vw, 3.1rem);
  padding: 0.64rem 0.9rem;
  border: 1px solid rgba(255, 220, 115, 0.72);
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
  contain: paint;
  color: rgba(255, 228, 136, 0.98);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 233, 158, 0.18), transparent 48%),
    linear-gradient(180deg, rgba(16, 12, 7, 0.76), rgba(0, 0, 0, 0.64));
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 190, 0.30),
    inset 0 -6px 12px rgba(0, 0, 0, 0.35),
    0 0 12px rgba(255, 220, 115, 0.24),
    0 0 18px rgba(102, 244, 255, 0.12),
    0 8px 18px rgba(0, 0, 0, 0.34);
  font-family: "Arial Black", "Trebuchet MS", Arial, system-ui, sans-serif;
  font-size: clamp(0.82rem, 3.15vw, 1.08rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.92),
    0 0 7px rgba(255, 220, 115, 0.30),
    0 0 10px rgba(102, 244, 255, 0.15);
  cursor: pointer;
  transform: translate3d(-50%, 0, 0) scale(1);
  transform-origin: 50% 50%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
  transition:
    transform 120ms ease,
    border-color 140ms ease,
    box-shadow 140ms ease,
    color 140ms ease,
    filter 140ms ease;
}


.feature-scene-button:link,
.feature-scene-button:visited,
.feature-scene-button:hover,
.feature-scene-button:active {
  text-decoration: none;
}

.feature-scene-button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(
      115deg,
      transparent 0%,
      transparent 34%,
      rgba(255, 244, 185, 0.16) 43%,
      rgba(255, 255, 255, 0.42) 50%,
      rgba(255, 222, 108, 0.18) 57%,
      transparent 66%,
      transparent 100%
    );
  transform: translateX(-130%);
  animation: featureButtonShimmer var(--fuzzy-cycle) ease-in-out infinite;
  pointer-events: none;
}

@keyframes featureButtonShimmer {
  0% {
    transform: translateX(-130%);
    opacity: 0;
  }

  18% {
    opacity: 0.85;
  }

  42% {
    transform: translateX(130%);
    opacity: 0.25;
  }

  100% {
    transform: translateX(130%);
    opacity: 0;
  }
}

.feature-scene-button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.42) inset,
    0 0 14px rgba(255, 220, 115, 0.14) inset;
  pointer-events: none;
  transition: box-shadow 140ms ease;
}

.feature-scene-button:hover {
  color: rgba(255, 241, 177, 1);
  border-color: rgba(255, 240, 166, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 190, 0.34),
    inset 0 -6px 12px rgba(0, 0, 0, 0.36),
    inset 0 0 14px rgba(255, 220, 115, 0.18),
    0 0 14px rgba(255, 220, 115, 0.26),
    0 0 22px rgba(102, 244, 255, 0.16),
    0 8px 18px rgba(0, 0, 0, 0.34);
}

.feature-scene-button:hover::after {
  box-shadow:
    0 0 0 1px rgba(255, 240, 166, 0.26) inset,
    0 0 16px rgba(255, 220, 115, 0.28) inset,
    0 0 22px rgba(102, 244, 255, 0.10) inset;
}

.feature-scene-button:focus-visible {
  outline: 2px solid rgba(102, 244, 255, 0.78);
  outline-offset: 3px;
}

.feature-scene-button:active {
  transform: translate3d(-50%, 3px, 0) scale(0.97);
  filter: brightness(0.88) saturate(0.96);
  box-shadow:
    inset 0 3px 8px rgba(0, 0, 0, 0.72),
    inset 0 -1px 4px rgba(255, 220, 115, 0.08),
    0 2px 7px rgba(0, 0, 0, 0.34);
}

.feature-scene-button--giveaways {
  left: 20%;
  top: 31.5%;
  min-width: clamp(6.8rem, 29vw, 8.8rem);
  padding-inline: 0.76rem;
  font-size: clamp(0.7rem, 2.75vw, 0.92rem);
  letter-spacing: 0.08em;
}

.feature-scene-button--inventory {
  left: 50%;
  top: 79.2%;
  min-width: clamp(15.2rem, 72vw, 20rem);
  padding-inline: 1.15rem;
  font-size: clamp(0.72rem, 2.85vw, 0.96rem);
  letter-spacing: 0.075em;
}

.feature-scene-button--auctions {
  left: 76.5%;
  top: 21.5%;
  min-width: clamp(6.8rem, 29vw, 8.8rem);
  padding-inline: 0.76rem;
  font-size: clamp(0.7rem, 2.75vw, 0.92rem);
  letter-spacing: 0.08em;
}

@media (max-width: 380px) {
  .feature-scene-button {
    min-width: clamp(6.8rem, 33vw, 9.4rem);
    min-height: 2.28rem;
    padding: 0.54rem 0.72rem;
    font-size: clamp(0.72rem, 3.05vw, 0.92rem);
    letter-spacing: 0.095em;
  }

  .feature-scene-button--inventory {
    min-width: clamp(13.6rem, 72vw, 17.4rem);
    padding-inline: 0.82rem;
    font-size: clamp(0.64rem, 2.62vw, 0.82rem);
    letter-spacing: 0.055em;
  }

  .feature-scene-button--giveaways,
  .feature-scene-button--auctions {
    min-width: clamp(6.45rem, 28vw, 7.7rem);
    padding-inline: 0.58rem;
    font-size: clamp(0.62rem, 2.7vw, 0.76rem);
    letter-spacing: 0.06em;
  }

  .feature-scene-button--giveaways {
    left: 21%;
  }
}
