
/* ---------------- Base Styles ---------------- */

body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #d649e9, #88229f, #548ef1);
  background-size: 400% 400%;
  animation: backgroundShift 30s ease infinite;
  color: #d6cdda;
}

@keyframes backgroundShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

p {
  font-size: 25px;
  line-height: 1.6;
  color: #e1c5ee;
}

/* ---------------- Banner ---------------- */

.banner-img {
  background-image: url('sasha-freemind-nXo2ZsKHTHg-unsplash.jpg');
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 100px 20px;
  font-family: 'Poppins', sans-serif;
  box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.4);
  color: rgb(153, 54, 173);
}

.banner-img h1 {
  padding: 40px 20px;
  text-align: center;
}

.banner-img p {
  font-size: 20px;
  margin-top: 10px;
}

/* ---------------- About Section ---------------- */

.about-section {
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
  background-color: #cf53dc;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.about-section p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* ---------------- Buttons ---------------- */

.button-group {
  text-align: center;
  margin: 40px 0;
}

.pretty-btn {
  display: inline-block;
  margin: 12px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #e6a8ff, #bd7fff);
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  font-size: 18px;
  border: 2px solid #fff0ff;
  box-shadow: 0 0 15px rgba(255, 205, 255, 0.4);
  transition: transform 0.2s, box-shadow 0.3s ease;
}

.pretty-btn:hover {
  background: linear-gradient(135deg, #f7c8ff, #cb9fff);
  box-shadow: 0 0 20px rgba(255, 205, 255, 0.7);
  transform: translateY(-4px) scale(1.03);
}

/* ---------------- Social Icons ---------------- */

.social-icons {
  text-align: center;
  margin-top: 40px;
}

.social-icons a {
  margin: 0 15px;
  font-size: 50px;
  color: #e4aed2;
  text-decoration: none;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #7723a8;
}

/* ---------------- Contact ---------------- */

.contact-wrapper {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

/* ---------------- Footer ---------------- */

footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

footer p {
  margin: 5px 0;
}

footer a {
  color: #00bfff;
  margin-left: 5px;
  text-decoration: none;
  font-weight: 500;
}

/* ---------------- Typing & Cursor ---------------- */

#typed-text {
  color: #ffe8fd;
  font-weight: bold;
  font-size: 2em;
  text-shadow: 0 0 8px #f0caff, 0 0 12px #d18fff;
}

.cursor {
  display: inline-block;
  animation: sparkleBlink 1s infinite ease-in-out;
  margin-left: 5px;
  font-size: 1.5em;
  color: #ffffff;
  text-shadow: 0 0 8px #fff;
}

@keyframes sparkleBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(1.4); }
}

/* ---------------- Floating Clouds ---------------- */

.clouds {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.cloud {
  position: absolute;
  background: #ffffff40;
  border-radius: 50%;
  filter: blur(20px);
  animation: floatClouds 60s linear infinite;
}

.cloud1 {
  width: 200px;
  height: 80px;
  top: 20%;
  left: -200px;
  animation-delay: 0s;
}

.cloud2 {
  width: 300px;
  height: 120px;
  top: 40%;
  left: -300px;
  animation-delay: 10s;
}

.cloud3 {
  width: 250px;
  height: 100px;
  top: 60%;
  left: -250px;
  animation-delay: 20s;
}

@keyframes floatClouds {
  0% { transform: translateX(0); }
  100% { transform: translateX(120vw); }
}

/* ---------------- Sparkle Trail ---------------- */

.fairy-sparkle {
  position: fixed;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, #ffffff 20%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
  animation: fadeOut 1s linear forwards;
  z-index: 9999;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateY(-10px) scale(0.5);
  }
}
