

.pg-home-shell {
    position: relative;
	width: 100%;
    overflow-x: hidden;
    background: #050505;
	min-height: 3300px;
	overflow: visible;
}

.pg-scene {
  position: relative;
  display: block;
  width: 100%;
  min-height: 3300px;
}

.pg-map-column {
	position: relative; /* not absolute */
	width: 100%;
    inset: 0;
    width: 100%;
    height: 100%;
}

.pg-map-stage {
    position: relative;
	width: 100%;
    min-height: 3300px;
}

.pg-map-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 60%, rgba(0,0,0,.6));
  pointer-events: none;
  z-index: 2;
}

.pg-scroll-spacer {
  height: 80vh;
  pointer-events: none;
}

.pg-map-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
  background: #000;
}

.pg-map-bg img {
  width: auto;
  height: 100%;
  max-width: 100%;
  /*object-fit: contain; */
  display: block;
  filter: brightness(.82) contrast(1.08);
}

.pg-map-overlay {
  position: relative;
  width: min(1180px, 100%);
  height: 3300px;
  margin: 0 auto;
  z-index: 3;
}

.pg-map-stage {
  min-height: 3300px;
}

.pg-route-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 15;
  pointer-events: none; 
  overflow: visible;
}

.pg-route-svg path
 {
    stroke: rgb(223 184 174 / 45%);
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 14 24;
    filter: drop-shadow(0px 10px 5px rgba(0, 0, 0, .95));
}

.pg-left-sidebar {
  position: fixed;
  left: 0;
  top: 50%;
  width: 320px;
  background: rgba(18,12,8,.42);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(200,150,80,.2);
  box-shadow: 10px 0 40px rgba(0,0,0,.4);
  transform: translate3d(0,-50%,0);
  transition: transform .4s ease;
  z-index: 20;
  overflow: visible;
}

.pg-left-sidebar.is-closed {
    transform: translate(-100%, -50%);
}

.pg-sidebar-tab {
    position: absolute;
    right: -32px;
    top: 50%;
    transform: translateY(-50%);

    width: 32px;
    height: 140px;

    border-radius: 0 18px 18px 0;

	background: rgba(30,18,8,0.55);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(200,150,80,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
}

.pg-sidebar-tab:hover {
    background: rgba(255,255,255,0.14);
}

.pg-sidebar-tab span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .82rem;
  color: #ead9b5;
}

.pg-left-sidebar:not(.is-closed) .pg-sidebar-tab {
  opacity: 0;
  pointer-events: none;
}

.pg-left-sidebar__inner {
    padding: 28px 22px;
    position: relative;
    height: 100%;
}

.pg-sidebar-close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  opacity: .8;
}

.pg-sidebar-close-right {
  position: absolute;
  left: 16px;
  top: 16px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  opacity: .8;
}


.pg-sidebar-close img {
  width: 100%;
}

.pg-sidebar-close-right img {
  width: 100%;
}

.pg-left-sidebar__eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .8rem;
  color: var(--pg-gold);
  margin-bottom: 8px;
}

.pg-left-sidebar__title {
  margin: 0;
  font-size: 2rem;
  line-height: .94;
  color: #f5e6c7;
  text-transform: uppercase;
}

.pg-left-sidebar__divider {
  height: 1px;
  margin: 18px 0 24px;
  background: linear-gradient(90deg, transparent, rgba(199,154,79,.65), transparent);
}

.pg-route-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  zoom:0.8;
}

.pg-route-nav__item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  margin-bottom: 22px;
  opacity: .72;
  cursor: pointer;
  transition: opacity .25s ease, transform .25s ease;
}

.pg-route-nav__item.is-active {
  opacity: 1;
  transform: translateX(5px);
}

.pg-route-nav__dot {
  position: relative;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  border-radius: 50%;
  border: 2px solid var(--pg-gold);
  box-shadow: 0 0 0 3px rgba(199,154,79,.14);
}

.pg-route-nav__item.is-active .pg-route-nav__dot {
  background: var(--pg-gold);
}

