/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  background: linear-gradient(135deg, #87ceeb 0%, #4682b4 100%);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  z-index: 1;
}

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

.heart {
  position: absolute;
  font-size: 2rem;
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}

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

.heart-2 {
  top: 20%;
  right: 15%;
  animation-delay: 1s;
}

.heart-3 {
  top: 60%;
  left: 5%;
  animation-delay: 2s;
}

.heart-4 {
  bottom: 20%;
  right: 10%;
  animation-delay: 3s;
}

.heart-5 {
  bottom: 10%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-20px) rotate(5deg);
  }
  66% {
    transform: translateY(-10px) rotate(-3deg);
  }
}

/* Header Styles */
.header {
  text-align: center;
  margin-bottom: 3rem;
  animation: fadeInDown 1s ease-out;
}

.main-title {
  font-family: "Dancing Script", cursive;
  font-size: 3.5rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 1rem;
  font-weight: 700;
}

.subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
  font-weight: 300;
}

/* Content Styles */
.content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.message-section {
  animation: fadeInUp 1s ease-out 0.3s both;
}

.message-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.message-card h2 {
  font-family: "Dancing Script", cursive;
  font-size: 2.5rem;
  color: #4682b4;
  margin-bottom: 1.5rem;
  text-align: center;
}

.message-card p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 1.5rem;
  text-align: justify;
  line-height: 1.8;
}

.signature {
  text-align: center;
  font-style: italic;
  color: #4682b4;
  font-weight: 500;
}

/* Stats Section */
.stats-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.stat-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #4682b4;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: #666;
  font-weight: 500;
}

/* Interactive Section */
.interactive-section {
  text-align: center;
  animation: fadeInUp 1s ease-out 0.9s both;
}

.love-button {
  background: linear-gradient(45deg, #87ceeb, #4682b4);
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 1.2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(70, 130, 180, 0.4);
  font-weight: 600;
}

.love-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(70, 130, 180, 0.6);
}

.love-message {
  background: rgba(255, 255, 255, 0.95);
  margin-top: 1.5rem;
  padding: 2rem;
  border-radius: 15px;
  font-size: 1.1rem;
  color: #444;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.love-message.show {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.footer {
  text-align: center;
  margin-top: 3rem;
  animation: fadeIn 1s ease-out 1.2s both;
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 15px;
  }

  .main-title {
    font-size: 2.5rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .message-card {
    padding: 2rem;
  }

  .message-card h2 {
    font-size: 2rem;
  }

  .message-card p {
    font-size: 1rem;
  }

  .stats-section {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .heart {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .main-title {
    font-size: 2rem;
  }

  .message-card {
    padding: 1.5rem;
  }

  .stat-card {
    padding: 1.5rem;
  }
}
