/* ==============================================================================
   Eyestetix Studio Invitation (ESI)
   Template: Melaspas Bali Royal Gold
   Aesthetic: Warm Balinese Gold & Champagne Parchment Architectural Sacred
   Canvas: 1440px Responsive Desktop Layout
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Playfair+Display:ital,wght@0,600;0,700;0,900;1,600;1,700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* Base Reset & Design Tokens */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Color Palette Resmi dari Referensi Swatch:
       Swatch 1: #9E834B (Deep Antique Gold)
       Swatch 2: #CCA95A (Bright Warm Gold)
       Swatch 3: #EEE7DD (Warm Ivory Cream Canvas)
       Swatch 4: #355442 (Sacred Balinese Forest Green)
       Swatch 5: #2D2B2B (Dark Charcoal Black / Outframe)
    */
    --bg-page: #EEE7DD;          /* Swatch 3: Warm Ivory Cream */
    --bg-cream: #E5DDCE;         /* Accent Cream */
    --bg-outframe: #2D2B2B;      /* Swatch 5: Dark Charcoal Black */
    --bg-card: #FFFFFF;          /* Pure White */
    --bg-card-glass: rgba(255, 255, 255, 0.88);
    
    /* Gold Accent Tokens */
    --gold-primary: #CCA95A;     /* Swatch 2: Bright Warm Gold */
    --gold-soft: #D9BD77;        /* Soft Highlight Gold */
    --gold-deep: #9E834B;        /* Swatch 1: Deep Antique Gold */
    --gold-bar: #CCA95A;         /* Info Bar Gold */
    --gold-band: #9E834B;        /* Dharma Quote Band */

    /* Sacred Balinese Forest Green */
    --accent-green: #355442;     /* Swatch 4: Sacred Forest Green */
    --accent-green-dark: #2A4335;

    /* Typography Color Tokens */
    --navy-dark: #2D2B2B;        /* Swatch 5: Dark Charcoal */
    --blue-muted: #82796E;       /* Warm Muted Gray */
    --text-primary: #2D2B2B;     /* Dark Charcoal Black */
    --text-secondary: #524E48;   /* Warm Charcoal Gray */
    --text-muted: #82796E;       /* Warm Muted Gray */
    
    /* Borders & Shadows */
    --border-gold: rgba(158, 131, 75, 0.35);
    --border-light: rgba(158, 131, 75, 0.18);
    --shadow-soft: 0 10px 30px rgba(45, 43, 43, 0.08);
    --shadow-desktop: 0 16px 45px rgba(45, 43, 43, 0.12);

    /* Typography Families (Max 3 main families) */
    --font-script: 'Great Vibes', cursive;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-outframe);
    color: var(--text-primary);
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-outframe) !important;
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Scroll Lock Safe - Jangan pernah mengunci overflow body agar halaman tidak freeze / ngeraze */
body.lock-scroll {
    overflow-y: auto !important;
    height: auto !important;
}

/* ==============================================================================
   MAIN CONTAINER FRAME (1440PX CANVAS DESKTOP / FLUID RESPONSIVE MOBILE)
   ============================================================================== */
.invitation-app-container,
.app-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    background-color: var(--bg-page);
    min-height: 100vh;
    padding-bottom: 0;
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.55), 0 0 25px rgba(36, 28, 21, 0.45);
    border-left: 1px solid var(--border-gold);
    border-right: 1px solid var(--border-gold);
    overflow-x: hidden;
}

/* ==============================================================================
   SECTION 1: COVER HERO (FADED BUILDING PHOTO & ELEGANT WATERMARK)
   ============================================================================== */
.cover-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 3rem 1.5rem 3.5rem;
    overflow: hidden;
    background-color: var(--bg-page);
    text-align: center;
}

.cover-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 580px;
    object-fit: cover;
    object-position: center top;
    opacity: 0.35;
    filter: brightness(1.02) contrast(0.98);
    z-index: 0;
}

.cover-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 600px;
    background: linear-gradient(to bottom, 
        rgba(238, 231, 221, 0.40) 0%, 
        rgba(238, 231, 221, 0.72) 50%, 
        rgba(238, 231, 221, 0.95) 80%, 
        var(--bg-page) 100%
    );
    z-index: 1;
}

.cover-inner-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 580px;
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Sub-category: U N D A N G A N */
.cover-category-text {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: var(--blue-muted);
    margin-bottom: 0.4rem;
    display: inline-block;
    text-indent: 0.45em;
}

