﻿* {
  margin: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: Arial, sans-serif;
  background-color: #111;
  padding: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow-x: hidden;
}

h2 {
  padding-top: 40px;
  padding-left: 20px;
}

.row__poster {
  width: 100%;
  max-height: 130px;
  margin-right: 10px;
  transition: transform 450ms;
  border-radius: 2px;
}

.row_posters {
  display: flex;
  flex-direction: row;
  align-items: center;
  overflow-y: hidden;
  overflow-x: scroll;
  padding: 20px;
}

.story-container {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 30px 0;
}

.story-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1000px;
}

.story-item__main {
  display: flex;
  align-items: center;
  position: relative;
  gap: 30px;
  min-height: 250px;
}

.story-number {
  position: absolute;
  left: -20px;
  font-weight: bold;
  font-size: 250px;
  line-height: 1;
  color: black;
  -webkit-text-stroke: 4px rgb(102, 102, 102);
  text-shadow: 0 0 30px black;
  z-index: 1;
  pointer-events: none;
  opacity: 0.8;
}

.story-photo-wrapper {
  z-index: 2;
  margin-left: 80px;
}

.story-photo {
  height: 250px;
  width: 180px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0px 0px 32px black;
  transition: transform 450ms;
}

.story-photo:hover {
  transform: scale(1.08);
}

.story-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
}

.story-episode {
  color: #e50914;
  font-weight: 800;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.story-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: white;
  line-height: 1.1;
}

.story-year {
  font-size: 1.4rem;
  color: #999;
  font-weight: 600;
}

.story-description {
  z-index: 2;
  margin-left: 80px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ddd;
  max-width: 800px;
}

.row {
  color: white;
  margin-left: 20px;
  z-index: 1;
}

/*--> HEADER <--*/
#background-video {
  width: 100%;
  object-fit: cover;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 0;
  height: 100%;
}

.bg-overlay {
  width: 100%;
  object-fit: cover;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
  height: 100%;
  background: rgb(17, 17, 17);
  background: linear-gradient(0deg,
      rgba(17, 17, 17, 1) 0%,
      rgba(17, 17, 17, 0) 15%) !important;
}

.banner {
  position: relative;
  overflow: hidden;
  min-height: 72rem;
  height: auto;
}

.banner__contents {
  margin-left: 30px;
  padding-top: 240px;
  height: auto;
  padding-bottom: 2rem;
  z-index: 2;
  position: relative;
}

.banner__logo {
  display: block;
  height: 140px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.7));
}

.banner__wedding_title {
  color: #ffffff;
  font-size: 1rem;
  letter-spacing: 0.6rem;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  font-weight: 400;
  opacity: 0.85;
}

.banner__couple_names {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 2rem;
  color: #ff0000;
  margin-bottom: 0.8rem;
  font-weight: 580;
  line-height: 1.25;
  letter-spacing: 0.15rem;
  text-shadow:
    0 0 15px rgb(59, 44, 44),
    0 1px 6px rgb(255, 0, 0);
  background: linear-gradient(135deg, #ff0000 0%, #ff00d4 50%, #ffe100 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.banner__description {
  width: 100%;
  max-width: 520px;
  line-height: 1.75;
  padding-top: 0.6rem;
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 400;
  font-style: italic;
  padding-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.7);
  border-left: 2px solid rgba(255, 255, 255, 0.5);
  padding-left: 14px;
}

.banner__coming-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.coming-soon-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.coming-soon-btn {
  background-color: #e50914;
  color: #ffffff;
  font-size: 0.9rem;
  padding-left: 16px;
  padding-right: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08rem;
}

.coming-soon-btn .icon {
  height: 18px;
}

.banner__countdown-text {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55);
  border: 1.5px solid #e50914;
  border-radius: 999px;
  padding: 7px 14px;
  background: rgba(229, 9, 20, 0.16);
}

.documenter-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08rem;
}

.quality-badges {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.quality-logo {
  width: 58px;
  height: 34px;
  object-fit: contain;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.42);
  padding: 3px;
}

.banner__button {
  cursor: pointer;
  border: none;
  font-weight: 600;
  font-size: 20px;
  border-radius: 3px;
  padding-left: 20px;
  padding-right: 20px;
  margin-right: 1rem;
  padding-top: 15px;
  padding-bottom: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.banner__buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.bride-groom {
  margin-top: 1.6rem;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.bride-groom-title {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  font-family: 'Cinzel Decorative', cursive;
  font-size: 1.4rem;
  letter-spacing: 0.5rem;
  text-transform: uppercase;
  font-weight: 700;
  padding-left: 0;
  color: #d4a843;
  text-shadow: 0 0 20px rgba(212, 168, 67, 0.5), 0 2px 8px rgba(0, 0, 0, 0.8);
  position: relative;
  z-index: 5;
  display: block;
  text-align: center;
}

@keyframes shimmerGold {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

.person-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  /* Border vintage double ring */
  border: 1.5px solid #d4a843;
  outline: 1px solid rgba(212, 168, 67, 0.2);
  box-shadow:
    0 0 0 4px rgba(5, 3, 2, 0.55),
    0 0 0 5.5px rgba(212, 168, 67, 0.4),
    0 8px 32px rgba(0, 0, 0, 0.6),
    inset 0 0 20px rgba(212, 168, 67, 0.04);
  background: rgba(8, 6, 4, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 18px 16px 20px;
  border-radius: 16px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.person-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 4px rgba(5, 3, 2, 0.55),
    0 0 0 5.5px rgba(212, 168, 67, 0.7),
    0 14px 40px rgba(0, 0, 0, 0.7),
    inset 0 0 30px rgba(212, 168, 67, 0.07);
}

.person-photo {
  width: 130px;
  height: 160px;
  object-fit: cover;
  object-position: center top;
  border-radius: 10px;
  border: 2px solid rgba(212, 168, 67, 0.4);
  box-shadow: 0 0 16px rgba(212, 168, 67, 0.2);
  margin-bottom: 10px;
}

.person-role {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.35rem;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 4px;
  font-weight: 600;
}

.person-name {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  line-height: 1.3;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

.person-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  color: rgb(255, 255, 255);
  line-height: 1.6;
  margin-top: 6px;
}

.person-ig {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 0.8rem;
  color: #ffffff;
  text-decoration: none;
}

.person-ig:hover {
  text-decoration: underline;
}

.ig-icon {
  width: 16px;
  height: 16px;
}

.icon {
  height: 25px;
  padding-right: 10px;
}

.play {
  background-color: #fdfdfd;
  color: #111;
}

.info {
  color: #fff;
  background-color: rgba(216, 216, 216, 0.459);
}

.play:hover {
  background-color: rgb(204, 204, 204);
  transition: all 0.2s;
}

.info:hover {
  background-color: rgba(216, 216, 216, 0.185);
  transition: all 0.2s;
}

.seta {
  padding-left: 10px;
  margin-right: 10px;
  height: 10px;
}

/*--> NAV <--*/
.nav__logo {
  width: 80px;
  object-fit: contain;
}

.user {
  border-radius: 4px;
  padding-left: 10px;
}

.lupa,
.bell {
  height: 20px;
  padding-left: 30px;
}

.nav__avatar {
  width: 30px;
  object-fit: contain;
  margin-left: 20px;
  border-radius: 4px;
}

.nav {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 18px 16px;
  text-align: left;
  align-items: center;
  z-index: 9100;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.65) 0%,
      rgba(0, 0, 0, 0.35) 50%,
      rgba(0, 0, 0, 0) 100%);
  transition: padding 0.35s ease;
}

.nav.scrolled {
  padding: 12px 16px;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.65) 0%,
      rgba(0, 0, 0, 0.35) 50%,
      rgba(0, 0, 0, 0) 100%);
}

