/* css/style.css */

/* ==========================================================================
   [ PUSAT KENDALI DYNAMIC COLOR PALETTE & FONT ]
   ========================================================================== */
:root {
    --color-bg-dark: #1c1c1c;
    --color-bg-light: #FFF6F6;     
    --color-bg-card: #FFFFFF;      
    --color-text-dark: #4D171A;    
    --color-text-muted: #8C4A4E;   
    --color-text-soft: #6F3034;
    --color-theme-primary: #C6343A;
    --color-theme-hover: #A82A30;  
    --color-theme-accent: #4D171A; 
    --color-theme-deep: #751D24;
    
    --color-footer-bg: #2D1113;    
    --color-footer-text: #F1C7C9;  
    --color-footer-muted: #B7797D; 
    --color-footer-description: #D9A3A6;

    --font-body: 'Open Sans', sans-serif;
    --font-h1: 'Ephesis', cursive;          
    --font-h2: 'Montserrat', sans-serif;     
    --font-h3: 'Montserrat', sans-serif;
    --font-h4: 'Playfair Display', serif;    
    --section-card-radius: 18px;
    --section-border: 1px solid rgba(198, 52, 58, 0.22);
    --section-shadow: 0 18px 40px rgba(77, 23, 26, 0.08);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    --mobile-canvas-width: min(100vw, 430px);
    width: var(--mobile-canvas-width);
    max-width: 430px;
    min-height: 100vh;
    margin: 0 auto; padding: 0;
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background: var(--color-bg-dark);
    box-shadow: 0 0 45px rgba(45, 38, 34, 0.16);
    overflow-x: hidden;
}
body.invitation-locked {
    overflow: hidden;
    height: 100vh;
}

/* BACKGROUND SECTIONS MANAGEMENT */
.bg-image-cover    { background-image: linear-gradient(rgba(250, 246, 240, 0.75), rgba(250, 246, 240, 0.75)), url('img/bg-hero.jpg'); background-size: cover; background-position: center; }
.bg-image-hero     { background-image: linear-gradient(rgba(250, 246, 240, 0.55), rgba(250, 246, 240, 0.55)), url('img/bg-hero.jpg'); }
.bg-image-story    { background-image: linear-gradient(rgba(250, 246, 240, 0.85), rgba(250, 246, 240, 0.85)), url('img/bg-story.jpg'); }
.bg-image-details  { background-image: linear-gradient(rgba(250, 246, 240, 0.85), rgba(250, 246, 240, 0.85)), url('img/bg-details.jpg'); }
.bg-image-gift     { background-image: linear-gradient(rgba(250, 246, 240, 0.85), rgba(250, 246, 240, 0.85)), url('img/bg-gifts.jpg'); }
.bg-image-rsvp     { background-image: linear-gradient(rgba(250, 246, 240, 0.85), rgba(250, 246, 240, 0.85)), url('img/bg-faq.jpg'); }
.bg-image-gallery  { background-image: linear-gradient(rgba(250, 246, 240, 0.88), rgba(250, 246, 240, 0.88)), url('img/bg-program.jpg'); }

.bg-style-solid { background-image: none !important; background-color: var(--color-bg-dark) !important; }
.bg-style-gradient { background-image: linear-gradient(180deg, #FDFBF7 0%, var(--color-bg-dark) 50%, #F5EDE0 100%) !important; }

/* OVERLAY CURTAIN DEPAN */
.curtain-overlay {
    position: fixed; top: 0; left: 50%; width: min(100vw, 430px); height: 100svh; z-index: 2000;
    transform: translateX(-50%);
    display: flex; justify-content: center; align-items: center; text-align: center;
    overflow: hidden;
    transition: transform 1.1s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.8s ease;
}
.curtain-overlay::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(162, 140, 122, 0.34);
    pointer-events: none;
    animation: coverFrameReveal 1.4s ease both;
}
.curtain-overlay::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    filter: blur(45px);
    opacity: 0.7;
    pointer-events: none;
    animation: coverGlow 5s ease-in-out infinite alternate;
}
.curtain-overlay.slide-up { transform: translate(-50%, -100%); opacity: 0; pointer-events: none; }
.curtain-content { position: relative; z-index: 1; padding: 20px; width: 100%; max-width: 500px; animation: coverContentReveal 1s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both; }
.cover-sub { font-family: var(--font-h3); font-size: 0.85rem; letter-spacing: 4px; color: var(--color-theme-primary); margin-bottom: 10px; }
.cover-title-front { font-family: var(--font-h1); font-size: 3rem; color: var(--color-text-dark); margin: 10px 0; font-weight: normal; }
.date-badge { font-family: var(--font-h4); font-size: 1.1rem; letter-spacing: 2px; color: var(--color-text-dark); margin: 20px 0; }

.guest-box {
    margin: 35px 0; background: rgba(213, 198, 177, 0.15);
    padding: 20px; border-radius: 12px; border: 1px solid rgba(213, 198, 177, 0.4);
    animation: guestReveal 0.8s 0.65s ease both;
}
.guest-label { font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 5px; }
.guest-name { font-family: var(--font-h4); font-size: 1.4rem; color: var(--color-text-dark); margin: 0; }

