body{
  margin:0;
  height:100vh;
  overflow:hidden;
  font-family:Arial, sans-serif;
  background: linear-gradient(135deg,#ff9a9e,#fad0c4);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
}

/* Message */
.message{
  font-family: "Tangerine", cursive;
  font-weight: 400;
  font-style: normal;
  font-size:20px;
  color:white;
  margin-bottom:20px;
  text-align:center;
  text-shadow:0 2px 8px rgba(0,0,0,0.3);
  min-height:32px;
  white-space: pre-line;
line-height: 1.5;
  letter-spacing: 0.5px;
}

/* Chest */
.chest{
  width:260px;
  cursor:pointer;
  transition: transform 0.4s ease;
}
.chest:hover{
  transform: scale(1.05);
}

/* Slideshow */
.slideshow{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  display:none;
  background:black;
  transition:opacity 1.5s ease;
}

.slide{
  position:absolute;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  transition: opacity 1.5s ease;
}

.slide.active{
  opacity:1;
}

.title{
  position:absolute;
  top:20px;
  width:100%;
  text-align:center;
  color:white;
  font-size:32px;
  z-index:2;
}

/* White fade overlay */
.fadeWhite{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:white;
  opacity:0;
  pointer-events:none;
  transition:opacity 2s ease;
  z-index:5;
}

/* Floating particles */
.particle{
  position:absolute;
  width:6px;
  height:6px;
  background:white;
  border-radius:50%;
  opacity:0.7;
  animation: drift linear forwards;
}

@keyframes drift{
  from{
    transform:translateY(0) scale(1);
    opacity:0.7;
  }
  to{
    transform:translateY(-120vh) scale(0.5);
    opacity:0;
  }
}
#hearts{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  pointer-events:none;
  z-index:1;
}

.heart{
  position: fixed;
  bottom:-20px;
  font-size:20px;
  animation: floatUp linear forwards;
  opacity:0.8;
animation-timing-function: ease-in-out; 

}

@keyframes floatUp {
  0% {
    transform: translateY(0);
    opacity: 0;
  }

  15% {
    opacity: 0.6;   /* fade in smoothly */
  }

  85% {
    opacity: 0.8;   /* fully visible */
  }

  100% {
    transform: translateY(-100vh);
    opacity: 0;   /* fade out smoothly */
  }
}


#click-me-text{
font-size:30px;

}
.title{
font-family: "Tangerine", cursive;
  font-weight: 400;
  font-style: normal;


}