.nav ul {
  display: inline-flex;
  flex-wrap: wrap;
  list-style-type: none;
  margin-right: auto;
  justify-content: center;
}

.nav a {
  text-decoration: none;
  color: #b9b9b9;
  margin-right: 20px;
  display: flex;
}

.head-link:hover {
  font-weight: bolder;
  color: white;
}

/*--> FOOTER <--*/
.footer {
  background-color: #000;
  padding: 80px 0 40px;
  color: #808080;
  font-size: 0.9rem;
  border-top: 1px solid #222;
  margin-top: 60px;
}

.footer__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 4%;
}

.footer__icons {
  display: flex;
  gap: 25px;
  margin-bottom: 50px;
}

.social-icon img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(0.6);
  transition: all 0.3s ease;
}

.social-icon:hover img {
  filter: brightness(0) invert(1);
  transform: translateY(-3px);
}

.footer__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.footer__column h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 25px;
  font-weight: 600;
  letter-spacing: 1px;
}

.footer__column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__column ul li {
  margin-bottom: 15px;
}

.footer__column ul li a {
  color: #808080;
  text-decoration: none;
  transition: color 0.2s;
}

.footer__column ul li a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer__serviceCode {
  background: transparent;
  border: 1px solid #808080;
  color: #808080;
  padding: 8px 12px;
  font-size: 0.8rem;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.3s;
}

.footer__serviceCode:hover {
  color: #fff;
  border-color: #fff;
}

.footer__bottom {
  border-top: 1px solid #222;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__copyright p {
  margin: 0;
  font-size: 0.85rem;
}

.footer__copyright .highlight {
  color: #ffffff;
  font-weight: 600;
}

.footer__legal-links {
  display: flex;
  gap: 20px;
}

.footer__legal-links a {
  color: #666;
  text-decoration: none;
  font-size: 0.85rem;
}

.footer__legal-links a:hover {
  color: #808080;
}

/* Responsif Footer */
@media (max-width: 768px) {
  .footer {
    padding: 50px 0 30px;
  }

  .footer__row {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .footer__icons {
    justify-content: center;
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .footer__row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__column h4 {
    margin-bottom: 15px;
  }
}

/* Responsif untuk mode potrait / mobile */
@media (max-width: 768px) {
  h2 {
    padding-top: 25px;
    padding-left: 10px;
  }

  .nav {
    padding: 12px 14px;
  }

  .nav a {
    font-size: 0.75rem;
    margin-right: 10px;
  }

  .lupa,
  .bell {
    display: none;
  }

  .banner {
    height: auto;
    min-height: auto;
    /* Reset min-height to avoid gap */
    padding-bottom: 1.5rem;
  }

  #background-video,
  .bg-overlay {
    height: 28rem;
  }

  .banner__contents {
    height: auto;
    padding-top: 115px;
    padding-bottom: 2.5rem;
    margin-left: 16px;
    margin-right: 16px;
  }

  .banner__logo {
    height: 90px;
  }

  .banner__wedding_title {
    font-size: 0.8rem;
    letter-spacing: 0.35rem;
  }

  .banner__couple_names {
    font-size: 1.3rem;
    letter-spacing: 0.1rem;
  }

  .banner__description {
    width: 100%;
    max-width: 100%;
    font-size: 0.9rem;
    padding-right: 10px;
    padding-top: 0.6rem;
    padding-bottom: 15px;
  }

  .banner__button {
    font-size: 0.85rem;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .banner__coming-wrapper {
    margin-bottom: 0.8rem;
  }

  .coming-soon-row {
    gap: 8px;
  }

  .documenter-tag {
    font-size: 0.7rem;
    letter-spacing: 0.04rem;
  }

  .quality-logo {
    width: 46px;
    height: 28px;
  }

  .banner__buttons {
    gap: 8px;
  }

  .banner__countdown-text {
    font-size: 0.74rem;
    padding: 6px 10px;
  }

  .bride-groom {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 1.2rem;
  }

  .bride-groom-title {
    font-size: 1rem;
    letter-spacing: 0.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .event-section {
    padding: 10px 0;
    /* Adjusted for mobile to reduce space */
  }

  .person-card {
    align-items: center;
    text-align: center;
    max-width: none;
    padding: 10px 10px 12px;
  }

  .person-photo {
    width: 132px;
    height: 132px;
  }

  .person-name {
    font-size: 0.85rem;
  }

  .person-desc {
    font-size: 0.7rem;
  }

  .row {
    margin-left: 10px;
    margin-right: 10px;
  }

  .story-container {
    gap: 40px;
  }

  .story-item__main {
    gap: 15px;
    min-height: 150px;
  }

  .story-number {
    font-size: 120px;
    left: -10px;
  }

  .story-photo-wrapper {
    margin-left: 40px;
  }

  .story-photo {
    height: 160px;
    width: 110px;
  }

  .story-title {
    font-size: 1.2rem;
  }

  .story-episode {
    font-size: 0.9rem;
  }

  .story-year {
    font-size: 1rem;
  }

  .story-description {
    margin-left: 0;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .footer__row {
    flex-direction: column;
  }

  .column {
    padding: 10px 0;
  }
}

/* Story Section Styles */
.story-section-wrapper {
  padding: 40px 0;
  position: relative;
  overflow: hidden;
  /* Override .row margin */
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Background bg2.webp */
.story-section-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/HomePage/Body/Top10/bg2.webp');
  background-size: cover;
  background-position: center;
  z-index: 0;
  filter: brightness(1);
}

/* Semua konten di atas background */
.story-section-wrapper>* {
  position: relative;
  z-index: 1;
}

/* Heading OUR LOVE STORY — seragam dengan CASTING */
.story-section-wrapper h2,
.story-heading {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 1.2rem;
  letter-spacing: 0.4rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #d4a843;
  text-shadow: none;
  text-align: center;
  margin: 0;
  padding: 0;
}

.story-heading-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 36px 0 20px;
  overflow: hidden;
  width: 100%;
}

.story-flower {
  width: 100px;
  height: auto;
  flex-shrink: 0;
  filter: none;
}

.story-flower--left {
  animation: flowerSwayLeft 3s ease-in-out infinite;
  transform-origin: bottom center;
  margin-left: -10px;
}

.story-flower--right {
  animation: flowerSwayRight 3s ease-in-out infinite;
  transform-origin: bottom center;
  transform: scaleX(-1);
  margin-right: -10px;
}

/* Hapus style hiasan lama */
.story-hiasan {
  display: none;
}

@keyframes hiasanFloat {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-8px) scale(1.04);
  }
}

.story-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  max-width: none;
  width: 100%;
  margin: 0;
  overflow-x: auto;
  scrollbar-width: none;
  will-change: scroll-position;
}

.story-container::-webkit-scrollbar {
  display: none;
}

/* Padding kiri untuk card pertama, kanan untuk card terakhir */
.story-container .story-card:first-child {
  margin-left: 16px;
}

.story-container .story-card:last-child {
  margin-right: 16px;
}

.story-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  transition: box-shadow 0.4s ease;
  flex: 0 0 30%;
  min-width: 300px;
  position: relative;
  border: none;
  box-shadow: none;
  gap: 10px;
}

