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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* ── Scene container ── */
.shop-scene {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Shared 16:9 frame — video and image fill this identically */
.shop-frame {
  position: relative;
  width: 100%;
  max-height: 100vh;
  aspect-ratio: 16 / 9;
}

@media (min-aspect-ratio: 16/9) {
  .shop-frame { height: 100vh; width: auto; }
}

/* ── Background video ── */
.shop-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ── Accessories overlay ── */
.shop-accessories-layer {
  position: absolute;
  top: 4%;
  left: 0;
  width: 100%;
  height: 92%;
  z-index: 5;
  pointer-events: none;
}

/* ── Product layers (base + glow) ── */
/* ── Product layers (base + glow) ── */
.shop-product-img,
.shop-product-glow {
  position: absolute;
  top: 4%;
  left: 0;
  width: 100%;
  height: 92%;
  pointer-events: none;
}

.shop-product-img { z-index: 6; }

.shop-product-glow {
  z-index: 7;
  filter: brightness(1.45) hue-rotate(90deg) saturate(2);
  animation: shopGlowPulse 3.5s ease-in-out infinite;
  transition: opacity .35s ease;
}

@keyframes shopGlowPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.45; }
}

/* Product hitboxes — hover hides sibling glow */
.shop-product-zone {
  position: absolute;
  z-index: 8;
  cursor: pointer;
  /* DEBUG — uncomment to visualise hitboxes
  background: rgba(0,255,0,0.3);
  border: 2px solid lime; */
}

.shop-product-zone.zone-dummy {
  left: 33%;
  top: 45%;
  width: 6%;
  height: 14%;
}

.shop-product-zone.zone-blanket {
  left: 44%;
  top: 53%;
  width: 7%;
  height: 8%;
}

.shop-product-zone.zone-canvas {
  left: 17%;
  top: 40%;
  width: 5%;
  height: 7%;
}

.shop-product-zone.zone-hat {
  left: 21%;
  top: 58%;
  width: 5%;
  height: 7%;
}

.shop-product-zone.zone-notebook {
  left: 10%;
  top: 62%;
  width: 3%;
  height: 7%;
}

.shop-product-zone.zone-dummy:hover ~ .glow-dummy,
.shop-product-zone.zone-blanket:hover ~ .glow-blanket,
.shop-product-zone.zone-canvas:hover ~ .glow-canvas,
.shop-product-zone.zone-hat:hover ~ .glow-hat,
.shop-product-zone.zone-notebook:hover ~ .glow-notebook,
.shop-exit-hitbox:hover ~ .glow-exit {
  opacity: 0.05;
  animation: none;
}

/* ── Exit sign hitbox ── */
.shop-exit-hitbox {
  position: absolute;
  left: 87%;
  top: 28%;
  width: 10%;
  height: 8%;
  z-index: 8;
  cursor: pointer;
}

/* ── Gorilla clickable hitbox ──
   Positioned roughly centre-left where the gorilla sculpture sits in frame.
   Adjust the left/top/width/height percentages once you've previewed the video. */
.shop-gorilla-hitbox {
  position: absolute;
  /* tweak these to match the gorilla's position in the video */
  left: 60%;
  top: 29%;
  width: 18%;
  height: 38%;
  z-index: 10;
  cursor: pointer;
  /* background: rgba(0,255,0,0.3);
  border: 2px solid lime; */
}

/* subtle pulse hint so it's discoverable */
.shop-gorilla-hitbox::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 4px;
  box-shadow: 0 0 24px 8px rgba(255, 200, 50, 0.2);
  pointer-events: none;
}

@keyframes gorilla-hint {
  0%   { box-shadow: 0 0 0   0 rgba(255,200,50,0); }
  50%  { box-shadow: 0 0 20px 6px rgba(255,200,50,0.15); }
  100% { box-shadow: 0 0 0   0 rgba(255,200,50,0); }
}

/* ── Product modal ── */
.shop-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}

.shop-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.shop-modal {
  position: relative;
  width: 90vw;
  max-width: 900px;
  aspect-ratio: 4 / 3;
  background: url('https://neaentertainment.b-cdn.net/neaentertainment/images/Shop/Product-popup-bg.webp') center / cover no-repeat;
  border: 1px solid rgba(180, 140, 80, 0.3);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop-modal-close {
  position: absolute;
  top: 3%;
  right: 3%;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 2;
  line-height: 1;
  transition: color .2s;
}

.shop-modal-close:hover {
  color: #fff;
}

.shop-modal-content {
  display: flex;
  align-items: center;
  gap: 6%;
  width: 85%;
  height: 85%;
}

.shop-modal-image {
  flex: 0 0 45%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop-modal-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 30px rgba(0, 0, 0, 0.5));
}

.shop-modal-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.shop-modal-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shop-modal-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-modal-btn {
  display: inline-block;
  padding: 0.7rem 2rem;
  border: 1px solid rgba(180, 140, 80, 0.5);
  color: rgba(220, 180, 100, 0.9);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  text-align: center;
  transition: background .2s, color .2s;
  align-self: flex-start;
}

.shop-modal-btn:hover {
  background: rgba(180, 140, 80, 0.15);
  color: #fff;
}

/* ── Visually hidden content for search engines / screen readers ── */
.nea-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
}