/* Cursive Melaspas (Clean script in Sacred Balinese Forest Green #355442) */
.script-melaspas {
    font-family: var(--font-script);
    font-size: clamp(3.5rem, 7vw, 5.25rem);
    color: var(--accent-green);
    line-height: 1.12;
    margin-bottom: 0.15rem;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.85);
}

/* Judul Utama Gedung */
.title-venue-bold {
    font-family: var(--font-serif);
    font-size: clamp(1.85rem, 4vw, 2.6rem);
    font-weight: 900;
    letter-spacing: 0.08em;
    color: var(--navy-dark);
    text-transform: uppercase;
    margin-bottom: 0.35rem;
    line-height: 1.2;
}

/* Tanggal Terformat */
.cover-date-spaced {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--blue-muted);
    text-transform: uppercase;
    margin-bottom: 2rem;
    text-indent: 0.3em;
}

/* Kartu Penerima Tamu Undangan */
.guest-card-box {
    width: 100%;
    background: var(--bg-card-glass);
    border: 1px solid var(--border-gold);
    border-radius: 0.75rem;
    padding: 1.35rem 1.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 6px 20px rgba(40, 52, 72, 0.06);
}

.guest-label-sub {
    font-size: 0.85rem;
    color: var(--blue-muted);
    margin-bottom: 0.25rem;
}

.guest-name-cursive {
    font-family: var(--font-script);
    font-size: clamp(2.4rem, 4.5vw, 3rem);
    color: var(--navy-dark);
    line-height: 1.2;
    margin: 0.15rem 0 0.3rem;
}

.guest-note-apology {
    font-size: 0.78rem;
    color: #94A3B8;
    font-style: italic;
}

/* Tombol: BUKA UNDANGAN */
.btn-melaspas-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    max-width: 320px;
    padding: 0.95rem 2.25rem;
    background: linear-gradient(135deg, var(--gold-soft) 0%, var(--gold-primary) 100%);
    color: #FFFFFF;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(189, 150, 62, 0.35);
    transition: all 0.25s ease;
}

.btn-melaspas-open:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(189, 150, 62, 0.45);
    background: linear-gradient(135deg, #DFC07A 0%, #C79E45 100%);
}

.btn-melaspas-open:active {
    transform: translateY(0);
}

/* ==============================================================================
   SECTION 2: SALAM & OM SWASTIASTU
   ============================================================================== */
.section-salam {
    padding: 3.5rem 1.75rem 2.5rem;
    text-align: center;
    position: relative;
}

.salam-crest-wrap {
    margin: 0 auto 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.salam-gold-filigree {
    width: 110px;
    height: auto;
    display: block;
    margin: 0 auto;
    opacity: 0.95;
}

.script-greeting {
    font-family: var(--font-script);
    font-size: clamp(3.2rem, 6vw, 4.8rem);
    color: var(--navy-dark);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.salam-body-text {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 1.5rem;
}

.salam-respect-note {
    font-weight: 500;
    color: var(--text-primary);
}

/* ==============================================================================
   SECTION 3: 3-COLUMN EVENT INFO PILL BAR
   ============================================================================== */
.section-agenda-wrap {
    padding: 0 1.5rem 2rem;
}

.event-info-bar {
    background: var(--gold-bar);
    border-radius: 0.75rem;
    padding: 1.25rem 1.25rem;
    margin: 0 auto;
    max-width: 960px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    box-shadow: 0 8px 24px rgba(215, 180, 90, 0.28);
}

.info-bar-col {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.35rem 0.65rem;
    border-right: 1px solid rgba(255, 255, 255, 0.35);
}
.info-bar-col:last-child {
    border-right: none;
}

.info-bar-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: #FFFFFF;
}

.info-bar-text {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #FFFFFF;
    font-weight: 600;
}
.info-bar-text .info-bar-day {
    display: block;
    font-weight: 700;
}
.info-bar-text .info-bar-date,
.info-bar-text .info-bar-time,
.info-bar-text .info-bar-address {
    display: block;
}

/* ==============================================================================
   SECTION 4: GOOGLE MAPS, ACTIONS & COUNTDOWN TIMER
   ============================================================================== */
.section-location-wrap {
    padding: 0 1.5rem 3.5rem;
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
}

.map-container-box {
    background: #FFFFFF;
    border: 1px solid var(--border-gold);
    border-radius: 0.85rem;
    padding: 0.65rem;
    box-shadow: var(--shadow-soft);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.map-iframe-elem {
    width: 100%;
    height: 340px;
    border: none;
    border-radius: 0.5rem;
    display: block;
}

.map-buttons-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    max-width: 480px;
    margin: 0 auto 3rem;
}

.btn-map-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.25rem;
    background: var(--gold-primary);
    color: #FFFFFF;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 0.5rem;
    box-shadow: 0 4px 14px rgba(189, 150, 62, 0.25);
    transition: all 0.2s ease;
}

