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

html,
body {
  width: 100%;
  height: 100%;
}

body {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 29% 100%;
  background-color: #000;
  display: flex;
  justify-content: center;
  top: 0;
  overflow: hidden;
  height: auto;
}

.title {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start; /* Align to the top */
  padding-top: 1rem; /* Optional spacing from the top */
  position: relative;
}

.title img {
  max-width: 26%;
  height: auto;
  object-fit: contain;
}
@media (max-width: 376px) {
  .pop1 {
    width: 95%;
    max-width: 95vw;
    padding: 0.5rem;
    transform: scale(1); /* Remove shrinking on small screen */
  }

  .pointer1,
  .pointer {
    align-items: center;
    width: 75%;
    margin-top: 24px;
  }
}
@media (max-width: 391px) {
  .pop1 {
    width: 95%;
    max-width: 95vw;
    padding: 0.5rem;
    transform: scale(1); /* Remove shrinking on small screen */
  }

  .pointer1,
  .pointer {
    align-items: center;
    gap: 0.5rem;
    width: 75%;
    top: 20px;
  }

  .pointer1 img,
  .pointer img {
    width: 70%;
  }
}
@media (max-width: 415px) {
  .pop1 {
    width: 95%;
    max-width: 95vw;
    padding: 0.5rem;
    transform: scale(1); /* Remove shrinking on small screen */
  }

  .pointer1,
  .pointer {
    align-items: center;
    width: 75%;
    margin-top: 5rem;
    margin-right: 10px;
  }
}
@media (min-width: 1025px) {
  .pop1 {
    width: 400px;
    padding: 1rem;
    transform: scale(0.8); /* Optional: shrink slightly */
  }

  .pointer1,
  .pointer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: auto;
  }

  .pointer1 img,
  .pointer img {
    width: 130px;
    max-width: 20%;
  }
}

@media (max-width: 429px) {
  .pop1 {
    width: 95%;
    max-width: 95vw;
    padding: 0.5rem;
    transform: scale(1); /* Remove shrinking on small screen */
  }

  .pointer1,
  .pointer {
    align-items: center;
    width: 75%;
    margin-top: 2rem;
    margin-right: 15px;
  }
}

@media (max-width: 471px) {
  .pop1 {
    width: 95%;
    max-width: 95vw;
    padding: 0.5rem;
    transform: scale(1); /* Remove shrinking on small screen */
  }

  .pointer1,
  .pointer {
    align-items: center;
    width: 75%;
    margin-top: 2rem;
    margin-right: 15px;
  }
}

@media (max-width: 768px) {
  .title-image {
    width: 100%;
    padding: 0 1rem;
  }
}
@media (max-width: 768px) {
  body {
    background-size: cover; /* make it fill the screen */
    background-position: center center;
  }
}

@media (max-width: 1225px) {
  .title img {
    max-width: 50%;
  }
  body {
    background-size: cover; /* make it fill the screen */
    background-position: center center;
  }
  .pointer1,
  .pointer {
    align-items: center;
    gap: 4rem;
    width: 75%;
    margin: 0 0 0 px;
  }

  .pointer1 img,
  .pointer img {
    width: 67%;
    margin-top: -60px;
  }
  .ball {
    width: 33%;
  }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .title img {
    max-width: 70%;
  }
}
@media (max-width: 830px) {
  .title img {
    max-width: 70%;
  }
  .ball img {
    width: 60px;
  }
}

.pointer {
  cursor: pointer;
  height: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* allows wrapping on small screens */
  gap: 1rem;
  top: 33%;
  margin-left: 15px;
  position: absolute;
  z-index: 1; /* make sure it appears above background */
}

.pointer img {
  max-width: 15%;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.pointer1 {
  margin-left: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* allows wrapping on small screens */
  gap: 1rem;
  top: 52%;
  position: absolute;
  z-index: 2; /* make sure it appears above background */
}

.pointer1 img {
  max-width: 15%;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.ball {
  position: absolute;
  top: 75%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}
.ball img {
  margin-left: 10px;
  width: 50%;
}
/* === FULLSCREEN BACKDROP === */
.popup-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3); /* Black 30% opacity */
  display: none; /* Hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 999;
}

/* Show the overlay when active */
.popup-overlay.show {
  display: flex;
}

/* === POPUP BOX === */
.pop1 {
  width: 80%;
  max-width: 400px;
  position: relative;
  opacity: 0;
  animation: dropIn 0.6s ease forwards;
  z-index: 1000;
}

/* === IMAGES INSIDE POPUP === */
.pop1 img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* === DROP-IN ANIMATION === */
@keyframes dropIn {
  0% {
    transform: translateY(-150px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .pop1 {
    width: 100%;
    transform: scale(0.7);
  }
}
.popup-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup-overlay.show {
  display: flex;
}

.pop1,
.pop {
  width: 80%;
  max-width: 400px;
  position: relative;
  opacity: 0;
  animation: dropIn 0.6s ease forwards;
  z-index: 1000;
}

.pop1 img,
.pop img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@keyframes dropIn {
  0% {
    transform: translateY(-150px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (min-width: 1440px) {
  .title img {
    max-width: 20%; /* smaller for ultra-wide screens */
  }

  .pop1,
  .pop {
    width: 90%;
  }

  .pointer1,
  .pointer {
    gap: 2rem;
    width: 20%;
    margin-left: 20px;
    z-index: 1;
  }

  .pointer1 img,
  .pointer img {
    max-width: 20%;
  }

  .ball img {
    width: 50%;
  }
}
@keyframes zoomInOut {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15); /* zoom level */
  }
}

.zoom-animation {
  animation: zoomInOut 1.2s ease-in-out infinite;
}