/* ---- Per-card photo frame — arch vintage ---- */
.story-card__image {
  flex: 0 0 240px;
  width: 88%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  /* Arch shape — rounded top */
  border-radius: 50% 50% 12px 12px / 40% 40% 12px 12px;
}

/* Per-card frame border colors — vintage elegan, tidak neon */
.card-story-1 .story-card__image {
  border: 2.5px solid #b8956a;
  box-shadow:
    0 0 0 4px rgba(8, 6, 4, 0.7),
    0 0 0 6px rgba(184, 149, 106, 0.35),
    0 8px 30px rgba(184, 149, 106, 0.2);
}

.card-story-2 .story-card__image {
  border: 2.5px solid #8faa7c;
  box-shadow:
    0 0 0 4px rgba(8, 6, 4, 0.7),
    0 0 0 6px rgba(143, 170, 124, 0.35),
    0 8px 30px rgba(143, 170, 124, 0.2);
}

.card-story-3 .story-card__image {
  border: 2.5px solid #a08060;
  box-shadow:
    0 0 0 4px rgba(8, 6, 4, 0.7),
    0 0 0 6px rgba(160, 128, 96, 0.35),
    0 8px 30px rgba(160, 128, 96, 0.2);
}

.story-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.story-card:hover .story-card__image img {
  transform: scale(1.06);
}

/* ---- Content — border terpisah dari foto ---- */
.story-card__content {
  flex: 1;
  padding: 18px 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  background: #f5f0e8;
  border-radius: 14px;
  margin: 0 4px;
}

.card-story-1 .story-card__content {
  border: 1.5px solid #b8956a;
  box-shadow: 0 4px 20px rgba(184, 149, 106, 0.15);
}

.card-story-2 .story-card__content {
  border: 1.5px solid #8faa7c;
  box-shadow: 0 4px 20px rgba(143, 170, 124, 0.15);
}

.card-story-3 .story-card__content {
  border: 1.5px solid #a08060;
  box-shadow: 0 4px 20px rgba(160, 128, 96, 0.15);
}

.story-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

/* Episode title */
.story-card__title {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 0.78rem;
  margin: 0;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.5px;
}

.card-story-1 .story-card__title {
  color: #7a4f2a;
  text-shadow: none;
}

.card-story-2 .story-card__title {
  color: #3d6b35;
  text-shadow: none;
}

.card-story-3 .story-card__title {
  color: #6b4a20;
  text-shadow: none;
}

.story-card__details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 6px;
}

/* Year badge */
.story-card__details .detail-item span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #8a7055;
  text-transform: uppercase;
}

/* Description */
.story-card__description {
  font-family: 'Playfair Display', serif;
  font-size: 0.82rem;
  font-style: italic;
  color: #4a3728;
  line-height: 1.7;
}

/* Remove old card-level border/shadow — now on image & content separately */
.card-story-1,
.card-story-2,
.card-story-3 {
  border: none;
  box-shadow: none;
}

.card-story-1:hover,
.card-story-2:hover,
.card-story-3:hover {
  box-shadow: none;
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
  .story-card {
    flex: 0 0 85%;
    min-width: 260px;
  }

  .story-card__image {
    flex: 0 0 200px;
  }

  .story-card__content {
    padding: 16px 14px 18px;
  }

  .story-card__title {
    font-size: 0.75rem;
  }

  .story-card__description {
    font-size: 0.8rem;
  }
}

/* Event Section Styles */
.event-section {
  padding: 40px 0;
}

.event-container {
  display: flex;
  flex-direction: row;
  gap: 30px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
  /* Hide scrollbar Firefox */
}

.event-container::-webkit-scrollbar {
  display: none;
  /* Hide scrollbar Chrome/Safari */
}

.event-card {
  display: flex;
  flex-direction: column;
  background: rgba(30, 30, 30, 0.9);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.05);
  flex: 0 0 45%;
  min-width: 350px;
}

