/* Local polish for Green Minimalist. */
html,body{min-height:100%;overflow-x:hidden;}
body{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;}
body *{box-sizing:border-box;}
#app,.min-h-screen,.h-screen{min-height:100svh!important;}
.invite-opened .fixed.inset-0.z-50{opacity:0!important;visibility:hidden!important;pointer-events:none!important;transition:opacity .45s ease,visibility .45s ease;}
button,a{touch-action:manipulation;}
img,video{max-width:100%;}
video{object-fit:cover;}
section,main,article,div{max-width:100%;}
.whitespace-nowrap{white-space:normal!important;}
.tracking-\[0\.4em\],.tracking-\[0\.35em\],.tracking-\[0\.3em\]{letter-spacing:.14em!important;}
.text-9xl,.text-8xl,.text-7xl{font-size:clamp(2.65rem,13vw,5.75rem)!important;line-height:.98!important;}
.text-6xl{font-size:clamp(2.2rem,10.5vw,4.6rem)!important;line-height:1!important;}
.text-5xl{font-size:clamp(1.9rem,8.5vw,3.55rem)!important;line-height:1.05!important;}
.text-4xl{font-size:clamp(1.55rem,7vw,2.9rem)!important;line-height:1.1!important;}
.text-3xl{font-size:clamp(1.28rem,5.6vw,2.25rem)!important;line-height:1.15!important;}
@media (max-width:520px){
  .container,.mx-auto{width:100%!important;max-width:100%!important;}
  [class*="px-12"],[class*="px-10"],[class*="px-8"]{padding-left:1.15rem!important;padding-right:1.15rem!important;}
  [class*="py-20"],[class*="py-24"],[class*="py-32"]{padding-top:3.3rem!important;padding-bottom:3.3rem!important;}
  [class*="gap-12"],[class*="gap-16"]{gap:1.6rem!important;}
  h1,h2,h3,p,span,div{overflow-wrap:anywhere;}
}

/* Static runtime fixes: keep the copied template scrollable and make the intro tap-driven. */
html, body {
  width: 100% !important;
  min-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior-y: auto !important;
}
body {
  position: static !important;
}
[data-invitation-viewport] {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 100svh !important;
  overflow-x: hidden !important;
  overflow-y: visible !important;
  overscroll-behavior: auto !important;
}
[data-invitation-viewport] > div,
[data-invitation-viewport] main,
[data-invitation-viewport] section {
  max-width: 100% !important;
}
.fixed.inset-0.z-50,
.static-intro-overlay {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transition: opacity .55s ease, visibility .55s ease !important;
}
.fixed.inset-0.z-50 video,
.static-intro-overlay video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}
.invite-opened .fixed.inset-0.z-50,
html.invite-opened .static-intro-overlay {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.invitation-skip-control,
.invitation-language-floating,
footer button[aria-label="Dil seçimi"] {
  display: none !important;
}
[role="button"][aria-label="Videoyu oynat"],
[role="button"][aria-label="Açmak için dokunun"] {
  cursor: pointer !important;
}
[class*="tracking-"] {
  letter-spacing: min(.14em, 2.6px) !important;
}
h1, h2, h3, p, a, button, span {
  overflow-wrap: anywhere;
  word-break: normal;
}
@media (max-width: 520px) {
  [class*="text-"][class*="7xl"], [class*="text-"][class*="8xl"], [class*="text-"][class*="9xl"] {
    font-size: clamp(2.45rem, 11vw, 4.4rem) !important;
  }
  [class*="text-"][class*="6xl"] {
    font-size: clamp(2rem, 9vw, 3.6rem) !important;
  }
  [class*="text-"][class*="5xl"] {
    font-size: clamp(1.75rem, 7.8vw, 3rem) !important;
  }
  [class*="text-"][class*="4xl"] {
    font-size: clamp(1.45rem, 6.3vw, 2.45rem) !important;
  }
  [class*="tracking-"] {
    letter-spacing: min(.1em, 1.8px) !important;
  }
  .w-screen,
  [class*="w-screen"] {
    width: 100% !important;
  }
  [class*="mr-[calc"], [class*="ml-[calc"] {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .fixed.top-0.right-0.left-0.z-60 {
    position: sticky !important;
    top: 0 !important;
    background: rgba(255,255,255,.55) !important;
    backdrop-filter: blur(10px) !important;
  }
}


.generated-intro-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  width: 100vw !important;
  height: 100svh !important;
  min-height: 100svh !important;
  background: inherit;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}
.generated-intro-overlay video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}
.static-intro-hit {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  cursor: pointer !important;
}
.static-intro-overlay {
  z-index: 9999 !important;
}

