@charset "UTF-8";

/* ==========================================================================
   TEMA MENARA (SERENE BLOOM) - STYLESHEET
   100% Pixel-accurate replication of mengoendang.com/theme/preview/serene-bloom
   ========================================================================== */

@font-face {
  font-family: "New York";
  src: url("../fonts/newyork.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Pinyon Script";
  src: url("../fonts/pinyonscript.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Royal Wedding";
  src: url("../fonts/royalwedding.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Photograph";
  src: url("../fonts/photograph.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins.woff2") format("woff2");
  font-display: swap;
}

:root {
  --sb-cream: #F5F7FA;
  --sb-maroon: #1D2B42;
  --sb-panel: #1D2B42e6;
  --sb-card: #273A59d9;
  --sb-gold: #C2A67E;
  --sb-ink: #2E3E56;
  --sb-white: #FFFFFF;
  --sb-max: 100%;
  --font-display: "New York", Georgia, serif;
  --font-script: "Pinyon Script", cursive;
  --font-calligraphy: "Great Vibes", "Royal Wedding", "Alex Brush", "Pinyon Script", cursive;
  --font-body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --sb-title-size: 28px;
  --sb-kicker-size: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: #0d1522;
  color: var(--sb-maroon);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.sb-locked, html.sb-locked body {
  overflow: hidden;
  height: 100%;
}

button, a {
  font: inherit;
}

.sb-relative {
  position: relative;
  overflow: hidden;
}

/* ==========================================================================
   LOADER
   ========================================================================== */
.sb-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #000;
  transition: opacity 0.5s ease;
}
.sb-loader.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.sb-loader span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #A0816655;
  border-top-color: var(--sb-gold);
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   COVER (OPENING MODAL)
   ========================================================================== */
.sb-cover {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  justify-content: center;
  background: #0d1522;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.5s ease, transform 1.5s ease;
  overflow: hidden;
}
.sb-cover.is-opening {
  opacity: 0;
  transform: translateY(-50%);
  pointer-events: none;
}
.sb-cover.is-removed {
  display: none !important;
}

.sb-cover-left {
  display: none;
  position: relative;
  background-color: var(--sb-maroon);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.sb-cover-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(26,18,16,.78) 0%, rgba(26,18,16,.45) 45%, rgba(26,18,16,.25) 100%);
}
.sb-cover-left-copy {
  position: absolute;
  z-index: 2;
  left: 8%;
  bottom: 10%;
  color: #F5F7FA;
  text-shadow: 0 2px 18px rgba(13,21,34,.66);
}
.sb-cover-left-copy .sb-kicker {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--sb-kicker-size);
  line-height: 1.4;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: inherit;
  margin: 0;
}
.sb-cover-left-copy h2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font: italic 400 clamp(48px, 4.5vw, 72px)/.95 var(--font-display);
  margin: 8px 0 0;
  color: inherit;
}
.sb-cover-left-copy span.sb-date-text {
  display: block;
  font: 400 14px/1.4 var(--font-body);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: 10px;
}

.sb-cover-panel {
  position: relative;
  width: 100%;
  max-width: var(--sb-max);
  margin: 0 auto;
  height: 100%;
  overflow: hidden;
  background: var(--sb-cream);
}
.sb-cover-card {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  padding: 10vh 28px 24vh;
  color: #121E30;
}
.sb-cover-card h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  font: italic 400 48px/.95 var(--font-display);
  margin: 8px 0 4px;
  color: inherit;
  letter-spacing: -.01em;
}
.sb-cover-card .sb-kicker {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--sb-kicker-size);
  line-height: 1.4;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: inherit;
  margin: 6px 0 2px;
}
.sb-cover-card .sb-date {
  font: 400 11px/1.4 var(--font-body);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: inherit;
  margin: 10px 0 0;
}
.sb-flourish {
  display: block;
  width: 120px;
  height: 16px;
  margin: 4px 0;
  position: relative;
  opacity: .65;
  background: linear-gradient(currentColor, currentColor) left center / 46px 1px no-repeat,
              linear-gradient(currentColor, currentColor) right center / 46px 1px no-repeat;
}
.sb-flourish:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  border: 1px solid currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}
.sb-cover-amp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 2px 0 4px;
  font: italic 26px/1 var(--font-display);
}
.sb-cover-amp:before, .sb-cover-amp:after {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: .45;
}
.sb-kicker {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--sb-kicker-size);
  line-height: 1.4;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}