.event-card:hover {
  transform: scale(1.02) translateY(-5px);
  background: rgba(40, 40, 40, 0.95);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.event-card__image {
  flex: 0 0 200px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.event-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.event-card:hover .event-card__image img {
  transform: scale(1.1);
}

.event-card__content {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-card__header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.title-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.event-card__title {
  font-size: 2rem;
  margin: 0;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-card__details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 30px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.1rem;
  color: #f1f1f1;
}

.detail-icon {
  width: 22px;
  height: 22px;
  opacity: 0.8;
}

.time-sessions {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.event-card__button {
  display: inline-block;
  padding: 14px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  transition: all 0.3s ease;
  width: fit-content;
  font-size: 0.9rem;
}

/* Card Specific Colors */
.card-blue {
  border-left: 10px solid #00d2ff;
}

.card-blue .event-card__title {
  color: #00d2ff;
  text-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
}

.card-blue .event-card__button {
  background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
  color: white;
}

.card-blue .event-card__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(58, 123, 213, 0.5);
  filter: brightness(1.1);
}

.card-yellow {
  border-left: 10px solid #ffce00;
}

.card-yellow .event-card__title {
  color: #ffce00;
  text-shadow: 0 0 10px rgba(255, 206, 0, 0.3);
}

.card-yellow .event-card__button {
  background: linear-gradient(135deg, #ffce00 0%, #ff9a00 100%);
  color: #111;
}

.card-yellow .event-card__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 154, 0, 0.5);
  filter: brightness(1.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .event-container {
    padding: 15px;
    gap: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .event-card {
    flex: 0 0 85%;
    min-width: 280px;
    border-left: none;
    border-top: 8px solid;
  }

  .card-blue {
    border-top-color: #00d2ff;
  }

  .card-yellow {
    border-top-color: #ffce00;
  }

  .event-card__image {
    flex: 0 0 160px;
  }

  .event-card__content {
    padding: 20px;
  }

  .event-card__title {
    font-size: 1.4rem;
  }

  .event-card__button {
    width: 100%;
  }

  .detail-item {
    font-size: 0.95rem;
  }
}

/* Gallery Section Styles */
.gallery-section-wrapper {
  position: relative;
  padding: 0;
  margin: 0;
  background-image: url('images/HomePage/Body/Series/bg5.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

/* Semua div bg lama tidak dipakai */
.gallery-sticky-bg {
  display: none;
}

#gallery-fixed-bg {
  display: none !important;
}

#gallery-bg-fixed {
  display: none !important;
}

/* Konten scroll di atas bg */
.gallery-content {
  position: relative;
  z-index: 1;
}

.gallery-heading,
.gallery-container {
  position: relative;
  z-index: 1;
}

/* Heading — tanda tangan besar */
.gallery-heading-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 36px 12px 20px;
}

.gallery-heading {
  font-family: 'Great Vibes', cursive;
  font-size: 2.4rem;
  font-weight: 400;
  color: #624f21;
  text-shadow: none;
  text-align: center;
  margin: 0;
  letter-spacing: 2px;
  white-space: nowrap;
}

/* Bunga kiri & kanan */
.gallery-flower {
  width: 94px;
  height: auto;
  flex-shrink: 0;
  filter: none;
}

.gallery-flower--left {
  animation: flowerSwayLeft 3s ease-in-out infinite;
  transform-origin: bottom center;
}

.gallery-flower--right {
  animation: flowerSwayRight 3s ease-in-out infinite;
  transform-origin: bottom center;
  transform: scaleX(-1);
  /* mirror */
}

@keyframes flowerSwayLeft {

  0%,
  100% {
    transform: rotate(-6deg) scale(1);
  }

  50% {
    transform: rotate(6deg) scale(1.05);
  }
}

@keyframes flowerSwayRight {

  0%,
  100% {
    transform: scaleX(-1) rotate(-6deg) scale(1);
  }

  50% {
    transform: scaleX(-1) rotate(6deg) scale(1.05);
  }
}

@media (max-width: 480px) {
  .gallery-flower {
    width: 80px;
  }

  .gallery-heading {
    font-size: 2rem;
  }
}

/* Grid 2×4 portrait dengan gap dan rounded */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 0 12px 40px;
  /* extra bottom padding */
  width: 100%;
  box-sizing: border-box;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  background: #111;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: box-shadow 0.3s ease;
}

.gallery-item:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.3s ease;
  filter: brightness(0.92);
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

/* Zoom icon on hover */
.gallery-item::after {
  content: '⊕';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Lightbox */
#gallery-zoom {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#gallery-zoom.active {
  display: flex;
}

#gallery-zoom-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
}

#gallery-zoom-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  line-height: 1;
}

#gallery-zoom-close:hover {
  opacity: 1;
}

/* =============================================
   RSVP SECTION — redesign
   ============================================= */
.rsvp-section-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

/* Background rsvp.webp — full width, no gap */
.rsvp-section-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/HomePage/Rsvp/rsvp.webp');
  background-size: cover;
  background-position: center top;
  z-index: 0;
  filter: brightness(1);
}

/* Semua konten di atas bg */
.rsvp-section-wrapper>* {
  position: relative;
  z-index: 1;
}

/* Ornamen center */
.rsvp-ornamen-wrap {
  display: flex;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 10px;
}

.rsvp-ornamen {
  width: 80px;
  height: auto;
  filter: drop-shadow(0 4px 16px rgba(212, 168, 67, 0.4));
}

/* Gift banner */
.rsvp-gift-banner {
  text-align: center;
  padding: 0 20px 24px;
}

.rsvp-gift-title {
  font-family: 'Great Vibes', cursive;
  font-size: 2.0rem;
  color: #d4a843;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  margin-bottom: 10px;
  font-weight: 400;
}

.rsvp-gift-desc {
  font-family: 'Playfair Display', serif;
  font-size: 0.88rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  max-width: 340px;
  margin: 0 auto;
}

/* Inner wrapper */
.rsvp-inner {
  padding: 0 16px 40px;
}

/* Heading RSVP */
.rsvp-heading {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 1.1rem;
  font-weight: 700;
  color: #d4a843;
  text-shadow: 0 0 16px rgba(212, 168, 67, 0.5), 0 2px 6px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.3rem;
  text-align: center;
  padding: 0 0 20px;
  margin: 0;
}

/* Form container */
.rsvp-container {
  max-width: 420px;
  margin: 0 auto;
  background: #f5f0e8;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

/* Form inputs */
.rsvp-form .form-group {
  margin-bottom: 14px;
}

.rsvp-form input,
.rsvp-form textarea,
.rsvp-form select {
  width: 100%;
  padding: 12px 14px;
  background: #fff;
  border: 1.5px solid #d4b896;
  border-radius: 8px;
  color: #3a2a1a;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.rsvp-form input::placeholder,
.rsvp-form textarea::placeholder {
  color: #a08060;
}

.rsvp-form input:focus,
.rsvp-form textarea:focus,
.rsvp-form select:focus {
  outline: none;
  border-color: #b8956a;
  box-shadow: 0 0 0 3px rgba(184, 149, 106, 0.2);
}

.rsvp-form select {
  color: #3a2a1a;
  cursor: pointer;
}

.rsvp-form select option {
  background: #fff;
  color: #3a2a1a;
}

.rsvp-form label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b4a20;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

/* Submit button */
#rsvp-submit-btn {
  width: 100%;
  margin-top: 8px;
  background: linear-gradient(135deg, #d4a843 0%, #f0e0b0 50%, #d4a843 100%);
  background-size: 200% auto;
  color: #0a0805;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  border-radius: 30px;
  padding: 14px 20px;
  cursor: pointer;
  transition: background-position 0.4s ease, box-shadow 0.3s;
  box-shadow: 0 4px 16px rgba(212, 168, 67, 0.3);
}

#rsvp-submit-btn:hover {
  background-position: right center;
  box-shadow: 0 6px 24px rgba(212, 168, 67, 0.5);
}

/* =============================================
   PENUTUP SECTION — redesign
   ============================================= */
.penutup-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0;
  margin: 0;
  text-align: center;
}

/* Background bg7.jpg — full, cerah */
.penutup-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/HomePage/Penutup/bg7.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
  filter: brightness(1);
}

/* Semua konten di atas bg */
.penutup-section>* {
  position: relative;
  z-index: 1;
}

/* Logo ornamen besar */
.penutup-ornamen-wrap {
  padding-top: 40px;
  padding-bottom: 16px;
}

.penutup-ornamen {
  width: 180px;
  height: auto;
  filter: drop-shadow(0 4px 16px rgba(212, 168, 67, 0.5));
  animation: hiasanFloat 4s ease-in-out infinite;
}

/* Ucapan terima kasih */
.penutup-thanks {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-style: italic;
  color: #000000;
  line-height: 1.8;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
  padding: 0 24px 20px;
  margin: 0;
}

/* Divider */
.penutup-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 70%;
  margin: 10px auto 20px;
}

.penutup-divider span {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, #d4a843, transparent);
}

.penutup-divider img {
  width: 20px;
  height: 20px;
  filter: invert(70%) sepia(60%) saturate(400%) hue-rotate(5deg);
  animation: heartBeat 1.5s infinite;
}

