* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: serif;
}

body {
  overflow: hidden;
}

.page {
  display: none;
  min-height: 100vh;
  background-size: contain;
background-repeat: no-repeat;
background-position: center;
background-color: #c9c3d8;
  background-position: center;
  position: relative;
}

.page.active {
  display: block;
}

.btn {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 22px;
  font-size: 16px;
  cursor: pointer;
}

.back {
  position: absolute;
  top: 20px;
  left: 20px;
  cursor: pointer;
}

.end {
  position: absolute;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
}

.heart-buttons {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
}

.heart-buttons button {
  padding: 10px 15px;
  cursor: pointer;
}

.timer {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}
.hotspot {
  position: absolute;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 50;      
  pointer-events: auto;
}

/* Slide 1 – Let's celebrate it */
.celebrate-btn {
  top: 43%;
  left: 50%;
  width: 260px;
  height: 60px;
  transform: translateX(-50%);
}
/* ---------- SLIDE 2 ---------- */

/* Back arrow */
.back-btn-slide2 {
  top: 22%;
  left: 1%;
  width: 120px;
  height: 50px;
  z-index: 50;   
}

.forward-btn-slide2 {
  bottom: 24%;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  height: 60px;
  z-index: 50;   
}

/* Timer frame */
.timer-frame {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 25px;
  pointer-events: none;   
  z-index: 10;            
}
.time-box {
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  color: #7a1e1e;
  text-align: center;
  line-height: 1;
  padding: 0;
  margin: 0;
}

/* ---------- SLIDE 3 ---------- */

.back-btn-slide3 {
 top: 22%;
  left: 1%;
  width: 120px;
  height: 50px;
  z-index: 50;   
}

.end-btn-slide3 {
  top: 22%;
  right: 1%;
  width: 120px;
  height: 50px;
}

/* Hearts */
.heart-forever {
  bottom: 31%;
  left: 20%;
  width: 100px;
  height: 55px;
}

.heart-world {
  bottom: 31%;
  left: 54%;
  width: 100px;
  height: 55px;
}

.heart-mini {
  bottom: 31%;
  left: 85%;
  width: 100px;
  height: 55px;
}
.slide1-btn {
  background: rgba(255, 0, 0, 0.2);
}


/* Media Query for 1440px and above */
@media (min-width: 1440px) {
  /* Slide 1 – Let's celebrate it */
  .celebrate-btn {
    top: 43%;
    width: 320px;
    height: 75px;
  }

  /* Slide 2 */
  .back-btn-slide2 {
    top: 3%;
    left: 8%;
    width: 150px;
    height: 65px;
  }

  .forward-btn-slide2 {
    bottom: 8%;
    left: 50%;
    width: 320px;
    height: 75px;
  }

  /* Timer frame */
  .timer-frame {
    top: 46%;
    gap: 35px;
  }

  .time-box {
    width: 180px;
    height: 140px;
    font-size: 65px;
    text-align: center;
    line-height: 1;
  }

  /* Slide 3 */
  .back-btn-slide3 {
    top: 3%;
    left: 8%;
    width: 150px;
    height: 65px;
  }


  .end-btn-slide3 {
    top: 3%;
    right: 8%;
    width: 150px;
    height: 65px;
  }

  /* Hearts */
  .heart-forever {
    bottom: 20%;
    left: 26%;
    width: 130px;
    height: 70px;
  }

  .heart-world {
    bottom: 20%;
    left: 55%;
    width: 130px;
    height: 70px;
  }

  .heart-mini {
    bottom: 20%;
    left: 79%;
    width: 130px;
    height: 70px;
  }
}

/* Slide 4 */
  .back-btn-slide4 {
    top: 3%;
    left: 8%;
    width: 150px;
    height: 65px;
  }


/* Slide 5 */
  .back-btn-slide5 {
    top: 3%;
    left: 8%;
    width: 150px;
    height: 65px;
  }

/* Slide 6 */
  .back-btn-slide6 {
    top: 3%;
    left: 8%;
    width: 150px;
    height: 65px;
  }
/* Slide 7 */
  .back-btn-slide7 {
    top: 3%;
    left: 8%;
    width: 150px;
    height: 65px;
  }




celebrate-btn {
  background: rgba(255,0,0,0.3);
}
back-btn-slide6 {
  background: rgba(0,255,0,0.3);
}