.sb-dear {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 14px;
}
.sb-cover-card .sb-dear small {
  display: block;
  font: 400 12px/1.4 var(--font-body);
  letter-spacing: .02em;
  color: inherit;
  opacity: .85;
  margin: 0 0 6px;
}
.sb-cover-card .sb-dear strong {
  font: 400 16px/1.4 var(--font-body);
  color: inherit;
  margin: 0 0 18px;
  letter-spacing: .01em;
}
.sb-cover-card .sb-dear button, .sb-dear button, .sb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 38px;
  background: var(--sb-panel);
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  font: 500 13px var(--font-body);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(29, 43, 66, 0.25);
}
.sb-cover-card .sb-dear button:hover, .sb-btn:hover {
  background: #2C4266;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(29, 43, 66, 0.35);
}

/* ==========================================================================
   SHELL (MAIN LAYOUT)
   ========================================================================== */
.sb-shell {
  position: relative;
  width: 100%;
  min-height: 100vh;
}
.sb-wallpaper {
  display: none;
}
.sb-scroll {
  position: relative;
  width: 100%;
  max-width: var(--sb-max);
  margin: 0 auto;
  overflow: hidden;
  background: var(--sb-cream);
  min-height: 100vh;
}
.sb-block {
  position: relative;
  padding: 40px 30px 20px;
  overflow: hidden;
}
.sb-inner {
  position: relative;
  z-index: 5;
  width: 100%;
  text-align: center;
}
.sb-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--sb-title-size);
  line-height: 1.15;
  color: var(--sb-maroon);
  margin: 0 0 18px;
}
.sb-inner p, .sb-inner div {
  font-size: 14px;
  line-height: 1.7;
}
.sb-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}
.sb-actions .sb-btn {
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  white-space: nowrap;
}

/* ==========================================================================
   SECTION 1: OPENING
   ========================================================================== */
.sb-opening {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 22px 16px;
  background: var(--sb-cream);
  overflow: hidden;
}
.sb-opening-card {
  position: relative;
  z-index: 5;
  width: 82%;
  max-width: 310px;
  height: auto;
  border: 0;
  border-radius: 155px;
  overflow: hidden;
  background: var(--sb-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 52px 32px 48px;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.sb-opening-card > .sb-initials,
.sb-opening-card > .sb-kicker,
.sb-opening-card > h1,
.sb-opening-card > .sb-date,
.sb-opening-card > .sb-scroll-hint {
  position: relative;
  z-index: 2;
}
.sb-opening-card .sb-initials {
  font: 400 65px/.9 var(--font-script);
  color: #fff;
  margin: 0 0 18px;
}
.sb-opening-card .sb-kicker {
  margin-top: 4px;
  color: #fff;
}
.sb-opening-card h1 {
  font: italic 400 34px/1.1 var(--font-display);
  color: #fff;
  margin: 10px 0 0;
}
.sb-opening-card .sb-date {
  font: 400 17px/37px var(--font-body);
  color: #fff;
  letter-spacing: 0.05em;
}
.sb-scroll-hint {
  width: 28px;
  height: 48px;
  margin-top: 16px;
  border: 2px solid #fff;
  border-radius: 16px;
  position: relative;
}
.sb-scroll-hint:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: #fff;
  animation: sb-mouse 1.4s ease-in-out infinite;
}
@keyframes sb-mouse {
  0%, 100% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(10px); opacity: 0; }
}

/* ==========================================================================
   SECTION 2: QUOTES
   ========================================================================== */
.sb-quotes {
  padding: 50px 24px;
  background: var(--sb-cream);
  color: var(--sb-maroon);
}
.sb-quotes h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--sb-title-size);
  line-height: 1.15;
  color: var(--sb-maroon);
  margin: 18px 0 10px;
}
.sb-quotes .sb-quote + h3 {
  margin-top: 10px;
}
.sb-quote {
  font: italic 16px/1.8 var(--font-display) !important;
  color: var(--sb-maroon);
}
.sb-quotes-slideshow {
  position: relative;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 4/5;
  margin: 18px auto;
  border-radius: 16px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 20%, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%),
                      linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 20%, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%),
              linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
  mask-composite: intersect;
}
.sb-quotes-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
}
.sb-quotes-slideshow img.is-active {
  opacity: 1;
}

