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

body {
  background-color: #FFF5F5;
  font-family: 'Georgia', serif;
  min-height: 100vh;
  position: relative;
}

.title {
  position: absolute;
  top: 30px;
  left: 30px;
  font-family: 'Dancing Script', cursive;
  font-size: 2rem;
  font-weight: 700;
  color: #D97398;
  z-index: 10;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 100px 20px 40px 20px;
}

.photo-container {
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(217, 115, 152, 0.2);
  border-radius: 8px;
  overflow: hidden;
  max-width: 600px;
  width: 100%;
}

.photo-container img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 500px;
  object-fit: cover;
}

.poem-container {
  max-width: 500px;
  text-align: center;
  margin-bottom: 30px;
  padding: 0 20px;
}

#poem {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #5D4E60;
  font-style: italic;
  white-space: pre-line;
}

.timer-container {
  text-align: center;
  margin-bottom: 30px;
}

#timer {
  font-size: 1.3rem;
  color: #D97398;
  font-weight: 600;
  font-family: 'Dancing Script', cursive;
}

#refresh-btn {
  background-color: #D97398;
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: 25px;
  cursor: pointer;
  font-family: 'Dancing Script', cursive;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(217, 115, 152, 0.3);
}

#refresh-btn:hover {
  background-color: #C85A82;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 115, 152, 0.4);
}

#refresh-btn:active {
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .title {
    font-size: 1.5rem;
    top: 20px;
    left: 20px;
  }
  
  .photo-container {
    max-width: 90%;
  }
  
  #poem {
    font-size: 1rem;
  }
  
  #timer {
    font-size: 1.1rem;
  }
}