/* =========================================



   GLOBAL / FULL-SCREEN LAYOUT



   ========================================= */

* {
  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 Variable", serif;
}

.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 TRANSITIONS



   ========================================= */

.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;
}

/* =========================================



   VIDEO / IMAGE LAYERS



   ========================================= */

.full-video,
.screen-image {
  position: absolute;

  inset: 0;

  width: 100%;

  height: 100%;

  object-fit: cover;

  display: block;
}

.hero {
  background: #f9f0e6;
}

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

/* =========================================



   OPENING / HERO SCREEN



   ========================================= */

.monogram {
  position: absolute;

  top: 5.5%;

  left: 50%;

  transform: translateX(-50%);

  width: 27%;

  height: auto;

  filter: drop-shadow(0 2px 3px #8b5e4030);
}

.hero-names {
  position: absolute;

  left: 0;

  right: 0;

  bottom: 19%;

  text-align: center;

  color: #123b50;
}

.hero-names h1 {
  font-family: "Amita", serif;

  font-weight: 700;

  font-size: clamp(42px, 10vw, 62px);

  line-height: 1.35;

  margin: 0;

  color: #123b50;

  text-shadow: 0 2px 3px rgba(255, 250, 235, 0.65);
}

.hero-names h2 {
  font-family: "Amita", serif;

  font-weight: 700;

  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);
}

.hero-names h1 span {
  font-family: "Tiro Devanagari Hindi", serif;

  font-size: 0.65em;

  font-weight: 400;

  color: #b38a45;

  margin: 0 5px;
}

.hero-names p {
  font-family: "Cormorant Garamond Variable", serif;

  font-size: clamp(12px, 2.4vw, 15px);

  font-weight: 600;

  letter-spacing: 0.28em;

  color: #765b39;

  margin: 12px 0 0;
}

.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;
}

/* =========================================



   WEDDING INVITATION SCREEN



   ========================================= */

.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;
}

/* Krishna monogram */

.invitation-content .invitation-monogram {
  position: absolute;

  top: 4%;

  left: 50%;

  transform: translateX(-50%);

  width: 23%;

  height: auto;

  z-index: 3;
}

/* Ganesh and Hanuman mantras */

.invitation-content .ganeshaya {
  position: absolute;

  top: 28%;

  width: 100%;

  margin: 0;

  font-family: "Eczar", serif;

  font-size: clamp(16px, 3.5vw, 19px);

  font-weight: 600;

  line-height: 1.6;

  letter-spacing: 0.08em;

  color: #81434b;
}

/* Divine blessings */

.invitation-content .families {
  position: absolute;

  top: 36%;

  width: 100%;

  margin: 0;

  font-family: "Sahitya", serif;

  font-size: clamp(13px, 2.7vw, 15px);

  font-weight: 400;

  color: #42566b;
}

/* Couple names */

.invitation-couple {
  position: absolute;

  top: 42%;

  left: 5%;

  width: 90%;

  display: grid;

  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);

  align-items: center;

  gap: 8px;

  text-align: center;

  z-index: 4;
}

.invitation-person {
  min-width: 0;
}

.invitation-name {
  font-family: "Amita", serif;

  font-size: clamp(24px, 4.8vw, 29px);

  font-weight: 700;

  line-height: 1.5;

  color: #172f55;

  margin: 0 0 5px;

  white-space: nowrap;
}

.invitation-family {
  font-family: "Noto Sans Devanagari Variable", sans-serif;

  font-size: clamp(12px, 2.4vw, 14px);

  font-weight: 400;

  color: #35465b;

  margin: 0;
}

.invitation-sang {
  font-family: "Amita", serif;

  font-size: 21px;

  font-weight: 400;

  color: #a47b39;

  white-space: nowrap;
}

/* Invitation message */

.invitation-content .invitation-message {
  position: absolute;

  top: 63%;

  left: 5%;

  right: 5%;

  margin: 0;

  font-family: "Noto Sans Devanagari Variable", sans-serif;

  font-size: clamp(14px, 3vw, 17px);

  font-weight: 500;

  line-height: 1.7;

  font-style: italic;

  color: #35465b;
}

.invitation-content .wedding-date {
  position: absolute;

  top: 74%;

  width: 100%;

  margin: 0;

  font-family: "Noto Sans Devanagari Variable", sans-serif;

  font-size: clamp(16px, 3.4vw, 19px);

  font-weight: 700;

  letter-spacing: 0.14em;

  color: #283c54;
}

.invitation-content .wedding-venue {
  position: absolute;

  top: 80%;

  width: 100%;

  margin: 0;

  font-family: "Noto Sans Devanagari Variable", sans-serif;

  font-size: clamp(13px, 2.7vw, 15px);

  font-weight: 600;

  letter-spacing: 0.13em;

  color: #715c48;
}

/* मंगल परिणय heading */

.mangal-parinay {
  position: absolute;

  top: 54%;

  left: 0;

  width: 100%;

  text-align: center;

  z-index: 4;

  color: #81434b;
}