/* ==========================================================================
   SECTION 3: MEMPELAI (COUPLE)
   ========================================================================== */
.sb-couple {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: var(--sb-cream);
  padding: 48px 20px 0;
  overflow: hidden;
}
.sb-couple.sb-block {
  padding-bottom: 0;
}
.sb-couple .sb-inner {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 0;
}
.sb-couple .sb-title {
  color: var(--sb-maroon);
  margin-bottom: 20px;
  flex-shrink: 0;
}
.sb-person {
  position: relative;
  z-index: 3;
  flex: 1 1 auto;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
  background: var(--sb-card);
  border: 0;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  padding: 18px 14px 48px;
  box-sizing: border-box;
  min-height: 0;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.sb-person-photo {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 270px;
  aspect-ratio: 1024/1536;
  margin: 0 auto;
  flex-shrink: 0;
}
.sb-person-photo-inner {
  position: absolute;
  top: 10.1%;
  left: 14.16%;
  width: 71.68%;
  height: 84.57%;
  border-radius: 50% 50% 4% 4% / 28% 28% 4% 4%;
  overflow: hidden;
  z-index: 1;
  background: #2a1818;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sb-person-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
  display: block;
}
.sb-person-photo-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 14%;
  background-repeat: no-repeat;
}
.sb-person-border {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}
.sb-person-body {
  position: relative;
  z-index: 1;
  width: 92%;
  margin-top: -8px;
  padding: 8px 8px 4px;
  box-sizing: border-box;
  background: transparent;
  flex-shrink: 0;
}
.sb-person h2 {
  font: 400 40px/1 var(--font-script);
  color: #fff;
  margin: 0 0 2px;
}
.sb-person-body .sb-flourish {
  color: #fff;
  opacity: .7;
  margin: 6px auto 10px;
}
.sb-person h4 {
  font: 400 15px/1.35 var(--font-body);
  margin: 0 0 6px;
  color: #fff;
  font-weight: 600;
  letter-spacing: .02em;
}
.sb-person-body > div {
  color: #fff;
  font-size: 14px;
  line-height: 1.7;
  opacity: .95;
}
.sb-person a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 999px;
  padding: 7px 16px;
  margin-top: 14px;
  text-decoration: none;
  font: 500 12px/1 var(--font-body);
  background: rgba(255,255,255,0.08);
  transition: all 0.3s ease;
}
.sb-person a:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

/* ==========================================================================
   SECTION 4: LOVE STORY (CERITA KAMI)
   ========================================================================== */
.sb-story {
  background: var(--sb-cream);
  padding: 48px 0 70px;
  overflow: hidden;
}
.sb-story .sb-inner {
  padding: 0 24px;
  text-align: left;
}
.sb-story-slider {
  width: calc(100% + 48px);
  margin: 0 -24px 28px;
  overflow: hidden;
}
.sb-story-track {
  display: flex;
  gap: 12px;
  width: max-content;
  align-items: stretch;
}
.sb-story-slider.is-marquee .sb-story-track {
  animation: sb-story-marquee 30s linear infinite;
}
.sb-story-track img {
  display: block;
  width: 210px;
  height: 280px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 18px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
@keyframes sb-story-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.sb-story .sb-title {
  margin-bottom: 22px;
  text-align: center;
}
.sb-story-card {
  margin: 0 -24px;
  padding: 30px 24px;
  width: calc(100% + 48px);
  max-width: none;
  background: var(--sb-panel);
  text-align: left;
  color: #fff;
  box-sizing: border-box;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.1);
}
.sb-story-item {
  margin: 0 0 22px;
  padding: 0 0 22px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.sb-story-item:last-child {
  margin: 0;
  padding: 0;
  border-bottom: 0;
}
.sb-story-item h4 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 6px;
  color: #fff;
}
.sb-story-item time {
  display: block;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin: 0 0 10px;
}
.sb-story-item > div {
  font-size: 13.5px;
  line-height: 1.7;
  color: #fff;
}

