/* =========================================
   GLOBAL RESET, VIEWPORT & SCREEN FRAMEWORK
   ========================================= */

* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  font-synthesis: none;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden !important;
  overscroll-behavior: none;
  background: #f4eeee;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-synthesis: none;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #28304a;
  font-family: "Cormorant Garamond", serif;
}

/* =========================================
   FLOATING MUSIC CONTROL
   ========================================= */

.music-toggle {
  position: fixed;
  right: 18px;
  bottom: 20px;
  z-index: 9999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #c69a48;
  background: rgba(255, 248, 232, 0.94);
  color: #793b27;
  font-family: Georgia, serif;
  font-size: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(80, 40, 20, 0.2);
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.music-toggle:hover {
  transform: scale(1.08);
}

.music-toggle.playing {
  animation: musicPulse 2s ease-in-out infinite;
}

@keyframes musicPulse {
  0%,
  100% {
    box-shadow: 0 3px 12px rgba(80, 40, 20, 0.2);
  }
  50% {
    box-shadow: 0 3px 18px rgba(198, 154, 72, 0.55);
  }
}

/* =========================================
   WELCOME / PEACOCK FEATHER OPENING
   ========================================= */

@keyframes featherFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -7px;
  }
}

@keyframes hintFloat {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

.welcome-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(
    ellipse at 50% 42%,

    rgba(255, 253, 240, 1) 0%,

    rgba(250, 245, 232, 1) 48%,

    rgba(247, 235, 229, 1) 100%
  );
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.9s ease,
    visibility 0.9s ease;
}

.welcome-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.welcome-bg-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at 0% 12%,

      rgba(137, 180, 194, 0.22),
      transparent 32%
    ),
    radial-gradient(
      ellipse at 100% 20%,

      rgba(151, 190, 198, 0.2),
      transparent 30%
    ),
    radial-gradient(
      ellipse at 0% 90%,

      rgba(230, 169, 161, 0.22),
      transparent 32%
    ),
    radial-gradient(
      ellipse at 100% 90%,

      rgba(238, 182, 169, 0.24),
      transparent 32%
    );
  filter: blur(18px);
}

.welcome-content {
  position: relative;
  z-index: 2;
  width: min(100%, 430px);
  height: 100%;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  background: transparent;
  border: 0;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  animation: welcome-appear 1.5s ease both;
}

.feather-glow {
  position: absolute;
  top: 27%;
  left: 50%;
  width: 230px;
  height: 230px;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(210, 174, 112, 0.2) 0%,

    rgba(225, 195, 143, 0.09) 40%,

    transparent 72%
  );
  border-radius: 50%;
  pointer-events: none;
  animation: glow-breathe 4s ease-in-out infinite;
}

.welcome-feather {
  position: relative;
  z-index: 2;
  display: block;
  width: 230px;
  height: 310px;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(67, 89, 72, 0.16))
    drop-shadow(0 0 16px rgba(192, 160, 102, 0.15));
  animation: feather-float 4s ease-in-out infinite;
}

.welcome-copy {
  position: relative;
  z-index: 3;
  margin-top: 15px;
  text-align: center;
}

.welcome-hint-secondary {
  display: block;
  margin-top: 20px;
  color: rgba(143, 115, 84, 0.85);
  font-family: "Cormorant Garamond", serif;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.8;
  text-align: center;
}

.welcome-hint {
  display: block;
  margin-top: 10px;
  color: #a58a68;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
}

@keyframes feather-float {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-12px) rotate(2deg);
  }
}

@keyframes glow-breathe {
  0%,
  100% {
    opacity: 0.55;
    scale: 0.9;
  }
  50% {
    opacity: 1;
    scale: 1.12;
  }
}

