@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;1,400&family=Poppins:wght@300;400;600&family=Dancing+Script:wght@600&display=swap");

:root {
  --primary-color: #d63384;
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.8);
}

body {
  font-family: "Poppins", sans-serif;
  color: #2c2c2c;
  overflow-x: hidden;
}

h1,
h2,
h3,
.display-1,
.display-4,
.display-5,
.display-6 {
  font-family: "Playfair Display", serif;
}

.font-handwriting {
  font-family: "Dancing Script", cursive;
  color: #b83b5e;
}

.text-gradient {
  background: linear-gradient(45deg, #ff6b6b, #d63384);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #d63384;
}

.char {
  display: inline-block;
}

.fixed-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
}

.photo-frame,
#question-box,
.letter-container,
.quiz-card {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(31, 38, 135, 0.05);
}

.photo-frame {
  padding: 15px;
  transition: transform 0.3s ease;
  background: rgba(255, 255, 255, 0.8);
}

.photo-frame img {
  border-radius: 10px;
  width: 100%;
  display: block;
}

.quiz-section {
  min-height: 100vh;
  padding: 20px;
}

.quiz-card {
  border-radius: 30px;
  transition: transform 0.3s ease;
}

.btn-quiz {
  background: white;
  color: #b83b5e;
  border: 2px solid #b83b5e;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-quiz:hover {
  background: #b83b5e;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(184, 59, 94, 0.3);
}

#question-box {
  position: relative;
}

.btn-custom-yes {
  background: #ff6b6b;
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 50;
}

.btn-custom-yes:hover {
  transform: scale(1.05);
  background: #ff4757;
  color: white;
}

.btn-custom-no {
  background: white;
  color: #ff6b6b;
  border: 2px solid #ff6b6b;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
  position: relative;
  z-index: 1;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2.5rem;
  color: #b83b5e;
  opacity: 0.7;
  animation: bounce 2s infinite;
  cursor: pointer;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-20px);
  }
  60% {
    transform: translateX(-50%) translateY(-10px);
  }
}
.fade-in-anim {
  animation: fadeIn 1s ease-in forwards;
}

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

.d-none {
  display: none !important;
}
