* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: radial-gradient(circle at top, #f9f6f1, #f9ead0);
  overflow-x: hidden;
  font-family: 'Playfair Display', serif;
}

.gujarati-mode {
  font-family: 'Noto Serif Gujarati', serif;
}

/* Optional: snap scrolling like slides */

html {
  scroll-snap-type: y mandatory;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.m-0 {
  margin: 0 !important;
}

.mb-10 {
  margin-bottom: 10px !important;
}

.mt-10 {
  margin-top: 10px !important;
}

.mb-15 {
  margin-bottom: 15px !important;
}

.mt-15 {
  margin-top: 15px !important;
}

.mb-20 {
  margin-bottom: 20px !important;
}

.mt-20 {
  margin-top: 20px !important;
}

.mb-30 {
  margin-bottom: 30px !important;
}

.mt-30 {
  margin-top: 30px !important;
}


.logo {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 30;
}

.logo img {
  height: 40px;
}

.intro,
.next-section {
  scroll-snap-align: start;
}

/* Controls */
.lang-toggle {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 30;
}

.lang-toggle button {
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 18px;
}

.music-toggle {
  position: fixed;
  bottom: 14px;
  right: 14px;
  z-index: 30;
  background: rgba(0, 0, 0, 0.6);
  padding: 10px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
}

/* Intro */
.intro {
  background: linear-gradient(145deg, #0D0000 0%, #2A0000 30%, #4A1200 60%, #0D0000 100%);
  color: #f9ead0;
  position: relative;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
}

/* Curtains */
.curtains {
  position: absolute;
  inset: 0;
  display: flex;
  perspective: 900px;
  z-index: 5;
}

.curtain {
  width: 50%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: inset -30px 0 50px rgba(0, 0, 0, 0.75);
  transform-origin: center left;
  transition: transform 2s cubic-bezier(0.77, 0, 0.175, 1);
}

.curtain.left {
  background-image: url("../invitation_assets/images/c-left.png");
}

.curtain.right {
  background-image: url("../invitation_assets/images/c-right.png");
  transform-origin: center right;
  box-shadow: inset 30px 0 50px rgba(0, 0, 0, 0.75);
}

.curtain::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 60%);
  pointer-events: none;
}

/* Open state */
.curtains.open .left {
  transform: translateX(-150%) rotateY(14deg);
}

.curtains.open .right {
  transform: translateX(150%) rotateY(-14deg);
}

/* Tap overlay */
.tap-overlay {
  color: #f9ead0;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.5);
  z-index: 20;
  cursor: pointer;
  text-align: center;
}

.tap-overlay p {
  font-size: 22px;
  padding: 10px 25px 15px 25px;
  border: 1px solid;
  border-radius: 30px;
  backdrop-filter: blur(5px);
}

.hand {
  font-size: 28px;
  animation: tap 1.4s infinite;
  margin-bottom: 15px;
}

@keyframes tap {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

/* Intro text */
.intro-text {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease 1s;
  text-align: center;
}

.intro-text.show {
  opacity: 1;
  pointer-events: auto;
}

/* Spotlight glow */
.spotlight {
  position: absolute;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.35), transparent 65%);
  filter: blur(18px);
  top: 46%;
  left: 50%;
  transform: translate(-50%, -60%);
  pointer-events: none;
}

/* Names */

.name {
  font-family: "Great Vibes", cursive;
  font-size: 75px;
  letter-spacing: 1px;
  margin-bottom: 10px;
  text-shadow:
    0 0 12px rgba(255, 215, 0, 0.6),
    0 0 24px rgba(255, 215, 0, 0.35);
}

.name-and {
  font-family: 'Allura', cursive;
  font-size: 75px;
  letter-spacing: 1px;
  margin-bottom: 10px;
  text-shadow:
    0 0 12px rgba(255, 215, 0, 0.6),
    0 0 24px rgba(255, 215, 0, 0.35);
}

.name-and {
  color: #ffd700;
}

/* subtitle */
.subtitle {
  font-family: 'Allura', cursive;
  font-size: 30px;
  margin-top: 40px;
  border: 1px solid;
  padding: 10px 20px;
  border-radius: 50px;
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.6),
    0 0 24px rgba(255, 215, 0, 0.35);
}


.gujarati-mode .name,
.gujarati-mode .subtitle {
  font-family: 'Noto Serif Gujarati', serif;
}


/* Scroll Down bottom */
.scroll-down.bottom {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  opacity: 0.9;
  cursor: pointer;
  color: white;
}

.scroll-down .arrow {
  font-size: 20px;
  animation: bounce 1.4s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}