.btn-map-gold:hover {
    background: #A98433;
    transform: translateY(-2px);
    color: #FFFFFF;
}

/* Countdown Bar (Placed directly after Map as per PDF reference) */
.countdown-minimal-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    margin: 0 auto;
    padding: 0.5rem 0 1rem;
}

.countdown-minimal-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 50px;
}

.countdown-minimal-num {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--navy-dark);
    line-height: 1;
    display: block;
}

.countdown-minimal-lbl {
    font-size: 0.82rem;
    color: var(--blue-muted);
    text-transform: capitalize;
    margin-top: 0.4rem;
}

.countdown-vertical-divider {
    font-size: 2.6rem;
    color: var(--gold-soft);
    font-weight: 300;
    line-height: 1;
    margin-top: -0.75rem;
}

/* ==============================================================================
   SECTION 5: RSVP & WISHES FORM
   ============================================================================== */
.section-rsvp-wrap {
    padding: 0 1.5rem 3.5rem;
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
}

.rsvp-heading-title {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 0.65rem;
}

.rsvp-subtitle-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
    max-width: 680px;
    margin: 0 auto 1.75rem;
}

.rsvp-card-form {
    background: #FFFFFF;
    border: 1px solid var(--border-gold);
    border-radius: 0.85rem;
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow-soft);
    text-align: left;
    max-width: 680px;
    margin: 0 auto;
}

.rsvp-fields-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}

.rsvp-input-box {
    width: 100%;
    background: #FFFDF9;
    border: 1px solid #E2D9C8;
    border-radius: 0.5rem;
    padding: 0.85rem 1rem;
    font-family: inherit;
    font-size: 0.92rem;
    color: var(--navy-dark);
    outline: none;
    transition: border-color 0.2s;
}

.rsvp-input-box:focus {
    border-color: var(--gold-primary);
}

.btn-rsvp-submit {
    width: 100%;
    margin-top: 0.85rem;
    padding: 0.95rem 1.5rem;
    background: linear-gradient(135deg, var(--gold-soft) 0%, var(--gold-primary) 100%);
    color: #FFFFFF;
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(189, 150, 62, 0.25);
    transition: all 0.2s ease;
}

.btn-rsvp-submit:hover {
    background: linear-gradient(135deg, #DFC07A 0%, #C79E45 100%);
}

/* ==============================================================================
   SECTION 6: FULL-WIDTH GOLD DHARMA QUOTE BAND
   ============================================================================== */
.quote-gold-band {
    background: var(--gold-band);
    padding: 2.75rem 2rem;
    margin: 2rem 0 3rem;
    text-align: center;
    color: #FFFFFF;
}

.quote-dharma-text {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.9;
    color: #FFFFFF;
    max-width: 780px;
    margin: 0 auto;
}

/* ==============================================================================
   SECTION 7: FAMILY PHOTO & TERIMAKASIH
   ============================================================================== */
.section-closing-wrap {
    padding: 0 1.5rem 2rem;
    text-align: center;
}

.family-circle-frame {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.75rem;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, #DFC07A 0%, var(--gold-primary) 100%);
    box-shadow: 0 8px 24px rgba(189, 150, 62, 0.28);
}

.family-circle-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    border: 3px solid #FFFFFF;
}

.script-terimakasih {
    font-family: var(--font-script);
    font-size: clamp(3.2rem, 6vw, 4.8rem);
    color: var(--navy-dark);
    line-height: 1.15;
    margin-bottom: 1.25rem;
    font-weight: 400;
}

.closing-paragraphs {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 1.5rem;
}

.script-santih {
    font-family: var(--font-script);
    font-size: clamp(2.4rem, 4.5vw, 3.4rem);
    color: var(--gold-primary);
    line-height: 1.25;
    margin: 1.75rem 0 1.5rem;
}

.closing-signoff-wrap {
    margin-top: 1.5rem;
}

.signoff-label {
    font-size: 0.9rem;
    color: var(--blue-muted);
    margin-bottom: 0.35rem;
}

.family-title-bold {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-dark);
}

.venue-sub-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: #574B3E;
    margin-top: 0.2rem;
}