/* ==========================================================================
   SECTION 5: SAVE THE DATE & ACARA (SCHEDULE)
   ========================================================================== */
.sb-date-sec {
  color: var(--sb-maroon);
  background: var(--sb-cream);
  padding: 48px 24px 80px;
}
.sb-date-sec .sb-title {
  margin-bottom: 10px;
}
.sb-countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 22px 0 28px;
}
.sb-countdown div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 4px;
  border: 1px solid #C2A67E88;
  border-radius: 12px;
  background: #1D2B4218;
}
.sb-countdown b {
  font: 22px var(--font-display);
  color: var(--sb-maroon);
}
.sb-countdown span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--sb-maroon);
}
.sb-btn-calendar {
  margin-bottom: 36px;
}

.sb-event-wrap {
  position: relative;
  overflow: hidden;
  min-height: auto;
  padding: 8px 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-radius: 28px;
  margin-bottom: 24px;
}
.sb-event {
  position: relative;
  z-index: 3;
  min-height: 48vh;
  padding: 36px 18px;
  margin: 0;
  background: linear-gradient(180deg, #1D2B42f5 0%, #1D2B42d9 18%, #1D2B42a6 38%, #1D2B4266 58%, #1D2B4233 78%, #1D2B4214 90%, #1D2B4208 100%);
  color: #fff;
  border-radius: 28px;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  box-shadow: 0 4px 20px rgba(29, 43, 66, 0.15);
}
.sb-event h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--sb-title-size);
  line-height: 1.15;
  margin: 8px 0;
}
.sb-event p, .sb-event div {
  text-align: center;
}
.sb-event .sb-btn {
  margin-top: 15px;
  background: var(--sb-panel);
  border: 1px solid var(--sb-cream);
}
.sb-event .sb-map {
  width: 100%;
}
.sb-map {
  margin-top: 16px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.3);
}
.sb-map iframe {
  width: 100%;
  height: 180px;
  border: 0;
  display: block;
}

/* ==========================================================================
   SECTION 6 & 7: TURUT MENGUNDANG & DRESSCODE
   ========================================================================== */
