@font-face {
    font-family: 'Sangkuriang';
    src: url('../../fonts/Sangkuriang.woff2') format('woff2'),
         url('../../fonts/Sangkuriang.woff') format('woff'),
         url('../../fonts/Sangkuriang.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* { box-sizing: border-box; }

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: #181120;
    color: var(--accent) !important;
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.hidden { display: none; }

/* --- HERO GATES MINIMALIST --- */
/* --- DARK ELEGANT MINIMALIST --- */
.hero-gates {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.gates-bg-container {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.bg-cover {
    position: absolute;
    inset: -10%; 
    background-size: cover;
    background-position: center;
    animation: gentleSway 15s ease-in-out infinite;
}

@keyframes gentleSway {
    0%, 100% { transform: scale(1.1) translateX(-1%) rotate(0deg); }
    50% { transform: scale(1.1) translateX(1%) rotate(0.2deg); }
}

.gates-content {
    position: relative;
    z-index: 5;
    text-align: center;
    color: #ffffff;
    width: 90%;
    /* Shadow halus agar teks aman di area foto yang agak terang */
    text-shadow: 0px 2px 15px rgba(0, 0, 0, 0.5);
}

/* Profile Image Styling */
.profile-frame {
    width: 180px; 
    margin: 0 auto 25px;
    display: flex;
    justify-content: center;
    position: relative;
    filter: drop-shadow(0 0 10px rgba(43, 1, 1, 0.5));
}

.capsule-outline {
    position: relative;
    width: 100%;
    padding: 3px; 
    background: linear-gradient(135deg, #420117 0%, #961d33 50%, #5C0120 100%);
    clip-path: inset(0 round 100px 100px 100px 100px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.capsule-outline img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    clip-path: inset(0 round 100px 100px 100px 100px);
    background-color: #000; 
}


/* Responsif Mobile */
@media (max-width: 480px) {
    .profile-frame {
        width: 140px;
    }
}

.top-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 5px;
    color: #ffffff;

}

.main-title {
    font-family: 'Playfair Display', serif; /* Ganti dari Sangkuriang */
    font-size: clamp(35px, 8vw, 55px); /* Font lebih kecil & proporsional */
    font-weight: 500;
    line-height: 1;
    margin-bottom: 10px;
}

.ampersand {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 0.8em;
}

.wedding-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    letter-spacing: 4px;
    margin-bottom: 40px;
    opacity: 0.8;
}

/* No more lines as requested */
.wedding-date p { margin: 0; }

.dear {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    margin-bottom: 5px;
}

#guestName {
    font-size: 20px;
    font-weight: 600;
    display: block;
    margin: 8px 0;
    color: #ffffff;
}

.subtitle {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Square Burgundy Button */
.open-btn-elegant {
    display: inline-block;
    padding: 16px 40px;
    background-color: #5C0120;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    border-radius: 0;
    transition: all 0.4s ease;
    border: 1px solid #5C0120;
    text-shadow: none;
}

.open-btn-elegant:hover {
    background-color: #ffffff;
    color: #5C0120;
    border-color: #ffffff;
    transform: translateY(-3px);
}

.reveal-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.5s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .main-title { font-size: 38px; }
    .profile-frame {
        width: 200px;
        padding: 6px 6px 18px 6px;
    }
    .open-btn-elegant { width: 80%; padding: 14px; }
}


/* Logic Page Out */
/* --- CINEMATIC EXIT --- */

/* Efek pada Konten Teks & Tombol */
.hero-gates .content-inner {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Saat transisi dimulai */
.hero-gates.fade-away .content-inner {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
    filter: blur(10px);
}

/* Efek pada Background Image (Zoom & Slide) */
.hero-gates.fade-away .bg-cover {
    transform: scale(1.5); /* Gambar seolah maju ke arah penonton */
    filter: brightness(1.2);
    transition: transform 1.2s cubic-bezier(0.7, 0, 0.3, 1), 
                filter 1.2s ease;
}

/* Efek Keluar Section (Geser ke Atas) */
.hero-gates.fade-away {
    pointer-events: none;
    transform: translateY(-100%);
    transition: transform 1s cubic-bezier(0.7, 0, 0.3, 1);
    z-index: 999;
}

/* Opsional: Efek Body Fade Out (tetap bersih) */
body.fade-out {
    background-color: #000;
}


/* SECTION PERTAMA */
#vinylControl {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  cursor: pointer;
  z-index: 1000;
  transition: transform 0.3s ease-in-out;
}

/* Animasi vinyl muter */
#vinylControl.playing {
  animation: spin 4s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsif Mobile */
@media (max-width: 768px) {
  #vinylControl {
    width: 50px;
    height: 50px;
    bottom: 15px;
    left: 15px;
  }
}


/* OPENING SECTION */
.op-section {
    padding: 100px 20px;
    background-color: #ffffff;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.op-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.op-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.op-img-float-center {
    width: 280px;
    height: auto;
    display: block;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.2));
    animation: floatCenter 5s ease-in-out infinite;
}