.open-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 246, 246, 0.32);
    border: 1px solid rgba(198, 52, 58, 0.42);
    padding: 14px 34px;
    border-radius: 999px;
    cursor: pointer;
    backdrop-filter: blur(14px) saturate(1.08);
    -webkit-backdrop-filter: blur(14px) saturate(1.08);
    box-shadow: 0 14px 34px rgba(77, 23, 26, 0.14);
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease, border-color 0.28s ease;
}
.open-btn i {
    color: var(--color-theme-deep);
    font-size: 0.95rem;
    line-height: 1;
}
.open-btn:hover {
    background: rgba(255, 246, 246, 0.48);
    border-color: rgba(198, 52, 58, 0.62);
    box-shadow: 0 18px 40px rgba(77, 23, 26, 0.2);
    transform: translateY(-2px);
}
.curtain-content .open-btn { animation: buttonReveal 0.8s 0.95s ease both; }
.btn-text { color: var(--color-theme-deep); font-family: var(--font-h3); font-size: 0.85rem; font-weight: 700; letter-spacing: 1.8px; }
.space-btn { margin: 10px; }

@keyframes coverContentReveal {
    from { opacity: 0; transform: translateY(24px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes coverFrameReveal {
    from { opacity: 0; transform: scale(1.08); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes guestReveal {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes buttonReveal {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes coverGlow {
    from { transform: translate(-24%, -10%) scale(0.9); opacity: 0.45; }
    to { transform: translate(24%, 10%) scale(1.1); opacity: 0.8; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* MANAJEMEN SECTIONS */
section {
    position: relative; width: 100%; min-height: 100svh; height: auto;
    display: flex; justify-content: center; align-items: center;
    padding: 22px 10px 96px; box-sizing: border-box;
}
.text-fullscreen-center { text-align: center; }
.fixed-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover; z-index: 1; }

.section-overlay { 
    position: relative; z-index: 2; width: 100%; max-width: 100% !important; max-height: none; overflow: visible;
    background-color: rgba(250, 246, 240, 0.94); border-radius: var(--section-card-radius); 
    padding: 30px 16px; border: var(--section-border);
    box-shadow: var(--section-shadow);
    display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.rsvp-section .section-overlay { overflow: visible; max-height: none; justify-content: flex-start; }
.hero-section .section-overlay {
    background: rgba(250, 246, 240, 0.78);
    border-color: rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 45px rgba(74, 64, 58, 0.12);
    overflow: hidden;
}
.hero-section .section-overlay::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(162, 140, 122, 0.24);
    border-radius: 14px;
    pointer-events: none;
}
.hero-section .section-overlay > * { position: relative; z-index: 1; }

.main-wedding-title { font-family: var(--font-h1); font-size: 3.5rem; line-height: 0.95; color: var(--color-theme-deep); margin: 16px 0 12px; font-weight: normal; }
.hero-tagline { font-family: var(--font-h3); font-size: 0.68rem; letter-spacing: 4px; color: var(--color-theme-primary); margin: 0; }
.hero-date { font-family: var(--font-h4); font-size: 1rem; letter-spacing: 1px; color: var(--color-text-dark); margin: 14px 0 0; }
.hero-date::before {
    content: "";
    display: block;
    width: 46px;
    height: 1px;
    margin: 0 auto 12px;
    background: var(--color-theme-primary);
    opacity: 0.65;
}
.hero-scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 5px; margin-top: 18px; color: var(--color-theme-primary); animation: scrollCueFloat 2.2s ease-in-out infinite; }
.hero-scroll-line { width: 1px; height: 25px; background: linear-gradient(to bottom, transparent, var(--color-theme-primary)); }
.hero-scroll-cue i { font-size: 0.75rem; }
@keyframes scrollCueFloat {
    0%, 100% { opacity: 0.5; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(6px); }
}

.modern-hero-frame {
    width: calc(100% - 26px); max-width: 350px; margin: 22px auto 18px; overflow: hidden;
    border-radius: 90px 90px 18px 18px; box-shadow: 0 18px 36px rgba(74, 64, 58, 0.18);
    aspect-ratio: 4 / 5; border: 5px solid rgba(255, 255, 255, 0.78); outline: 1px solid rgba(162, 140, 122, 0.35); outline-offset: 5px;
}
.hero-couple-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.clickable-photo { cursor: zoom-in; }

/* BLOK DETAIL MEMPELAI */
h2 {
    font-family: var(--font-h1);
    font-size: 2.7rem;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.12;
    text-transform: none;
    color: var(--color-text-dark);
    margin-top: 0;
    margin-bottom: 18px;
}
.section-subtext,
.parent-info,
.gift-box > p {
    font-family: var(--font-h4);
}
.gallery-section .section-subtext { font-size: 0.85rem; line-height: 1.6; color: var(--color-text-muted); margin: 0 0 18px; }
.detail-grid { display: flex; flex-direction: column; width: 100%; justify-content: space-between; gap: 15px; align-items: stretch; }
.detail-box { flex: 1; background-color: var(--color-bg-card); padding: 22px 15px; border-radius: 12px; border: 1px solid rgba(213, 198, 177, 0.25); display: flex; flex-direction: column; align-items: center; justify-content: center; }

.mempelai-photo-frame { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; margin-bottom: 15px; border: none; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.mempelai-thumb { width: 100%; height: 100%; object-fit: cover; }
.mempelai-display-name { font-family: var(--font-h4); font-size: 1.3rem; margin: 5px 0; color: var(--color-text-dark); font-weight: 600; }
.parent-info { font-size: 0.85rem; line-height: 1.5; color: var(--color-text-muted); max-width: 250px; margin: 0; }
.profile-instagram-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 7px 12px; border: 1px solid rgba(162, 140, 122, 0.35); border-radius: 999px; color: var(--color-text-dark); background: rgba(162, 140, 122, 0.08); font-size: 0.72rem; text-decoration: none; transition: background 0.2s ease, transform 0.2s ease; }
.profile-instagram-btn:hover { background: rgba(162, 140, 122, 0.18); transform: translateY(-1px); }
.profile-instagram-btn.is-disabled { cursor: not-allowed; opacity: 0.62; }
.ampersand-divider { font-family: var(--font-h1); font-size: 2.8rem; align-self: center; color: var(--color-theme-primary); }

/* COUNTDOWN ACARA */
.embedded-countdown-box { width: 100%; max-width: 500px; background: var(--color-bg-card); padding: 15px 20px; border-radius: 12px; margin-bottom: 25px; border: 1px solid rgba(213, 198, 177, 0.25); }
.countdown-container { display: flex; justify-content: space-around; width: 100%; }
.time-block { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--color-text-muted); }
.time-block span { font-family: var(--font-h3); font-size: 1.8rem; font-weight: bold; display: block; color: var(--color-text-dark); }
.action-buttons-group { margin-top: 25px; display: flex; flex-wrap: wrap; justify-content: center; }

/* KARTU ACARA ELEGAN: AKAD NIKAH & RESEPSI */
.event-cards {
    width: 100%; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 14px; margin-top: 22px;
}
.event-card {
    flex: none; min-width: 0; width: 100%;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(213, 198, 177, 0.5);
    border-radius: 18px;
    padding: 20px 16px 16px;
    display: flex; flex-direction: column; align-items: center; text-align: center;
    box-shadow: 0 10px 26px rgba(74, 64, 58, 0.08);
}
.event-card-icon {
    width: 52px; height: 52px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(162, 140, 122, 0.14); color: var(--color-theme-primary);
    font-size: 1.25rem; margin-bottom: 12px;
    border: 1px solid rgba(162, 140, 122, 0.28);
}
.event-card-label {
    font-family: var(--font-h3); font-size: 0.72rem; font-weight: 700;
    letter-spacing: 3px; text-transform: uppercase; color: var(--color-theme-primary);
    margin: 0 0 10px;
}
.event-card-date {
    font-family: var(--font-h4);
    font-size: 1rem;
    line-height: 1.45;
    font-weight: 600;
    color: var(--color-text-dark);
    margin: 0 0 8px;
}
.event-card-time {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 0.82rem; color: var(--color-text-muted); margin: 0 0 4px;
}
.event-card-venue {
    display: flex; align-items: flex-start; justify-content: center; gap: 4px;
    font-size: 0.72rem; line-height: 1.4; color: var(--color-text-soft); margin: 0;
}
.event-card-actions {
    display: flex; gap: 10px; margin-top: 12px; padding-top: 11px;
    border-top: 1px dashed rgba(162, 140, 122, 0.35); width: 100%;
    justify-content: center;
}
.event-icon-btn {
    width: 38px; height: 38px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--color-text-dark);
    background: rgba(162, 140, 122, 0.12);
    border: 1px solid rgba(162, 140, 122, 0.35);
    font-size: 0.95rem; line-height: 1; text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.event-icon-btn:hover { background: var(--color-theme-primary); color: #FFF; transform: translateY(-2px); }

/* SLIDER WRAPPER (juga dipakai daftar ucapan) */
.slider-wrapper { position: relative; width: 100%; display: flex; align-items: center; }
.feed-slider-wrapper {
    width: 100%; display: flex; flex-direction: column; align-items: center;
}

/* GRID GALERI MAGAZINE DINAMIS */
.gallery-masonry-grid {
    columns: 2 150px;
    column-gap: 10px;
    width: 100%;
}
.gallery-masonry-item {
    display: inline-block;
    width: 100%;
    min-width: 0;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    margin: 0 0 10px;
    position: relative;
    background: rgba(255, 255, 255, 0.34);
    box-shadow: 0 8px 20px rgba(77, 23, 26, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.72);
    break-inside: avoid;
    vertical-align: top;
    isolation: isolate;
    transition: transform 0.32s ease, box-shadow 0.32s ease, filter 0.32s ease;
}
.gallery-masonry-item::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent 52%, rgba(77, 23, 26, 0.2));
    opacity: 0;
    transition: opacity 0.32s ease;
    pointer-events: none;
}
.gallery-masonry-item:hover {
    transform: translateY(-4px) scale(1.015);
    box-shadow: 0 15px 30px rgba(77, 23, 26, 0.18);
    filter: saturate(1.04) contrast(1.02);
}
.gallery-masonry-item:hover::after { opacity: 1; }
.gallery-item-mason { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.gallery-masonry-item:hover .gallery-item-mason { transform: scale(1.06); }
.gallery-mag-1 { aspect-ratio: 4 / 5; }
.gallery-mag-2 { aspect-ratio: 1 / 1; }
.gallery-mag-3 { aspect-ratio: 3 / 4; }
.gallery-mag-4 { aspect-ratio: 4 / 3; }
.gallery-mag-5 { aspect-ratio: 1 / 1; }
.gallery-mag-6 { aspect-ratio: 3 / 4; }
.gallery-mag-7 { aspect-ratio: 4 / 5; }
.gallery-mag-8 { aspect-ratio: 4 / 3; }
.gallery-mag-9 { aspect-ratio: 1 / 1; }
.gallery-mag-10 { aspect-ratio: 3 / 4; }
.gallery-mag-11 { aspect-ratio: 4 / 3; }
.gallery-mag-12 { aspect-ratio: 1 / 1; }
.gallery-mag-13 { aspect-ratio: 4 / 5; }
.gallery-mag-14 { aspect-ratio: 3 / 4; }
.gallery-mag-15 { aspect-ratio: 4 / 3; }
/* KENDALI PANAH CAROUSEL MANUAL */
.slide-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(74, 64, 58, 0.85); color: #FFF; border: none;
    width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
    z-index: 10; display: flex !important; justify-content: center; align-items: center; font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2); transition: background 0.2s;
}
.slide-arrow:hover { background: var(--color-theme-primary); }
.prev-arrow { left: -20px; }
.next-arrow { right: -20px; }

/* LIGHTBOX */
.lightbox-modal { display: none; position: fixed; z-index: 3000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(20, 18, 16, 0.94); justify-content: center; align-items: center; }
.lightbox-content, .lightbox-video { max-width: 90%; max-height: 82vh; object-fit: contain; border-radius: 6px; box-shadow: 0 18px 50px rgba(0,0,0,0.35); }
.lightbox-close { position: absolute; top: 16px; right: 18px; z-index: 3; color: #FFF; background: rgba(255,255,255,0.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.3); width: 44px; height: 44px; border-radius: 50%; font-size: 20px; line-height: 1; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,0.22); transition: background 0.25s ease, transform 0.25s ease; }
.lightbox-close:hover { background: var(--color-theme-primary); transform: rotate(90deg) scale(1.05); }
.lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%;
    color: #FFF; background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
    font-size: 15px; line-height: 1; cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.lightbox-nav:hover { background: var(--color-theme-primary); border-color: var(--color-theme-primary); transform: translateY(-50%) scale(1.12); }
.lightbox-prev { left: 14px; }
.lightbox-next { right: 14px; }

/* GIFT AREA */
.gift-box { 
    width: 100%; 
    max-width: 450px; 
    background: var(--color-bg-card); 
    padding: 20px 16px; 
    border-radius: 12px; 
    border: 1px solid rgba(213, 198, 177, 0.3); 
    display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 10px;
}
.gift-box > p { flex: 0 0 100%; max-width: 100%; }
.gift-box > .bank-card { flex: 1 1 0; min-width: 0; }

.gift-address-card {
    flex: 0 0 100%;
    width: 100%;
    background: rgba(243, 236, 225, 0.72);
    border: 1px solid rgba(162, 140, 122, 0.22);
    border-radius: 10px;
    padding: 14px 16px;
    text-align: center;
}

.gift-address-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-family: var(--font-h3);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--color-theme-primary);
    margin-bottom: 8px;
}

.gift-address-card p {
    margin: 0;
    font-family: var(--font-h4);
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--color-text-dark);
}

.bank-card { 
    background: #F3ECE1; 
    padding: 18px 10px 12px 10px; 
    border-radius: 10px; 
    text-align: center; 
    cursor: pointer;           
    position: relative;
    user-select: none;         
    border: 1px solid rgba(162, 140, 122, 0.15);
    transition: all 0.25s ease; 
}

.bank-card:hover {
    background-color: #EBE2D4;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 64, 58, 0.08);
}

.bank-card:active {
    transform: translateY(0);
    background-color: #E2D7C5;
}

.bank-card.copied {
    border-color: var(--color-theme-primary);
    background-color: #EBE2D4;
}

.bank-brand { 
    font-size: 0.9rem; 
    display: block; 
    letter-spacing: 2px;
    color: var(--color-text-muted);
    font-weight: 600;
}

.account-digits { 
    font-family: var(--font-h3); 
    font-size: 1rem; 
    font-weight: bold; 
    display: block; 
    margin: 4px 0; 
    color: var(--color-text-dark); 
    letter-spacing: 0.4px;
    word-break: break-all;
}

.account-holder {
    font-size: 0.85rem;
    display: block;
    color: var(--color-text-dark);
}

.copy-indicator {
    margin-top: 12px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-theme-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    opacity: 0.8;
}

.bank-card.copied .copy-indicator {
    color: var(--color-text-dark);
    font-weight: bold;
}
.gift-box .copy-indicator { font-size: 0.62rem; letter-spacing: 0.4px; margin-top: 10px; }
.gift-box .bank-brand { font-size: 0.78rem; letter-spacing: 1.5px; }
.gift-box .account-holder { font-size: 0.78rem; }

/* --- STRUKTUR FORM RSVP PENUH --- */
.unified-wishes-box { 
    width: 100%; 
    background: var(--color-bg-card); 
    padding: 32px 22px; 
    border-radius: var(--section-card-radius); 
    border: var(--section-border); 
    box-shadow: var(--section-shadow);
    text-align: left; 
}

.unified-header { text-align: center; margin-bottom: 22px; }
.unified-header h2 { margin-bottom: 5px; }
.unified-header p { font-size: 0.85rem; color: var(--color-text-muted); margin: 0; }
.rsvp-success-banner { background: rgba(162, 140, 122, 0.12); border: 1px solid rgba(162, 140, 122, 0.35); color: var(--color-text-dark); padding: 12px 14px; border-radius: 10px; font-size: 0.82rem; text-align: center; margin-bottom: 18px; }

.rsvp-modern-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.rsvp-name-field { order: 1; }
.rsvp-message-field { order: 2; }
.rsvp-attendance-field { order: 3; }
.rsvp-submit-field { order: 4; }

.form-grid-two {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.form-group-heavy {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 1;
    width: 100%;
}

.full-width-group {
    flex: none;
    width: 100%;
}

.form-group-heavy label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
}

.form-group-heavy input, 
.form-group-heavy textarea {
    width: 100% !important;
    max-width: 100%;
    padding: 12px;
    border: 1px solid rgba(213, 198, 177, 0.6);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    background-color: var(--color-bg-dark);
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.form-group-heavy input:focus,
.form-group-heavy textarea:focus { outline: none; border-color: var(--color-theme-primary); background-color: #FFF; }

/* --- KARTU TOGGLE INTERAKTIF RSVP --- */
.rsvp-section .unified-header h2 { font-size: 2.6rem; margin-bottom: 10px; }
.rsvp-section .unified-header p { font-family: var(--font-h4); font-size: 0.92rem; line-height: 1.45; }
.rsvp-section .form-group-heavy label { display: none; }
.rsvp-interactive-grid { display: flex; flex-direction: row; gap: 6px; width: 100%; box-sizing: border-box; }
.rsvp-status-card { flex: 1; background-color: var(--color-bg-card); border: 2px solid rgba(213, 198, 177, 0.4); border-radius: 24px; padding: 12px 8px; display: flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; position: relative; user-select: none; box-sizing: border-box; transition: all 0.25s ease; }
.rsvp-status-card:hover { border-color: var(--color-theme-primary); background-color: #FFF; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(74, 64, 58, 0.05); }
.status-card-icon i { font-size: 1.25rem; color: var(--color-text-muted); }
.status-card-info { text-align: left; }
.status-card-info h5 { margin: 0; font-family: var(--font-h3); font-size: 0.75rem; font-weight: 600; color: var(--color-text-dark); }
.status-card-info p { display: none; }
.status-badge-selected { position: absolute; top: -8px; right: -8px; background-color: #FFF; border-radius: 50%; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(0.5); transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.2); }
.status-badge-selected i { font-size: 22px; color: var(--color-theme-primary); }
.rsvp-status-card.active { border-color: var(--color-theme-primary); background-color: var(--color-bg-card); box-shadow: 0 6px 16px rgba(162, 140, 122, 0.12); }
.rsvp-status-card.active .status-card-icon i { color: var(--color-theme-primary); }
.rsvp-status-card.active .status-badge-selected { opacity: 1; transform: scale(1); }
.rsvp-interactive-grid:has(.rsvp-status-card.active) .rsvp-status-card:not(.active) { opacity: 0.55; border-color: rgba(213, 198, 177, 0.2); }
.submit-wish-btn { background-color: var(--color-theme-primary); color: #FFF; border: none; width: 100%; padding: 14px; border-radius: 24px; font-family: var(--font-h3); font-weight: bold; cursor: pointer; font-size: 0.9rem; letter-spacing: 1px; transition: background 0.2s; }
.submit-wish-btn:hover { background-color: var(--color-theme-hover); }

/* DASTAR UCAPAN — kartu feed auto-slide (data dari database) */
.vertical-wishes-scroll {
    display: flex; flex-direction: column; gap: 10px; width: 100%;
    overflow-y: auto; overflow-x: hidden; scroll-behavior: smooth;
    max-height: calc((78px * 5) + (10px * 4) + 8px);
    padding: 4px 6px 4px 2px; -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    scrollbar-width: thin; scrollbar-color: var(--color-theme-primary) transparent;
}
#container-ucapan {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}
.vertical-wishes-scroll::-webkit-scrollbar { width: 5px; }
.vertical-wishes-scroll::-webkit-scrollbar-track { background: transparent; }
.vertical-wishes-scroll::-webkit-scrollbar-thumb { background: var(--color-theme-primary); border-radius: 10px; }
.wish-item-slide {
    flex: 0 0 auto; min-width: 0; width: 100%; min-height: 78px;
    display: flex; align-items: flex-start; gap: 10px;
    background: var(--color-bg-card);
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(213, 198, 177, 0.45);
    box-sizing: border-box;
}
.vertical-wishes-scroll:empty,
.wishes-feed-wrapper:has(.vertical-wishes-scroll:empty) {
    display: none;
}
.wish-meta {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    margin-top: 6px;
}
.wish-attendance {
    display: none; align-items: center; gap: 4px;
    font-size: 0.6rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px;
}
.wish-attendance-badge {
    display: inline-flex; align-items: center; gap: 3px;
    padding: 2px 6px; border-radius: 4px; font-size: 0.6rem; font-weight: 600;
}
.wish-attendance-hadir {
    background: rgba(76, 175, 80, 0.12); color: #4CAF50; border: 1px solid rgba(76, 175, 80, 0.25);
}
.wish-attendance-tidak {
    background: rgba(229, 115, 115, 0.12); color: #E57373; border: 1px solid rgba(229, 115, 115, 0.25);
}
.wish-attendance-tunda {
    background: rgba(255, 183, 77, 0.12); color: #FFB74D; border: 1px solid rgba(255, 183, 77, 0.25);
}
.wish-avatar {
    flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(162, 140, 122, 0.16); color: var(--color-theme-primary);
    font-family: var(--font-h3); font-weight: 700; font-size: 0.95rem;
    border: 1px solid rgba(162, 140, 122, 0.28);
}
.wish-body { flex: 1; min-width: 0; }
.wish-body strong { font-size: 0.78rem; color: var(--color-text-dark); display: block; margin-bottom: 3px; }
.wish-body .wish-message {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.74rem;
    line-height: 1.45;
    color: var(--color-text-soft);
    margin: 0;
    word-break: break-word;
}
.wish-item-slide.is-expanded .wish-message {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}
.wish-read-more {
    display: inline-flex;
    margin: 6px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-theme-primary);
    font-family: var(--font-h3);
    font-size: 0.66rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.wish-read-more:hover { color: var(--color-theme-hover); }
.wish-body .wish-time { display: block; margin-top: 6px; font-size: 0.62rem; color: var(--color-theme-primary); text-transform: uppercase; letter-spacing: 0.5px; }
.rsvp-section .wishes-feed-wrapper { border-top: 1px solid rgba(74, 64, 58, 0.22); padding-top: 22px; }
.prev-arrow-sm, .next-arrow-sm { background: var(--color-theme-primary); width: 32px; height: 32px; font-size: 10px; }
.prev-arrow-sm { left: -12px; }
.next-arrow-sm { right: -12px; }

/* NAVBAR UTAMA STICKY CONTROLLER */
.navbar {
    position: fixed; bottom: 10px; top: auto; left: 50%; transform: translateX(-50%);
    display: block;
    width: calc(min(100vw, 430px) - 18px);
    max-width: 412px;
    background: rgba(255, 246, 246, 0.54);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    z-index: 1500;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(77, 23, 26, 0.2);
    border: 1px solid rgba(198, 52, 58, 0.22);
}
.navbar-scrolled {
    bottom: 10px;
    top: auto;
    width: calc(min(100vw, 430px) - 18px);
    max-width: 412px;
    border-radius: 18px;
    background: rgba(255, 246, 246, 0.64);
}
.nav-container { display: flex; flex-direction: row; justify-content: space-around; align-items: stretch; padding: 6px 5px; gap: 1px; }
.nav-container a { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 7px 1px; text-align: center; text-decoration: none; color: rgba(77, 23, 26, 0.88); font-family: var(--font-h3); font-size: 0.5rem; font-weight: 700; letter-spacing: 0; text-transform: uppercase; border-radius: 12px; text-shadow: 0 1px 10px rgba(255, 255, 255, 0.86); transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease; }
.nav-container a i { font-size: 0.9rem; line-height: 1; color: rgba(198, 52, 58, 0.96); }
.nav-container a:hover, .nav-container a:focus { color: var(--color-theme-hover); background-color: rgba(255, 255, 255, 0.34); transform: translateY(-1px); }

/* INTERFACE FLOATING BUTTON CONTROLS */
.floating-controls-stack {
    position: fixed; left: calc(50% + min(50vw, 215px) - 60px); bottom: 82px; transform: none;
    display: flex; z-index: 1600;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
    will-change: transform, opacity;
}
.floating-controls-stack.is-hidden {
    transform: translateY(90px);
    opacity: 0;
    pointer-events: none;
}
.floating-controls-stack.is-entering {
    animation: controlsEnterBounce 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.floating-controls-stack.is-entering .music-icon-statis {
    animation: musicIconRoll 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes musicIconRoll {
    0%   { transform: rotate(0deg) scale(0.3); opacity: 0; }
    60%  { transform: rotate(340deg) scale(1.25); opacity: 1; }
    100% { transform: rotate(360deg) scale(1); opacity: 1; }
}
@keyframes controlsEnterBounce {
    0%   { transform: translateY(90px) scale(0.6); opacity: 0; }
    65%  { transform: translateY(-6px) scale(1.05); opacity: 1; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}
.music-control-btn { 
    width: 48px; height: 48px; border-radius: 50%; background-color: var(--color-theme-accent); 
    border: 2px solid #FFF; cursor: pointer; display: flex; justify-content: center; 
    align-items: center; box-shadow: 0 5px 16px rgba(0,0,0,0.24); margin: 0; transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease, background 0.2s ease;
}
.music-control-btn:hover { background-color: var(--color-theme-primary); }
.music-icon-statis { color: #FFF; font-size: 15px; text-align: center; display: inline-block; }

.footer-couple-signature { font-family: var(--font-h1); font-size: 3.5rem; color: var(--color-text-dark); margin: 10px 0 0 0; font-weight: normal; }
.footer-copyright p { font-size: 0.7rem; color: var(--color-theme-primary); margin: 5px 0 0 0; }
.rsvp-section .custom-footer-content { display: none; }

/* Rotasi Animasi Vinyl */
@keyframes spinVinyl {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.vinyl-disc {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

/* Kelas ini aktif HANYA ketika lagu sedang diputar */
.vinyl-disc.is-playing {
    animation: spinVinyl 4s linear infinite !important;
}

/* ==========================================================================
   [ BAR FOOTER TOKO - MODERN TIPIS SPLIT BRAND FOOTER ]
   ========================================================================== */
.modern-split-footer {
    background-color: var(--color-footer-bg); 
    color: var(--color-footer-text);
    padding: 30px 16px 100px; 
    position: relative; 
    z-index: 10; 
    font-family: var(--font-body); 
    border-top: 2px solid var(--color-theme-primary); 
    width: 100%;
}

.split-footer-container {
    width: 100%; 
    max-width: 100%; /* Mengubah dari 1140px menjadi 100% agar memenuhi layar */
    margin: 0 auto;
    padding: 0;
    display: flex; flex-direction: column;
    justify-content: space-between; 
    align-items: center; 
    gap: 20px;
}

.footer-left-side { text-align: center; flex: 1; display: flex; flex-direction: column; align-items: center; }
.footer-logo-container { margin-bottom: 8px; }
.store-main-logo { max-width: 120px; max-height: 35px; display: block; object-fit: contain; }
.store-logo-fallback { font-family: var(--font-h2); font-size: 0.9rem; font-weight: bold; color: var(--color-theme-primary); letter-spacing: 1px; }
.footer-left-side h4 { font-family: var(--font-h2); color: #FFF; font-size: 0.95rem; margin: 0 0 4px 0; letter-spacing: 1px; text-transform: uppercase; }
.store-description { font-size: 0.75rem; line-height: 1.5; margin: 0; color: var(--color-footer-description); max-width: 300px; }

.footer-right-side { 
    text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; border-top: 1px solid rgba(213, 198, 177, 0.12); padding-top: 20px;
}

/* MENGIKIK HABIS GARIS BAWAH PADA LINK DOMAIN */
.store-domain-link,
.store-domain-link:link,
.store-domain-link:visited,
.store-domain-link:hover,
.store-domain-link:active,
.store-domain-link:focus {
    display: inline-block; 
    color: #FFF !important; 
    text-decoration: none !important; 
    font-size: 0.85rem; 
    font-weight: 600; 
    margin: 0; 
    border-bottom: 1px dashed var(--color-theme-primary);
    outline: none;
}
.store-domain-link:hover { color: var(--color-theme-primary) !important; }

/* MENSTABILKAN UKURAN KONTAINER BULATAN IKON SOSIAL MEDIA */
.footer-social-wrapper { 
    display: flex; 
    gap: 12px; 
    margin: 4px 0; 
}
.socmed-icon-img { 
    display: flex !important; 
    align-items: center !important; 
    justify-content: center !important;
    width: 36px !important; 
    height: 36px !important; 
    background: rgba(255,255,255,0.06) !important; 
    border-radius: 50% !important; 
    border: 1px solid rgba(213, 198, 177, 0.25) !important; 
    text-decoration: none !important; 
    color: var(--color-footer-text) !important; 
    transition: all 0.25s ease;
}
.socmed-fa-icon { 
    font-size: 16px !important; 
    display: inline-block !important;
    line-height: 1 !important;
    color: inherit;
}
.socmed-icon-img:hover { 
    background-color: var(--color-theme-primary) !important; 
    color: #FFF !important; 
    border-color: var(--color-theme-primary) !important; 
    transform: translateY(-2px); 
}

.copyright-label { font-size: 0.65rem !important; line-height: 1.4; color: var(--color-footer-muted) !important; margin: 0 !important; white-space: normal; text-align: center; }

.menu-toggle-btn {
    display: none; position: fixed; top: 15px; right: 15px; z-index: 1601;
    width: 44px; height: 44px; padding: 9px; border: 1px solid rgba(213, 198, 177, 0.5);
    border-radius: 50%; background: rgba(250, 246, 240, 0.92); cursor: pointer;
    flex-direction: column; justify-content: center; gap: 4px;
}
.menu-toggle-btn span { display: block; width: 100%; height: 2px; background: var(--color-text-dark); }
.scroll-reveal { opacity: 0; transform: translateY(32px) scale(0.985); clip-path: inset(0 0 12% 0 round 18px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), clip-path 0.9s ease; }
.scroll-reveal.active { opacity: 1; transform: translateY(0) scale(1); clip-path: inset(0 0 0 0 round 18px); }
.scroll-reveal.active > * { animation: sectionChildReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) both; }
.scroll-reveal.active > *:nth-child(2) { animation-delay: 0.08s; }
.scroll-reveal.active > *:nth-child(3) { animation-delay: 0.16s; }
.scroll-reveal.active > *:nth-child(4) { animation-delay: 0.24s; }
@keyframes sectionChildReveal {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Memastikan kontainer tombol bertindak sebagai pembatas */
.music-control-btn { 
    width: 48px; 
    height: 48px; 
    border-radius: 50%; 
    background-color: var(--color-theme-accent); 
    border: 2px solid #FFF; 
    cursor: pointer; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    box-shadow: 0 5px 16px rgba(0,0,0,0.24); 
    margin: 0; 
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease, background 0.2s ease;
    overflow: hidden; /* Mencegah gambar keluar dari lingkaran */
    padding: 0;
}

/* KODE TAMBAHAN: Memaksa gambar/ikon piringan hitam pas di dalam tombol */
.music-control-btn img,
.music-control-btn svg,
.music-icon-statis img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Agar rasio piringan hitam tetap proporsional */
    display: block;
}

/* ===========================================================================
   [ MEDIA QUERIES RESPONSIVE DESKTOP ]
   ========================================================================== */
@media (min-width: 769px) {
    body { width: min(100vw, 430px); }
}

@media (max-width: 520px) {
    .gallery-masonry-grid { grid-auto-rows: 42px; gap: 6px; }
    .rsvp-interactive-grid { gap: 6px; }
    .rsvp-status-card { width: 100%; }
    .main-wedding-title { font-size: 3.15rem; }
    .modern-hero-frame { width: calc(100% - 18px); margin-top: 20px; }
}

.rsvp-section .unified-wishes-box { padding: 24px 16px; border-radius: var(--section-card-radius); }
.rsvp-section .form-group-heavy input,
.rsvp-section .form-group-heavy textarea { border-radius: 0; background-color: rgba(255, 255, 255, 0.46); }

/* FOOTER COUPLE SECTION - Foto Slideshow Background */
.footer-couple-section {
    position: relative; width: 100%; min-height: 100svh; height: auto;
    display: flex; justify-content: center; align-items: center;
    padding: 46px 20px 144px; box-sizing: border-box;
    overflow: hidden;
    background-color: #1a1512;
}

.footer-couple-slideshow {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}

.footer-couple-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    background-repeat: no-repeat;
    opacity: 0; transition: opacity 1.5s ease-in-out;
    animation: footerSlideFade 18s infinite;
}

.footer-couple-slide.activeSlide { opacity: 1; }

@keyframes footerSlideFade {
    0% { opacity: 0; }
    10% { opacity: 1; }
    33% { opacity: 1; }
    43% { opacity: 0; }
    100% { opacity: 0; }
}

.footer-couple-slide:nth-child(1) { animation-delay: 0s; }
.footer-couple-slide:nth-child(2) { animation-delay: 6s; }
.footer-couple-slide:nth-child(3) { animation-delay: 12s; }

.footer-couple-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background:
        linear-gradient(180deg, rgba(20, 16, 13, 0.48) 0%, rgba(20, 16, 13, 0.42) 34%, rgba(20, 16, 13, 0.72) 100%),
        radial-gradient(circle at center, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.45));
    z-index: 2;
}

.footer-couple-content {
    position: relative; z-index: 3;
    text-align: center; padding: 0;
    max-width: 400px; width: 100%;
    color: #FFFFFF;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.42);
}

.footer-thankyou {
    font-family: var(--font-h3);
    font-size: 0.78rem; color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
    letter-spacing: 2.5px; text-transform: uppercase;
    margin: 0 0 14px 0;
    animation: footerContentFadeIn 1.5s ease both;
}

.footer-closing-message {
    font-family: var(--font-h3);
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.55;
    margin: 0 auto 18px;
    max-width: 350px;
    color: #FFFFFF;
    animation: footerContentFadeIn 1.5s 0.15s ease both;
}

.footer-happy-label {
    font-family: var(--font-h3);
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0 6px;
    color: #FFFFFF;
    animation: footerContentFadeIn 1.5s 0.25s ease both;
}

.footer-couple-name {
    font-family: var(--font-h1);
    font-size: 3.85rem; color: #FFFFFF;
    font-weight: normal; margin: 0 0 8px 0;
    line-height: 0.95;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    animation: footerContentFadeIn 1.5s 0.3s ease both;
}

.footer-date {
    font-family: var(--font-h3);
    font-size: 0.72rem; color: rgba(255, 255, 255, 0.72);
    letter-spacing: 3px; text-transform: uppercase;
    margin: 0 0 22px;
    animation: footerContentFadeIn 1.5s 0.6s ease both;
}

.inviting-family {
    width: 100%;
    margin: 0 auto;
    padding: 16px 14px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.34);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(20, 16, 13, 0.16);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    animation: footerContentFadeIn 1.5s 0.75s ease both;
}

.inviting-family h3 {
    font-family: var(--font-h3);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin: 0 0 11px;
    color: #FFFFFF;
}

.inviting-family-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 10px;
    text-align: left;
}

.inviting-family-list span {
    font-family: var(--font-h4);
    font-size: 0.76rem;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.88);
}

.closing-store-footer {
    margin-top: clamp(44px, 9vh, 76px);
    margin-bottom: 18px;
    padding: 14px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    text-align: center;
    animation: footerContentFadeIn 1.5s 0.9s ease both;
}

.closing-store-footer .footer-logo-container { margin-bottom: 5px; }
.closing-store-footer .footer-logo-container a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.closing-store-footer .store-main-logo {
    max-width: 92px;
    max-height: 28px;
    margin: 0 auto;
    filter: brightness(0) invert(1);
}
.closing-store-footer .store-logo-fallback {
    font-family: var(--font-h1);
    font-size: 1.45rem;
    color: #FFFFFF;
    letter-spacing: 0;
}
.closing-store-footer .store-description {
    max-width: 300px;
    margin: 0 auto 10px;
    font-size: 0.58rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.72);
}
.closing-store-footer .store-domain-link {
    color: #FFFFFF !important;
    font-size: 0.66rem;
    border-bottom-color: rgba(255, 255, 255, 0.55);
}
.closing-store-footer .footer-social-wrapper {
    justify-content: center;
    gap: 10px;
    margin: 10px 0 8px;
}
.closing-store-footer .socmed-icon-img {
    width: 32px !important;
    height: 32px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.32) !important;
    color: #FFFFFF !important;
}
.closing-store-footer .copyright-label {
    font-size: 0.56rem !important;
    color: rgba(255, 255, 255, 0.62) !important;
    margin: 0 !important;
}

@keyframes footerContentFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Keep modern split footer for Saujana branding */
.modern-split-footer {
    display: none;
    background-color: var(--color-footer-bg);
    color: var(--color-footer-text);
    padding: 16px 14px 88px;
    position: relative;
    z-index: 10;
    font-family: var(--font-body);
    border-top: 2px solid var(--color-theme-primary);
    width: 100%;
    margin-top: 0;
}

.split-footer-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    display: flex; flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.footer-left-side { text-align: center; flex: 1; display: flex; flex-direction: column; align-items: center; }
.footer-logo-container { margin-bottom: 3px; }
.store-main-logo { max-width: 84px; max-height: 24px; display: block; object-fit: contain; }
.store-logo-fallback { font-family: var(--font-h2); font-size: 0.8rem; font-weight: bold; color: var(--color-theme-primary); letter-spacing: 1px; }
.footer-left-side h4 { font-family: var(--font-h2); color: #FFF; font-size: 0.85rem; margin: 0 0 3px 0; letter-spacing: 1px; text-transform: uppercase; }
.store-description { font-size: 0.6rem; line-height: 1.35; margin: 0; color: var(--color-footer-description); max-width: 270px; }

.footer-right-side {
    text-align: center; display: flex; flex-direction: column; align-items: center; gap: 7px; width: 100%;
    border-top: 1px solid rgba(213, 198, 177, 0.1);
    padding-top: 10px;
}

.store-domain-link,
.store-domain-link:link,
.store-domain-link:visited,
.store-domain-link:hover,
.store-domain-link:active,
.store-domain-link:focus {
    display: inline-block;
    color: #FFF !important;
    text-decoration: none !important;
    font-size: 0.68rem;
    font-weight: 600;
    margin: 0;
    border-bottom: 1px dashed var(--color-theme-primary);
    outline: none;
}

.copyright-label {
    font-size: 0.56rem; color: var(--color-footer-muted);
    margin: 4px 0 0 0; letter-spacing: 0.4px;
}
