:root{
  --maxw: 1100px;
  --text: #f0f0f0;
  --bg-dark-1: #0b0b0b;
  --bg-dark-2: #171515;
  --bg-dark-3: #2a241d;
  --poster-w: 1808;
  --poster-h: 2160;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body{
  margin: 0;
  position: relative;
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(14px, 0.95vw + 10px, 18px);
  overflow-x: hidden;
}

.page-wrapper,
.hero, .projects, .showbusiness, .reviews, .wallet, .content, .site-footer{
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: max(100vh, calc(100vw * var(--poster-h) / var(--poster-w)));
  background-image: url("img/main.webp"), linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.60) 100%);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}



body.modal-lock{ overflow: hidden; }
.modal{ position: fixed; inset: 0; display: none; z-index: 9999; }
.modal.is-open{ display: block; }
.modal-backdrop{ position: absolute; inset: 0; }
.modal-window{ position: absolute; inset: 0; display: grid; place-items: center; padding: 4vmin; pointer-events: none; }
.modal-window > *{ pointer-events: auto; }
.modal-close{ position: absolute; top: 10px; right: 12px; border: 0; border-radius: 8px; background: #2f2f2f; color: #eee; font-size: 20px; line-height: 1; padding: 4px 8px; cursor: pointer; }
.modal-close:hover{ filter: brightness(1.15); }


.tv-stack{ position: relative; width: min(96vw, 1100px); aspect-ratio: var(--tv-ratio, 16/9); overflow: hidden; }
.tv-chrome{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; z-index: 2; }
.tv-screen-area{ position: absolute; top: var(--screen-top,8%); right: var(--screen-right,8%); bottom: var(--screen-bottom,8%); left: var(--screen-left,8%); display: grid; place-items: center; overflow: hidden; z-index: 1; }
.tv-video{ display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.tv-stack::after{ content: ""; position: absolute; top: var(--screen-top,8%); right: var(--screen-right,8%); bottom: var(--screen-bottom,8%); left: var(--screen-left,8%); pointer-events: none; mix-blend-mode: overlay; opacity: .35; z-index: 3; background: repeating-linear-gradient(to bottom, rgba(255,255,255,.05) 0 1px, rgba(0,0,0,.10) 1px 3px); }
.tv-chrome {
  transform: scale(var(--chrome-scale, 1));
  transform-origin: center center;
}



.xmr-qr-btn{ border: 0; background: transparent; padding: 0; height: var(--logo-h); width: var(--logo-h); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .12s ease, opacity .12s ease; }
.xmr-qr-btn:hover{ transform: scale(1.06); opacity: .95; }
.xmr-qr{ height: 100%; width: 100%; object-fit: contain; display: block; }

.qr-modal{ position: fixed; inset: 0; display: none; z-index: 9999; }
.qr-modal.is-open{ display: block; }
.qr-backdrop{ position: absolute; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(2px); }
.qr-window{ position: absolute; inset: 0; margin: auto; width: min(92vw, 520px); height: min(92vh, 520px); display: grid; place-items: center; gap: .5rem; padding: 1rem 1rem .75rem; background: rgba(20,20,20,.9); border: 1px solid rgba(255,255,255,.15); border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,.6); }
.qr-large{ max-width: 100%; max-height: 100%; object-fit: contain; }
.qr-caption{ font: .8rem/1.2 "Roboto Condensed", sans-serif; opacity: .9; letter-spacing: .06em; text-transform: uppercase; }
.qr-close{ position: absolute; top: 8px; right: 10px; border: 0; background: #2f2f2f; color: #eee; width: 28px; height: 28px; line-height: 28px; border-radius: 6px; cursor: pointer; }
.qr-close:hover{ filter: brightness(1.15); }



.interactive-overlay {
  position: absolute;
  inset: 0;
  z-index: 50;             
  pointer-events: none;     
}


#tv-button, #book-button, #castle-button, #xmr-button, #copy-button {
  fill: rgba(255,255,255,0.01);
  pointer-events: all;
  cursor: pointer;
}

#tv-button:hover, #tv-button:focus,
#book-button:hover, #book-button:focus,
#castle-button:hover, #castle-button:focus,
#xmr-button:hover, #xmr-button:focus,
#copy-button:hover, #copy-button:focus {
  filter: url(#hotspot-glow-strong);
}





:root{
  --poster-w: 1808; 
  --poster-h: 2160;
}


.poster-stack{
  position: relative;
  width: 100vw; 
  height: calc(100vw * var(--poster-h) / var(--poster-w)); 
  min-height: 100vh; 
  margin: 0 auto;
  overflow: hidden; 
}

@media (max-width: 900px){
  :root{ --poster-w: 1080; --poster-h: 1920; } 
}


.poster{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;       
  object-position: center top;  
  display: block;
}

.interactive-overlay{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; 
  z-index: 50;
}

#tv-button, #book-button, #castle-button, #xmr-button, #copy-button{
  pointer-events: all;
}

#fx-book-fire{
  position:absolute;
  z-index:40;          
  pointer-events:none;
  mix-blend-mode:normal;
  opacity:1;
} 


.interactive-overlay image {
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

#hotspot-tooltip {
  position: fixed;
  display: none;
  pointer-events: none;
  z-index: 99999;
  width: clamp(240px, 24vw, 360px);
  background: none;
  border: none;
  padding: 0;
  text-align: center;
}

#hotspot-tooltip .hst-thumb {
  display: block;
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5); 
}

#hotspot-tooltip .hst-text {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  text-shadow:
    0 0 8px rgba(0, 0, 0, 0.9),
    0 0 12px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(0, 0, 0, 0.6); 
  line-height: 1.4;
  padding: 0 10px;
}

#hotspot-tooltip.showing {
  animation: hst-fade-in 450ms ease-out;
}
@keyframes hst-fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}




.interactive-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 50;
}

#dog-vid {
  pointer-events: none;
}


.video-feather {

  --feather: 48px; 
  --radius: 24px;   

  -webkit-mask-image:
    linear-gradient(to right,
      transparent 0,
      #000 var(--feather),
      #000 calc(100% - var(--feather)),
      transparent 100%),
    linear-gradient(to bottom,
      transparent 0,
      #000 var(--feather),
      #000 calc(100% - var(--feather)),
      transparent 100%);
  -webkit-mask-composite: source-in; 


  mask-image:
    linear-gradient(to right,
      transparent 0,
      #000 var(--feather),
      #000 calc(100% - var(--feather)),
      transparent 100%),
    linear-gradient(to bottom,
      transparent 0,
      #000 var(--feather),
      #000 calc(100% - var(--feather)),
      transparent 100%);
  mask-composite: intersect;


  clip-path: inset(0 round var(--radius));
}

#dog-vid {
  --feather: 64px;
  --radius: 28px;


  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 var(--feather), #000 calc(100% - var(--feather)), transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 var(--feather), #000 calc(100% - var(--feather)), transparent 100%),
    linear-gradient(to bottom, #000 0, #000 85%, transparent 100%);
  -webkit-mask-composite: source-in, source-in; 
          mask-image:
    linear-gradient(to right, transparent 0, #000 var(--feather), #000 calc(100% - var(--feather)), transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 var(--feather), #000 calc(100% - var(--feather)), transparent 100%),
    linear-gradient(to bottom, #000 0, #000 85%, transparent 100%);
  mask-composite: intersect, intersect;
}

#castle-vid {
  filter:      
    blur(0.2px);       
}