/* Hide scroll down initially */
.scroll-down.bottom {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

/* Show after reveal */
.scroll-down.bottom.show {
  opacity: 0.9;
  pointer-events: auto;
}

/* Next section */
/* Next section as hero (mobile view) */
.next-section {
  /* min-height: 100vh; */
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}


/* Confetti container */
#confetti span {
  position: fixed;
  top: -20px;
  pointer-events: none;
  font-size: 14px;
  animation: confetti-fall linear forwards;
  z-index: 15;
}

@keyframes confetti-fall {
  to {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0;
  }
}


/* New changes  */

.lang-toggle {
  display: flex;
  gap: 6px;
}

.lang-btn {
  background: rgba(0, 0, 0, 0.5);
  color: #ccc;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 5px 10px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: #ffd700;
  color: #000;
  border-color: #ffd700;
  font-weight: 600;
}

/* Ganpati bappa */

.ganpati-hero-top {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  z-index: 25;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
  pointer-events: none;
}

/* Hide Ganpati at hero top initially */
.ganpati-hero-top {
  opacity: 0;
  transition: opacity 0.6s ease;
}

/* Show Ganpati after curtain opens */
.ganpati-hero-top.show {
  opacity: 1;
}

.ganpati-bappa-small {
  height: 60px;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
}

.god-names {
  display: flex;
}

.god-names p {
  font-size: 8px !important;
  margin-bottom: 20px !important;
  width: 33.33%;
}

.invite-card p {
  font-size: 14px;
  margin-bottom: 8px;
}

.invite-card .small {
  font-size: 12px !important;
}

.couple-name {
  font-family: "Great Vibes", cursive;
  font-size: 45px;
  letter-spacing: 1px;
  text-shadow:
    0 0 12px rgba(255, 215, 0, 0.6),
    0 0 24px rgba(255, 215, 0, 0.35);
}

.guestName {
  font-size: 16px !important;
  text-transform: uppercase;
  color: #d50000;
}

.inviteyou {
  font-size: 16px;
}

.gujarati-mode .god-names p {
  font-size: 12px !important;
  margin-bottom: 15px !important;
}

.gujarati-mode .invite-card p {
  font-size: 16px;
  margin-bottom: 8px;
}

.gujarati-mode .invite-card .small {
  font-size: 14px !important;
}

.gujarati-mode .couple-name {
  font-family: 'Noto Serif Gujarati', serif;
  font-size: 50px;
}

.invite-parents {
  font-size: 12px;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

.invite-request {
  font-size: 12px;
  margin: 10px 0;
  opacity: 0.85;
}

.invite-names {
  /* font-family: "Great Vibes", cursive; */
  font-size: 28px;
  line-height: 1.2;
  margin: 12px 0;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.invite-names span {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 16px;
}

/* Glass morph base */
.glass-card {
  background: #ffffffb3;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 22px;
  padding: 20px 30px 40px 30px;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

#details {
  background-image: url('../invitation_assets/images/invite-bg.png');
  background-position: bottom;
  /* min-height: 100vh; */
  min-height: 100dvh;
  display: flex;
  /* align-items: flex-start; */
  /* align-items: center; */
  justify-content: center;
  padding: 70px 15px;
  background-size: cover;
}

#ritual {
  background-image: url('../invitation_assets/images/rituals-bg.png');
  background-position: bottom;
  /* min-height: 100vh; */
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 16px;
  background-size: cover;
}

.ritual-card {
  background: #ffffff40;
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 22px;
  padding: 20px;
  text-align: center;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  border: 1px solid #ffffff70;
}

.ritual-card h2 {
  font-size: 20px;
  color: #15541d;
  margin-top: 5px;
  margin-bottom: 15px;
}

.ritual-card p {
  font-size: 16px;
  color: #3c0000;
  text-shadow: 2px 0 #ffd70050;
}

.ritual-card .icon img {
  padding: 13px;
  border-radius: 50%;
  background-color: #15541d;
  height: 60px;

}

#venue {
  background-image: url('../invitation_assets/images/venue-bg.png');
  background-position: bottom;
  /* min-height: 100vh; */
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 16px;
  background-size: cover;
}