.mangal-parinay .mangal-ke {
  display: block;

  font-family: "Noto Sans Devanagari Variable", sans-serif;

  font-size: 14px;

  font-weight: 500;

  color: #a47b39;

  margin-bottom: 2px;
}

.mangal-parinay h2 {
  margin: 0;

  font-family: "Yatra One", serif;

  font-size: clamp(25px, 5vw, 32px);

  font-weight: 400;

  line-height: 1.5;

  letter-spacing: 0.04em;

  color: #81434b;

  text-shadow: 0 1px 1px #ffffff80;
}

/* =========================================



   RADHA-KRISHNA VIDEO / POSTER TRANSITION



   ========================================= */

.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 SCREEN



   ========================================= */

.save-screen {
  position: relative;

  overflow: hidden;

  color: #182b50;

  text-align: center;
}

.save-screen .save-title {
  position: absolute;

  top: 5.5%;

  left: 4%;

  width: 92%;

  text-align: center;

  z-index: 3;

  font-family: "Yatra One", serif;

  font-size: clamp(29px, 7vw, 43px);

  font-weight: 700;

  line-height: 1.5;

  color: #173b59;

  text-shadow: 0 1px 2px rgba(255, 248, 230, 0.8);

  animation: saveTitleReveal 1.2s ease both;
}

@keyframes saveTitleReveal {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.save-screen .tap-copy {
  position: absolute;

  top: 20%;

  left: 0;

  width: 100%;

  z-index: 3;

  color: #a78339;

  font:
    9px Cinzel Variable,
    serif;

  letter-spacing: 2px;

  transition: opacity 0.6s ease;
}

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

/* Feather button */

.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;
}

@keyframes featherFloat {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -7px;
  }
}

/* Countdown */

.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 b {
  color: #15365b;

  font-family: "Cormorant Garamond Variable", Georgia, serif;

  font-size: clamp(23px, 6vw, 30px);

  font-weight: 600;

  line-height: 1;

  font-variant-numeric: tabular-nums;
}

.save-screen .countdown small {
  position: absolute;

  top: calc(100% + 6px);

  left: 0;

  width: 100%;

  text-align: center;

  color: #85512f;

  font-family:
    Cinzel Variable,
    Georgia,
    serif;

  font-size: 9px;

  letter-spacing: 1.3px;

  white-space: nowrap;
}

.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 .save-date {
  position: absolute;

  top: 36%;

  left: 0;

  width: 100%;

  z-index: 5;

  color: #15365b;

  font-family: "Cormorant Garamond Variable", Georgia, serif;

  font-size: 13px;

  font-weight: 600;

  letter-spacing: 3px;

  text-align: center;
}

.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);
  }
}

/* =========================================



   WEDDING EVENTS / PATRIKA



   ========================================= */

.events-screen {
  position: relative;

  overflow: hidden;

  touch-action: pan-y;

  overscroll-behavior: contain;

  background: linear-gradient(180deg, #d9eeee, #e9e8e5 55%, #f7dfe2);
}

.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;
}

/* =========================================



   FINAL SLIDE — LOCATION BUTTON



   ========================================= */

.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 {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 7px;

  opacity: 0;

  visibility: hidden;

  margin-bottom: 2px;

  color: #713b25;

  font-family:
    Cinzel Variable,
    serif;

  font-size: 9px;

  font-weight: 700;

  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-tap-hint.visible {
  opacity: 1;

  visibility: visible;
}

.tap-hand {
  font-size: 17px;

  animation: handTap 1.1s ease-in-out infinite;
}

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

  50% {
    opacity: 1;
  }
}

@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 MAP OVERLAY



   ========================================= */

.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 {
  margin: 0 25px 5px;

  text-align: center;

  color: #713b25;

  font-family:
    Cinzel Variable,
    serif;

  font-size: 13px;

  font-weight: 700;

  letter-spacing: 1.5px;
}

.location-heading span {
  color: #c49a4a;

  font-size: 10px;
}

.location-address {
  margin: 0 0 13px;

  text-align: center;

  color: #76543b;

  font-family: "Cormorant Garamond Variable", serif;

  font-size: 15px;

  font-weight: 600;
}

.location-panel iframe {
  display: block;

  width: 100%;

  height: 180px;

  border: 1px solid #e0c99f;

  border-radius: 8px;
}

.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:
    Cinzel Variable,
    serif;

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 1.3px;

  text-decoration: none;
}

/* =========================================



   DESKTOP / RESPONSIVE ADJUSTMENTS



   ========================================= */

@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;
  }
}

/* Faster transition only from Save Date to Wedding Events */

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

/* Natural falling rose petals */

.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);

  /* Curved, tapered rose-petal shape */

  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;
}

/* Slightly curved petal vein */

.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);
}

/* Different positions, sizes and speeds */

.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;
  }
}

/* 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);
  }
}

/* =========================================



   ROYAL WEDDING PATRIKA - CONTENT DESIGN



   ========================================= */

.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;
}

/* Event heading */

.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;
}

/* Main event title */