html:not(.invite-opened) .static-intro-overlay {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
html:not(.invite-opened) .static-intro-overlay video {
  visibility: visible !important;
  opacity: 1 !important;
}

[data-invitation-theme-slug="green-minimalist"] > .fixed.top-0.right-0.left-0.z-60 {
  display: none !important;
}

[data-invitation-theme-slug="green-minimalist"] .relative.min-h-dvh.overflow-x-clip > div > div:nth-of-type(2),
[data-invitation-theme-slug="green-minimalist"] .invitation-countdown-henna {
  display: none !important;
}

[data-invitation-theme-slug="green-minimalist"] .fixed.inset-0.z-50,
[data-invitation-theme-slug="green-minimalist"] .static-intro-overlay {
  background: #f4f2e3 !important;
  transition: opacity .9s ease, visibility .9s ease !important;
}
[data-invitation-theme-slug="green-minimalist"] .fixed.inset-0.z-50 video,
[data-invitation-theme-slug="green-minimalist"] .static-intro-overlay video {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
}
[data-invitation-theme-slug="green-minimalist"] .fixed.inset-0.z-50::after,
[data-invitation-theme-slug="green-minimalist"] .static-intro-overlay::after {
  content: "Davetiyeyi açmak için dokunun";
  position: absolute;
  left: 50%;
  bottom: max(2rem, env(safe-area-inset-bottom));
  z-index: 40;
  width: min(86vw, 25rem);
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  padding: .78rem 1rem;
  background: rgba(76, 61, 25, .42);
  color: #fffef7;
  font-family: "Manrope", sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .34);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 40px rgba(76, 61, 25, .18);
  pointer-events: none;
}

.green-minimalist-premium-hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: max(5rem, env(safe-area-inset-top)) 1.25rem max(2rem, env(safe-area-inset-bottom));
  background: #4c3d19;
  color: #fffef7;
}
.green-minimalist-premium-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(180deg, rgba(18, 28, 16, .28), rgba(18, 28, 16, .1) 34%, rgba(18, 28, 16, .74)),
    linear-gradient(90deg, rgba(18, 28, 16, .66), transparent 48%, rgba(18, 28, 16, .52)),
    url("./assets/img/01f33dd090df367f06dc901ba121b585-36258432df.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.035);
}
.green-minimalist-premium-hero__leaf {
  position: absolute;
  z-index: 2;
  width: min(56vw, 18rem);
  aspect-ratio: 1 / .9;
  background: url("./assets/img/Greenery_Leaf_Watercolor-removebg-preview-843cdf9a8b.png") center / contain no-repeat;
  opacity: .42;
  filter: drop-shadow(0 18px 38px rgba(0, 0, 0, .18));
  pointer-events: none;
}
.green-minimalist-premium-hero__leaf--top {
  top: 2.25rem;
  right: -5.5rem;
  transform: rotate(-18deg);
}
.green-minimalist-premium-hero__leaf--bottom {
  left: -5rem;
  bottom: 5.5rem;
  transform: rotate(152deg);
  opacity: .35;
}
.green-minimalist-premium-hero__content {
  position: relative;
  z-index: 5;
  width: min(100%, 38rem);
  margin: 0 auto;
  padding: 2rem 1.3rem 1.4rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 1.25rem;
  background: linear-gradient(180deg, rgba(31, 44, 26, .26), rgba(31, 44, 26, .5));
  box-shadow: 0 28px 70px rgba(18, 28, 16, .26);
  backdrop-filter: blur(8px);
}
.green-minimalist-premium-hero__kicker {
  margin: 0 0 .8rem;
  color: rgba(255, 254, 247, .78);
  font-family: "Manrope", sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.green-minimalist-premium-hero__names {
  margin: 0;
  color: #fffef7;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(3.9rem, 18vw, 8.6rem);
  font-weight: 400;
  font-style: italic;
  line-height: .88;
  letter-spacing: 0;
  text-shadow: 0 5px 28px rgba(0, 0, 0, .36);
}
.green-minimalist-premium-hero__divider {
  width: min(12rem, 52vw);
  height: 1px;
  margin: 1.35rem auto 1rem;
  background: linear-gradient(to right, transparent, rgba(255, 254, 247, .72), transparent);
}
.green-minimalist-premium-hero__date,
.green-minimalist-premium-hero__place {
  margin: 0;
  color: rgba(255, 254, 247, .9);
  font-family: "Manrope", sans-serif;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .35);
}
.green-minimalist-premium-hero__date {
  font-size: clamp(.98rem, 3.8vw, 1.25rem);
  font-weight: 600;
}
.green-minimalist-premium-hero__place {
  margin-top: .45rem;
  font-size: .9rem;
}
.green-minimalist-premium-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .7rem;
  margin-top: 1.2rem;
}
.green-minimalist-premium-hero__actions a,
.green-minimalist-premium-hero__actions span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  border-radius: 999px;
  padding: .72rem 1rem;
  font-family: "Manrope", sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}