@keyframes hint-breathe {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

@keyframes welcome-appear {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.welcome-overlay.welcome-opening .welcome-feather {
  animation: feather-expand 0.8s ease forwards;
}

.welcome-overlay.welcome-opening .welcome-copy {
  opacity: 0;
  transition: opacity 0.3s ease;
}

@keyframes feather-expand {
  to {
    transform: scale(1.35) translateY(-10px);
    opacity: 0;
  }
}

@media (max-width: 480px) {
  .welcome-content {
    min-height: 100svh;
    padding: 20px;
  }
  .welcome-feather {
    width: 215px;
    height: 290px;
  }
  .feather-glow {
    width: 210px;
    height: 210px;
  }
  .welcome-copy {
    margin-top: 10px;
  }
  .welcome-text {
    font-size: 21px;
  }
  .welcome-hint {
    font-size: 9px;
    letter-spacing: 2.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .welcome-content,
  .welcome-feather,
  .feather-glow,
  .welcome-hint {
    animation: none;
  }
}

.welcome-text {
  margin: 0;
  color: #795942;
  font-family: "Great Vibes", cursive;
  font-size: clamp(28px, 6vw, 36px);
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0;
  margin-bottom: 20px;
}

.welcome-hint,
.welcome-hint-secondary {
  font-family: "Momo Signature", cursive;
  font-weight: 500;
}

.welcome-bottom {
  position: absolute;
  bottom: 35px;
  color: rgba(143, 115, 84, 0.65);
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* =========================================
   MAIN INVITATION SCREEN
   ========================================= */

.invitation {
  position: relative;
  width: min(100vw, calc(100dvh * 536 / 832));
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  aspect-ratio: 536 / 832;
  background: #f8f1e8;
  box-shadow: 0 0 40px #5d4b3b18;
}

.screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: none;
  opacity: 0;
  background: #f7eee4;
  transition: opacity 1.5s ease-in-out;
}

.screen.active {
  display: block;
  opacity: 1;
  z-index: 2;
}

.screen.leaving {
  display: block;
  opacity: 1;
  z-index: 1;
  pointer-events: none;
}

.screen.active.entering {
  opacity: 0;
  z-index: 3;
  pointer-events: none;
}

.screen.active.entering.show {
  opacity: 1;
}

.screen.leaving.fade-out {
  opacity: 0;
}

/* =========================================
   HERO / OPENING VIDEO
   ========================================= */

.hero {
  background: #f9f0e6;
}

.hero .full-video,
.save-screen .full-video {
  object-fit: cover;
}

.monogram {
  position: absolute;
  top: 5.5%;
  left: 50%;
  transform: translateX(-50%);
  width: 27%;
  height: auto;
  font-family: "Cinzel", serif;
  font-size: clamp(42px, 9vw, 64px);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #b38a45;
  text-shadow: 0 2px 4px rgba(80, 48, 20, 0.22);
  filter: drop-shadow(0 2px 3px #8b5e4030);
}

.monogram-text span {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 0.78em;
  color: #8f3f49;
}

.hero-names {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 19%;
  text-align: center;
  color: #123b50;
  font-family: inherit;
}

.hero-names h1 {
  font-family: "Great Vibes", cursive;

  font-weight: 400;
  font-size: clamp(48px, 11vw, 68px);
  line-height: 1.25;
  margin: 0;
  color: #123b50;
  text-shadow: 0 2px 3px rgba(255, 250, 235, 0.65);
  letter-spacing: 0;
}

.hero-names h1 span {
  font-family: "Cormorant Garamond", serif;
  font-size: 0.65em;
  font-weight: 500;
  color: #b38a45;
  margin: 0 5px;
}

.hero-names h2 {
  font-family: "Cinzel", serif;
  font-weight: 600;
  font-size: clamp(10px, 1.6vw, 20px);
  line-height: 1.35;
  margin: 0;
  color: #123b50;
  text-shadow: 0 2px 3px rgba(255, 250, 235, 0.65);
}

/* =========================================
   WEDDING INVITATION
   ========================================= */

.invitation-content .invitation-monogram {
  position: absolute;
  top: 4%;
  left: 50%;
  transform: translateX(-50%);
  width: 27%;
  height: auto;
  z-index: 3;
  font-family: "Cinzel", serif;
  font-size: clamp(25px, 5.5vw, 34px);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #b38a45;
  text-shadow: 0 1px 2px rgba(80, 48, 20, 0.18);
}

.invitation-screen {
  background: #fbf6eb;
}

.invitation-screen .screen-image {
  object-fit: cover;
}

.invitation-content {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  color: #28304a;
}

.invitation-screen .invitation-content {
  color: #243650;
}

.invitation-screen .invitation-content .ganeshaya {
  top: 28.2%;
  padding: 0 4%;
  font-family: "Marcellus", serif;
  font-size: clamp(14px, 2.9vw, 17px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.14em;
  color: #8d4652;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
  position: absolute;
  width: 100%;
  margin: 0;
}

.invitation-screen .invitation-couple {
  top: 36%;
  left: 6%;
  width: 88%;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(8px, 2vw, 16px);
  align-items: start;
  position: absolute;
  display: grid;
  z-index: 4;
}

.invitation-screen .invitation-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.invitation-screen .invitation-name {
  margin: 0 0 7px;
  font-family: "Momo Signature", cursive;
  font-size: clamp(36px, 7.3vw, 44px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
  color: #174b50;
  text-shadow: none;
}

.invitation-screen .invitation-family {
  max-width: 100%;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(8px, 2vw, 11px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.015em;
  color: #58616a;
  text-wrap: balance;
  margin: 0;
}

.invitation-screen .invitation-sang {
  padding-top: 3px;
  font-family: "Marcellus", serif;
  font-size: clamp(22px, 3.8vw, 26px);
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
  color: #b18a48;
}

.invitation-screen .mangal-parinay {
  top: 48%;
  padding: 0 4%;
  position: absolute;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 4;
  color: #81434b;
}

.invitation-screen .mangal-parinay h2 {
  font-family: "Pacifico", cursive;
  font-size: clamp(29px, 5.8vw, 36px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.025em;
  color: #8b3e4b;
  text-shadow: none;
}

.invitation-screen .mangal-parinay::after {
  content: "";
  display: block;
  width: clamp(76px, 18vw, 112px);
  height: 1px;
  margin: 10px auto 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(177, 138, 72, 0.8),
    transparent
  );
}

.invitation-screen .invitation-content .invitation-message {
  top: 63.2%;
  left: 7%;
  right: 7%;
  font-family: "Sofia", cursive;
  font-size: clamp(14.5px, 2.75vw, 16.5px);
  font-weight: 400;
  font-style: normal;
  line-height: 1.7;
  letter-spacing: 0;
  color: #48576a;
  text-wrap: pretty;
  text-shadow: none;
  position: absolute;
  margin: 0;
}

.invitation-screen .invitation-content .wedding-date {
  top: 74.2%;
  padding: 0 3%;
  font-family: "Jost", sans-serif;
  font-size: clamp(16px, 3.2vw, 19px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  color: #1c4857;
  position: absolute;
  width: 100%;
  margin: 0;
}

.invitation-screen .invitation-content .wedding-venue {
  top: 80.1%;
  padding: 0 5%;
  font-family: "Jost", sans-serif;
  font-size: clamp(13px, 2.45vw, 15px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.045em;
  color: #8a6948;
  position: absolute;
  width: 100%;
  margin: 0;
}

@media (max-width: 480px) {
  .invitation-screen .invitation-content .ganeshaya {
    letter-spacing: 0.075em;
  }
  .invitation-screen .invitation-couple {
    left: 4%;
    width: 92%;
    gap: 6px;
  }
  .invitation-screen .invitation-name {
    font-size: clamp(35px, 9vw, 39px);
  }
  .invitation-screen .invitation-family {
    font-size: clamp(11px, 3vw, 12.5px);
    line-height: 1.45;
  }
  .invitation-screen .invitation-sang {
    font-size: 22px;
  }
  .invitation-screen .mangal-parinay h2 {
    font-size: clamp(27px, 7vw, 32px);
  }
  .invitation-screen .invitation-content .invitation-message {
    left: 6%;
    right: 6%;
    font-size: clamp(14px, 3.8vw, 15.5px);
    line-height: 1.6;
  }
  .invitation-screen .invitation-content .wedding-date {
    font-size: clamp(15px, 4vw, 17px);
  }
  .invitation-screen .invitation-content .wedding-venue {
    font-size: clamp(12.5px, 3.4vw, 14px);
    letter-spacing: 0.035em;
  }
}

/* =========================================
   RADHA–KRISHNA VIDEO / POSTER
   ========================================= */

.quote-screen .full-video {
  z-index: 1;
  opacity: 1;
  transition: opacity 1s ease-in-out;
}

.quote-screen .full-video.video-finished {
  opacity: 0;
}

.quote-screen .quote-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  visibility: hidden;
  z-index: 2;
  transition:
    opacity 1s ease-in-out,
    visibility 1s ease-in-out;
}

.quote-screen .quote-poster.visible {
  opacity: 1;
  visibility: visible;
}

/* =========================================
   SAVE THE DATE / COUNTDOWN
   ========================================= */

.save-screen {
  position: relative;
  overflow: hidden;
  color: #182b50;
  text-align: center;
}

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

.save-screen .tap-copy.fade-out {
  opacity: 0;
}

.save-screen .feather {
  position: absolute;
  top: 23%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 85px;
  height: 85px;
  min-width: 85px;
  max-width: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  cursor: pointer;
  animation: featherFloat 2s ease-in-out infinite;
}

.save-screen .feather img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 3px 5px #0003);
}

.save-screen .feather.feather-disabled {
  opacity: 0.01;
  pointer-events: none;
  animation: none;
}

.save-screen .countdown {
  position: absolute;
  top: 24.5%;
  left: 50%;
  transform: translateX(-50%);
  width: min(92%, 390px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 5;
}

.save-screen .countdown[hidden] {
  display: none;
}

.save-screen .countdown > div {
  position: relative;
  flex: 1;
  min-width: 0;
  max-width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 252, 246, 0.94);
  border: 1px solid #d9bd82;
  border-radius: 15px;
  box-shadow: 0 3px 10px rgba(80, 54, 30, 0.08);
}

.save-screen .countdown > div:not(:last-child)::after {
  content: ":";
  position: absolute;
  left: calc(100% + 2px);
  top: 50%;
  transform: translateY(-50%);
  color: #c59a42;
  font-family: Georgia, serif;
  font-size: 20px;
}

.save-screen .countdown > div:last-child {
  background: rgba(255, 246, 248, 0.95);
  border-color: #e3a9b9;
}

.save-screen .countdown > div:last-child small {
  color: #b34e69;
}

.save-screen .countdown.reveal-countdown {
  animation: countdownReveal 0.9s ease-out both;
}

@keyframes countdownReveal {
  from {
    opacity: 0;
    transform: translate(-50%, 10px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@media (min-width: 700px) {
  .invitation {
    border-radius: 2px;
    box-shadow: 0 12px 60px #46332922;
  }
  .save-screen .feather {
    width: 105px;
    height: 105px;
    min-width: 105px;
    max-width: 105px;
  }
}

.save-screen.leaving,
.events-screen.active.entering,
.events-screen.active.entering.show {
  transition: opacity 1s ease-in-out !important;
}

.save-screen .save-title {
  position: absolute;
  top: 5.5%;
  left: 4%;
  width: 92%;
  text-align: center;
  z-index: 3;
  font-family: "Momo Signature", cursive;
  font-size: clamp(25px, 6.2vw, 38px);
  font-weight: 600;
  line-height: 1.5;
  color: #173b59;
  text-shadow: 0 1px 2px rgba(255, 248, 230, 0.8);
  animation: saveTitleReveal 1.2s ease both;
  letter-spacing: 0.01em;
}

.save-screen .tap-copy {
  position: absolute;
  top: 20%;
  left: 0;
  width: 100%;
  z-index: 3;
  color: #a78339;
  font:
    9px "Cinzel",
    serif;
  letter-spacing: 0.12em;
  transition: opacity 0.6s ease;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
}

.save-screen .countdown b {
  color: #15365b;
  font-family: "Bodoni Moda", serif;
  font-size: clamp(23px, 6vw, 30px);
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: lining-nums;
}

.save-screen .countdown small {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  text-align: center;
  color: #85512f;
  font-family: "Montserrat", sans-serif;
  font-size: 9px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  font-weight: 500;
}

.save-screen .save-date {
  position: absolute;
  top: 36%;
  left: 0;
  width: 100%;
  z-index: 5;
  color: #15365b;
  font-family: "Cinzel", serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-align: center;
  font-variant-numeric: lining-nums;
}

/* =========================================
   WEDDING EVENTS / PATRIKA
   ========================================= */

.patrika-scroll-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  position: relative;
}

.patrika-image-box {
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(88vw, 410px);
  height: min(76dvh, 650px);
  max-width: 88vw;
  max-height: calc(100dvh - 100px);
  margin: 0 auto;
  position: relative;
}

.patrika-bg-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  filter: drop-shadow(0 16px 36px #4a121a59);
  user-select: none;
  pointer-events: none;
}

.patrika-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
  display: flex;
  justify-content: center;
  align-items: center;
  width: clamp(30px, 7vw, 38px);
  height: clamp(30px, 7vw, 38px);
  color: #58111a;
  cursor: pointer;
  backdrop-filter: blur(6px);
  background: #ffffffe0;
  border: 1.5px solid #d4af37e6;
  border-radius: 50%;
  outline: none;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  font-weight: 700;
  transition: all 0.25s;
  box-shadow: 0 4px 14px #0000002e;
}

.patrika-nav-prev {
  left: 2px;
}

.patrika-nav-next {
  right: 2px;
}

.patrika-nav-btn.nav-disabled {
  opacity: 0.22;
  cursor: not-allowed;
  pointer-events: none;
}

.patrika-petals {
  position: absolute;
  inset: 0;
  z-index: 5;
  overflow: hidden;
  pointer-events: none;
}

.patrika-petals i {
  position: absolute;
  top: -8%;
  left: var(--left);
  width: var(--width);
  height: var(--height);
  background: linear-gradient(
    145deg,
    #f9d0d7 0%,

    #eea3b2 38%,

    #d87591 78%,

    #c96582 100%
  );
  border-radius: 75% 12% 75% 12%;
  clip-path: ellipse(48% 50% at 50% 50%);
  opacity: 0;
  transform: rotate(var(--rotation));
  filter: drop-shadow(0 2px 2px rgba(120, 40, 55, 0.15));
  animation: naturalPetalFall var(--duration) linear var(--delay) infinite;
}

.patrika-petals i::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 65%;
  left: 50%;
  top: 18%;
  background: rgba(255, 255, 255, 0.35);
  transform: rotate(12deg);
}

.patrika-petals i:nth-child(1) {
  --left: 5%;
  --width: 13px;
  --height: 21px;
  --duration: 11s;
  --delay: 0s;
  --rotation: 35deg;
}

.patrika-petals i:nth-child(2) {
  --left: 17%;
  --width: 10px;
  --height: 17px;
  --duration: 13s;
  --delay: 2s;
  --rotation: 70deg;
}

.patrika-petals i:nth-child(3) {
  --left: 29%;
  --width: 14px;
  --height: 22px;
  --duration: 12s;
  --delay: 4s;
  --rotation: 15deg;
}

.patrika-petals i:nth-child(4) {
  --left: 42%;
  --width: 9px;
  --height: 16px;
  --duration: 10s;
  --delay: 1s;
  --rotation: 55deg;
}

.patrika-petals i:nth-child(5) {
  --left: 56%;
  --width: 12px;
  --height: 20px;
  --duration: 14s;
  --delay: 5s;
  --rotation: 25deg;
}

.patrika-petals i:nth-child(6) {
  --left: 69%;
  --width: 10px;
  --height: 18px;
  --duration: 11s;
  --delay: 3s;
  --rotation: 80deg;
}

.patrika-petals i:nth-child(7) {
  --left: 81%;
  --width: 14px;
  --height: 22px;
  --duration: 13s;
  --delay: 6s;
  --rotation: 40deg;
}

.patrika-petals i:nth-child(8) {
  --left: 94%;
  --width: 11px;
  --height: 18px;
  --duration: 12s;
  --delay: 7s;
  --rotation: 65deg;
}

.patrika-petals i:nth-child(9) {
  --left: 11%;
  --width: 12px;
  --height: 19px;
  --duration: 14s;
  --delay: 8s;
  --rotation: 20deg;
}

.patrika-petals i:nth-child(10) {
  --left: 35%;
  --width: 10px;
  --height: 17px;
  --duration: 11s;
  --delay: 5s;
  --rotation: 75deg;
}

.patrika-petals i:nth-child(11) {
  --left: 63%;
  --width: 13px;
  --height: 21px;
  --duration: 13s;
  --delay: 9s;
  --rotation: 30deg;
}

.patrika-petals i:nth-child(12) {
  --left: 88%;
  --width: 9px;
  --height: 16px;
  --duration: 10s;
  --delay: 4s;
  --rotation: 60deg;
}

.patrika-petals i:nth-child(13) {
  --left: 23%;
  --width: 11px;
  --height: 19px;
  --duration: 12s;
  --delay: 10s;
  --rotation: 45deg;
}

.patrika-petals i:nth-child(14) {
  --left: 49%;
  --width: 14px;
  --height: 22px;
  --duration: 14s;
  --delay: 6s;
  --rotation: 15deg;
}

.patrika-petals i:nth-child(15) {
  --left: 76%;
  --width: 10px;
  --height: 17px;
  --duration: 11s;
  --delay: 11s;
  --rotation: 85deg;
}

.patrika-petals i:nth-child(16) {
  --left: 2%;
  --width: 12px;
  --height: 20px;
  --duration: 13s;
  --delay: 7s;
  --rotation: 50deg;
}

@keyframes naturalPetalFall {
  0% {
    top: -8%;
    transform: translateX(0) rotate(var(--rotation));
    opacity: 0;
  }
  8% {
    opacity: 0.85;
  }
  25% {
    transform: translateX(35px) rotate(130deg);
  }
  50% {
    transform: translateX(-25px) rotate(240deg);
  }
  75% {
    transform: translateX(30px) rotate(340deg);
    opacity: 0.8;
  }
  92% {
    opacity: 0.65;
  }
  100% {
    top: 108%;
    transform: translateX(-20px) rotate(480deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .patrika-petals {
    display: none;
  }
}

.patrika-content-stage {
  position: absolute;
  inset: 20% 17% 18%;
  z-index: 15;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 4% 3% 3%;
  box-sizing: border-box;
  text-align: center;
  overflow: hidden;
}

.patrika-header-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  text-align: center;
  flex-shrink: 0;
}

.patrika-top-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #bd9141;
  font-size: 15px;
  line-height: 1;
}

.ornament-dot {
  font-size: 11px;
}

.patrika-ornament-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  margin-top: 5px;
  color: #b8860b;
  font-size: 13px;
}

.divider-line {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, #bd9141, #bd9141);
}

.divider-line:last-child {
  background: linear-gradient(90deg, #bd9141, #bd9141, transparent);
}

.patrika-details-clean {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  flex: 1;
  width: 100%;
  min-height: 0;
  gap: 12px;
  padding: 12px 0;
}

.patrika-clean-row {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 5px;
}

.clean-value {
  color: #451a20;
  max-width: 100%;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(0.88rem, 2.3vw, 1.05rem);
  font-weight: 600;
  line-height: 1.65;
  text-align: center;
  word-break: normal;
}

.clean-dress {
  color: #9b492e;
  font-weight: 700;
}

@media (max-width: 480px) {
  .patrika-content-stage {
    inset: 20% 16% 18%;
    padding: 4% 2% 3%;
    gap: 8px;
  }
  .patrika-header-group {
    gap: 7px;
  }
  .event-title {
    font-size: clamp(1.15rem, 4.5vw, 1.4rem);
  }
  .event-subtitle {
    font-size: 12px;
  }
  .patrika-details-clean {
    gap: 9px;
    padding: 8px 0;
  }
  .clean-label {
    font-size: 11px;
  }
  .clean-value {
    font-size: 13px;
    line-height: 1.6;
  }
  .patrika-bottom-counter {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .patrika-image-box {
    width: min(90vw, 410px);
    height: min(76dvh, 620px);
    max-height: calc(100dvh - 100px);
  }
}

.patrika-clean-row .clean-value {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(16px, 3.2vw, 19px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.7;
  font-variant-numeric: lining-nums;
}

.event-title {
  color: #531b24;
  max-width: 100%;
  margin: 0;
  font-family: "Pacifico", cursive;
  font-size: clamp(1.25rem, 3.8vw, 1.65rem);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 2px #ffffff80;
  text-wrap: balance;
}

.event-subtitle {
  color: #80522f;
  max-width: 95%;
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(0.78rem, 2.1vw, 0.95rem);
  font-weight: 500;
  line-height: 1.7;
  font-style: normal;
}

.clean-label {
  letter-spacing: 0.12em;
  color: #a16b35;
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.72rem, 2vw, 0.85rem);
  font-weight: 600;
  line-height: 1.4;
}

.clean-value,
.patrika-clean-row .clean-value {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-variant-numeric: lining-nums;
}

.patrika-bottom-counter {
  color: #b8860b;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin-top: 5px;
  padding-bottom: 2px;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  flex-shrink: 0;
  font-weight: 600;
  font-variant-numeric: lining-nums;
}

/* =========================================
   VENUE / DIRECTIONS OVERLAY
   ========================================= */

.location-action {
  position: absolute;
  z-index: 35;
  bottom: 1.5%;
  left: 50%;
  transform: translateX(-50%);
  width: min(90%, 390px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.location-tap-hint[hidden] {
  display: none !important;
}

.location-tap-hint.visible {
  opacity: 1;
  visibility: visible;
}

.tap-hand {
  font-size: 17px;
  animation: handTap 1.1s ease-in-out infinite;
}

@keyframes handTap {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

.location-trigger {
  position: relative;
  z-index: 35;
  width: 65%;
  max-width: 260px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 1.2s ease,
    visibility 1.2s ease,
    transform 1.2s ease;
}

.location-trigger[hidden] {
  display: none !important;
}

.location-trigger.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.location-trigger img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 5px 10px #0003);
}

.location-trigger:active {
  transform: scale(0.97);
}

.location-panel {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.location-panel[hidden] {
  display: none !important;
}

.location-panel-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(25, 17, 13, 0.68);
  backdrop-filter: blur(4px);
}

.location-panel .map-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  padding: 22px 14px 14px;
  background: #fff9eb;
  border: 1px solid #d4af78;
  border-radius: 14px;
  box-shadow: 0 12px 40px #0005;
  animation: locationReveal 0.3s ease both;
}

@keyframes locationReveal {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.location-close {
  position: absolute;
  top: 7px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: #f0e2ce;
  color: #713b25;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.location-heading span {
  color: #c49a4a;
  font-size: 10px;
}

.location-panel iframe {
  display: block;
  width: 100%;
  height: 180px;
  border: 1px solid #e0c99f;
  border-radius: 8px;
}

.location-tap-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  opacity: 0;
  visibility: hidden;
  margin-bottom: 2px;
  color: #713b25;
  font-family: "Montserrat", sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  pointer-events: none;
  animation: hintFloat 1.5s ease-in-out infinite;
  transition:
    opacity 2s ease,
    visibility 2s ease,
    transform 2s ease;
}

.location-heading {
  margin: 0 25px 5px;
  text-align: center;
  color: #713b25;
  font-family: "Cinzel", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.location-address {
  margin: 0 0 13px;
  text-align: center;
  color: #76543b;
  font-family: "Cormorant Garamond", serif;
  font-size: 15px;
  font-weight: 600;
}

.location-panel .directions-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  padding: 12px;
  background: #713b25;
  color: #fff8e9;
  border: 1px solid #d4af78;
  border-radius: 7px;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
}

/* =========================================
   SHARED / TRANSITION RULES
   ========================================= */

.full-video,
.screen-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feather-animation {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 2s ease-in-out,
    visibility 2s ease-in-out;
}

.feather-animation.hidden-permanently {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.events-screen {
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
  overscroll-behavior: contain;
  background: linear-gradient(180deg, #d9eeee, #e9e8e5 55%, #f7dfe2);
}
