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

body {
  background: linear-gradient(135deg, #fff0f3 0%, #ffd6e0 50%, #ffb3c6 100%);
  font-family: "Quicksand", sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

/* Floating Hearts Animation */
.floating-hearts {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.heart {
  position: absolute;
  font-size: 24px;
  animation: float 15s infinite ease-in-out;
  opacity: 0.6;
}

.heart:nth-child(1) {
  left: 5%;
  animation-delay: 0s;
  font-size: 20px;
}
.heart:nth-child(2) {
  left: 15%;
  animation-delay: 2s;
  font-size: 28px;
}
.heart:nth-child(3) {
  left: 30%;
  animation-delay: 4s;
  font-size: 18px;
}
.heart:nth-child(4) {
  left: 45%;
  animation-delay: 1s;
  font-size: 24px;
}
.heart:nth-child(5) {
  left: 60%;
  animation-delay: 3s;
  font-size: 22px;
}
.heart:nth-child(6) {
  left: 75%;
  animation-delay: 5s;
  font-size: 26px;
}
.heart:nth-child(7) {
  left: 85%;
  animation-delay: 2.5s;
  font-size: 20px;
}
.heart:nth-child(8) {
  left: 95%;
  animation-delay: 4.5s;
  font-size: 24px;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-20vh) rotate(360deg);
    opacity: 0;
  }
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 40px;
  text-align: center;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(255, 105, 135, 0.3);
  backdrop-filter: blur(10px);
  z-index: 1;
  max-width: 500px;
  margin: 20px;
  animation: slideUp 0.8s ease-out;
}

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

.banner-gif {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.banner-gif img {
  width: auto;
  height: 220px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.banner-gif img:hover {
  transform: scale(1.02);
}

#question-heading {
  font-size: 2rem;
  font-weight: 700;
  color: #e63956;
  margin-bottom: 25px;
  text-shadow: 2px 2px 4px rgba(230, 57, 86, 0.1);
  animation: pulse 2s infinite ease-in-out;
}

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

.buttons {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

#yes-button {
  color: white;
  border: none;
  background: linear-gradient(135deg, #ff6b8a 0%, #ff4d6d 100%);
  cursor: pointer;
  height: 60px;
  min-width: 100px;
  padding: 0 30px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  font-family: "Quicksand", sans-serif;
  box-shadow: 0 8px 25px rgba(255, 77, 109, 0.4);
  transition: all 0.3s ease;
}

#yes-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 35px rgba(255, 77, 109, 0.5);
}

#yes-button:active {
  transform: translateY(0) scale(0.98);
}

#yes-button p {
  margin: 0;
}

#no-button {
  color: #666;
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
  height: 50px !important;
  min-width: 80px;
  width: auto;
  padding: 0 25px;
  border: 2px solid #ddd;
  cursor: pointer;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  font-family: "Quicksand", sans-serif;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#no-button:hover {
  background: linear-gradient(135deg, #e8e8e8 0%, #d8d8d8 100%);
  transform: translateY(-2px);
}

#no-button p {
  margin: 0;
  white-space: nowrap;
}

.message {
  display: none;
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

#success-intro {
  font-size: 1.2rem;
  font-weight: 600;
  color: #e63956;
  margin-top: 20px;
  text-shadow: 2px 2px 4px rgba(230, 57, 86, 0.15);
}

.success-main {
  font-size: 1.6rem;
  font-weight: 700;
  color: #e63956;
  margin-top: 20px;
  line-height: 1.8;
  background: linear-gradient(135deg, #fff0f3 0%, #ffe0e8 100%);
  padding: 15px 25px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(255, 105, 135, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 30px 20px;
    margin: 15px;
    border-radius: 25px;
  }

  #question-heading {
    font-size: 1.5rem;
  }

  .banner-gif img {
    height: 180px;
  }

  #yes-button {
    height: 55px;
    min-width: 90px;
    padding: 0 25px;
    font-size: 1.1rem;
  }

  #no-button {
    height: 45px !important;
    padding: 0 20px;
    font-size: 0.95rem;
  }

  .heart {
    font-size: 18px;
  }
}

/* Password Screen */
.password-screen {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.password-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #e63956;
  margin-bottom: 10px;
}

.password-hint {
  font-size: 1rem;
  color: #ff6b8a;
  margin-bottom: 30px;
}

.pin-inputs {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 20px;
}

.pin-input {
  width: 60px;
  height: 70px;
  font-size: 2rem;
  font-weight: 700;
  font-family: "Quicksand", sans-serif;
  text-align: center;
  border: 3px solid #ffb3c6;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.9);
  color: #e63956;
  outline: none;
  transition: all 0.3s ease;
}

.pin-input:focus {
  border-color: #e63956;
  box-shadow: 0 0 20px rgba(230, 57, 86, 0.3);
  transform: scale(1.05);
}

.pin-input.error {
  border-color: #ff4444;
  animation: shake 0.5s ease-in-out;
}

.pin-input.success {
  border-color: #4caf50;
  background: #e8f5e9;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  20%,
  60% {
    transform: translateX(-10px);
  }
  40%,
  80% {
    transform: translateX(10px);
  }
}

.password-error {
  color: #e63956;
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.password-error.show {
  opacity: 1;
}

.album-note {
  font-size: 0.95rem;
  color: #d4728c;
  margin-top: 25px;
  font-style: italic;
  background: rgba(255, 182, 193, 0.25);
  padding: 12px 18px;
  border-radius: 12px;
  border-left: 3px solid #ffb6c1;
}

.main-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .pin-input {
    width: 50px;
    height: 60px;
    font-size: 1.6rem;
  }

  .password-title {
    font-size: 1.4rem;
  }
}