@keyframes floatCenter {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.op-pre-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #ffffff;
    display: block;
    margin-bottom: 10px;
}

.op-main-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(40px, 8vw, 65px);
    color: #ffffff;
    font-weight: 400;
}

.op-opening-msg {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #ffffff;
    margin-top: 20px;
    font-weight: 300;
}

/* TYPOGRAPHY - SESUAI REVISI */
.op-pre-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #ffffff; /* White */
    display: block;
    margin-bottom: 10px;
}

.op-main-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(40px, 8vw, 65px);
    color: #ffffff; /* White */
    font-weight: 400;
}

.op-opening-msg {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #ffffff; /* White */
    margin-top: 20px;
    font-weight: 300;
}



/* RESPONSIVE */
@media (max-width: 600px) {
    .op-image-wrapper {
        gap: 10px;
    }
    .op-img-float {
        width: 160px;
    }
    .op-opening-msg {
    font-size: 12px;
    line-height: 1.8;
    }

}

.couple-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 100px 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.couple-container {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
    max-width: 1300px;
}

.couple-header {
    margin-bottom: 60px;
}

.mini-icon-couple {
    width: 45px;
    height: auto;
    margin-bottom: 15px;
}

.top-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    opacity: 0.9;
}

.couple-flex {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
}

.person-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
}

.portrait-wrapper {
    width: 100%;
    max-width: 320px;
    height: 450px;
    margin-bottom: 35px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

.portrait-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Name Styling Revision */
.name-wrapper {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nick-name {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    font-style: italic;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 12px;
    opacity: 0.8;
}

.name-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, #ffffff, transparent);
    margin-bottom: 15px;
}

.full-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
    text-shadow: 0 2px 15px rgba(0,0,0,0.6);
}

.parent-info p {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.parent-names {
    font-size: 15px !important;
    font-weight: 600;
    color: #ffffff !important;
    margin-top: 8px !important;
    white-space: nowrap;
    opacity: 1 !important;
}

.ampersand-divider {
    font-family: 'Playfair Display', serif;
    font-size: 55px;
    font-style: italic;
    color: #ffffff;
    align-self: center;
    margin-top: 180px;
    opacity: 0.5;
}

/* Animations */
.anim-fade, .anim-up {
    opacity: 0;
    transition: all 1.5s cubic-bezier(0.2, 0, 0.2, 1);
}

.anim-fade { transform: scale(0.98); }
.anim-up { transform: translateY(40px); }

#couple.active .anim-fade,
#couple.active .anim-up {
    opacity: 1;
    transform: translate(0,0) scale(1);
}

#couple.active .couple-header { transition-delay: 0.2s; }
#couple.active .groom-box { transition-delay: 0.4s; }
#couple.active .ampersand-divider { transition-delay: 0.6s; }
#couple.active .bride-box { transition-delay: 0.8s; }

@media (max-width: 1100px) {
    .parent-names { white-space: normal; }
}

