.dock-link {
  flex: 0 0 auto;
  width: 68px;
  height: 68px;
  border: 3px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle, #fff, #f9daf0 66%, var(--purple));
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.dock-link:hover {
  transform: translateY(-4px) scale(1.06);
}

.dock-link.is-selected {
  border-color: var(--yellow);
  animation: dockPulse 1.6s ease-in-out infinite;
}

.dock-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hotspot {
  position: absolute;
  z-index: 20;
  min-width: 48px;
  min-height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
  cursor: pointer;
  background: radial-gradient(circle, var(--yellow), rgba(240, 199, 74, 0.16) 58%, transparent 72%);
  text-shadow: 0 2px 0 rgba(27, 27, 91, 0.36);
  animation: hotspotPulse 1.8s ease-in-out infinite;
}

.hotspot span {
  opacity: 0;
  transform: translateY(6px);
  padding: 7px 10px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(27, 27, 91, 0.86);
  white-space: nowrap;
  transition: opacity 160ms ease, transform 160ms ease;
}

.hotspot:hover span,
.hotspot:focus-visible span {
  opacity: 1;
  transform: translateY(-10px);
}

.hotspot-front-door { left: calc(50% - 34px); bottom: 23%; }
.hotspot-window-vbunny { left: 41%; top: 48%; background: radial-gradient(circle, var(--pink), rgba(232, 105, 132, 0.18) 58%, transparent 72%); }
.hotspot-balcony-zayne { left: 54%; top: 39%; background: radial-gradient(circle, var(--purple), rgba(153, 77, 241, 0.18) 58%, transparent 72%); }
.hotspot-beach { right: 12%; bottom: 23%; }
.hotspot-garden { left: 13%; bottom: 19%; }
.hotspot-roof { left: calc(50% - 24px); top: 23%; background: radial-gradient(circle, #fff, rgba(240, 199, 74, 0.24) 58%, transparent 72%); }
.hotspot-mailbox { left: 29%; bottom: 19%; }

@keyframes hotspotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240, 199, 74, 0.5); }
  50% { box-shadow: 0 0 0 12px rgba(240, 199, 74, 0); }
}

.decor-button {
  position: absolute;
  z-index: 7;
  min-width: 58px;
  min-height: 58px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease;
}

.decor-button:hover,
.decor-button:focus-visible {
  transform: translateY(-5px) scale(1.05);
  filter: drop-shadow(0 0 18px rgba(240, 199, 74, 0.75));
  outline: none;
}

.decor-img,
.launcher-img,
.door-img,
.portrait-img {
  width: 100%;
  height: auto;
}

.cabinet-card,
.profile-card,
.shop-card,
.video-tabs a,
.secondary-button,
.locker-panel button {
  min-height: 44px;
  border: 3px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(180deg, rgba(27, 27, 91, 0.82), rgba(153, 77, 241, 0.78));
  box-shadow: 0 12px 24px var(--shadow);
}

.cabinet-card,
.shop-card {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 10px;
  text-align: center;
  transition: transform 160ms ease, filter 160ms ease;
}

.cabinet-card:hover,
.profile-card:hover,
.shop-card:hover,
.video-tabs a:hover {
  transform: translateY(-5px);
  filter: drop-shadow(0 0 18px rgba(240, 199, 74, 0.54));
}

.cabinet-card img,
.shop-card img {
  width: 100%;
  aspect-ratio: 1 / 1.28;
  object-fit: contain;
}

.cabinet-card small,
.shop-card small {
  color: var(--yellow);
}

.profile-card {
  padding: 0;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
}

.profile-card img {
  width: 100%;
  height: auto;
}

.shop-card {
  cursor: pointer;
}

.video-tabs a,
.secondary-button,
.locker-panel button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
}

.locker-panel h1,
.coming-card h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 6vw, 4rem);
}

.locker-panel p,
.coming-card p {
  margin: 0;
  font-weight: 900;
}

.site-modal {
  width: min(560px, calc(100vw - 28px));
  border: 4px solid var(--yellow);
  border-radius: 8px;
  padding: 28px;
  color: var(--navy);
  background: #fff7ff;
  box-shadow: 0 22px 52px rgba(27, 27, 91, 0.36);
}

.site-modal::backdrop {
  background: rgba(27, 27, 91, 0.48);
  backdrop-filter: blur(4px);
}

.site-modal h2 {
  margin: 0 46px 14px 0;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
}

.site-modal p {
  margin: 0 0 12px;
  font-weight: 800;
  line-height: 1.45;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: 3px solid var(--navy);
  border-radius: 50%;
  color: var(--navy);
  font-weight: 900;
  background: var(--yellow);
  cursor: pointer;
}

.profile-modal {
  display: grid;
  gap: 10px;
}

.profile-modal p {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 10px;
}

.profile-modal strong {
  color: var(--purple);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.secondary-button {
  color: #fff;
  background: linear-gradient(180deg, var(--pink), #c94a76);
}

.sparkle-transition {
  position: fixed;
  z-index: 200;
  inset: -20% -40%;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(240, 199, 74, 0.2), rgba(255, 255, 255, 0.85), rgba(232, 105, 132, 0.26), transparent);
  transform: translateX(-110%) skewX(-12deg);
}

.sparkle-transition.is-active {
  animation: sparkleWipe 420ms ease forwards;
}

@media (max-width: 768px) {
  .dock-link {
    width: 62px;
    height: 62px;
  }

  .hotspot span {
    font-size: 0.68rem;
    white-space: normal;
    max-width: 112px;
  }

  .hotspot-front-door { bottom: 31%; }
  .hotspot-window-vbunny { left: 33%; top: 39%; }
  .hotspot-balcony-zayne { left: 56%; top: 36%; }
  .hotspot-beach { right: 4%; bottom: 25%; }
  .hotspot-garden { left: 7%; bottom: 23%; }
  .hotspot-roof { top: 31%; }
  .hotspot-mailbox { left: 26%; bottom: 28%; }

  .decor-button {
    width: 92px !important;
  }

  .decor-button:nth-of-type(odd) {
    transform: translateY(30px);
  }

  .profile-modal p {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}