/* Keluarga */
.penutup-family {
  padding: 0 20px 20px;
}

.penutup-family-label {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 0.9rem;
  font-weight: 700;
  color: #000000;
  letter-spacing: 1px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.penutup-family-name {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 0.9rem;
  font-weight: 700;
  color: #000000;
  letter-spacing: 1px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

/* Logo + nama */
.penutup-logo-wrap {
  padding: 10px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.penutup-logo {
  width: 200px;
  height: auto;
  filter: drop-shadow(0 0 12px rgba(212, 168, 67, 0.3));
}

.penutup-couple {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: #988136;
  text-shadow: 0 0 20px rgba(218, 179, 62, 0.5), 0 2px 8px rgba(235, 226, 69, 0.8);
  margin: 0;
}

.penutup-hashtag {
  font-family: 'Playfair Display', sans-serif;
  font-size: 1rem;
  letter-spacing: 4px;
  color: rgba(0, 0, 0, 0.7);
}

/* Credit */
.penutup-credit {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 2px;
  color: rgba(0, 0, 0, 0.5);
  padding: 10px 20px 40px;
  margin: 0;
}

.penutup-credit span {
  color: #000000;
  font-weight: 700;
}

/* RSVP Form & Bank Selection Styles */
.gift-banner {
  background: linear-gradient(135deg, rgba(255, 121, 128, 0.15) 0%, rgba(255, 95, 95, 0.1) 100%);
  border: 1px solid rgba(255, 152, 157, 0.3);
  border-left: 6px solid #e50914;
  border-radius: 15px;
  padding: 30px;
  margin: 20px auto 40px;
  max-width: 800px;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(148, 255, 225, 0.3);
}

.gift-banner-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

.gift-banner-icon {
  width: 35px;
  height: 35px;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.gift-banner-header h3 {
  margin: 0;
  font-size: 1.6rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
  background: linear-gradient(90deg, #ffffff, #ffa98a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gift-banner p {
  margin: 0;
  font-size: 1.1rem;
  color: #eee;
  line-height: 1.8;
  font-style: italic;
}

/* Mobile Overrides for Gift Banner */
@media (max-width: 768px) {
  .gift-banner {
    padding: 20px;
    margin: 15px 15px 30px;
  }

  .gift-banner-header h3 {
    font-size: 1.3rem;
  }

  .gift-banner p {
    font-size: 0.95rem;
  }
}

/* Invitation Closing Styles */
.invitation-closing {
  margin-top: 80px;
  margin-bottom: 40px;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(to bottom, transparent, rgba(229, 9, 20, 0.08), transparent);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.invitation-closing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e50914, transparent);
}

.closing-thanks {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 35px;
  font-weight: 500;
  letter-spacing: 1.5px;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.closing-family {
  margin-bottom: 45px;
}

.closing-family p:first-child {
  font-size: 1.1rem;
  color: #999;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.family-name {
  font-size: 1.6rem;
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 4px;
  background: linear-gradient(to bottom, #fff, #ccc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.love-divider {
  margin: 40px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

.love-divider::before,
.love-divider::after {
  content: '';
  height: 1px;
  width: 120px;
  background: linear-gradient(to right, transparent, rgba(229, 9, 20, 0.6), transparent);
}

.love-divider img {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 8px rgba(229, 9, 20, 0.8));
  animation: heartBeat 1.5s infinite;
}

@keyframes heartBeat {
  0% {
    transform: scale(1);
  }

  14% {
    transform: scale(1.15);
  }

  28% {
    transform: scale(1);
  }

  42% {
    transform: scale(1.15);
  }

  70% {
    transform: scale(1);
  }
}

.closing-logo-wrapper {
  margin: 50px 0;
}

.closing-logo {
  width: 140px;
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 15px rgba(229, 9, 20, 0.2));
}

.closing-couple-names {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 8px;
  background: linear-gradient(90deg, #ffffff, #e8a68f);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.hashtag {
  font-size: 1.4rem;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  opacity: 0.9;
}

.designed-by {
  margin-top: 70px;
  font-size: 0.95rem;
  color: #ffffff;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.designer-name {
  color: #ffffff;
  font-weight: 900;
  margin-left: 5px;
}

/* Mobile Overrides for Closing */
@media (max-width: 768px) {
  .invitation-closing {
    margin-top: 50px;
    padding: 40px 15px;
  }

  .closing-thanks {
    font-size: 1.1rem;
    letter-spacing: 1px;
  }

  .family-name {
    font-size: 1.2rem;
    letter-spacing: 2px;
  }

  .closing-couple-names {
    font-size: 1.8rem;
    letter-spacing: 4px;
  }

  .hashtag {
    font-size: 1rem;
    letter-spacing: 3px;
  }

  .love-divider::before,
  .love-divider::after {
    width: 60px;
  }

  .closing-logo {
    width: 100px;
  }
}

.btn-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  vertical-align: middle;
  filter: brightness(0) invert(1);
}

.bank-selection-container {
  background: rgba(20, 20, 20, 0.6);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.selection-label {
  color: #fff;
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.bank-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.05);
  padding: 5px;
  border-radius: 10px;
}

.tab-btn {
  flex: 1;
  background: none;
  border: none;
  color: #aaa;
  padding: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.tab-btn.active {
  background: #e50914;
  color: white;
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.3);
}

.bank-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}

.bank-option-card {
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.bank-card-inner {
  background: rgba(40, 40, 40, 0.8);
  border-radius: 12px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  border: 2px solid transparent;
  height: 100%;
}

.bank-option-card:hover .bank-card-inner {
  background: rgba(60, 60, 60, 0.9);
  transform: translateY(-3px);
}

.bank-option-card.selected .bank-card-inner {
  border-color: #e50914;
  background: rgba(229, 9, 20, 0.1);
}

.bank-option-card.selected::after {
  content: '✓';
  position: absolute;
  top: -8px;
  right: -8px;
  background: #e50914;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.bank-card-inner img {
  width: 60px;
  height: 40px;
  object-fit: contain;
  background: white;
  padding: 5px;
  border-radius: 6px;
}

.bank-info {
  flex: 1;
}

.bank-name {
  margin: 0;
  font-size: 0.8rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bank-acc {
  margin: 2px 0 0 0;
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
}

.copy-small {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  cursor: pointer;
  transition: all 0.2s;
}

.copy-small:hover {
  background: #e50914;
  border-color: #e50914;
}

#rsvp-form input[type="file"] {
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  width: 100%;
  color: #ccc;
}

@media (max-width: 768px) {
  .bank-grid {
    grid-template-columns: 1fr;
  }
}


/* =============================================
   NON-MOBILE LAYOUT (semua layar > 768px)
   Panel kanan: PAKSA 9:16 (56.25vh lebar), fixed di kanan
   Panel kiri: sisa ruang, foto u1.jpg + teks wedding
   ============================================= */
@media (min-width: 769px) {

  body {
    overflow: hidden;
    height: 100vh;
  }

  /* Panel kanan — 9:16 CENTER di layar */
  .tablet-right-panel {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    width: 56.25vh;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    z-index: 3;
    background: #111;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.9);
    scrollbar-width: none;
  }

  .tablet-right-panel::-webkit-scrollbar {
    display: none;
  }

  .tablet-right-panel>* {
    width: 100%;
    flex-shrink: 0;
  }

  /* Sisi kiri kanan panel — hitam */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 0;
  }

  body::after {
    content: none;
  }

  /* Panel kiri tidak ada — sembunyikan teks kiri */
  .tablet-left-text {
    display: none !important;
  }

  /* Nav — ikut panel center, gradient transparan konsisten */
  .nav {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 56.25vh;
    z-index: 9100;
    padding: 18px 16px;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.35) 50%,
        rgba(0, 0, 0, 0) 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    transition: padding 0.35s ease;
  }

  .nav.scrolled {
    padding: 12px 16px;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.35) 50%,
        rgba(0, 0, 0, 0) 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }

  /* Tampilkan semua icon di desktop */
  .nav .nav__right {
    display: flex;
  }

  .nav ul {
    display: none;
  }

  .nav__logo {
    width: 55px;
  }

  .lupa,
  .bell {
    display: none;
  }

  /* Banner */
  .banner {
    min-height: 55rem;
    height: auto;
  }

  #background-video,
  .bg-overlay {
    height: 100%;
  }

  .banner__contents {
    padding-top: 120px;
    margin-left: 14px;
    margin-right: 14px;
  }

  .banner__logo {
    height: 80px;
  }

  .banner__couple_names {
    font-size: 1.5rem;
  }

  .banner__description {
    width: 100%;
    max-width: 100%;
    font-size: 0.88rem;
    padding-bottom: 16px;
  }

  .banner__button {
    font-size: 0.85rem;
    padding: 10px 14px;
  }

  .quality-logo {
    width: 44px;
    height: 26px;
  }

  .banner__countdown-text {
    font-size: 0.75rem;
    padding: 6px 10px;
  }

  .row {
    margin-left: 10px;
    margin-right: 10px;
  }

  .event-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .event-card {
    flex: 0 0 88%;
    min-width: 240px;
  }

  .event-card__title {
    font-size: 1.4rem;
  }

  .story-card {
    flex: 0 0 88%;
    min-width: 240px;
  }

  .gallery-container {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 10px;
    gap: 10px;
  }

  .bank-grid {
    grid-template-columns: 1fr;
  }

  .bride-groom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .person-photo {
    width: 100px;
    height: 100px;
  }

  /* Banner desktop — casting absolute di dalam, overflow hidden */
  .banner {
    height: 100vh !important;
    min-height: 0 !important;
    overflow: hidden !important;
    display: block !important;
    position: relative !important;
    padding: 0 !important;
  }

  .banner__video-wrap {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding-top: 0 !important;
  }

  #background-video {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
  }

  .banner__contents {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
    padding: 0 14px 130px !important;
    margin: 0 !important;
    overflow: hidden !important;
    max-height: none !important;
    z-index: 3 !important;
  }

  .banner__contents-spacer {
    display: none !important;
  }

  /* Casting — di luar banner, normal flow */
  .banner__casting {
    position: relative !important;
    width: 100% !important;
    z-index: 2 !important;
    padding: 0 10px 1.5rem !important;
    background: #111 !important;
    display: block !important;
  }

  .banner__casting .bride-groom-title {
    margin-top: 1rem !important;
    margin-bottom: 0.6rem !important;
  }
}



/* =============================================
   OPENING — PAGE 1
   ============================================= */

/* Page 1: full viewport height, video background */
#opening-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
  flex-shrink: 0;
}

