.map-frame {
  position: relative;
  display: inline-block;
  width: 800px;
  height: 450px;
  overflow: hidden;
  z-index: 5;
  /* remove the -webkit-mask stuff entirely */
}

/* scroll area */
.map-container {
    width: 755px;
    height: 408px;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    z-index: 5;

    padding: 24px 0 0 47px; /* moves everything inside */
    box-sizing: border-box;

    cursor: grab;
}

/* small screens */
@media (max-width: 768px) {
  .map-frame {
    width: 348px;
    flex: none; /* prevent flex from overriding width */
    height: 442px;
  }

  .map-container {
    width: 328px;
     padding: 24px 0 0 18px; /* moves everything inside */
  }
}


.map-container.dragging {
  cursor: grabbing;
}

.map, .hotspot { user-select: none; }

/* frame overlay — stays fixed while map scrolls */
.map-border {
  position: absolute;
  inset: 0;
  background: url("../img/slider/frame4.png") no-repeat center center;
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 20;  
}

/* hide scrollbar */
.map-container::-webkit-scrollbar { display: none; }
.map-container { scrollbar-width: none; }

/* roadmap background */
.map {
    width: 2092px;
    height: 388px;
    background: url("../img/slider/roadmap_small.jpg") no-repeat left center;
    background-size: auto;
    background-size: cover;
}


/* hotspots */
.hotspot {
  position: absolute;
  width: 40px;
  height: 40px;
  background: url("../img/button/target4spikes_yellow.png") no-repeat center center;
    background-size: auto;
  background-size: contain;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: bold;
  color: white;
  text-shadow: 1px 1px 3px black;
  cursor: pointer;
  user-select: none;
  z-index: 10;
  --scale: 1;
  animation: hotspotRock 3s ease-in-out infinite;
}

/* blurred glow background */
.hotspot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(156, 248, 7, 0.5); /* neon green aura */
  filter: blur(12px);
  border-radius: 50%;
  z-index: -1;

  /* smooth transition for hover glow */
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
  opacity: 0.9;
}

/* rotate left/right + apply scale */
@keyframes hotspotRock {
  0%   { transform: rotate(-20deg) scale(var(--scale)); }
  50%  { transform: rotate(20deg) scale(var(--scale)); }
  100% { transform: rotate(-20deg) scale(var(--scale)); }
}

/* on hover increase scale and glow */
.hotspot:hover {
  --scale: 1.2;
}

.hotspot:hover::before {
  opacity: 1;
  transform: scale(1.2); /* glow expands */
  background: rgba(122, 211, 20, 0.6); /* brighter aura */
}


/* hotspot positions */
.hotspot.point1 { top: 206px; left: 196px; }
.hotspot.point2 { top: 111px; left: 321px; }
.hotspot.point3 { top: 149px; left: 455px; }
.hotspot.point4 { top: 195px; left: 689px; }
.hotspot.point5 { top: 216px; left: 920px; }
.hotspot.point6 { top: 130px; left: 1186px; }
.hotspot.point7 { top: 267px; left: 1390px; }
.hotspot.point8 { top: 183px; left: 1676px; }
.hotspot.point9 { top: 319px; left: 1871px; }

















.roadmap-wrapper {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.content-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.content-slide.active {
  opacity: 1;
  pointer-events: auto;
}









.slider-container {
  display: flex;
  width: 100%;
  flex-wrap: wrap; /* allows stacking */
  text-align: center; /* center text inside children */
  
}

.slider-left, .slider-right {
  flex: 1;
  padding: 20px;
  box-sizing: border-box;

    /*background: lightblue;   /* keep for debugging */
    display: flex;
    justify-content: center; /* center horizontally */
    align-items: center;     /* center vertically */
}

.slider-left {
  /*background: lightblue;   /* keep for debugging */
}

.slider-right {
  /*background: lightgreen;   /* debugging */
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* content at top */
  align-items: stretch;        /* let content fill width */
}

.slider-right .swiper {
  flex: 1 1 auto;      /* allow swiper to expand */
  width: 100%;         /* fill the parent width */
}


/* 50/50 on desktop */
@media (min-width: 769px) {
  .slider-left, .slider-right {
    max-width: 50%;
  }
}

/* stack on small screens */
@media (max-width: 1600px) {
  .slider-container {
    flex-direction: column;
  }
  .slider-left, .slider-right {
    max-width: 100%;
  }
}