.pg-route-nav__copy strong {
  display: block;
  color: #ead9b5;
  font-size: 1rem;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.pg-route-nav__copy p {
  margin: 0;
  color: var(--pg-muted);
  font-size: .84rem;
  line-height: 1.45;
}

.pg-left-sidebar__compass {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.pg-left-sidebar__compass img {
  width: 120px;
  opacity: .86;
}

.pg-right-panel {
  position: fixed;
  right: 0;
  top: 50%;
  width: 380px;
  background: rgba(15,10,8,.35);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border:1px solid rgba(255,255,255,.05);
  background: rgba(18, 12, 8, .42);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border-left: 1px solid rgba(200, 150, 80, .2);
    box-shadow: 10px 0 40px rgba(0, 0, 0, .4);
  transform: translate3d(100%, -50%, 0);
  transition: transform .35s ease;
  z-index: 21;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

.pg-right-panel.is-open {
	transform: translate3d(0, -50%, 0);
}

.pg-product-card {
  position: relative;
  width: calc(100% - 40px);
  max-width: 320px;
  background: rgba(20,15,10,.55);
  backdrop-filter: blur(12px);

  border:1px solid rgba(255,255,255,.08);
  color: var(--pg-text);
  box-shadow: var(--pg-shadow);
  padding: 22px 18px 18px;
}

.pg-panel-close {
  position: absolute;
  left: 16px;
  top: 16px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  opacity: .8;
  
}

.pg-panel-close img {
  width: 100%;
  margin-bottom: 10px;
}

.pg-product-card__title {
  font-size: 1.35rem;
  line-height: 1.02;
  margin: 0 28px 10px 0;
  color: #f3e4c5;
  text-transform: uppercase;
}

.pg-product-card__price {
  color: var(--pg-gold);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.pg-product-card__body {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
}

.pg-product-card__image {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(199,154,79,.16);
  min-height: 170px;
}

.pg-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pg-product-card__copy p {
  margin: 0 0 12px;
  color: var(--pg-muted);
  line-height: 1.55;
  font-size: .92rem;
}

.pg-product-card__copy ul {
  margin: 0 0 16px 18px;
  padding: 0;
  color: rgba(234,217,181,.82);
  font-size: .88rem;
  line-height: 1.55;
}

.pg-product-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(199,154,79,.24);
  background: linear-gradient(180deg, #3a2416, #21150d);
  color: #efdcb8;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.pg-decor {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.pg-decor img {
  max-width: 100%;
  height: auto;
}

.pg-decor--compass { top: 300px; right: 146px; width: 245px; }
.pg-decor--octopus { top: 1000px; right: 20px; width: 254px; opacity: .70; }
.pg-decor--whale {   top: 685px; left: 152px; width: auto; height: 200px; opacity: .74; }
.pg-decor--lantern { right: 100px; top: 3200px; width: 122px; }
.pg-decor--ship-small { left: 250px; top: 1750px; width: 184px; opacity: .62; }



.pg-ship {
  position: absolute;
  max-width: 120px;
  z-index: 30;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: .95;
  will-change: transform;
}

.pg-ship__inner {
  width: 100%;
  filter: drop-shadow(0 18px 26px rgba(0,0,0,.34));
}

.pg-ship__inner img {
  width: 100%;
  display: block;
}

.pg-ship-wake {
  position: absolute;
  left: 50%;
  top: 72%;
  width: 120px;
  height: 54px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: .45;
  mix-blend-mode: screen;
  background:
    radial-gradient(ellipse at center, rgba(255,255,255,1), transparent 62%);
  filter: blur(3px);
  animation: pgWakePulse 2.4s ease-in-out infinite;
}

@keyframes pgWakePulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(.9);
    opacity: .28;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.12);
    opacity: .55;
  }
}

.pg-island {
  position: absolute;
  z-index: 4;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 10px 12px rgba(0,0,0,.18));
}

.pg-island__art {
  width: 100%;
}

.pg-island__label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #2a1a12;
  font-size: .95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  text-align: center;
  line-height: 1.05;
  width: 78%;
  text-shadow: 0 1px 0 rgba(255,255,255,.14);
}


.pg-treasure {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%) scale(.96);
  width: 64px;
  height: 64px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: transform .2s ease, filter .2s ease;
}

#island-6 .pg-treasure {
  top: 60%;
}