.event-title {
  color: #531b24;

  max-width: 100%;

  margin: 0;

  font-family: "Tiro Devanagari Hindi", "Cormorant Garamond Variable", serif;

  font-size: clamp(1.25rem, 3.8vw, 1.65rem);

  font-weight: 400;

  line-height: 1.55;

  letter-spacing: 0;

  text-shadow: 0 1px 2px #ffffff80;

  text-wrap: balance;
}

/* Event subtitle */

.event-subtitle {
  color: #80522f;

  max-width: 95%;

  margin: 0;

  font-family: "Noto Sans Devanagari Variable", sans-serif;

  font-size: clamp(0.78rem, 2.1vw, 0.95rem);

  font-weight: 500;

  line-height: 1.7;

  font-style: normal;
}

/* Golden decorative divider */

.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);
}

/* Event details - distribute vertically */

.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;
}

/* Individual detail blocks */

.patrika-clean-row {
  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  width: 100%;

  gap: 5px;
}

/* DATE / TIME / VENUE / DRESS CODE */

.clean-label {
  letter-spacing: 0.2em;

  color: #a16b35;

  margin: 0;

  font-family: "Noto Sans Devanagari Variable", sans-serif;

  font-size: clamp(0.88rem, 2.3vw, 1.05rem);

  font-weight: 600;

  line-height: 1.4;
}

/* Actual event information */

.clean-value {
  color: #451a20;

  max-width: 100%;

  font-family: "Noto Sans Devanagari Variable", sans-serif;

  font-size: clamp(0.88rem, 2.3vw, 1.05rem);

  font-weight: 600;

  line-height: 1.65;

  text-align: center;

  word-break: normal;
}

/* Dress code */

.clean-dress {
  color: #9b492e;

  font-weight: 700;
}

/* Page counter */

.patrika-bottom-counter {
  color: #b8860b;

  display: flex;

  justify-content: center;

  align-items: center;

  gap: 9px;

  margin-top: 5px;

  padding-bottom: 2px;

  font-family: "Noto Sans Devanagari Variable", sans-serif;

  font-size: 0.65rem;

  letter-spacing: 0.12em;

  flex-shrink: 0;
}

/* Mobile adjustments */

@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);
  }
}

/* =========================================



   NUMBER TYPOGRAPHY REFINEMENT



   ========================================= */

/* Patrika: Date, time and other event values */

.patrika-clean-row .clean-value {
  font-family: "Noto Sans Devanagari Variable", sans-serif;

  font-size: clamp(16px, 3.2vw, 19px);

  font-weight: 700;

  letter-spacing: 0;

  line-height: 1.7;

  font-variant-numeric: lining-nums;
}

/* Wedding invitation date */

.invitation-content .wedding-date {
  font-family: "Noto Sans Devanagari Variable", sans-serif;

  font-size: clamp(19px, 4vw, 22px);

  font-weight: 700;

  letter-spacing: 0;

  line-height: 1.6;
}

/* Hero page date */

.hero-names p {
  font-family: "Cormorant Garamond Variable", serif;

  font-size: clamp(16px, 3.5vw, 19px);

  font-weight: 700;

  letter-spacing: 0.18em;

  font-variant-numeric: lining-nums;
}

/* Save the date */

.save-screen .save-date {
  font-family: "Noto Sans Devanagari Variable", sans-serif;

  font-size: 19px;

  font-weight: 700;

  letter-spacing: 0.18em;

  font-variant-numeric: lining-nums;
}

/* Patrika page counter */

.patrika-bottom-counter {
  font-family: "Noto Sans Devanagari Variable", sans-serif;

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 0.12em;

  font-variant-numeric: lining-nums;
}

/* ==========================================



   STANDALONE PEACOCK FEATHER WELCOME SCREEN



   ========================================== */

.welcome-overlay {
  position: fixed;

  inset: 0;

  z-index: 999999;

  display: flex;

  align-items: center;

  justify-content: center;

  /* Fully opaque: homepage must not show through */

  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;
}

/* Soft watercolor-inspired edges */

.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);
}

/* Main composition */

.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 golden glow */

.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;
}

/* Feather */

.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;
}

/* Text */

.welcome-copy {
  position: relative;

  z-index: 3;

  margin-top: 15px;

  text-align: center;
}

.welcome-text {
  margin: 0;

  color: #795942;

  font-family: inherit;

  font-size: clamp(24px, 5.5vw, 28px);

  font-weight: 800;

  line-height: 1.9;

  letter-spacing: 0.2px;

  margin-bottom: 20px;
}

.welcome-hint-hindi {
  display: block;

  margin-top: 20px;

  color: rgba(143, 115, 84, 0.85);

  font-family: "Tiro Devanagari Hindi", 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: 12px;

  font-weight: 600;

  letter-spacing: 3px;

  animation: hint-breathe 2.5s ease-in-out infinite;
}

/* Small signature */

.welcome-bottom {
  position: absolute;

  bottom: 35px;

  color: rgba(143, 115, 84, 0.65);

  font-family: "Tiro Devanagari Hindi", serif;

  font-size: 14px;

  letter-spacing: 1.2px;

  font-weight: 400;
}

/* Animations */

@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);
  }
}

/* Opening transition */

.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;
  }
}

/* Mobile */

@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;
  }
}