/* ==============================================================================
   SECTION 8: FOOTER BALI ARTWORK & WATERMARK
   ============================================================================== */
.footer-artwork-container {
    width: 100%;
    overflow: hidden;
    margin-top: 2.5rem;
    line-height: 0;
}

.footer-bali-img {
    width: 100%;
    height: auto;
    display: block;
}

.brand-watermark-row {
    padding: 1.5rem 1rem 2.5rem;
    text-align: center;
    background: #E8EFE5;
    line-height: 1.5;
}

.watermark-app-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #64748B;
}

.watermark-app-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: #37535E;
    text-decoration: none;
}

/* ==============================================================================
   OPTIONAL / COMPATIBILITY SECTIONS (GIFT / GALLERY)
   ============================================================================== */
.section-card {
    background: #FFFFFF;
    border: 1px solid var(--border-gold);
    border-radius: 0.85rem;
    padding: 2rem 1.5rem;
    margin: 2rem 1.5rem;
    box-shadow: var(--shadow-soft);
    text-align: center;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.gold-divider-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 0.85rem auto 1.35rem;
}
.divider-line {
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}
.divider-diamond {
    color: var(--gold-primary);
    font-size: 0.8rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 0.5rem;
}

.host-title-badge {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-primary);
    background: rgba(189, 150, 62, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.bank-cards-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.bank-card {
    background: #FAF6EE;
    border: 1px solid rgba(189, 150, 62, 0.3);
    border-radius: 0.75rem;
    padding: 1.35rem;
    text-align: left;
}

.bank-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.65rem;
}

.bank-badge {
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--gold-primary);
    letter-spacing: 0.05em;
}

.bank-number {
    font-family: var(--font-sans);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy-dark);
    letter-spacing: 0.06em;
}

.bank-holder {
    font-size: 0.88rem;
    color: var(--blue-muted);
    margin-top: 0.2rem;
}

.btn-copy-card {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--gold-primary);
    border: none;
    border-radius: 0.45rem;
    color: #FFFFFF;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-copy-card:hover {
    background: #A98433;
}

/* ==============================================================================
   DESKTOP SCREEN EXPANSION (1024PX - 1440PX)
   Exact match to the 1440px PDF Canvas
   ============================================================================== */
