@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap");

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: linear-gradient(45deg, #ff6b6b, #ffc3a0, #ffafbd, #ffc3a0);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  overflow: hidden;
}

.container {
  text-align: center;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  max-width: 500px;
  width: 90%;
  position: relative;
  z-index: 1;
}

h1 {
  color: #2c3e50;
  margin-bottom: 30px;
  font-size: 2.2em;
}

.buttons {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

button {
  padding: 15px 30px;
  font-size: 18px;
  cursor: pointer;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  min-width: 150px;
  position: relative;
  overflow: visible;
}

#evetBtn {
  background: linear-gradient(45deg, #00b09b, #96c93d);
  color: white;
}

#hayirBtn {
  background: linear-gradient(45deg, #ff416c, #ff4b2b);
  color: white;
  position: relative;
}

/* Hayır butonu zıplama animasyonu */
#hayirBtn.bounce {
  animation: buttonBounce 0.6s ease-in-out;
}

#message {
  margin-top: 30px;
  color: #34495e;
  font-size: 1.2em;
  min-height: 30px;
  opacity: 0;
  transition: all 0.3s ease;
}

#message.show {
  opacity: 1;
}

.success-message {
  display: none;
  font-size: 1.5em;
  margin: 20px 0;
}

.success-message.show {
  display: block;
  animation: fadeIn 1s ease;
}

/* Kalp şekilli fotoğraf - tam senin istediğin gibi */
.love-gif {
  width: 280px;
  height: 250px;
  margin: 20px auto;
  display: none;
  position: relative;
}

/* Kalp çerçevesi - siyah border */
.love-gif::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  border: 4px solid #000000;
  clip-path: path(
    "M140,20 C140,20 100,0 60,20 C20,40 20,100 60,130 L140,210 L220,130 C260,100 260,40 220,20 C180,0 140,20 140,20 Z"
  );
  z-index: 2;
  /* Kırmızı neon ışık efektleri */
  box-shadow: 0 0 20px #ff0000, 0 0 40px #ff0000, 0 0 60px #ff0000;
  animation: redNeonPulse 2s ease-in-out infinite alternate;
}

/* Fotoğraf kalp içinde */
.love-gif img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: path(
    "M140,20 C140,20 100,0 60,20 C20,40 20,100 60,130 L140,210 L220,130 C260,100 260,40 220,20 C180,0 140,20 140,20 Z"
  );
  z-index: 1;
}

.success .love-gif {
  display: block;
  animation: float 3s ease-in-out infinite;
}

/* Ağlayan emoji efekti */
.crying-emoji {
  position: absolute;
  font-size: 24px;
  pointer-events: none;
  z-index: 1000;
  animation: cryingEmojiFloat 2s ease-out forwards;
}