.sb-extra {
  min-height: auto;
  background: var(--sb-cream);
  padding: 36px 24px;
}
.sb-colors {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 18px 0;
}
.sb-colors i {
  display: inline-block;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #C2A67E55;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* ==========================================================================
   SECTION 8: INFORMASI TAMBAHAN & ADAB WALIMAH
   ========================================================================== */
.sb-gallery {
  background: var(--sb-cream);
  padding: 40px 16px 70px;
}
.sb-gallery .sb-wish-block > img {
  max-width: 100%;
  margin: 18px auto;
  border-radius: 16px;
  display: block;
}

/* ==========================================================================
   SECTION 9: PHOTO & VIDEO GALLERY
   ========================================================================== */
.sb-photo-gallery {
  background: var(--sb-cream);
  padding: 40px 16px 70px;
  overflow: hidden;
}
.sb-photo-gallery .sb-title {
  margin-bottom: 18px;
}
.sb-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.sb-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* 2-column mosaic grid for photos */
.sb-mosaic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}
.sb-mosaic-grid .sb-grid-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1/1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sb-mosaic-grid .sb-grid-item:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}
.sb-mosaic-grid .sb-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Conveyor endless loop */
.sb-conveyor {
  margin: 28px 0 0;
  padding: 0 0 8px;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.sb-conveyor-track {
  display: flex;
  width: max-content;
  gap: 8px;
  will-change: transform;
  animation: sb-conveyor 26s linear infinite;
}
.sb-conveyor-item {
  flex: 0 0 auto;
  display: block;
  width: 112px;
  height: 148px;
  overflow: hidden;
  background: var(--sb-maroon);
  border: 1px solid #A0816644;
  border-radius: 10px;
}
.sb-conveyor-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}
@keyframes sb-conveyor {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ==========================================================================
   SECTION 10: LIVE STREAMING & GIFT
   ========================================================================== */
.sb-gift {
  background: var(--sb-cream);
  padding: 48px 24px 80px;
}
.sb-bank {
  position: relative;
  text-align: left;
  color: var(--sb-maroon);
  padding: 22px 18px 48px;
  margin: 15px 0;
  border-radius: 16px;
  background: linear-gradient(#F5F7FAf0, #F5F7FAf0), url("../ornaments/bg-bank.webp") center/cover;
  border: 1px solid var(--sb-gold);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(194, 166, 126, 0.2);
}
.sb-bank .sb-chip {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 12%;
  max-width: 46px;
  height: auto;
}
.sb-bank .sb-bank-logo {
  position: absolute;
  right: 14px;
  bottom: 14px;
  height: 22px;
  max-width: 85px;
  width: auto;
  object-fit: contain;
  display: block;
}
.sb-bank small, .sb-bank strong, .sb-bank div {
  display: block;
}
.sb-bank small {
  font-size: 13px;
  line-height: 1.4;
}
.sb-bank strong {
  font: 500 18px/1.3 var(--font-body);
  margin: 6px 0;
  letter-spacing: .03em;
}
.sb-bank button {
  border: 0;
  border-radius: 30px;
  background: var(--sb-panel);
  color: #fff;
  padding: 7px 16px;
  font: 500 12px/1 var(--font-body);
  margin-top: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.sb-bank button:hover {
  background: #2C4266;
  transform: translateY(-1px);
}

/* ==========================================================================
   SECTION 11: RSVP, STORY IG & WISHES
   ========================================================================== */
.sb-rsvp {
  background: var(--sb-cream);
  padding: 48px 24px 80px;
  color: var(--sb-maroon);
}
.sb-rsvp canvas {
  display: block;
  margin: 15px auto;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--sb-gold);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.sb-rsvp canvas + p {
  margin: 0 0 4px;
}
.sb-rsvp canvas + p + .sb-btn {
  margin-top: 18px;
}
.sb-wish-block {
  margin: 0 0 36px;
}
.sb-wish-block:last-child {
  margin-bottom: 0;
}

.sb-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: #F5F7FAe6;
  border: 1px solid var(--sb-gold);
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(194, 166, 126, 0.15);
}
.sb-form input, .sb-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #C2A67E88;
  background: #ffffffd9;
  color: var(--sb-maroon);
  padding: 12px;
  font: 400 14px/1.4 var(--font-body);
  border-radius: 8px 8px 0 0;
  outline: none;
  transition: border-color 0.2s;
}
.sb-form input:focus, .sb-form textarea:focus {
  border-bottom-color: var(--sb-maroon);
  background: #ffffff;
}
.sb-form textarea {
  min-height: 90px;
  resize: vertical;
}

.sb-comments {
  max-height: 420px;
  overflow-y: auto;
  margin-top: 20px;
  padding-right: 4px;
}
.sb-comments article {
  text-align: left;
  padding: 14px 16px;
  margin: 10px 0;
  background: #F5F7FAe6;
  color: var(--sb-maroon);
  border-radius: 12px;
  border: 1px solid rgba(194, 166, 126, 0.35);
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.sb-comments h4, .sb-comments p {
  margin: 3px 0;
}
.sb-comments h4 > span {
  font-weight: 700;
  font-size: 14px;
}
.sb-comments h4 small {
  font-weight: 400;
  font-size: 12px;
  opacity: 0.8;
}
.sb-comments p {
  font-size: 13.5px;
  line-height: 1.6;
}

/* ==========================================================================
   SECTION 12: CLOSING & FOOTER
   ========================================================================== */
.sb-closing {
  min-height: 100svh;
  display: grid;
  place-items: center;
  color: #2D3748;
  padding: 22px 16px;
  background: var(--sb-cream);
  overflow: hidden;
}
.sb-closing .sb-title {
  color: #1A202C;
  font-weight: 500;
}
.sb-closing .sb-inner p {
  color: #2D3748;
  font-weight: 400;
  line-height: 1.75;
}
.sb-closing .sb-inner > span {
  display: block;
  margin-top: 28px;
  font-size: 14px;
  color: #4A5568;
  font-weight: 400;
}
.sb-closing h2 {
  font-family: var(--font-calligraphy);
  font-size: clamp(36px, 6vw, 44px);
  font-weight: 400;
  color: #1A202C;
  line-height: 1.25;
  margin: 12px 0;
}
.sb-footer {
  position: relative;
  z-index: 5;
  padding: 24px;
  background: var(--sb-maroon);
  color: #fff;
  text-align: center;
}
.sb-footer a {
  color: #fff;
  transition: opacity 0.2s;
}
.sb-footer a:hover {
  opacity: 0.8;
}

/* ==========================================================================
   FLOATING CONTROLS
   ========================================================================== */
.sb-controls {
  position: fixed;
  z-index: 2000;
  bottom: 18px;
  right: 18px;
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
}
.sb-controls button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--sb-cream);
  border-radius: 50%;
  background: var(--sb-panel);
  color: var(--sb-cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
}
.sb-controls button:hover {
  transform: scale(1.1);
  background: #2C4266;
}
.sb-music.playing i {
  animation: disc 4s linear infinite;
}
@keyframes disc {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   ORNAMENT POSITIONING & WIND ANIMATIONS
   ========================================================================== */
.sb-dim {
  opacity: .6;
}
.sb-img-bga {
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 40%);
  mask-image: linear-gradient(to top, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 40%);
}
.sb-orn {
  position: absolute;
  pointer-events: none;
  user-select: none;
  height: auto;
  max-width: none;
}

/* Wind sway effects */
.wind-effect {
  animation: wind-1 11s infinite ease-in-out;
}
.wind-effect1 {
  animation: wind-2 13s infinite ease-in-out;
}
.wind-effect2 {
  animation: wind-3 15s infinite ease-in-out;
}

/* Harmonized botanical ornaments matching Classic Navy palette */
.wind-effect,
.wind-effect1,
.wind-effect2,
.sb-o-171bf881,
.sb-o-2e26e21e,
.sb-o-72c4fa94,
.sb-o-32ed5709,
.sb-o-505bfde7,
.sb-o-49297832,
.sb-o-dfa36a7,
.sb-o-5ef8f7c7,
.sb-o-333163ea,
.sb-o-3f5de591,
.sb-o-39e29b28,
.sb-o-34594d0b,
.sb-o-a96f6ce,
.sb-o-36908069,
.sb-o-515493f,
.sb-o-5641b624,
.sb-o-6ca6873d,
.sb-o-2e3130ca,
.sb-o-29cbf942,
.sb-o-7e4d9a1e,
.sb-o-36ba810f,
.sb-o-69b8f79d,
.sb-o-25a85957,
.sb-o-554a4498,
.sb-o-ee731,
.sb-o-537c84c4 {
  filter: hue-rotate(205deg) saturate(0.85) brightness(0.95);
  -webkit-filter: hue-rotate(205deg) saturate(0.85) brightness(0.95);
}
@keyframes wind-1 {
  0%, 100% { transform: translateX(0) rotate(0); }
  20% { transform: translateX(-10px) rotate(-4deg); }
  50% { transform: translateX(10px) rotate(4deg); }
  80% { transform: translateX(-12px) rotate(-2deg); }
}
@keyframes wind-2 {
  0%, 100% { transform: translateX(0) rotate(0); }
  20% { transform: translateX(-10px) rotate(-3deg); }
  50% { transform: translateX(10px) rotate(3deg); }
  80% { transform: translateX(-10px) rotate(-2deg); }
}
@keyframes wind-3 {
  0%, 100% { transform: translateX(0) rotate(0); }
  20% { transform: translateX(-10px) rotate(-2deg); }
  50% { transform: translateX(11px) rotate(3deg); }
  80% { transform: translateX(-11px) rotate(-2deg); }
}

/* Scroll reveal animations */
.muncul, .zoom {
  position: relative;
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
}
.muncul {
  transform: translateY(6rem) scale(.93);
}
.zoom {
  transform: scale(.5);
}
.muncul.active, .zoom.active {
  transform: none;
  opacity: 1;
  visibility: visible;
  transition: opacity 2s ease-out, transform 2.5s cubic-bezier(.19, 1, .22, 1);
}

/* Precise ornament coordinates */
.sb-o-22cb2b1f {
  width: 100%;
  right: 0px;
  bottom: 0vh;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 22%, rgba(0,0,0,1) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 22%, rgba(0,0,0,1) 100%);
}
.sb-o-3a1eb651,
.sb-o-21569a68,
.sb-o-360e3e2e,
.sb-o-5094f454 { display: none !important; }
.sb-o-171bf881 { width: 66%; left: -16vh; top: -3vh; z-index: 0; }
.sb-o-2e26e21e { width: 81%; left: -32vh; bottom: -10vh; }
.sb-o-72c4fa94 { width: 100%; right: -41vh; bottom: -16vh; }
.sb-o-32ed5709 { width: 40%; left: -3vh; bottom: -16vh; z-index: 4; }
.sb-o-505bfde7 { width: 46%; left: -11vh; bottom: -24vh; z-index: 2; }
.sb-o-49297832 { width: 46%; right: -7vh; bottom: -15vh; z-index: 2; }
.sb-o-dfa36a7  { width: 43%; right: -3vh; bottom: -22vh; z-index: 2; }