.green-minimalist-premium-hero__actions a {
  background: rgba(255, 254, 247, .92);
  color: #4c3d19;
  box-shadow: 0 12px 30px rgba(18, 28, 16, .18);
}
.green-minimalist-premium-hero__actions span {
  border: 1px solid rgba(255, 254, 247, .45);
  color: #fffef7;
}

[data-invitation-theme-slug="green-minimalist"] .invitation-full-bleed a[href*="google.com/maps"] {
  border: 1px solid rgba(255, 255, 255, .5) !important;
  border-radius: 999px !important;
  padding: .75rem 1rem !important;
  background: rgba(255, 255, 255, .15) !important;
  backdrop-filter: blur(10px) !important;
  text-decoration: none !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .18) !important;
}

[data-invitation-theme-slug="green-minimalist"] .relative.min-h-dvh.overflow-x-clip > div > div:nth-of-type(4) {
  opacity: 1 !important;
  transform: none !important;
}
[data-invitation-theme-slug="green-minimalist"] .relative.min-h-dvh.overflow-x-clip > div > div:nth-of-type(4) > section {
  padding-top: 0 !important;
}
[data-invitation-theme-slug="green-minimalist"] .relative.min-h-dvh.overflow-x-clip > div > div:nth-of-type(4) .flex.flex-col {
  opacity: 1 !important;
  transform: none !important;
}
[data-invitation-theme-slug="green-minimalist"] .relative.min-h-dvh.overflow-x-clip > div > div:nth-of-type(4) .invitation-full-bleed.relative.max-w-full.min-h-dvh {
  isolation: isolate !important;
  min-height: 100svh !important;
  overflow: hidden !important;
}
[data-invitation-theme-slug="green-minimalist"] .relative.min-h-dvh.overflow-x-clip > div > div:nth-of-type(4) .invitation-full-bleed.relative.max-w-full.min-h-dvh > div[aria-hidden="true"]:first-child {
  transform: scale(1.04) !important;
  filter: saturate(.92) contrast(.96) brightness(.92) !important;
}
[data-invitation-theme-slug="green-minimalist"] .relative.min-h-dvh.overflow-x-clip > div > div:nth-of-type(4) .invitation-full-bleed.relative.max-w-full.min-h-dvh > div[aria-hidden="true"]:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(22, 34, 20, .28), rgba(22, 34, 20, .1) 32%, rgba(22, 34, 20, .76)),
    linear-gradient(90deg, rgba(22, 34, 20, .64), transparent 52%, rgba(22, 34, 20, .45)) !important;
}
[data-invitation-theme-slug="green-minimalist"] .relative.min-h-dvh.overflow-x-clip > div > div:nth-of-type(4) .invitation-full-bleed.relative.max-w-full.min-h-dvh::before {
  content: "Nil & Ege";
  position: absolute;
  left: 50%;
  top: 18%;
  z-index: 8;
  width: min(92vw, 42rem);
  transform: translateX(-50%);
  color: #fffef7;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(4.6rem, 21vw, 10rem);
  font-style: italic;
  font-weight: 400;
  line-height: .82;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 5px 34px rgba(17, 29, 15, .52);
  pointer-events: none;
}
[data-invitation-theme-slug="green-minimalist"] .relative.min-h-dvh.overflow-x-clip > div > div:nth-of-type(4) .invitation-full-bleed.relative.max-w-full.min-h-dvh::after {
  content: "24 Ekim 2026 · 18:30";
  position: absolute;
  left: 50%;
  top: calc(18% + clamp(4rem, 18vw, 8.25rem));
  z-index: 8;
  width: min(86vw, 28rem);
  transform: translateX(-50%);
  color: rgba(255, 254, 247, .9);
  font-family: "Manrope", sans-serif;
  font-size: clamp(.9rem, 3.2vw, 1.1rem);
  font-weight: 700;
  letter-spacing: .16em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 3px 18px rgba(17, 29, 15, .48);
  pointer-events: none;
}
[data-invitation-theme-slug="green-minimalist"] .relative.min-h-dvh.overflow-x-clip > div > div:nth-of-type(4) .invitation-full-bleed.relative.max-w-full.min-h-dvh .relative.z-10 {
  justify-content: flex-end !important;
  padding-bottom: max(2rem, env(safe-area-inset-bottom)) !important;
}
[data-invitation-theme-slug="green-minimalist"] .relative.min-h-dvh.overflow-x-clip > div > div:nth-of-type(4) .invitation-full-bleed.relative.max-w-full.min-h-dvh .relative.z-10 > p:first-child {
  display: none !important;
}
[data-invitation-theme-slug="green-minimalist"] .relative.min-h-dvh.overflow-x-clip > div > div:nth-of-type(4) .invitation-full-bleed.relative.max-w-full.min-h-dvh .relative.z-10 h3 {
  max-width: none !important;
  margin-bottom: .3rem !important;
  color: #fffef7 !important;
  font-family: "Manrope", sans-serif !important;
  font-size: clamp(1.15rem, 4.4vw, 1.55rem) !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}
