body {
  margin: 0;
  padding: 20px;
  min-height: 100vh;
  background-color: #f9e3e3;
  font-family: 'Arial', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.container {
  text-align: center;
  width: 90%;
  max-width: 800px;
}

h1 {
  font-size: 2.5em;
  color: #d32f2f;
  margin-bottom: 20px;
  animation: fadeIn 1s ease-in;
}

.buttons {
  margin-bottom: 20px;
}

.yes-button {
  font-size: 1.5em;
  padding: 10px 20px;
  margin-right: 10px;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.yes-button:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.no-button {
  font-size: 1.5em;
  padding: 10px 20px;
  background-color: #f44336;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.no-button:hover {
  transform: scale(0.95);
}

.gifs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  animation: slideUp 1s ease-out;
}

.gif {
  flex: 1 1 45%;
  transform: scale(0);
  animation: popIn 0.5s ease-out forwards;
}

.gif.left {
  animation-delay: 0.2s;
}

.gif.right {
  isolation: isolate; 
  mix-blend-mode: multiply;
}

.gif.right img {
  mix-blend-mode: multiply;
  will-change: opacity, transform;
  transform: translateZ(0);    /* force a layer */
  backface-visibility: hidden;
}

.gif img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes popIn {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@media (max-width: 600px) {
  .gifs {
    flex-direction: column;
  }
  .gif {
    flex: none;
    width: 100%;
  }
  h1 {
    font-size: 2em;
  }
}