@media (max-width: 768px) {
    .couple-flex {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

    .ampersand-divider {
        margin: 10px 0;
        order: 2;
        margin-top: 0;
    }

    .groom-box { order: 1; }
    .bride-box { order: 3; }

    .portrait-wrapper {
        max-width: 260px;
        height: 360px;
    }
}


.ma-story-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 2px 20px;
    background-color: #000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.ma-story-container {
    position: relative;
    z-index: 5;
    max-width: 750px;
    width: 100%;
    text-align: center;
}

.ma-mini-icon {
    width: 35px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.ma-mini-iconev {
    width: 55px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.ma-pre-title {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 8px;
    opacity: 0.9;
}

.ma-main-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(30px, 6vw, 45px);
    font-weight: 700;
    color: #ffffff;
}

.ma-divider {
    position: relative;
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d4af37, #fcf6ba, #d4af37, transparent);
    background-size: 200% auto;
    margin: 25px auto 45px;
    animation: goldShimmer 3s linear infinite;
}

.ma-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 5px;
    height: 5px;
    background: radial-gradient(circle, #fcf6ba, #d4af37);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.8);
}

@keyframes goldShimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.ma-text-box {
    padding: 20px;
    position: relative;
}

.ma-description {
    font-family: 'Playfair Display', serif;
    font-size: clamp(16px, 4vw, 19px);
    line-height: 2.1;
    color: #ffffff;
    font-style: italic;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.ma-initials {
    margin-top: 40px;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 22px;
    letter-spacing: 3px;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.ma-initials span {
    font-size: 18px;
    opacity: 0.7;
    color: #ffffff;
}

.ma-story-section .ma-reveal {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(25px);
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.ma-story-section.active .ma-reveal {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

.ma-story-section.active .ma-header-group { transition-delay: 0.2s; }
.ma-story-section.active .ma-content-group { transition-delay: 0.6s; }
.ma-story-section.active .ma-footer-group { transition-delay: 1s; }

@media (max-width: 480px) {
    .ma-story-section { padding: 80px 20px; }
    .ma-description { line-height: 1.9; }
    .ma-divider { margin-bottom: 35px; }
}

/* --- SECTION BASE --- */
.ma-event-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 20px;
    background-color: #000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.ma-event-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1100px;
    text-align: center;
}

.ma-mini-iconev {
    width: 50px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.ma-pre-title {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 10px;
}

.ma-main-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(35px, 6vw, 50px);
    color: #ffffff;
    margin-bottom: 40px;
}

.ma-countdown-minimal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
}

.ma-count-box span {
    font-family: 'Playfair Display', serif;
    font-size: clamp(30px, 4vw, 45px);
    color: #ffffff;
    font-weight: 600;
}

.ma-count-box small {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.6);
}

.ma-count-sep {
    color: #d4af37;
    font-size: 24px;
    margin-top: -20px;
}

.ma-premium-layout {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    margin-top: 20px;
}

.ma-layout-left {
    flex: 1;
    padding: 60px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.ma-layout-right {
    flex: 1.5;
    padding: 60px;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.ma-event-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: #ffffff;
    margin-bottom: 20px;
}

.ma-gold-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #ececec, transparent);
    margin-bottom: 25px;
}

.ma-event-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    letter-spacing: 2px;
    color: #ffffff;
    text-transform: uppercase;
}

.ma-label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ffffff;
    margin-bottom: 8px;
}

.ma-value {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #ffffff;
    display: block;
}

.ma-sub-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 5px;
    display: block;
}

.ma-btn-outline {
    display: inline-block;
    padding: 16px 40px;
    background-color: #5C0120;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    border-radius: 0;
    transition: all 0.4s ease;
    border: 1px solid #5C0120;
    text-shadow: none;
    cursor: pointer;
}

.ma-btn-outline:hover {
    background-color: #ffffff;
    color: #5C0120;
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.ma-event-section .ma-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s ease-out;
}

.ma-event-section.active .ma-reveal {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991px) {
    .ma-premium-layout { flex-direction: column; text-align: center; }
    .ma-layout-left { border-right: none; border-bottom: 1px solid rgba(212, 175, 55, 0.3); padding: 40px; }
    .ma-layout-right { padding: 40px; }
    .ma-gold-line { margin: 0 auto 25px auto; }
}