/* Video fullscreen di page 1 */
#opening-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* ---- Pop-up — segi enam foto + teks di bawah ---- */
#opening-popup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -44%) scale(0.9);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  width: 80%;
  max-width: 280px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  text-align: center;
}

#opening-popup.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

/* ---- Segi enam wrapper ---- */
.opp-hex-wrap {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Segi enam via clip-path */
.opp-hex-frame {
  width: 220px;
  height: 254px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  overflow: hidden;
  position: relative;
}

#opening-popup-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Glow ring segi enam di belakang foto */
.opp-hex-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 234px;
  height: 270px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: transparent;
  border: 2.5px solid #c9a84c;
  box-shadow:
    0 0 0 5px rgba(12, 10, 8, 0.7),
    0 0 0 7px rgba(201, 168, 76, 0.5),
    0 0 30px rgba(201, 168, 76, 0.3);
  z-index: -1;
  pointer-events: none;
}

/* ---- Teks di bawah foto — tanpa border ---- */
#opening-popup-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0;
  background: none;
  border: none;
  width: 100%;
  text-align: center;
}

/* Hapus ornamen pseudo */
#opening-popup-body::before,
#opening-popup-body::after {
  display: none;
}

.opp-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.2rem;
  color: #000000;
  text-transform: uppercase;
  text-align: center;
  opacity: 0;
  transition: opacity 0.7s ease 0.2s;
}

.opp-names {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 1.15rem;
  font-weight: 700;
  color: #000000;
  letter-spacing: 0.1px;
  line-height: 1.1;
  margin: 0;
  text-align: center;
  opacity: 0;
  transition: opacity 0.7s ease 0.4s;
  text-shadow: 0 1px 6px rgba(127, 112, 76, 0.9), 0 2px 16px rgba(0, 0, 0, 0.8);
}

.opp-date {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: #000000;
  letter-spacing: 0.1px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.7s ease 0.6s;
  text-shadow: 0 1px 6px rgba(127, 112, 76, 0.9), 0 2px 16px rgba(0, 0, 0, 0.8);
}

.opp-std {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  line-height: 1.85;
  color: #000000;
  text-align: center;
  margin: 0 0 24px;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 6px rgba(127, 112, 76, 0.9), 0 2px 16px rgba(0, 0, 0, 0.8);
}

#opening-popup.active .opp-label,
#opening-popup.active .opp-names,
#opening-popup.active .opp-date,
#opening-popup.active .opp-std {
  opacity: 1;
}

/* ---- Scroll hint ---- */
#opening-scroll-hint {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.6s ease 1.2s;
}

#opening-scroll-hint.active {
  opacity: 1;
}

#opening-scroll-hint span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.3rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}

#opening-scroll-arrow {
  width: 1px;
  height: 22px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
  animation: scrollPulse 1.4s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(1);
  }

  50% {
    opacity: 1;
    transform: scaleY(1.3);
  }
}

/* Non-mobile: opening ikut panel kanan 9:16 */
@media (min-width: 769px) {
  #opening-section {
    height: 100vh;
  }
}


/* =============================================
   SCROLL ANIMATIONS
   Semua elemen dengan .anim-* akan animate masuk
   saat masuk viewport via IntersectionObserver
   ============================================= */

