* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: 100vh;
  background: radial-gradient(circle at top, #3a0a0a, #0b0202);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  font-family: 'Noto Serif Bengali', serif;
}

/* CONTAINER */
.intro-container {
  text-align: center;
  z-index: 2;
}

/* ✨ HANDWRITING ANIMATION */
.handwrite {
  width: 320px;
  margin: auto;
}

.handwrite path {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: draw 3s ease forwards;
}

.handwrite text {
  font-size: 42px;
  fill: #ffd7a0;
  font-weight: 600;
  opacity: 0;
  animation: textFade 3s ease forwards;
  animation-delay: 2s;
}

/* NAMES */
.names {
  font-family: 'Great Vibes', cursive;
  font-size: 3.4rem;
  margin-top: 25px;
  color: #ffb36b;
}

.names span {
  margin: 0 12px;
  color: #ffd7a0;
}

/* SUBTITLE */
.subtitle {
  margin-top: 10px;
  opacity: 0.9;
}

/* LOADING */
.loading {
  margin-top: 40px;
  font-size: 0.9rem;
  letter-spacing: 2px;
  animation: blink 1.5s infinite;
}

/* 🌸 ALPONA */
.alpona {
  position: absolute;
  width: 320px;
  height: 320px;
  border: 2px solid #ffd7a0;
  border-radius: 50%;
  animation: alponaDraw 3.5s ease forwards;
  opacity: 0.5;
}

/* 🌺 PETALS */
.petals span {
  position: absolute;
  width: 14px;
  height: 14px;
  background: pink;
  border-radius: 50%;
  opacity: 0.7;
  animation: fall linear infinite;
}

/* ANIMATIONS */
@keyframes draw {
  to { stroke-dashoffset: 0; }
}

@keyframes textFade {
  to { opacity: 1; }
}

@keyframes blink {
  0%,100% { opacity: 0.3; }
  50% { opacity: 1; }
}

@keyframes alponaDraw {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 0.6; }
}

@keyframes fall {
  from { transform: translateY(-10vh); }
  to { transform: translateY(110vh); }
}



/* 🌺 ALPONA HEART */
.alpona-heart {
  width: 260px;
  margin: auto;
  margin-bottom: 20px;
}

.alpona-heart path {
  fill: none;
  stroke: #ffd7a0;
  stroke-width: 3;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: heartDraw 4s ease forwards, heartGlow 3s ease-in-out infinite;
}

@keyframes heartDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes heartGlow {
  0%,100% {
    filter: drop-shadow(0 0 6px rgba(255,215,160,0.4));
  }
  50% {
    filter: drop-shadow(0 0 16px rgba(255,215,160,0.9));
  }
}



/* 👰🤵 COUPLE */
.couple {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin: 30px 0;
}

/* COMMON */
.bride, .groom {
  width: 90px;
  height: 160px;
  position: relative;
  animation: float 4s ease-in-out infinite;
}

/* 🤵 GROOM */
.groom {
  background: linear-gradient(#f5f5f5, #d8d8d8);
  border-radius: 45px 45px 20px 20px;
}

.groom::before {
  content: "";
  position: absolute;
  top: -35px;
  left: 18px;
  width: 54px;
  height: 54px;
  background: #f1d1b5;
  border-radius: 50%;
}

/* 👰 BRIDE */
.bride {
  background: linear-gradient(#c62828, #8e0000);
  border-radius: 45px 45px 60px 60px;
}

.bride::before {
  content: "";
  position: absolute;
  top: -35px;
  left: 18px;
  width: 54px;
  height: 54px;
  background: #f1d1b5;
  border-radius: 50%;
}

/* BRIDE VEIL */
.bride::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 2px solid rgba(255,215,160,0.6);
  border-radius: 50%;
  animation: veilGlow 2.5s ease-in-out infinite;
}

/* ANIMATIONS */
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes veilGlow {
  0%,100% { opacity: 0.4; }
  50% { opacity: 0.9; }
}

/*changes by RA start*/

/* ===============================
   MOBILE RESPONSIVE – INTRO PAGE
   =============================== */

@media (max-width: 768px) {

  body {
    padding: 20px;
  }

  /* Container */
  .intro-container {
    width: 100%;
    padding: 10px;
  }

  /* Handwriting text */
  .handwrite {
    width: 260px;
  }

  .handwrite text {
    font-size: 34px;
  }

  /* Names */
  .names {
    font-size: 2.4rem;
    margin-top: 18px;
  }

  .names span {
    margin: 0 8px;
  }

  /* Subtitle */
  .subtitle {
    font-size: 0.95rem;
    margin-top: 8px;
  }

  /* Loading text */
  .loading {
    margin-top: 28px;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
  }

  /* Alpana heart */
  .alpona-heart {
    width: 220px;
    margin-bottom: 15px;
  }

  /* Alpana circle */
  .alpona {
    width: 240px;
    height: 240px;
  }
}


@media (max-width: 480px) {

  .handwrite {
    width: 220px;
  }

  .handwrite text {
    font-size: 30px;
  }

  .names {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 0.85rem;
  }

  .alpona-heart {
    width: 200px;
  }

  .alpona {
    width: 200px;
    height: 200px;
  }
}


/*changes by RA end*/