/* eclat_tour.css — Tour Overlay dla Pizza Tycoon */

#tour-overlay {
  position: fixed;
  inset: 0;
  z-index: 7000;
  display: none;
  flex-direction: column;
  background: #0A0604;
}
#tour-overlay.on {
  display: flex;
}

/* TOPBAR */
.tour-topbar {
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: rgba(20, 14, 10, 0.9);
  border-bottom: 1px solid rgba(241, 196, 15, 0.15);
  backdrop-filter: blur(16px);
}
.tour-title {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: .2em;
  color: #FFF8E1;
}
.tour-room-lbl {
  font-size: 7px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: #F1C40F;
  margin-top: 4px;
}
.tour-close {
  font-size: 7.5px;
  letter-spacing: .25em;
  text-transform: uppercase;
  padding: 9px 18px;
  border: 1px solid rgba(241, 196, 15, 0.25);
  background: transparent;
  color: #A89888;
  cursor: pointer;
  transition: all .2s;
  font-family: 'Montserrat', sans-serif;
}
.tour-close:hover {
  color: #F1C40F;
  border-color: rgba(241, 196, 15, 0.6);
}

/* VIEWER */
#tour-viewer {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #0D0907;
}
#tour-viewer video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
#tour-viewer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(10,6,4,0.5) 100%);
  pointer-events: none;
  z-index: 1;
}

/* HOTSPOT LAYER */
#tour-hotspot-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  filter: brightness(1.4);
}
.tour-hs {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: all;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.tour-hs-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #F1C40F;
  border: 2px solid rgba(241, 196, 15, 0.4);
  box-shadow: 0 0 0 6px rgba(241, 196, 15, 0.15), 0 0 20px rgba(241, 196, 15, 0.4);
  animation: hotspot-pulse 2s ease-in-out infinite;
}
.tour-hs-label {
  font-size: 7px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #F1C40F;
  background: rgba(10, 6, 4, 0.75);
  border: 1px solid rgba(241, 196, 15, 0.2);
  padding: 5px 10px;
  backdrop-filter: blur(6px);
  white-space: nowrap;
  pointer-events: none;
}
@keyframes hotspot-pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(241,196,15,.15), 0 0 20px rgba(241,196,15,.4); }
  50%       { box-shadow: 0 0 0 10px rgba(241,196,15,.08), 0 0 30px rgba(241,196,15,.6); }
}

/* DRAG HINT */
.tour-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 7px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: rgba(255,248,225,.35);
  pointer-events: none;
  z-index: 10;
}

/* BOTTOM NAV */
.tour-bottombar {
  height: 72px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: rgba(20, 14, 10, 0.9);
  border-top: 1px solid rgba(241, 196, 15, 0.12);
  backdrop-filter: blur(16px);
}
.tour-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s;
  border-radius: 2px;
}
.tour-nav-btn:hover {
  border-color: rgba(241, 196, 15, 0.2);
  background: rgba(241, 196, 15, 0.04);
}
.tour-nav-btn.active {
  border-color: rgba(241, 196, 15, 0.35);
  background: rgba(241, 196, 15, 0.08);
}
.tour-nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(241, 196, 15, 0.3);
  transition: background .2s;
}
.tour-nav-btn.active .tour-nav-dot,
.tour-nav-btn:hover .tour-nav-dot {
  background: #F1C40F;
}
.tour-nav-lbl {
  font-size: 7px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #7A6A5A;
  font-family: 'Montserrat', sans-serif;
  transition: color .2s;
}
.tour-nav-btn.active .tour-nav-lbl,
.tour-nav-btn:hover .tour-nav-lbl {
  color: #F1C40F;
}