@media (min-width: 1024px) {
    .cover-hero-section {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 2.5rem 2rem 3rem;
    }

    .cover-bg-image {
        height: 580px;
        opacity: 0.35;
        object-position: center top;
    }

    .cover-bg-overlay {
        height: 600px;
    }

    .cover-inner-content {
        max-width: 780px;
        margin-top: 0;
    }

    .cover-category-text {
        font-size: 0.95rem;
        letter-spacing: 0.5em;
        margin-bottom: 0.75rem;
    }

    .script-melaspas {
        font-size: 5.5rem;
        margin-bottom: 0.15rem;
    }

    .title-venue-bold {
        font-size: 2.65rem;
        letter-spacing: 0.1em;
        margin-bottom: 0.35rem;
    }

    .cover-date-spaced {
        font-size: 1rem;
        letter-spacing: 0.35em;
        margin-bottom: 1.75rem;
    }

    .guest-card-box {
        max-width: 540px;
        padding: 1.35rem 1.75rem;
        border-radius: 0.85rem;
        margin-bottom: 1.75rem;
        box-shadow: var(--shadow-desktop);
    }

    .guest-label-sub {
        font-size: 0.95rem;
        margin-bottom: 0.35rem;
    }

    .guest-name-cursive {
        font-size: 3.25rem;
        margin: 0.15rem 0 0.3rem;
    }

    .guest-note-apology {
        font-size: 0.85rem;
    }

    .btn-melaspas-open {
        max-width: 360px;
        padding: 1.05rem 2.5rem;
        font-size: 1rem;
        letter-spacing: 0.18em;
        border-radius: 0.55rem;
    }

    /* Section Salam on Desktop */
    .section-salam {
        padding: 5rem 3rem 4rem;
    }

    .salam-gold-filigree {
        width: 140px;
        margin-bottom: 1.5rem;
    }

    .script-greeting {
        font-size: 5.5rem;
        margin-bottom: 2rem;
    }

    .salam-body-text {
        font-size: 1.35rem;
        line-height: 2.2;
        max-width: 1050px;
        margin-bottom: 2rem;
    }

    /* Event Info Bar on Desktop */
    .section-agenda-wrap {
        padding: 0 3rem 3.5rem;
    }

    .event-info-bar {
        max-width: 1150px;
        padding: 1.85rem 2.5rem;
        border-radius: 1rem;
        box-shadow: var(--shadow-desktop);
    }

    .info-bar-col {
        gap: 1.25rem;
        padding: 0.5rem 1.25rem;
    }

    .info-bar-icon {
        width: 36px;
        height: 36px;
    }

    .info-bar-text {
        font-size: 1.15rem;
        line-height: 1.5;
    }

    /* Location on Desktop */
    .section-location-wrap {
        padding: 0 3rem 4.5rem;
        max-width: 1200px;
    }

    .map-container-box {
        padding: 1rem;
        border-radius: 1.25rem;
        margin-bottom: 2.25rem;
        box-shadow: var(--shadow-desktop);
    }

    .map-iframe-elem {
        height: 480px;
        border-radius: 0.85rem;
    }

    .map-buttons-row {
        max-width: 760px;
        gap: 1.75rem;
        margin-bottom: 4rem;
    }

    .btn-map-gold {
        padding: 1.25rem 2.5rem;
        font-size: 1.1rem;
        border-radius: 0.65rem;
    }

    /* Countdown on Desktop */
    .countdown-minimal-row {
        gap: 4.5rem;
        padding: 1rem 0 2rem;
    }

    .countdown-minimal-col {
        min-width: 120px;
    }

    .countdown-minimal-num {
        font-size: 5.5rem;
    }

    .countdown-minimal-lbl {
        font-size: 1.35rem;
        margin-top: 0.85rem;
    }

    .countdown-vertical-divider {
        font-size: 4.75rem;
        margin-top: -1.5rem;
    }

    /* RSVP Form on Desktop */
    .section-rsvp-wrap {
        padding: 0 3rem 5rem;
        max-width: 1200px;
    }

    .rsvp-heading-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .rsvp-subtitle-text {
        font-size: 1.25rem;
        line-height: 1.9;
        max-width: 920px;
        margin-bottom: 3rem;
    }

    .rsvp-card-form {
        max-width: 920px;
        padding: 2.75rem 3rem;
        border-radius: 1.25rem;
        box-shadow: var(--shadow-desktop);
    }

    .rsvp-fields-row {
        gap: 1.5rem;
        margin-bottom: 1.25rem;
    }

    .rsvp-input-box {
        padding: 1.15rem 1.35rem;
        font-size: 1.1rem;
        border-radius: 0.65rem;
    }

    .btn-rsvp-submit {
        padding: 1.25rem 2.5rem;
        font-size: 1.1rem;
        border-radius: 0.65rem;
        margin-top: 1.25rem;
    }

    /* Dharma Quote Band on Desktop */
    .quote-gold-band {
        padding: 4.5rem 3rem;
        margin: 4.5rem 0 5.5rem;
    }

    .quote-dharma-text {
        font-size: 1.85rem;
        line-height: 2.25;
        max-width: 1120px;
    }

    /* Closing & Family on Desktop */
    .section-closing-wrap {
        padding: 0 3rem 4rem;
        max-width: 1200px;
        margin: 0 auto;
    }

    .family-circle-frame {
        width: 280px;
        height: 280px;
        padding: 6px;
        margin-bottom: 2.5rem;
        box-shadow: 0 16px 40px rgba(189, 150, 62, 0.3);
    }

    .script-terimakasih {
        font-size: 5.75rem;
        margin-bottom: 1.75rem;
    }

    .closing-paragraphs {
        font-size: 1.35rem;
        line-height: 2.2;
        max-width: 1050px;
        margin-bottom: 2rem;
    }

    .script-santih {
        font-size: 4.25rem;
        margin: 3rem 0 2.5rem;
    }

    .signoff-label {
        font-size: 1.15rem;
    }

    .family-title-bold {
        font-size: 1.85rem;
    }

    .venue-sub-name {
        font-size: 1.45rem;
    }

    .footer-artwork-container {
        margin-top: 3.5rem;
    }

    .brand-watermark-row {
        padding: 2.5rem 1.5rem 3.5rem;
    }

    .watermark-app-title {
        font-size: 0.95rem;
    }

    .watermark-app-link {
        font-size: 1.05rem;
    }
}

/* ==============================================================================
   RESPONSIVE ACCESSIBILITY & COMPATIBILITY HELPERS
   ============================================================================== */
.countdown-box {
    display: none;
}
.countdown-num, .countdown-number {
    font-size: 3.25rem;
}