/* State awal — semua tersembunyi */
[data-anim] {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-anim="fade-up"] {
  transform: translateY(40px);
}

[data-anim="fade-left"] {
  transform: translateX(-40px);
}

[data-anim="fade-right"] {
  transform: translateX(40px);
}

[data-anim="fade-in"] {
  transform: scale(0.96);
}

/* State aktif — setelah masuk viewport */
[data-anim].anim-visible {
  opacity: 1;
  transform: none;
}


/* =============================================
   EVENT SECTION FULL — Page 3
   ============================================= */

/* Import font tanda tangan untuk "With Love" */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

.event-section-full {
  position: relative;
  width: 100%;
  padding: 70px 24px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

/* Background image */
.esf-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/HomePage/Body/Movies/bg1.webp');
  background-size: cover;
  background-position: center;
  background-attachment: local;
  z-index: 0;
  filter: brightness(1);
}

/* Overlay — hapus total, biarkan background tampil penuh */
.esf-overlay {
  display: none;
}

/* Semua konten di atas overlay */
.esf-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Logo merak */
.esf-merak {
  width: 200px;
  height: auto;
  margin-bottom: 18px;
  filter: drop-shadow(0 6px 24px rgba(201, 168, 76, 0.5));
}

/* "With Love" — font tanda tangan */
.esf-with-love {
  font-family: 'Great Vibes', cursive;
  font-size: 2.8rem;
  color: #d4a843;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 4px 20px rgba(0, 0, 0, 0.7);
  margin: 0 0 14px;
  line-height: 1;
}

/* Teks undangan */
.esf-body {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  line-height: 1.85;
  color: #000000;
  text-align: center;
  margin: 0 0 24px;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 6px rgba(127, 112, 76, 0.9), 0 2px 16px rgba(0, 0, 0, 0.8);
}

/* Divider vintage */
.esf-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 80%;
  margin-bottom: 32px;
}

.esf-divider span {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, #c9a84c, transparent);
}

.esf-divider img {
  width: 18px;
  height: 18px;
  filter: invert(70%) sepia(60%) saturate(400%) hue-rotate(5deg);
  animation: heartBeat 1.5s infinite;
}

/* Card acara — vertikal, center */
.esf-card {
  width: 100%;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ---- Frame foto — 2 sudut lancip + 2 sudut lengkung (diagonal) ---- */
.esf-card-img {
  width: 90%;
  margin: 0 auto;
  height: 180px;
  overflow: hidden;
  /* Kiri-atas & kanan-bawah lancip, kanan-atas & kiri-bawah lengkung */
  border-radius: 0 40px 0 40px;
  border: 2px solid #d4a843;
  box-shadow:
    0 0 0 4px rgba(10, 8, 5, 0.65),
    0 0 0 6px rgba(212, 168, 67, 0.45),
    0 8px 28px rgba(212, 168, 67, 0.2);
  transition: box-shadow 0.3s ease;
  position: relative;
}

.esf-card-img:hover {
  box-shadow:
    0 0 0 4px rgba(10, 8, 5, 0.65),
    0 0 0 6px rgba(212, 168, 67, 0.75),
    0 12px 36px rgba(212, 168, 67, 0.35);
}

.esf-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.esf-card-img:hover img {
  transform: scale(1.06);
}

/* ---- Body card — tanpa border, font hitam ---- */
.esf-card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  margin: 0;
}

/* Judul card */
.esf-card-title {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 2px;
  margin: 0;
  text-shadow: none;
}

/* Detail item */
.esf-card-detail {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  color: #222;
  line-height: 1.5;
}

.esf-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  filter: invert(70%) sepia(40%) saturate(300%) hue-rotate(5deg);
}

/* Tombol lokasi */
.esf-card-btn {
  display: inline-block;
  margin-top: 4px;
  padding: 8px 22px;
  border: 1.5px solid #1a1a1a;
  border-radius: 0 16px 0 16px;
  color: #1a1a1a;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.esf-card-btn:hover {
  background: #1a1a1a;
  color: #fff;
}

/* Icon penutup bawah rangkaian acara */
.esf-bottom-icon {
  display: flex;
  justify-content: center;
  padding: 10px 0 0;
}

.esf-penutup-icon {
  width: 360px;
  height: auto;
  animation: hiasanFloat 4s ease-in-out infinite;
  transform-origin: center;
  filter: none;
}

/* Hapus .esf-card-border lama */
.esf-card-border {
  all: unset;
  display: contents;
}

/* Scroll animation — reset ulang untuk elemen dalam section ini */
.event-section-full [data-anim] {
  opacity: 0;
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.event-section-full [data-anim="fade-up"] {
  transform: translateY(36px);
}

.event-section-full [data-anim="fade-in"] {
  transform: scale(0.94);
}

.event-section-full [data-anim].anim-visible {
  opacity: 1;
  transform: none;
}


/* =============================================
   BANNER ICON ROW
   ============================================= */
.banner__icon-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.bicon-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  padding: 0;
  flex-shrink: 0;
}

.bicon-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.12);
}

.bicon-btn img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
  display: block;
}


/* =============================================
   NAVBAR REWORK — hamburger + drawer
   ============================================= */

/* Sembunyikan ul lama dan icon lama */
.nav ul,
.nav .lupa,
.nav .bell,
.nav .nav__avatar,
.nav .seta {
  display: none !important;
}

/* Hamburger button */
.nav__menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
  z-index: 10;
}

.nav__menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Drawer overlay */
.nav__drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 8000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav__drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Drawer panel — slide dari kanan, setengah lebar */
.nav__drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(200px, 55vw);
  height: 100%;
  background: rgba(10, 8, 6, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid rgba(201, 168, 76, 0.2);
  z-index: 8100;
  display: flex;
  flex-direction: column;
  padding: 60px 24px 40px;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0.35s;
}

.nav__drawer.open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0s;
}

/* Close button */
.nav__drawer-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}

.nav__drawer-close:hover {
  color: #fff;
}

/* Menu links */
.nav__drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.drawer-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: color 0.2s, padding-left 0.2s;
}

.drawer-link:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.drawer-link:hover {
  color: #d4a843;
  padding-left: 8px;
}

/* Non-mobile: drawer dan music toggle di dalam panel center */
@media (min-width: 769px) {

  /* Drawer — dalam panel center, clip ke batas panel */
  .nav__drawer {
    right: calc(50vw - 56.25vh / 2);
    width: calc(56.25vh / 2);
    max-width: calc(56.25vh / 2);
    border-left: none;
    border-right: none;
    transform: translateX(100%);
  }

  .nav__drawer.open {
    transform: translateX(0);
  }

  /* Overlay — hanya cover area panel */
  .nav__drawer-overlay {
    left: calc(50vw - 56.25vh / 2);
    right: auto;
    width: 56.25vh;
  }

  /* Music toggle — pojok kanan bawah panel */
  #music-toggle {
    position: fixed;
    bottom: 24px;
    right: calc(50vw - 56.25vh / 2 + 14px);
    z-index: 9999;
  }
}

