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

html, body {
  font-family: 'Lora', serif;
  color: #333;
  text-align: center;
  line-height: 1.6;
  min-height: 100vh;
  padding: 0 1rem;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  background: linear-gradient(135deg, #e0c3fc, #8ec5fc);
}

/* Adding subtle star outline background using radial gradients */
body::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle closest-side, rgba(255, 255, 255, 0.7) 10%, transparent 10%),
    radial-gradient(circle closest-side, rgba(255, 255, 255, 0.5) 15%, transparent 15%);
  background-size: 15px 15px, 25px 25px;
  opacity: 0.15;  /* Adjust the opacity for a subtle effect */
  pointer-events: none; /* Make sure it doesn't interfere with interactions */
  z-index: -1; /* Place behind content */
}

/* Header */
header {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  margin: 1rem auto;
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: center;
  animation: glowing-text 3s ease-in-out infinite alternate;
  position: relative; /* Ensure it spans the full width */
  z-index: 1;
  background: linear-gradient(135deg, #6a79c6, #b3c8f0); /* Magical gradient */
  box-shadow: 0 0 30px rgba(105, 154, 230, 0.6); /* Adding extra glow to header background */
}

.blog-name {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 3rem; /* Slightly bigger to emphasize the magical effect */
  color: #5c4a72;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.1); /* Softer shadow for a more subtle glow */
  animation: float 4s ease-in-out infinite, glowing-text 3s ease-in-out infinite alternate;
}

/* Glowing Effect for Text */
@keyframes glowing-text {
  0% {
    text-shadow: 0 0 5px #6a79c6, 0 0 15px #6a79c6, 0 0 30px #6a79c6, 0 0 40px rgba(105, 154, 230, 0.6);
  }
  100% {
    text-shadow: 0 0 10px #6a79c6, 0 0 20px #6a79c6, 0 0 30px #6a79c6, 0 0 50px rgba(105, 154, 230, 0.4);
  }
}

/* Section Styles */
.welcome-section, .coming-soon-section, .mission-section, .features-section {
  background-color: rgba(255, 255, 255, 0.3);
  padding: 2rem;
  margin: 1rem auto 2rem auto;
  border-radius: 15px;
  max-width: 1200px;
  width: 100%;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.welcome-section:hover, .coming-soon-section:hover, .mission-section:hover, .features-section:hover {
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 20px rgba(105, 154, 230, 0.6); /* Adding blue glow to sections */
}

/* Section Header Text */
h2, h3 {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 2.5rem;
  color: #5c4a72;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  margin-bottom: 1rem;
}

/* Footer Styles */
footer {
  margin-top: 2rem;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.8);
  color: #4b3f72;
  font-size: 1rem;
  text-align: center;
  border-radius: 15px;
  max-width: 1200px;
  width: 100%;
  margin: 2rem auto;
  animation: glowing-footer 3s ease-in-out infinite alternate;
  position: relative; /* Ensure it spans the full width */
  background: linear-gradient(135deg, #6a79c6, #b3c8f0); /* Magical gradient */
  box-shadow: 0 0 30px rgba(105, 154, 230, 0.6); /* Adding extra glow to footer background */
}

footer .footer-text {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 1.25rem;
  color: #5c4a72;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Glowing Footer Text Effect */
@keyframes glowing-footer {
  0% {
    text-shadow: 0 0 10px #6a79c6, 0 0 20px #6a79c6, 0 0 30px #6a79c6, 0 0 40px rgba(105, 154, 230, 0.6);
  }
  100% {
    text-shadow: 0 0 20px #6a79c6, 0 0 30px #6a79c6, 0 0 40px #6a79c6, 0 0 50px rgba(105, 154, 230, 0.4);
  }
}

/* Section Styling */
ul {
  list-style-type: none;
  padding-left: 0; /* Optionally, remove left padding */
}

/* Hover Effect on List Item */
.features li:hover {
  color: #5c4a72;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
}

/* Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
