@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap');

body {
  font-family: 'Dancing Script', cursive;
  background: 
    url('data:image/svg+xml;utf8,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><text x="0" y="45" font-size="48" fill="pink" opacity="0.18">❤</text></svg>') repeat,
    linear-gradient(to bottom right, #ffe6f0, #e0f7fa);
  text-align: center;
  padding: 20px;
  color: #333;
  overflow-x: hidden;
  position: relative;
}

h1 {
  font-size: 3em;
  color: #d63384;
  margin-bottom: 30px;
}

.gallery {
  margin: 30px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.gallery img {
  width: 200px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.buttons {
  margin-top: 40px;
}

button {
  font-size: 1.8em;
  padding: 15px 40px;
  margin: 15px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.yes {
  background-color: #ff69b4;
  color: white;
  animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.no {
  background-color: #cccccc;
  color: black;
  position: relative;
  z-index: 1000; 
}
.no:hover {
  background-color: #bbb;
}

.photo-board img {
  width: 160px;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  border: 4px solid #fff;
  box-shadow: 0 4px 16px rgba(231,84,128,0.12);
  background: #fff;
  margin: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.photo-board img:hover {
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 8px 24px rgba(231,84,128,0.18);
}

.line {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 30px 0;
  position: relative;
}

.line::before {
  content: "";
  position: absolute;
  top: 0;           
  left: 0;
  height: 4px;
  width: 100%;
  background-color: #b08968;
  z-index: 0;
}

.hanging {
  width: 150px;
  border-radius: 5px;
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
  z-index: 1;
  transition: transform 0.3s ease;
}

