/* Main Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

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

:root {
  --primary-color: #ff6b6b;
  --secondary-color: #f9f7f7;
  --accent-color: #ff8e8e;
  --text-color: #333;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --gradient-start: #ff6b6b;
  --gradient-end: #ffa5a5;
}

body {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #ffd6d6, #ffb6b6);
  color: var(--text-color);
  overflow-x: hidden;
  position: relative;
}

.yes-page {
  background: linear-gradient(135deg, #ffcfd9, #f9c1ff);
}

/* Card Design */
.page-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  width: 100%;
  padding: 20px;
  position: relative;
  z-index: 2;
}

.card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 90%;
  max-width: 550px;
  position: relative;
  overflow: hidden;
}

.success-card {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 15px 40px rgba(255, 107, 107, 0.3);
  transform-origin: center;
}

/* Typography */
.title {
  font-size: 2rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
  color: var(--primary-color);
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

.success-title {
  font-size: 2.5rem;
  color: #ff4081;
}

.subtitle {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
  color: #666;
}

.message {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: #777;
}

.success-message {
  font-size: 1.2rem;
  color: #666;
  margin: 1rem 0 1.5rem;
}

/* Buttons */
.btn-container {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  z-index: 10;
}

.btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.yes-btn {
  background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
  color: white;
  box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.yes-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.5);
}

.no-btn {
  background: white;
  color: #666;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.no-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Stickers */
.sticker-container {
  width: 200px;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

.sticker {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.celebration-sticker {
  width: 220px;
  height: 220px;
}

/* Heart Animations */
.hearts-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
}

.heart-1, .heart-2, .heart-3, .heart-4, .heart-5 {
  position: absolute;
  color: var(--primary-color);
  opacity: 0.6;
  animation: float 6s infinite ease-in-out;
}

.heart-1 {
  top: 10%;
  left: 10%;
  font-size: 1.5rem;
  animation-delay: 0s;
}

.heart-2 {
  top: 20%;
  right: 10%;
  font-size: 2rem;
  animation-delay: 1s;
}

.heart-3 {
  bottom: 15%;
  left: 15%;
  font-size: 1.8rem;
  animation-delay: 2s;
}

.heart-4 {
  top: 40%;
  right: 20%;
  font-size: 1.6rem;
  animation-delay: 1.5s;
}

.heart-5 {
  bottom: 20%;
  right: 15%;
  font-size: 2.2rem;
  animation-delay: 2.5s;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

/* Celebration Page */
.celebration {
  opacity: 0.8;
}

.celebration-icons {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  font-size: 1.8rem;
  color: var(--primary-color);
}

.confetti {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
  .card {
    padding: 2rem;
  }
  
  .title {
    font-size: 1.7rem;
  }
  
  .success-title {
    font-size: 2rem;
  }
  
  .subtitle, .success-message {
    font-size: 1rem;
  }
  
  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
  }
  
  .btn-container {
    gap: 1.5rem;
  }
  
  .sticker-container {
    width: 160px;
    height: 160px;
  }
  
  .celebration-sticker {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 480px) {
  .card {
    padding: 1.5rem;
  }
  
  .title {
    font-size: 1.5rem;
  }
  
  .success-title {
    font-size: 1.7rem;
  }
  
  .subtitle, .message, .success-message {
    font-size: 0.9rem;
  }
  
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .btn-container {
    gap: 1rem;
  }
  
  .sticker-container {
    width: 140px;
    height: 140px;
  }
  
  .celebration-sticker {
    width: 160px;
    height: 160px;
  }
  
  .celebration-icons {
    font-size: 1.5rem;
  }
}