@keyframes spinVinyl {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Mobile Breakpoint (< 768px) */
@media (max-width: 767px) {
    body {
        background-color: var(--bg-page) !important;
    }

    .invitation-app-container,
    .app-container {
        border-left: none;
        border-right: none;
        box-shadow: none;
        width: 100%;
        overflow-x: hidden;
    }

    .cover-hero-section {
        padding: 2rem 1rem 2.5rem;
        min-height: 100vh;
        overflow-x: hidden;
    }

    .cover-bg-image {
        height: 480px;
        opacity: 0.28;
    }

    .cover-bg-overlay {
        height: 500px;
        background: linear-gradient(to bottom, 
            rgba(238, 231, 221, 0.60) 0%, 
            rgba(238, 231, 221, 0.90) 50%, 
            var(--bg-page) 100%
        );
    }

    .cover-inner-content {
        width: 100%;
        max-width: 100%;
    }

    .cover-category-text {
        font-size: 0.78rem;
        letter-spacing: 0.35em;
        margin-bottom: 0.25rem;
    }

    .script-melaspas {
        font-size: 3.25rem;
        line-height: 1.1;
    }

    .title-venue-bold {
        font-size: 1.55rem;
        letter-spacing: 0.05em;
        margin-bottom: 0.25rem;
    }

    .cover-date-spaced {
        font-size: 0.78rem;
        letter-spacing: 0.22em;
        margin-bottom: 1.5rem;
    }

    .guest-card-box {
        padding: 1.15rem 1rem;
        margin-bottom: 1.5rem;
        border-radius: 0.65rem;
    }

    .guest-label-sub {
        font-size: 0.8rem;
    }

    .guest-name-cursive {
        font-size: 2.35rem;
    }

    .guest-note-apology {
        font-size: 0.72rem;
        line-height: 1.35;
    }

    .btn-melaspas-open {
        max-width: 280px;
        padding: 0.85rem 1.75rem;
        font-size: 0.88rem;
    }

    .section-salam {
        padding: 2.75rem 1.25rem 2rem;
    }

    .salam-gold-filigree {
        width: 85px;
        margin-bottom: 0.75rem;
    }

    .script-greeting,
    .script-terimakasih {
        font-size: 2.85rem;
    }

    .salam-body-text {
        font-size: 0.92rem;
        line-height: 1.75;
    }

    .section-agenda-wrap {
        padding: 0 1rem 1.75rem;
    }

    .event-info-bar {
        grid-template-columns: 1fr;
        gap: 0.85rem;
        padding: 1.15rem 1rem;
        border-radius: 0.65rem;
    }

    .info-bar-col {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
        padding-bottom: 0.65rem;
        gap: 0.75rem;
    }

    .info-bar-col:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .info-bar-text {
        font-size: 0.85rem;
    }

    .section-location-wrap {
        padding: 0 1rem 2.5rem;
    }

    .map-container-box {
        padding: 0.45rem;
        border-radius: 0.65rem;
    }

    .map-iframe-elem {
        height: 250px;
    }

    .map-buttons-row {
        grid-template-columns: 1fr;
        gap: 0.65rem;
        margin-bottom: 2rem;
    }

    .btn-map-gold {
        padding: 0.85rem 1.25rem;
        font-size: 0.85rem;
    }

    .countdown-minimal-col {
        min-width: 52px;
    }

    .countdown-minimal-num {
        font-size: 2rem;
    }

    .countdown-minimal-lbl {
        font-size: 0.75rem;
    }

    .countdown-minimal-row {
        gap: 0.65rem;
    }

    .countdown-vertical-divider {
        font-size: 1.5rem;
        margin-top: -0.5rem;
    }

    .section-rsvp-wrap {
        padding: 0 1rem 2.5rem;
    }

    .rsvp-heading-title {
        font-size: 1.35rem;
    }

    .rsvp-subtitle-text {
        font-size: 0.88rem;
    }

    .rsvp-card-form {
        padding: 1.25rem 1rem;
        border-radius: 0.65rem;
    }

    .rsvp-fields-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .rsvp-input-box {
        font-size: 0.88rem;
        padding: 0.75rem 0.85rem;
    }

    .quote-gold-band {
        padding: 2rem 1.25rem;
        margin: 1.5rem 0 2rem;
    }

    .quote-dharma-text {
        font-size: 0.98rem;
        line-height: 1.75;
    }

    .family-circle-frame {
        width: 170px;
        height: 170px;
    }

    .closing-paragraphs {
        font-size: 0.92rem;
        line-height: 1.75;
    }

    .script-santih {
        font-size: 2.25rem;
    }
}