/* =============================================
   BANNER VIDEO — fix height 100vh, semua konten absolute
   ============================================= */
@media (max-width: 1366px) {

  .banner {
    position: relative !important;
    width: 100% !important;
    height: 100vh !important;
    min-height: 0 !important;
    overflow: hidden !important;
    display: block !important;
    padding: 0 !important;
    flex-shrink: 0;
  }

  .banner::before {
    display: none;
    content: none;
  }

  .banner__video-wrap {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden;
    z-index: 0;
    padding-top: 0 !important;
  }

  .banner__video-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, transparent 0%, rgba(17, 17, 17, 0.7) 60%, rgba(17, 17, 17, 1) 100%);
    z-index: 2;
    pointer-events: none;
  }

  #background-video {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center top;
    z-index: 0;
  }

  .bg-overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1;
    pointer-events: none;
  }

  .banner__contents {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 3;
    padding: 60px 16px 20px !important;
    margin: 0 !important;
    overflow: hidden;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
    max-height: none !important;
  }

  .banner__contents-spacer {
    display: none !important;
  }

  .banner__logo {
    height: 70px;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.9));
    max-width: 100%;
    object-fit: contain;
  }

  /* Casting — di luar banner, normal flow */
  .banner__casting {
    position: relative !important;
    width: 100% !important;
    z-index: 2 !important;
    padding: 0 10px 2rem !important;
    background: #111 !important;
    display: block !important;
  }

  .banner__casting .bride-groom-title {
    margin-top: 1.5rem !important;
    margin-bottom: 1rem !important;
    padding-left: 6px;
  }

  .banner__casting .bride-groom {
    margin-bottom: 0 !important;
  }
}


/* =============================================
   NAVBAR RIGHT ICONS
   ============================================= */

/* Sembunyikan icon lama yang mungkin masih ada */
.nav .lupa,
.nav .bell,
.nav .nav__avatar,
.nav .seta {
  display: none !important;
}

/* Container kanan navbar */
.nav__right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

/* Icon kecil (lupa, bell) */
.nav__icon-sm {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  cursor: pointer;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.nav__icon-sm:hover {
  opacity: 1;
}

/* Avatar + arrow wrapper */
.nav__avatar-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.nav__avatar-sm {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

.nav__arrow-sm {
  width: 10px;
  height: 10px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  flex-shrink: 0;
}

/* Mobile — semua icon tetap tampil, gap lebih kecil */
@media (max-width: 480px) {
  .nav__icon-sm {
    display: block;
    width: 18px;
    height: 18px;
  }

  .nav__right {
    gap: 6px;
  }
}

/* =============================================


/* =============================================
   COUNTDOWN — COMING SOON + timer
   ============================================= */
.banner__countdown-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.countdown-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.4rem;
  color: #ffffff;
  text-transform: uppercase;
}

.countdown-timer {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2rem;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 768px) {
  .countdown-label {
    font-size: 0.58rem;
    letter-spacing: 0.3rem;
  }

  .countdown-timer {
    font-size: 0.88rem;
  }
}

/* =============================================
   BANNER CASTING WRAPPER
   ============================================= */

/* Desktop — casting tetap di dalam banner__contents flow */
.banner__casting {
  color: #fff;
}

/* Mobile/laptop — casting sudah dihandle di media query banner */
@media (max-width: 1366px) {
  .banner__casting .bride-groom-title {
    margin-top: 0;
    margin-bottom: 1rem;
    padding-left: 6px;
  }
}


/* Spacer mendorong konten ke bawah di mobile */
@media (max-width: 1366px) {
  .banner__contents-spacer {
    flex: 1;
    min-height: 0;
  }
}

/* Desktop — spacer tidak aktif */
@media (min-width: 1367px) {
  .banner__contents-spacer {
    display: none;
  }
}


/* =============================================
   MERAK LOGO ANIMATION
   ============================================= */
[data-anim="merak"] {
  opacity: 0;
  transform: scale(0.7) translateY(30px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-anim="merak"].anim-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  /* Setelah masuk, jalankan animasi gerak */
  animation: merakSway 5s ease-in-out infinite 1s;
}

@keyframes merakSway {

  0%,
  100% {
    transform: scale(1) translateY(0) rotate(0deg);
  }

  25% {
    transform: scale(1.04) translateY(-6px) rotate(2deg);
  }

  75% {
    transform: scale(1.02) translateY(-3px) rotate(-2deg);
  }
}


/* =============================================
   FOOTER INFO — Informasi Copyright
   Background: solid kehijauan-merah (deep teal-maroon)
   ============================================= */
.footer-info {
  background: #1a3a2a;
  color: #ccc;
  padding: 0;
  margin: 0;
  width: 100%;
}

.fi-container {
  max-width: 100%;
  padding: 40px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Brand */
.fi-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-bottom: 24px;
}

.fi-logo {
  height: 32px;
  object-fit: contain;
  filter: brightness(0) invert(0.85);
}

.fi-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.3rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  margin: 0;
}

/* Divider */
.fi-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.12), transparent);
  margin: 0 0 24px;
}

/* Social */
.fi-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding-bottom: 28px;
}

.fi-social-link img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(0.55);
  transition: filter 0.2s;
}

.fi-social-link:hover img {
  filter: brightness(0) invert(1);
}

/* Link kolom */
.fi-links {
  display: flex;
  justify-content: space-around;
  gap: 16px;
  padding-bottom: 28px;
  flex-wrap: wrap;
}

.fi-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 80px;
}

.fi-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 4px;
}

.fi-col a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.5px;
}

.fi-col a:hover {
  color: #fff;
}

/* Bottom copyright */
.fi-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 4px;
  padding-bottom: 8px;
  text-align: center;
}

.fi-copy {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  letter-spacing: 0.8px;
}

.fi-legal {
  display: flex;
  gap: 16px;
}

.fi-legal a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.fi-legal a:hover {
  color: rgba(255, 255, 255, 0.7);
}


/* =============================================
   GLOBAL MOBILE — cegah scroll horizontal
   ============================================= */
@media (max-width: 768px) {

  html,
  body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Semua elemen tidak boleh lebih lebar dari viewport */
  #undangan-screen,
  .tablet-right-panel,
  .banner,
  .banner__contents,
  .banner__casting,
  .event-section-full,
  .story-section-wrapper,
  .gallery-section-wrapper,
  .rsvp-section-wrapper,
  .penutup-section,
  .footer-info {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
}

/* WA icon di tab bank */
.tab-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wa-tab-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-left: 4px;
}

.wa-tab-icon {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s;
  vertical-align: middle;
}

.wa-tab-link:hover .wa-tab-icon {
  opacity: 1;
  transform: scale(1.15);
}

/* Tombol WA konfirmasi di bawah bank grid */
.wa-confirm-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 12px;
  padding: 11px 16px;
  background: #25d366;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 3px 12px rgba(37, 211, 102, 0.3);
}

.wa-confirm-btn:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(37, 211, 102, 0.45);
}

.wa-confirm-icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}