.card-wrapper {
  min-width: 350px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.venue-card {
  background: #95959500;
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 22px;
  padding: 20px;
  text-align: center;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  border: 1px solid #ffffff70;
}

.venue-card h2 {
  font-size: 20px;
  margin-top: 5px;
  margin-bottom: 15px;
}

.venue-card p {
  font-size: 16px;
  text-shadow: 2px 0 #ff000050;
}

.venue-card .icon img {
  padding: 13px;
  border-radius: 50%;
  background-color: #000;
  height: 60px;

}

.map {
  border-radius: 20px;
  margin-top: 20px;
  margin-bottom: 15px;
}

.map-frame {
  height: 200px;
  width: stretch;
  border-radius: 15px;
}

.btn-map {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 15px;
  text-decoration: none;
  color: #000;
  background: #ffd700;
  transition: all 0.2s ease-in-out;
  border: 0;
}

.btn-map:hover {
  color: #000;
  background: #ffd700;
  scale: 0.8;
}

.btn-light {
  display: inline-block;
  font-family: Arial, Helvetica, sans-serif !important;
  margin-top: 15px;
  padding: 4px 15px 5px 15px;
  border-radius: 20px;
  font-size: 15px;
  text-decoration: none;
  color: #fff;
  transition: all 0.2s ease-in-out;
  border: 2px solid #ffffff2b;
}

.btn-light:hover {
  color: #000;
  background: #ffd700;
  scale: 0.8;
}

.gallery-row {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  justify-content: space-evenly;
}

.gallery-row img {
  width: 30%;
  height: 150px;
  border-radius: 8px;
  object-fit: cover;
}




/* Scroll to top floating button */
.scroll-top-btn {
  position: fixed;
  right: 14px;
  bottom: 64px;
  /* sits above mute button */
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #ffd700;
  display: grid;
  place-items: center;
  font-size: 18px;
  z-index: 30;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.scroll-top-btn.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Subtle pulse animation */
.scroll-top-btn.pulse {
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
  }
}



/* Thank You section layout */
#thankyou {
  background: linear-gradient(145deg, #0D0000 0%, #390000 10%, #651d00 80%, #140500 100%);
  /* background: radial-gradient(circle at bottom, #3c0000, #44758c, #003c03); */
  /* min-height: 100vh; */
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  position: relative;
}

.btn-primary,
.btn-secondary {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: #ffd700;
  color: #000;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}


/* Scroll arrows for non-hero sections (always visible) */
/* .section-scroll {
  opacity: 0.9;
  pointer-events: auto;
} */

#details,
#venue,
#ritual,
#thankyou {
  position: relative;
}


/* GUARANTEED visible section arrow */
.section-arrow {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  cursor: pointer;
  text-align: center;
  padding: 13px 20px 10px 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  background: #ffffff08;
  border-radius: 20px;
  backdrop-filter: blur(3px);
  color: #fff;
}

.section-arrow .arrow-icon {
  animation: sectionArrowBounce 1.4s infinite;
}

.section-arrow .arrow-icon img {
  width: 20px;
}

@keyframes sectionArrowBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(5px);
  }
}


/* Ring overlay animation */
#ringOverlay {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  width: 150px;
  max-width: 40vw;
  opacity: 0;
  z-index: 40;
  /* above hero initially */
  pointer-events: none;
  transition: transform 0.2s linear, opacity 0.4s ease, z-index 0.2s linear;
}


/* Details card slide-up on entry */

#details .glass-card {
  transform: translateY(-50px);
  text-align: center;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

#details {
  position: relative;
}

#details .glass-card {
  position: relative;
  z-index: 10;
  /* above ring when ring goes behind */
}



/* Floating petals container */
#petals span {
  position: fixed;
  top: -20px;
  pointer-events: none;
  z-index: 20;
  font-size: 16px;
  opacity: 0.9;
  animation: petal-fall linear forwards;
}

@keyframes petal-fall {
  to {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0;
  }
}




/* Golden glow sweep overlay */
#goldenGlow {
  position: fixed;
  inset: -20%;
  pointer-events: none;
  opacity: 0;
  z-index: 25;
  /* above content briefly */
  background: linear-gradient(110deg,
      rgba(255, 215, 0, 0) 40%,
      rgba(255, 215, 0, 0.35) 50%,
      rgba(255, 215, 0, 0) 60%);
  transform: translateX(-100%);
  transition: opacity 0.2s ease;
}

#goldenGlow.run {
  animation: glowSweep 1.2s ease-out forwards;
}

@keyframes glowSweep {
  0% {
    transform: translateX(-120%);
    opacity: 0.9;
  }

  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}



.polygon {
  clip-path: polygon(0% 8%, 4% 4%, 8% 0%, 15% 2%, 22% 0%, 29% 2%, 36% 0%, 43% 2%, 50% 0%, 57% 2%, 64% 0%, 71% 2%, 78% 0%, 85% 2%, 92% 0%, 96% 4%, 100% 8%, 98% 15%, 100% 22%, 98% 29%, 100% 36%, 98% 43%, 100% 50%, 98% 57%, 100% 64%, 98% 71%, 100% 78%, 98% 85%, 100% 92%, 96% 96%, 92% 100%, 85% 98%, 78% 100%, 71% 98%, 64% 100%, 57% 98%, 50% 100%, 43% 98%, 36% 100%, 29% 98%, 22% 100%, 15% 98%, 8% 100%, 4% 96%, 0% 92%, 2% 85%, 0% 78%, 2% 71%, 0% 64%, 2% 57%, 0% 50%, 2% 43%, 0% 36%, 2% 29%, 0% 22%, 2% 15%);
}









