*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  background: #ff8eae;
  overflow: hidden;
}

body {
  min-height: 100dvh;
}

.viewport {
  position: relative;
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
  background: #ff8eae;
}

.mock {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.hotspots {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}

.hot {
  position: absolute;
  display: block;
  pointer-events: auto;
  cursor: pointer;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transform-origin: center center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
}

.hot:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.95);
  outline-offset: 3px;
}

/* Exact crop lift for smooth scale */
.hot--bot::before,
.hot--news::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: var(--mock-url);
  background-repeat: no-repeat;
  background-size: var(--mock-w) var(--mock-h);
  background-position: var(--hot-bg-x) var(--hot-bg-y);
  opacity: 0;
  transform: scale(1);
  transform-origin: center center;
  transition:
    opacity 0.18s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    filter 0.3s ease;
  pointer-events: none;
  will-change: transform, opacity;
}

.hot--bot:hover,
.hot--news:hover,
.hot--bot:focus-visible,
.hot--news:focus-visible {
  transform: scale(1.07);
  z-index: 5;
}

.hot--bot:hover::before,
.hot--news:hover::before,
.hot--bot:focus-visible::before,
.hot--news:focus-visible::before {
  opacity: 1;
  box-shadow: 0 14px 32px rgba(170, 30, 80, 0.4);
  filter: brightness(1.03);
}

.hot--bot:active,
.hot--news:active {
  transform: scale(1.03);
}

/* Visible language pill — sits lower and covers native mock toggle */
.hot--lang {
  left: 58.6%;
  top: 16.3%;
  width: 7.2%;
  height: 4.4%;
  min-width: 68px;
  min-height: 30px;
  border-radius: 999px;
  z-index: 8;
  display: grid;
  place-items: center;
  transition:
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.25s ease;
}

/* Mask the tiny mock EN circle peeking from under the pill */
.hot--lang::before {
  content: "";
  position: absolute;
  inset: -6px -10px -6px -6px;
  border-radius: 999px;
  background: #fff8fa;
  z-index: -1;
}

.hot--lang:hover,
.hot--lang:focus-visible {
  transform: scale(1.1);
  filter: brightness(1.05);
}

.lang-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-height: 36px;
  padding: 2px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid #ff4d82;
  box-shadow: 0 4px 14px rgba(180, 40, 90, 0.22);
  gap: 0;
  z-index: 1;
}

.lang-pill__opt {
  flex: 1;
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 22px;
  border-radius: 999px;
  font: 800 10px/1 system-ui, "Segoe UI", sans-serif;
  letter-spacing: 0.04em;
  color: #ff4d82;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-pill__opt.is-active {
  background: #ff3e78;
  color: #fff;
}

/* Bot — tight to solid pink button only */
.hot--bot {
  left: 36.35%;
  top: 57.31%;
  width: 27.29%;
  height: 6.11%;
  border-radius: 13px;
}

/* News — tight to frosted glass, same hover feel as bot */
.hot--news {
  left: 35.6%;
  top: 69.63%;
  width: 28.8%;
  height: 10%;
  border-radius: 14px;
}

@media (max-width: 900px) {
  .hot--lang {
    left: 57.4%;
    top: 15.8%;
    width: 9.5%;
    height: 5.4%;
    min-width: 76px;
    min-height: 34px;
  }

  .lang-pill__opt {
    font-size: 11px;
    min-height: 24px;
  }
}

@media (hover: none) {
  .hot--bot:active::before,
  .hot--news:active::before {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hot,
  .hot::before,
  .lang-pill__opt {
    transition: none !important;
  }
}