[data-invitation-theme-slug="green-minimalist"] .relative.min-h-dvh.overflow-x-clip > div > div:nth-of-type(4) .invitation-full-bleed.relative.max-w-full.min-h-dvh .relative.z-10 p,
[data-invitation-theme-slug="green-minimalist"] .relative.min-h-dvh.overflow-x-clip > div > div:nth-of-type(4) .invitation-full-bleed.relative.max-w-full.min-h-dvh .relative.z-10 span {
  color: rgba(255, 254, 247, .9) !important;
}

@media (max-width: 520px) {
  .green-minimalist-premium-hero {
    align-items: flex-end;
    padding-left: .95rem;
    padding-right: .95rem;
  }
  .green-minimalist-premium-hero__content {
    padding: 1.65rem .95rem 1.05rem;
    border-radius: 1rem;
  }
  .green-minimalist-premium-hero__actions a,
  .green-minimalist-premium-hero__actions span {
    flex: 1 1 10rem;
  }
  [data-invitation-theme-slug="green-minimalist"] .relative.min-h-dvh.overflow-x-clip > div > div:nth-of-type(4) .invitation-full-bleed.relative.max-w-full.min-h-dvh::before {
    top: 14%;
  }
  [data-invitation-theme-slug="green-minimalist"] .relative.min-h-dvh.overflow-x-clip > div > div:nth-of-type(4) .invitation-full-bleed.relative.max-w-full.min-h-dvh::after {
    top: calc(14% + clamp(4.1rem, 18vw, 7.2rem));
  }
}