/* Resonsive for Desktop Version  */


@media (min-width: 992px) {

  .logo img {
    height: 60px;
  }

  .curtain.left {
    background-image: url("../invitation_assets/images/desktop/d-curtain-left.png");
  }

  .curtain.right {
    background-image: url("../invitation_assets/images/desktop/d-curtain-right.png");
  }

  #details {
    background-image: url('../invitation_assets/images/desktop/d-invite-bg.png');
    /* background-position: top; */
    background-size: cover;
  }

  #venue {
    background-image: url('../invitation_assets/images/desktop/d-venue-bg.png');
    /* background-position: top; */
    background-size: cover;
  }

  #ritual {
    background-image: url('../invitation_assets/images/desktop/d-ritual-bg.png');
    /* background-position: top; */
    background-size: cover;
  }

  #details,
  #venue,
  #ritual,
  #thankyou {
    padding-top: 70px;
  }

  /* Font sizes  */
  .ritual-card,
  .inviteyou,
  .invite-card p {
    font-size: 18px;
  }

  .invite-card .small,
  .god-names p {
    font-size: 18px !important;
  }

  .couple-name {
    font-size: 60px;
  }

  .card-wrapper {
    flex-direction: row;
  }

  #thankyou .card-wrapper {
    flex-direction: column;
  }

  .ritual-card h2 {
    font-size: 25px;
  }

}

/* 
.wishes-card {
  margin-top: 20px;
  width: 100%;
  padding: 20px;
  text-align: center;
} */

.form-group {
  margin-bottom: 12px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  outline: none;
  backdrop-filter: blur(10px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(255, 255, 255, 0.6);
}

.wish-success {
  display: none;
  margin-top: 12px;
  font-size: 14px;
  color: #9cffc7;
  text-align: center;
  animation: fadeInUp 0.5s ease;
}

.wish-success.show {
  display: block;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}










/* WOW reveal animation */

/* WOW reveal without shadow jitter */
.wow-reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.7);
  transition: opacity 1.2s ease, transform 1.8s cubic-bezier(0.16, 1.2, 0.3, 1);
  will-change: transform, opacity;
}

.wow-reveal.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Glow overlay using pseudo-element (no layout impact) */
.wow-reveal::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.25);
  transition: opacity 0.6s ease;
}

.wow-reveal.show::after {
  opacity: 1;
  animation: wowGlowFade 1.8s ease-out forwards;
}

@keyframes wowGlowFade {
  0% {
    opacity: 0.8;
  }

  100% {
    opacity: 0;
  }
}

.wow-text {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1.2s ease, transform 2.8s ease;
}

.wow-text.show {
  opacity: 1;
  transform: translateY(0);
}




/* Particles (Intro only) */
#intro .particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 3;
  /* below names, above background */
}

#intro .particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--gold-l, #ffd27d);
  border-radius: 50%;
  animation: rise 5s ease-in infinite;
  opacity: 0;
}

@keyframes rise {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  30% {
    opacity: 1;
  }

  80% {
    opacity: 0.4;
  }

  100% {
    opacity: 0;
    transform: translateY(-150px);
  }
}

/* Base particles */
#intro .particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: rise 5s ease-in infinite;
  pointer-events: none;
}

/* Small gold dust */
#intro .particle.small {
  width: 2px;
  height: 2px;
  background: #ffd27d;
}

/* Big slow warm glow (depth layer) */
#intro .particle.big {
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, rgba(255, 210, 125, 0.9), rgba(255, 210, 125, 0.2));
  filter: blur(1px);
  animation-duration: 7s;
}

/* Twinkle sparkles */
#intro .particle.twinkle {
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(255, 215, 0, 0.6));
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.8);
  animation: twinkle 3.5s ease-in-out infinite, rise 6s ease-in infinite;
}

@keyframes twinkle {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }
}

@keyframes rise {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.9);
  }

  30% {
    opacity: 1;
  }

  80% {
    opacity: 0.4;
  }

  100% {
    opacity: 0;
    transform: translateY(-160px) scale(1.1);
  }
}




/* Royal light rays behind names */
#intro .royal-rays {
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(circle at center, rgba(255, 215, 0, 0.18), transparent 60%),
    repeating-conic-gradient(from 0deg,
      rgba(255, 215, 0, 0.12) 0deg,
      rgba(255, 215, 0, 0.04) 10deg,
      transparent 20deg);
  filter: blur(18px);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 1.2s ease, transform 1.2s ease;
  z-index: -1;
  /* behind text */
  pointer-events: none;
}

/* Reveal rays when intro shows */
#introText.show .royal-rays {
  opacity: 1;
  transform: scale(1);
}