.pg-treasure:hover,
.pg-island.is-active .pg-treasure {
  transform: translate(-50%, -50%) scale(1.10);
  filter: brightness(1.16) drop-shadow(0 0 10px rgba(231, 180, 83, .4));
}

.pg-treasure img {
  width: 100%;
}


.pg-treasure::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,215,100,.45), transparent 70%);
  opacity: .45;
  pointer-events: none;
}


.pg-treasure {
  transition: transform .25s ease, filter .25s ease;
}

.pg-treasure.is-near-ship {
  filter: drop-shadow(0 0 14px rgba(245, 195, 75, .9));
}

@keyframes pgTreasureBreath {
  0%, 100% {
    transform: translate(-50%, -50%) scale(.96);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.16);
  }
} 

.pg-service-strip {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  width: 100%;
  background: linear-gradient(180deg, rgba(10,7,5,.98), rgba(16,10,7,.98));
  border-top: 1px solid rgba(199,154,79,.18);
}

.pg-service-strip__item {
  padding: 18px 12px;
  text-align: center;
  color: var(--pg-gold-soft);
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-right: 1px solid rgba(199,154,79,.10);
}

.pg-service-strip__item:last-child {
  border-right: 0;
}

@media (max-width: 980px) {
  .pg-left-sidebar {
    width: 280px;
  }

  .pg-right-panel {
    width: 320px;
  }
}

@media (max-width: 860px) {
  .pg-left-sidebar {
    width: 100%;
    max-width: 320px;
  }

  .pg-right-panel {
    width: 100%;
    max-width: 340px;
	zoom: 0.8;
  }

  .pg-map-stage {
    min-height: 1650px;
  }

  .pg-service-strip {
    grid-template-columns: 1fr 1fr;
  }
}

.pg-map-bg{
    z-index:1;
}

.pg-island{
    z-index:20;
}

.pg-ship{
    z-index:30;
}

.pg-left-sidebar{
    z-index:100;
}

.pg-right-panel{
    z-index:110;
}




  #island-1 { left: 180px; }
  #island-2 { left: 1050px; }
  #island-3 { left: 220px; }
  #island-4 { left: 1060px; }
  #island-5 { left: 180px; } 
  #island-6 { left: 1000px; }

@media (max-width: 1600px) {
  .pg-map-overlay {
    /*width: 1050px;*/
  }

  #island-1 { left: 350px; }
  #island-2 { left: 900px; }
  #island-3 { left: 390px; }
  #island-4 { left: 910px; }
  #island-5 { left: 350px; } 
  #island-6 { left: 850px; }
}

@media (max-width: 1366px) {
  .pg-map-overlay {
    /*width: 920px;*/
  }

  #island-1 { left: 330px; }
  #island-2 { left: 870px; }
  #island-3 { left: 360px; }
  #island-4 { left: 880px; }
  #island-5 { left: 350px; } 
  #island-6 { left: 820px; }
} 

@media (max-width: 1200px) {
  .pg-map-overlay {
    /*width: 920px;*/
  }
  .pg-left-sidebar {
	zoom: 1;  
  }
  

  #island-1 { left: 330px; }
  #island-2 { left: 770px; }
  #island-3 { left: 360px; }
  #island-4 { left: 780px; }
  #island-5 { left: 350px; } 
  #island-6 { left: 720px; }
  .pg-decor--compass { right: 180px; width: 254px;}
  .pg-decor--whale { left: 250px; }
  .pg-decor--octopus { right: 180px; width: 200px;}
} 

@media (max-width: 1000px) {
  .pg-map-overlay {
    /*width: 920px;*/
  }
  .pg-left-sidebar {
	zoom: 1;  
  }
  

  #island-1 { left: 420px; }
  #island-2 { left: 770px; }
  #island-3 { left: 400px; }
  #island-4 { left: 780px; }
  #island-5 { left: 400px; } 
  #island-6 { left: 720px; }
  .pg-decor--compass { right: 280px; width: 154px;}
  .pg-decor--whale { left: 250px; }
  .pg-decor--octopus { right: 180px; width: 154px;}
} 