.sb-o-5ef8f7c7 { width: 81%; left: -33vh; top: -15vh; }
.sb-o-5ef8f7c7.sb-o-flip-x {
  left: auto;
  right: -33vh;
  transform: scaleX(-1);
  animation: wind-2-flip 13s infinite ease-in-out;
}
@keyframes wind-2-flip {
  0%, 100% { transform: scaleX(-1) translateX(0) rotate(0); }
  20% { transform: scaleX(-1) translateX(-10px) rotate(-3deg); }
  50% { transform: scaleX(-1) translateX(10px) rotate(3deg); }
  80% { transform: scaleX(-1) translateX(-10px) rotate(-2deg); }
}
.sb-o-6847d72a { width: 100%; right: 0px; top: 4vh; z-index: 0; }

.sb-o-2481bc45 { width: 39%; right: -13vh; top: -9vh; z-index: 4; transform: rotate(-20deg); }
.sb-o-16e0e71  { width: 34%; left: -4vh; top: -4vh; z-index: 0; transform: rotate(33deg); }

.sb-o-4359d3f1 { width: 100%; right: 0px; bottom: -3vh; z-index: 0; }
.sb-o-21569a68 { bottom: 0vh; z-index: 0; width: 100%; }
.sb-o-69b8f79d { width: 100%; left: -4vh; bottom: -9vh; z-index: 0; }
.sb-o-25a85957 { width: 44%; left: -12vh; bottom: 16vh; z-index: 0; transform: rotate(23deg); }
.sb-o-554a4498 { width: 48%; left: -25vh; bottom: -24vh; z-index: 0; }
.sb-o-ee731    { width: 48%; right: -7vh; bottom: -23vh; z-index: 0; }
.sb-o-537c84c4 { width: 46%; right: -3vh; bottom: -24vh; z-index: 0; }