@media (max-width: 480px) {
    .ma-event-section { padding: 60px 20px; }
    .ma-countdown-minimal { margin-bottom: 40px; gap: 10px; }
    .ma-event-title { font-size: 32px; }
    .ma-value { font-size: 20px; }
    .ma-btn-outline { width: 100%; text-align: center; }
}

/* SECTION BASE */
.om-section {
    padding: 120px 20px;
    background-color: #000;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.om-container {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.om-header {
    text-align: center;
    margin-bottom: 50px;
}

.om-mini-icon {
    width: 50px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.om-main-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(35px, 6vw, 55px);
    color: #fff;
    margin-top: 10px;
}

.om-pre-title {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #fdfdfd;
}

/* GRID SYSTEM */
.om-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}

.om-item-wrapper {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.om-card {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5; /* Menjaga ukuran tetap konsisten walau gambar belum load */
    background: #111;
    overflow: hidden;
}

.om-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}




/* HOVER EFFECT */
.om-item-wrapper:hover .om-img { transform: scale(1.1); }
.om-item-wrapper:hover .om-overlay { opacity: 1; }

/* ANIMATION: OM-REVEAL */
.om-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.om-reveal.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* LIGHTBOX */
.om-lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(15px);
}

.om-lightbox-content {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

#lightboxImg {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border: 1px solid rgba(255,255,255,0.1);
}

.om-close { position: absolute; top: 30px; right: 30px; color: #fff; font-size: 40px; cursor: pointer; }
.om-prev, .om-next {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: #fff; font-size: 40px; cursor: pointer; padding: 20px;
}
.om-prev { left: 20px; }
.om-next { right: 20px; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .om-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .om-grid { grid-template-columns: repeat(1, 1fr); }
    .om-prev, .om-next { bottom: 20px; top: auto; transform: none; }
    .om-prev { left: 20%; }
    .om-next { right: 20%; }
}

/* ================= WISH SECTION ================= */
.va-wish-section {
    padding: 120px 30px; /* Padding lebih besar agar tidak nempel ujung screen */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #000;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.va-container {
    max-width: 800px; /* Diperlebar sedikit agar lebih editorial */
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.va-mini-icon {
    width: 50px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.va-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 7vw, 50px);
    font-weight: 700;
    color: #ffffff; 
    margin-bottom: 10px;
}

.va-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: clamp(14px, 2vw, 16px);
    color: white;
    font-style: italic;
    line-height: 1.8;
    max-width: 500px;
    margin: 0 auto 50px;
}

/* --- FORM BOX STYLING --- */
.va-form-box {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px;
    margin-bottom: 60px;
}

.va-input-wrapper {
    margin-bottom: 25px;
    text-align: left;
}

.va-input {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); 
    background: transparent;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #ffffff; /* Teks input jadi putih */
    transition: all 0.4s ease;
}

.va-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.va-input:focus {
    outline: none;
    border-bottom: 1px solid #5C0120; /* Tetap Burgundy saat fokus */
}

.va-textarea {
    height: 100px;
    resize: none;
}

.va-btn-submit {
    width: 100%;
    max-width: 300px;
    background: #5C0120;
    color: #ffffff;
    border: 1px solid #5C0120;
    padding: 20px 40px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-top: 20px;
}

.va-btn-submit:hover {
    background: #ffffff;
    color: #5C0120;
    border-color: #ffffff;
    transform: translateY(-5px);
}

/* --- LIST WISHES STYLING --- */
.va-list {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 20px;
    text-align: left;
}

/* Scrollbar Burgundy Elegant */
.va-list::-webkit-scrollbar { width: 3px; }
.va-list::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); }
.va-list::-webkit-scrollbar-thumb { background: #5C0120; }

.va-item {
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.va-item-inner {
    background: rgba(255, 255, 255, 0.02);
    padding: 30px;
    border-left: 2px solid #5C0120; 
    transition: transform 0.3s ease;
}

.va-item-inner:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
}

.va-item-name {
    display: block;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 16px;
    color: #ffffff; 
    margin-bottom: 12px;
}

.va-item-text {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9); 
    line-height: 1.8;
    font-style: italic;
}