@media (max-width: 768px) {
  .pg-map-stage {
    overflow: hidden;
    position: relative;
	zoom: 1;
  }
  
  .pg-left-sidebar {
	zoom: 0.8;  
  }

  .pg-map-bg img {
    width: 1400px;
    max-width: none;
    height: auto;
    object-fit: contain;
  }

  .pg-map-overlay {
    width: 1400px;
    transform: scale(0.65);
    transform-origin: top center;
    margin-left: 50%;
    position: relative;
  }

  .pg-map-column {
    overflow: hidden;
  }
  
  #island-1 { left: 450px; }
  #island-2 { left: 720px; }
  #island-3 { left: 450px; }
  #island-4 { left: 720px; }
  #island-5 { left: 450px; } 
  #island-6 { left: 720px; }
  .pg-decor--compass { right: 380px; width: 154px;}
  .pg-decor--whale { left: 420px; }
  .pg-decor--octopus { right: 380px; width: 154px;}
  .pg-decor--ship-small { left: 350px; width: 154px;}
}

@media (max-width: 1000px) { 
  .pg-map-bg {
    align-items: flex-start;
    justify-content: center;
  }

  .pg-map-bg img {
    width: auto;
    height: 100%;
    max-width: none;
    object-fit: contain;
  }

  .pg-map-overlay {
    width: 1180px; /* keep your working desktop coordinate system */
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
  }

  .pg-map-stage {
    overflow: hidden;
  }
  
}

@media (max-width: 1000px) {
  .pg-left-sidebar {
    transform: translate3d(-100%, -50%, 0);
  }

  .pg-left-sidebar.is-open-mobile {
    transform: translate3d(0, -50%, 0);
  }

  .pg-left-sidebar.is-closed {
    transform: translate3d(-100%, -50%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pg-ship-wake,
  .pg-treasure::after {
    animation: none !important;
  }
}

.pg-fog-clouds {
  position: fixed;
  inset: 0;
  z-index: 25;
  pointer-events: none;
  overflow: hidden;
}

.pg-fog-cloud {
  position: absolute;
  opacity: .28;
  mix-blend-mode: screen;
  filter: blur(1px);
  animation: fogDrift linear infinite;
}

.fog-a { width: 48vw; top: 18%; left: -50vw; animation-duration: 55s; }
.fog-b { width: 38vw; top: 46%; left: -45vw; animation-duration: 72s; animation-delay: -18s; }
.fog-c { width: 58vw; top: 70%; left: -65vw; animation-duration: 90s; animation-delay: -35s; }

@keyframes fogDrift {
  from { transform: translateX(0) translateY(0); }
  to   { transform: translateX(165vw) translateY(-30px); }
}



@media (prefers-reduced-motion: reduce) {
  .pg-fog {
    animation: none !important;
  }
}


.pg-ghostship {
  position: absolute;
  left: 0;
  top: 0;
  width: 220px;
  z-index: 28;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  filter: blur(.3px) drop-shadow(0 0 22px rgba(160,240,220,.45));
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
}


@media (max-width: 768px) {
  .site-header__inner {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    width: 100% !important;
    padding: 0 8px !important;
  }

  .site-branding {
    order: 1 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
  }

  .site-branding img {
    width: 54px !important;
    height: auto !important;
  }

  .site-branding span {
    font-size: 1rem !important;
    white-space: nowrap !important;
  }

  .pg-game-toggle {
    order: 2 !important;
    position: static !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: 68px !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 8px !important;
    font-size: 0 !important;
    z-index: 1 !important;
  }

  .pg-game-toggle::after {
    content: "Game";
    font-size: 10px;
    letter-spacing: .05em;
  }

  .pg-game-toggle.is-active::after {
    content: "Exit";
  }

  .site-mini-cart {
    order: 3 !important;
    position: static !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    z-index: 2 !important;
  }

  .site-menu-toggle {
    order: 4 !important;
    position: static !important;
    flex: 0 0 38px !important;
    width: 38px !important;
    height: 38px !important;
    margin: 0 !important;
    z-index: 3 !important;
  }

  .site-nav {
    order: 5 !important;
  }
}

@media (max-width: 420px) {
  .site-branding span {
    display: none !important;
  }
}

/* standaard: UIT */
.pg-game-layer {
  display: none;
  pointer-events: none;
}

/* alleen actief in game-mode */
body.pg-game-mode .pg-game-layer {
  display: block;
  pointer-events: auto;
}