.sb-o-5223d493 { width: 42%; right: -13vh; top: 14vh; z-index: 4; transform: rotate(-20deg); }
.sb-o-5386fa73 { width: 34%; left: -10vh; top: 5vh; z-index: 0; transform: rotate(33deg); }

.sb-o-a6368c0  { width: 100%; right: 0px; bottom: 14vh; z-index: 0; }
.sb-o-54cb4e8  { width: 100%; right: 0px; top: 102px; z-index: 0; }
.sb-o-360e3e2e { left: 0; right: 0; bottom: 0; width: 100%; z-index: 0; }
.sb-o-3a1aa26d { width: 81%; left: -32vh; bottom: -8vh; z-index: 0; }
.sb-o-333163ea { width: 100%; right: -11vh; bottom: -5vh; z-index: 0; }
.sb-o-3f5de591 { width: 95%; right: -41vh; bottom: 19vh; z-index: 0; }
.sb-o-39e29b28 { width: 46%; left: -21vh; bottom: -2vh; z-index: 1; }
.sb-o-34594d0b { width: 46%; right: -13vh; bottom: -20vh; z-index: 1; }
.sb-o-a96f6ce  { width: 45%; left: -11vh; top: 0vh; z-index: 1; }
.sb-o-36908069 { width: 73%; left: -30vh; bottom: 88vh; z-index: 0; transform: rotate(15deg); }
.sb-o-515493f  { width: 34%; left: -10vh; top: 2vh; z-index: 0; transform: rotate(33deg); }
.sb-o-5641b624 { width: 42%; right: -13vh; top: 9vh; z-index: 0; transform: rotate(-20deg); }