@media (max-width: 768px) {
    .va-wish-section {
        padding: 80px 25px; 
    }
    
    .va-form-box {
        padding: 35px 20px; 
    }

    .va-item-inner {
        padding: 25px 20px;
    }

    .va-btn-submit {
        max-width: 100%; 
    }
}

@media (max-width: 480px) {
    .va-title { font-size: 32px; }
    .va-subtitle { font-size: 13px; }
    .va-item-text { font-size: 1rem; }
}

/* --- ANIMASI REVEAL --- */
.ma-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.va-wish-section.active .ma-reveal {
    opacity: 1;
    transform: translateY(0);
}

/* SECTION BASE */
.ma-gift-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 120px 20px;
    background-color: #000; /* Force dark background */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.ma-gift-container {
    position: relative;
    z-index: 5;
    max-width: 700px;
    width: 100%;
    text-align: center;
}

.ma-mini-iconev {
    width: 50px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.ma-gift-note {
    font-family: 'Playfair Display', serif;
    font-size: clamp(14px, 2vw, 16px);
    color: white;
    font-style: italic;
    line-height: 1.8;
    max-width: 500px;
    margin: 0 auto 50px;
}

/* ULTRA PREMIUM CARD */
.ma-gift-card-ultra {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 2px; 
    background: linear-gradient(135deg, #5C0120, rgba(255,255,255,0.1), #5C0120);
    border-radius: 0;
    overflow: visible;
}

.ma-card-inner {
    position: relative;
    background: #0a0a0a; 
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.ma-card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(92, 1, 32, 0.2) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.ma-bank-badge {
    font-family: 'Montserrat', sans-serif;
    font-size: 9px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #fdfdfd;
    border: 1px solid #5C0120;
    padding: 5px 15px;
    margin-bottom: 30px;
}

.ma-bank-logo img {
    height: 30px;
    width: auto;
    filter: brightness(0) invert(1); /* Make bank logo white */
    margin-bottom: 40px;
    opacity: 0.9;
}

.ma-bank-details {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.ma-acc-label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 10px;
}

.ma-acc-name {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 500;
    color: #ffffff;
}

.ma-acc-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    letter-spacing: 4px;
    color: #ffffff;
    font-weight: 400;
}

/* BUTTON REDESIGN */
.ma-btn-copy-premium {
    background: #5C0120;
    color: #ffffff;
    border: 1px solid #5C0120;
    padding: 18px 35px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.ma-btn-copy-premium:hover {
    background: #ffffff;
    color: #5C0120;
    border-color: #ffffff;
    transform: translateY(-5px);
}

/* REVEAL SYSTEM */
.ma-gift-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.ma-gift-section.active .ma-gift-reveal {
    opacity: 1;
    transform: translateY(0);
}

.ma-gift-section.active .ma-gift-card-ultra {
    transition-delay: 0.4s;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .ma-card-inner { padding: 50px 25px; }
    .ma-acc-name { font-size: 22px; }
    .ma-acc-number { font-size: 18px; letter-spacing: 2px; }
}

@media (max-width: 480px) {
    .ma-gift-section { padding: 80px 15px; }
    .ma-btn-copy-premium { width: 100%; justify-content: center; padding: 18px 15px; }
}

/* CLOSING SECTION - NO CARD STYLE */
.va-closing-section {
    position: relative;
    padding: 150px 20px;
    background-color: #ffffff;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh; /* Full Screen biar lega */
}

.va-closing-content {
    max-width: 600px; /* Batasi lebar teks di sini */
    width: 100%;
    z-index: 2;
}

.va-closing-icon {
    width: 55px;
    margin-bottom: 30px;
    /* Optional: filter emas */
    filter: drop-shadow(0 2px 4px rgba(184, 134, 11, 0.2));
}

.va-closing-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(45px, 10vw, 80px);
    color: #f7f7f7;
    margin-bottom: 10px;
    font-weight: 400;
}

.va-closing-text {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    line-height: 1.8;
    color: #ffffff;
    margin: 30px auto;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.va-closing-couple {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    color: #ffffff; /* Aksen Burgundy */
    margin-top: 40px;
    font-style: italic;
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
    .va-closing-section {
        padding: 100px 20px;
    }
    .va-closing-text {
        font-size: 15px;
        padding: 0 10px;
    }
    .va-closing-couple {
        font-size: 32px;
    }
}

/* FOOTER */
.va-footer {
    background-color: #5C0120; 
    padding: 15px 0; /* Lebih tipis agar elegan */
    width: 100%;
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.va-footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Jarak antar elemen dalam baris */
}

.va-footer span {
    font-family: 'Montserrat', sans-serif;
    font-size: 9px; /* Kecil dan subtle */
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap; /* Paksa satu baris */
}

.va-sep {
    opacity: 0.3;
    font-weight: 200;
}

.va-brand-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.va-footer-logo {
    width: 16px; /* Ukuran pas untuk inline */
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.va-footer-logo:hover {
    transform: scale(1.1);
}

/* Responsif Mobile - Tetap satu baris */
@media (max-width: 480px) {
    .va-footer-content {
        gap: 8px;
    }
    
    .va-footer span {
        font-size: 8px; /* Sedikit lebih kecil di HP agar muat satu baris */
        letter-spacing: 0.5px;
    }

    .va-footer-logo {
        width: 14px;
    }
}

/* ================= PRELOADER ================= */
#preloader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-content {
  width: 200px; /* Lebar area loading */
  text-align: center;
}

/* Logo Favicon */
.loader-logo {
  width: 40px;
  height: auto;
  margin-bottom: 20px;
  animation: fadeIn 0.8s ease;
}

/* Progress Bar Container */
.progress-container {
  width: 100%;
  height: 2px; /* Tipis biar elegan */
  background: #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}

/* Progress Bar Inner */
.progress-bar {
  width: 0%; /* Start dari 0 */
  height: 100%;
  background: #1a1a1a; /* Warna bar gelap premium */
  transition: width 0.4s ease; /* Transisi pas nambah % */
}

.loading-text {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #888888;
}

#preloader.hide {
  opacity: 0;
  visibility: hidden;
}

/* ==========================================
   SECTION PEMBUKA CUSTOM (DISCLAIMER STYLE)
   ========================================== */
.pembuka-custom {
  display: none; /* Sembunyikan awal, di-activate via JS */
  width: 100%;
  min-height: 100vh;
  padding: 50px 24px;
  box-sizing: border-box;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  color: #70020d; /* Warna teks utama merah marun khas tema baru */
  position: relative;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
}

/* State Aktif saat dipicu JS */
.pembuka-custom.active {
  display: flex !important;
  opacity: 1;
}

.custom-disclaimer-box {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto 0;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.85); /* Container semi-transparan agar teks terbaca jelas di bg putih */
  backdrop-filter: blur(4px);
  border: 1px solid rgba(196, 150, 51, 0.3);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(112, 2, 13, 0.08);
}

/* Badge Elegan dengan Border Emas */
.disclaimer-badge {
  font-family: 'Baskvill', serif;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #70020d;
  border: 1px solid #c49633;
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  background: #fffdf7;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.disclaimer-title {
  font-family: 'Baskvill', serif;
  font-size: 2rem;
  font-weight: normal;
  color: #70020d;
  margin: 0 0 14px 0;
  line-height: 1.2;
}

.disclaimer-text {
  font-family: 'Baskvill', serif;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #333333;
  margin: 0 0 35px 0;
  opacity: 0.9;
}

/* Indikator Scroll Down (Teks & Panah Bounce) */
.scroll-down-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #70020d;
  user-select: none;
}

.scroll-text {
  font-family: 'Baskvill', serif;
  font-size: 0.8rem;
  letter-spacing: 1px;
  margin-bottom: 8px;
  color: #70020d;
  opacity: 0.85;
}

.scroll-arrow {
  font-size: 1.4rem;
  color: #c49633;
  animation: bounceArrow 2s infinite;
}

/* Animasi Bouncing Panah */
@keyframes bounceArrow {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}