.sb-o-f280c40  { width: 100%; right: 0px; bottom: 14vh; z-index: 0; }
.sb-o-5094f454 { width: 100%; left: 0vh; bottom: 0vh; z-index: 0; }
.sb-o-6ca6873d { width: 81%; left: -30vh; bottom: -6vh; z-index: 0; }
.sb-o-2e3130ca { width: 100%; right: -11vh; bottom: -5vh; z-index: 0; }
.sb-o-29cbf942 { width: 96%; right: -36vh; bottom: 19vh; z-index: 0; }
.sb-o-7e4d9a1e { width: 69%; left: -21vh; bottom: -2vh; z-index: 1; }
.sb-o-36ba810f { width: 50%; right: -13vh; bottom: -20vh; z-index: 1; }

/* ==========================================================================
   DESKTOP RESPONSIVE (MIN-WIDTH: 900PX)
   ========================================================================== */
@media (min-width: 900px) {
  :root {
    --sb-max: 390px;
  }
  .sb-cover {
    justify-content: flex-start;
    background: #0d1522;
  }
  .sb-cover-left {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
  }
  .sb-cover-panel {
    flex: 0 0 390px;
    width: 390px;
    max-width: 390px;
    margin: 0;
    box-shadow: -14px 0 40px rgba(26,18,16,0.45);
  }
  .sb-wallpaper {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: calc(100% - 390px);
    overflow: hidden;
    background-color: var(--sb-maroon);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  .sb-wallpaper-copy {
    position: absolute;
    z-index: 2;
    left: 8%;
    bottom: 10%;
    color: #F5F7FA;
    text-shadow: 0 2px 18px rgba(13,21,34,0.66);
  }
  .sb-wallpaper-copy p {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: var(--sb-kicker-size);
    line-height: 1.4;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin: 0;
  }
  .sb-wallpaper-copy h2 {
    font: italic 400 clamp(48px, 4.5vw, 72px)/.95 var(--font-display);
    margin: 8px 0;
    color: #F5F7FA;
  }
  .sb-wallpaper-copy span {
    display: block;
    font: 400 14px/1.4 var(--font-body);
    letter-spacing: .12em;
    text-transform: uppercase;
  }
  .sb-scroll {
    width: 390px;
    max-width: 390px;
    margin-left: calc(100% - 390px);
    box-shadow: -10px 0 35px rgba(26,18,16,0.5);
  }
  .sb-controls {
    right: 18px;
  }
}

@media (max-width: 360px) {
  :root {
    --sb-title-size: 24px;
  }
  .sb-block, .sb-date-sec, .sb-couple {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ==========================================================================
   INTERACTIVE LIGHTBOX & TOAST & MODAL STYLES
   ========================================================================== */
/* Toast Notification */
.sb-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(29, 43, 66, 0.95);
  color: #F5F7FA;
  padding: 12px 24px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  font: 500 13px/1.4 var(--font-body);
  z-index: 10001;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sb-toast.is-active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Lightbox Modal */
.sb-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.sb-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.sb-lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.sb-lightbox-btn {
  position: absolute;
  background: rgba(255,255,255,0.15);
  border: 0;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background 0.2s;
}
.sb-lightbox-btn:hover {
  background: rgba(255,255,255,0.3);
}
.sb-lightbox-close { top: 20px; right: 20px; }
.sb-lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.sb-lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* RSVP & Voice Modals */
.sb-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.sb-modal-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}
.sb-modal-card {
  background: #F5F7FA;
  color: var(--sb-maroon);
  width: 100%;
  max-width: 380px;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.3);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--sb-gold);
}
.sb-modal-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 0 0 16px;
  text-align: center;
  color: var(--sb-maroon);
}
.sb-modal-card .sb-close-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--sb-maroon);
}
.sb-modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sb-modal-form label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
  display: block;
}
.sb-modal-form input, .sb-modal-form select, .sb-modal-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #C2A67E88;
  border-radius: 8px;
  background: #fff;
  font: 400 14px var(--font-body);
  color: var(--sb-maroon);
  outline: none;
}
.sb-modal-form button.sb-btn-submit {
  background: var(--sb-panel);
  color: #fff;
  border: 0;
  border-radius: 30px;
  padding: 12px;
  font: 500 14px var(--font-body);
  cursor: pointer;
  margin-top: 8px;
}
