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

:root {
    --gold: #c0c0c0;
    --gold-light: #e0e0e0;
    --silver: #d9e2ee;
    --ice: #f3f7ff;
    --dark: #000000;
    --dark-alt: #0d0d0d;
    --card-bg: rgba(255, 255, 255, 0.06);
    --card-border: rgba(255, 255, 255, 0.12);
    --accent-glow: rgba(255, 255, 255, 0.14);
    --accent-border: rgba(255, 255, 255, 0.08);
    --text: #ffffff;
    --text-muted: #aaaaaa;

    /* Typography System (Wedding Graphic Design Scale) */
    --font-display: 'Cinzel', serif;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* ══════════════════════════════════════════════
   BODY — Desktop: gray→black sides; center: phone
   ═════════════════════════════════════════════ */
body {
    font-family: var(--font-sans);
    background: linear-gradient(to right,
            #3a3a3a 0%,
            #111111 18%,
            #111111 82%,
            #3a3a3a 100%);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* All direct children stay phone-width */
body>*:not(audio) {
    width: 100%;
    max-width: 430px;
}

/* ── Graphic Design Typography Scale & Hierarchies ── */
h1,
h2,
h3,
h4,
.serif {
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: 0.5px;
}

h2,
.section-title {
    font-family: var(--font-serif);
    font-size: 1.95rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 16px;
    text-align: center;
    line-height: 1.2;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

/* Eyebrow Tags & Metadata */
.badge-text,
.quote-title {
    font-family: var(--font-sans);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.48);
    display: inline-block;
    margin-bottom: 3px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.text-center {
    text-align: center;
}

/* ══════════════════════════════════════════════
   COVER / HERO
   ═════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    max-height: 920px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    width: 100%;
    max-width: 430px;
    padding: 0;
}

/* ── Modern Dark Wedding Cover ── */
.cover-modern {
    height: 100vh;
    height: 100dvh;
    max-height: 920px;
    min-height: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #000000;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.cover-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/cover/cover.jpg');
    background-size: cover;
    background-position: center 45%;
    filter: brightness(0.85) contrast(1.08);
    transform: scale(1.03);
    animation: slowZoom 22s infinite alternate ease-in-out;
    z-index: 1;
}

@keyframes slowZoom {
    0% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1.10);
    }
}

.cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.3) 25%,
        rgba(0, 0, 0, 0.6) 60%,
        rgba(0, 0, 0, 0.92) 85%,
        #000000 100%
    );
    z-index: 2;
    pointer-events: none;
}

.cover-glow {
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(60px);
    z-index: 2;
    pointer-events: none;
}

.cover-container {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 24px;
    box-sizing: border-box;
    text-align: center;
}

/* Header Info */
.cover-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto 0;
    transform: translateY(-24px);
    width: 100%;
}

.cover-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.cover-badge .line {
    width: 28px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.45));
}

.cover-badge .line:last-child {
    background: linear-gradient(to left, transparent, rgba(255, 255, 255, 0.45));
}

.cover-badge .badge-text {
    font-family: var(--font-sans);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 3.5px;
    color: rgba(240, 244, 255, 0.85);
    text-transform: uppercase;
}

.cover-names {
    font-family: var(--font-serif);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-bottom: 14px;
    line-height: 0.95;
}

.cover-names .name {
    font-size: clamp(2.9rem, 10vw, 3.6rem);
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 255, 255, 0.15);
}

.cover-names .ampersand {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-style: italic;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    margin: -2px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.cover-date-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    color: rgba(225, 230, 245, 0.85);
    text-transform: uppercase;
}

.cover-date-pill i {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Footer Section: Guest & Open Button */
.cover-footer {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    width: 100%;
    padding: 0 24px;
    box-sizing: border-box;
}

.cover-guest {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
}

.cover-guest .guest-to {
    font-family: var(--font-sans);
    font-size: 0.62rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: rgba(220, 228, 240, 0.68);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.cover-guest .guest-name {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 500;
    font-style: italic;
    color: #ffffff;
    letter-spacing: 0.5px;
    line-height: 1.2;
    margin: 0 0 3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.cover-guest .guest-place {
    font-family: var(--font-sans);
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 1.8px;
    color: rgba(190, 200, 215, 0.5);
    text-transform: uppercase;
    margin: 0;
}

.open-invitation-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 30px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow: hidden;
}

.open-invitation-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 18px rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.open-invitation-btn i {
    font-size: 0.95rem;
    color: var(--gold);
    transition: transform 0.3s ease;
}

.open-invitation-btn:hover i {
    transform: scale(1.15);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: btnShimmer 3.5s infinite;
    pointer-events: none;
}

@keyframes btnShimmer {
    0% {
        left: -100%;
    }
    40%, 100% {
        left: 100%;
    }
}

.cover-exit {
    opacity: 0;
    transform: scale(1.03) translateY(-10px);
    pointer-events: none;
}

/* ══════════════════════════════════════════════
   MAIN CONTENT GATE
   ═════════════════════════════════════════════ */
#main-content.hidden {
    display: none;
}

#main-content {
    width: 100%;
    max-width: 430px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.content-enter {
    animation: contentFadeIn 0.5s ease forwards;
}

@keyframes contentFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ══════════════════════════════════════════════
   SECTIONS
   ═════════════════════════════════════════════ */
.section-dark,
.section-alt,
.section-black {
    padding: 64px 20px;
    width: 100%;
    box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.04);
}

#couple,
#countdown,
#location,
#gallery {
    padding: 24px 20px;
}

#rsvp,
#wishes,
#closing {
    padding: 24px 18px;
}

#tiktok {
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
    max-width: none !important;
    height: 100vh;
}

.section-dark {
    background: var(--dark);
}

.section-alt {
    background: #010208;
}

.section-alt .glass-card {
    background: rgba(255, 255, 255, 0.01);
    border-color: rgba(255, 255, 255, 0.03);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5), inset 0 0 1px rgba(255, 255, 255, 0.015);
}

.section-alt .btn-gold,
.section-alt .btn-outline {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(235, 240, 250, 0.92);
    border-color: rgba(255, 255, 255, 0.1);
}

.section-alt .btn-gold:hover,
.section-alt .btn-outline:hover {
    background: rgba(255, 255, 255, 0.11);
    color: rgba(235, 240, 250, 0.94);
}

.container {
    width: 100%;
    position: relative;
    z-index: 2;
}

.section-lead {
    font-family: var(--font-sans);
    color: rgba(235, 240, 255, 0.7);
    font-size: 0.74rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 12px;
    line-height: 1.6;
}

/* ══════════════════════════════════════════════
   GLASS CARD
   ═════════════════════════════════════════════ */
.glass-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25), inset 0 0 1px rgba(255, 255, 255, 0.05);
}

.section-alt .glass-card {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32), inset 0 0 1px rgba(255, 255, 255, 0.04);
}

/* ══════════════════════════════════════════════
   QUOTE SECTION
   ═════════════════════════════════════════════ */
.section-black {
    background: #000000;
    padding: 80px 20px;
    width: 100%;
}

.quote-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.quote-title {
    margin-bottom: 12px;
}

.bismillah {
    font-family: 'Amiri', 'Traditional Arabic', 'Scheherazade New', 'Noto Naskh Arabic', serif;
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 auto 14px;
    direction: rtl;
    text-align: center;
    letter-spacing: 0.5px;
}

.holy-quote {
    font-family: var(--font-serif);
    font-size: 1.24rem;
    font-style: italic;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.85;
    margin: 0 auto;
    position: relative;
    max-width: 90%;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* Aesthetic large quotation marks */
.holy-quote::before,
.holy-quote::after {
    font-family: var(--font-serif);
    color: rgba(255, 255, 255, 0.12);
    font-size: 3.8rem;
    position: absolute;
    line-height: 1;
}

.holy-quote::before {
    content: '“';
    top: -20px;
    left: -18px;
}

.holy-quote::after {
    content: '”';
    bottom: -38px;
    right: -18px;
}

.quote-divider {
    width: 44px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 28px auto 22px;
}

.quote-blessing {
    font-family: var(--font-sans);
    font-size: 0.76rem;
    font-weight: 300;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.5px;
    max-width: 85%;
    margin: 0 auto;
}

/* ══════════════════════════════════════════════
   THE COUPLE — Ultra-Minimalist Editorial Dark
   ═════════════════════════════════════════════ */
.couple-section-modern {
    padding: 20px 16px !important;
    position: relative;
    background: #000000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    min-height: 100vh;
    box-sizing: border-box;
    overflow: hidden;
}

.couple-section-modern .container {
    max-width: 410px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Minimalist Editorial Header */
.couple-minimal-header {
    text-align: center;
    margin-bottom: 14px;
}



.couple-minimal-title {
    font-family: var(--font-serif);
    font-size: 1.95rem;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 1px;
    margin: 0;
    line-height: 1.15;
}

.couple-minimal-title em {
    font-style: italic;
    color: rgba(220, 225, 235, 0.7);
    font-weight: 300;
    margin: 0 4px;
}

/* Modern Editorial Side-by-Side Cards */
.couple-editorial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    max-width: 390px;
    position: relative;
}

/* Ampersand center symbol */
.couple-ampersand {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-style: italic;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.18);
    line-height: 1;
    pointer-events: none;
    z-index: 10;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.12);
    letter-spacing: -1px;
    user-select: none;
}

.couple-editorial-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    padding: 10px 10px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    pointer-events: none;
}

/* Clean Pristine Photo Frame */
.editorial-photo-wrap {
    width: 100%;
    height: clamp(170px, 24vh, 215px);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #ffffff;
    margin-bottom: 10px;
}

.editorial-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: none;
    display: block;
    filter: brightness(0.98) contrast(1.03);
}

/* Groom & Bride photos are precision-cropped 4:5 portraits in images/foto-mempelai/
   framed so Lugas (left, looking up-right) and Robbi (right, looking down-left) lock eyes */
.groom-card .editorial-photo-wrap img,
.bride-card .editorial-photo-wrap img {
    transform: none;
    object-position: center center;
}

/* Minimalist Role Tag */
.editorial-role {
    font-family: var(--font-sans);
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
    display: block;
}

/* Balanced Editorial Name */
.editorial-name {
    font-family: var(--font-serif);
    font-size: 1.18rem;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.5px;
    line-height: 1.25;
    margin: 0 0 6px;
    min-height: 2.3em;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Understated Family Line */
.editorial-parents {
    font-family: var(--font-sans);
    font-size: 0.66rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.45;
    margin: 0;
    font-weight: 300;
}

.editorial-parents strong {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}


/* ══════════════════════════════════════════════
   OUR WEDDING DAY — Elegant Rich Layout
   ═════════════════════════════════════════════ */
.our-day-section-v2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

/* Subtle radial glow behind the section */
.our-day-section-v2::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    pointer-events: none;
}

.our-day-section-v2 .container {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Ornaments */
.wd-ornament-top,
.wd-ornament-bottom {
    display: flex;
    justify-content: center;
    opacity: 0.8;
}

.wd-ornament-top {
    margin-bottom: 16px;
}

.wd-ornament-bottom {
    margin-top: 8px;
}

/* Eyebrow */
.wd-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.55rem;
    font-weight: 500;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-bottom: 6px;
}

/* Header */
.wedding-day-header {
    margin-bottom: 22px;
    text-align: center;
}

.wedding-day-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.5px;
    line-height: 1.2;
    margin: 0 0 8px;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.06);
}

.wedding-day-date {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

/* ── Countdown Ring Grid ────────────────── */
.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 0 auto 22px;
    width: 100%;
    max-width: 320px;
}

.countdown-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.countdown-ring {
    position: relative;
    width: 62px;
    height: 62px;
}

.countdown-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 2;
}

.ring-fg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.45);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 226.2;
    stroke-dashoffset: 226.2;
    transition: stroke-dashoffset 1s ease;
}

.countdown-num {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1;
    letter-spacing: -0.5px;
}

.countdown-label {
    font-family: var(--font-sans);
    font-size: 0.52rem;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

/* ── Elegant Divider ────────────────────── */
.wd-elegant-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 22px;
    width: 60%;
}

.wd-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
}

.wd-divider-icon {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.5);
    animation: wd-pulse 3s ease-in-out infinite;
}

@keyframes wd-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.15); }
}

/* ── Event Cards ────────────────────────── */
.wd-events-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-bottom: 20px;
}

.wd-event-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 14px;
    padding: 16px 16px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Subtle shimmer on hover (desktop) */
.wd-event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.02), transparent);
    transition: left 0.6s ease;
}

.wd-event-card:hover::before {
    left: 100%;
}

.wd-event-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.03);
}

.wd-event-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.wd-event-icon-wrap i {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.wd-event-name {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: 0.3px;
    margin: 0 0 8px;
}

.wd-event-detail {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.wd-event-detail i {
    font-size: 0.58rem;
    color: rgba(255, 255, 255, 0.55);
    width: 14px;
    text-align: center;
}

.wd-event-detail span {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.3px;
}

/* ── Calendar Button ────────────────────── */
.wd-calendar-wrap {
    text-align: center;
    width: 100%;
    margin-bottom: 8px;
}

.wd-save-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-sans);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.wd-save-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
    color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.06);
}

.wd-save-btn i {
    font-size: 0.72rem;
    opacity: 0.85;
}







.time-box {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 16px 8px;
    border-radius: 16px;
    min-width: 85px;
    text-align: center;
    font-size: 0.7rem;
    color: rgba(230, 235, 245, 0.96);
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.08), 0 10px 20px rgba(0, 0, 0, 0.18);
    position: relative;
    overflow: hidden;
}

.time-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.55);
    opacity: 0.35;
}

.time-box span {
    display: block;
    font-size: 2.2rem;
    font-family: 'Cormorant Garamond', serif;
    color: #ffffff;
    margin-bottom: 2px;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
}

/* ══════════════════════════════════════════════
   BUTTONS
   ═════════════════════════════════════════════ */
.btn {
    padding: 11px 26px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.btn-gold {
    background: var(--gold);
    color: #000;
}

.btn-gold:hover {
    background: var(--gold-light);
    box-shadow: 0 0 18px rgba(192, 192, 192, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: #000;
}

.btn-block {
    width: 100%;
    margin-top: 18px;
    text-align: center;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.8rem;
}

/* ══════════════════════════════════════════════
   DATE SHOWCASE (Our Day section)
   ═════════════════════════════════════════════ */
.date-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 4px 0 16px;
    gap: 0;
    position: relative;
}

.ds-month {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 5px;
    color: rgba(192, 192, 192, 0.5);
    text-transform: uppercase;
    margin-bottom: 2px;
}

.ds-day-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ds-day-wrap::before,
.ds-day-wrap::after {
    content: '';
    display: block;
    width: 36px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.15));
    margin: 0 12px;
}

.ds-day-wrap::after {
    background: linear-gradient(to left, transparent, rgba(255, 255, 255, 0.15));
}

.ds-day {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4.2rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 0.9;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.12), 0 2px 8px rgba(0, 0, 0, 0.4);
    letter-spacing: -2px;
}

.ds-rule {
    width: 40px;
    height: 1px;
    background: var(--gold);
    opacity: 0.5;
    margin: 6px 0 4px;
    box-shadow: 0 0 8px rgba(192, 192, 192, 0.3);
}

.ds-bottom {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ds-weekday {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--gold);
    letter-spacing: 1px;
}

.ds-dot {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.2);
    line-height: 1;
}

.ds-year {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 3px;
    color: rgba(192, 192, 192, 0.45);
    text-transform: uppercase;
}

/* ══════════════════════════════════════════════
   EVENTS GRID LAYOUT
   ═════════════════════════════════════════════ */
.event-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
    margin-bottom: 18px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 480px) {
    .event-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        max-width: 100%;
    }
}

.event-card {
    padding: 12px 10px;
    position: relative;
    overflow: hidden;
}

.event-card h3 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 6px;
    line-height: 1.2;
    font-weight: 600;
}

.event-date,
.event-time {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 4px;
    font-weight: 400;
}

.event-date i,
.event-time i {
    color: var(--gold);
    margin-right: 8px;
    width: 16px;
}

.event-date,
.event-time {
    font-size: 0.88rem;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 500;
}

.event-date i,
.event-time i {
    color: var(--gold);
    margin-right: 8px;
    width: 16px;
}

.event-location {
    color: var(--text-muted);
    margin-bottom: 18px;
    font-size: 0.84rem;
    line-height: 1.6;
}

/* ══════════════════════════════════════════════
   DATE INLINE ROW (Our Day section)
   ═════════════════════════════════════════════ */
.date-inline-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 4px 0 22px;
    flex-wrap: nowrap;
}

.dir-month,
.dir-year {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: rgba(192, 192, 192, 0.65);
    text-transform: uppercase;
}

.dir-day {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
}

.dir-dayname {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-style: italic;
    color: var(--gold);
    letter-spacing: 1.5px;
}

.dir-sep {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.2);
}

.dir-divider {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.15);
    margin: 0 2px;
}

/* ══════════════════════════════════════════════
   LOCATION FULL BLEED MAP
   ═════════════════════════════════════════════ */
.location-fullbleed {
    display: flex;
    flex-direction: column;
    padding: 0 !important;
}

.location-header {
    min-height: 25vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px 20px;
    text-align: center;
    flex-shrink: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.15) 100%);
}

.location-header h2 {
    font-family: var(--font-serif);
    font-size: 1.95rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.location-address {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.5px;
    line-height: 1.55;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.location-address i {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.map-container-fullbleed {
    flex: 1;
    width: 100%;
    min-height: 380px;
    overflow: hidden;
    display: flex;
    position: relative;
    touch-action: pan-y !important;
}

#map {
    width: 100%;
    height: 100%;
    min-height: 380px;
    display: block;
    z-index: 1;
    cursor: default;
    touch-action: pan-y !important;
    user-select: none;
    -webkit-user-select: none;
}

#map .leaflet-container,
#map .leaflet-pane,
#map .leaflet-map-pane,
#map .leaflet-tile-pane,
#map .leaflet-layer,
#map .leaflet-tile-container,
#map .leaflet-tile {
    touch-action: pan-y !important;
    -webkit-user-drag: none;
    user-select: none;
}

.custom-map-pin-wrap,
.custom-map-pin,
.map-popup-card,
.leaflet-popup,
.leaflet-control-container,
.leaflet-bar {
    cursor: pointer;
    touch-action: auto !important;
}

.map-container-fullbleed iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    min-height: 380px;
}

/* ── Leaflet Custom Dark Theme Styles ── */
.custom-map-pin-wrap {
    background: transparent;
    border: none;
}

.custom-map-pin {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.custom-map-pin .pin-icon {
    font-size: 32px;
    color: var(--gold-light);
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.9));
    z-index: 2;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-map-pin:hover .pin-icon {
    transform: scale(1.2);
    color: #ffffff;
}

.custom-map-pin .pin-pulse {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(220, 225, 235, 0.45);
    animation: pinRipple 2s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1;
}

@keyframes pinRipple {
    0% {
        transform: scale(0.6);
        opacity: 0.9;
    }
    100% {
        transform: scale(2.6);
        opacity: 0;
    }
}

.leaflet-container {
    background: #000000 !important;
    font-family: var(--font-sans) !important;
}

#map .esri-dark-base {
    filter: contrast(200%) brightness(55%);
    -webkit-filter: contrast(200%) brightness(55%);
}

#map .esri-dark-labels {
    filter: brightness(1.4) contrast(1.1);
    -webkit-filter: brightness(1.4) contrast(1.1);
}

.leaflet-popup-content-wrapper {
    background: rgba(10, 14, 23, 0.94) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2px 0;
}

.leaflet-popup-tip {
    background: rgba(10, 14, 23, 0.94) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.leaflet-popup-content {
    margin: 12px 16px !important;
    line-height: 1.4;
}

.map-popup-card {
    text-align: center;
}

.map-popup-card h4 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin: 0 0 4px;
}

.map-popup-card p {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 300;
    color: rgba(210, 215, 225, 0.85);
    margin: 0 0 10px;
    line-height: 1.4;
}

.map-popup-card .map-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
}

.leaflet-bar a {
    background-color: rgba(12, 16, 26, 0.88) !important;
    color: #eef4ff !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

.leaflet-bar a:hover {
    background-color: rgba(30, 36, 52, 0.95) !important;
    color: #ffffff !important;
}

.leaflet-control-attribution {
    background: rgba(0, 0, 0, 0.65) !important;
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 9px !important;
}

.leaflet-control-attribution a {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Map Container */
.map-container {
    width: 100%;
    height: 60vh;
    min-height: 400px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Location section: map fills remaining space */
#location {
    display: flex;
    flex-direction: column;
}

#location .container {
    display: flex;
    flex-direction: column;
    flex: 1;
}

#location .glass-card {
    display: flex;
    flex-direction: column;
    flex: 1;
}

#location .map-container {
    flex: 1;
    height: auto;
    min-height: 300px;
    border-radius: 0;
}

/* ══════════════════════════════════════════════
   GALLERY
   ═════════════════════════════════════════════ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin-top: 8px;
}

.gallery-img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.gallery-img:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.6);
}

/* ══════════════════════════════════════════════
   INSTAGRAM EMBED
   ═════════════════════════════════════════════ */
.ig-embed-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

/* ══════════════════════════════════════════════
   GLOBAL SCROLL-SNAP & ENTRANCE ANIMATIONS (Web Base & Mobile)
   ═════════════════════════════════════════════ */
html,
body {
    height: 100%;
    overflow: hidden;
    /* Prevent double scrollbars on desktop viewports */
}

/* Make main content the scroll container and snap by section */
#main-content {
    height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
    /* Hide default scrollbar in Firefox */
}

#main-content::-webkit-scrollbar {
    display: none;
    /* Hide default scrollbar in Chrome/Safari/Edge */
}

/* Each direct section becomes a full-screen snap point */
#main-content>section {
    min-height: 100vh;
    height: 100vh;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 18px;
    box-sizing: border-box;
}

/* TikTok section override: no padding */
#main-content>section#tiktok {
    padding: 0 !important;
    margin: 0 !important;
}

/* Location section: fullbleed map, no padding */
#main-content>section#location {
    justify-content: flex-start;
    padding: 0 !important;
}

#main-content>section#location .location-header {
    padding: 28px 20px 14px;
    flex-shrink: 0;
}

#main-content>section#location .map-container-fullbleed {
    flex: 1;
    min-height: 0;
}

#main-content>section#location .map-container-fullbleed #map,
#main-content>section#location .map-container-fullbleed iframe {
    height: 100%;
    min-height: 0;
    width: 100%;
}

/* Ensure inner containers use full width inside the snap sections */
#main-content .container {
    width: 100%;
}

/* ══════════════════════════════════════════════
   REVEAL & SCROLL ENTRANCE ANIMATIONS
   ═════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.section-in .reveal,
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Base animation state applied to sections */
.section-anim {
    opacity: 0.2;
    transition: opacity 500ms ease;
}

.section-in.section-anim {
    opacity: 1;
}

/* Section: Quote (Q.S. Ar-Rum : 21) */
.anim-fade .reveal {
    transform: none;
}

.anim-fade .quote-title {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.05s, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
    will-change: opacity, transform;
}

.anim-fade .bismillah {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.12s, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.12s;
    will-change: opacity, transform;
}

.anim-fade .holy-quote {
    opacity: 0;
    transform: translateY(10px) scale(0.99);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.22s, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.22s;
    will-change: opacity, transform;
}

.anim-fade .quote-divider {
    width: 0 !important;
    opacity: 0;
    transition: width 0.75s ease 0.35s, opacity 0.75s ease 0.35s;
}

.anim-fade .quote-blessing {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.4s, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
    will-change: opacity, transform;
}

.section-in.anim-fade .quote-title,
.section-in.anim-fade .bismillah,
.section-in.anim-fade .quote-blessing {
    opacity: 1;
    transform: translateY(0);
}

.section-in.anim-fade .holy-quote {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.section-in.anim-fade .quote-divider {
    width: 60px !important;
    opacity: 1;
}

/* Section: The Couple */
.anim-slide-up .reveal {
    transform: none;
}

/* Card Cowo: dari atas ke bawah */
/* Card Kiri (pertama): dari atas ke bawah */
.anim-slide-up .couple-editorial-card:first-child {
    opacity: 0;
    transform: translateY(-80px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.05s, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
    will-change: opacity, transform;
}

/* Card Kanan (kedua): dari bawah ke atas */
.anim-slide-up .couple-editorial-card:last-child {
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.05s, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
    will-change: opacity, transform;
}

/* Lalu tulisan The Couple muncul */
.anim-slide-up .couple-minimal-header {
    opacity: 0;
    transform: translateY(-16px) scale(0.96);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.55s, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.55s;
    will-change: opacity, transform;
}

/* Dan icon & nya muncul */
.anim-slide-up .couple-ampersand {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2);
    transition: opacity 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) 0.65s, transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) 0.65s;
    will-change: opacity, transform;
}

/* Saat section masuk viewport */
.section-in.anim-slide-up .couple-editorial-card:first-child,
.section-in.anim-slide-up .groom-card,
.section-in.anim-slide-up .couple-editorial-card:last-child,
.section-in.anim-slide-up .bride-card {
    opacity: 1;
    transform: translateY(0);
}

.section-in.anim-slide-up .couple-minimal-header {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.section-in.anim-slide-up .couple-ampersand {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}


/* Section: Our Day / Countdown */
.anim-count .wedding-day-header {
    opacity: 0;
    transform: translateY(-14px);
    transition: all 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-count .countdown-capsule {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
    transition: all 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.anim-count .wd-divider {
    opacity: 0;
    transition: all 0.6s ease 0.2s;
}

.anim-count .wd-ceremony-list {
    opacity: 0;
    transform: translateY(14px);
    transition: all 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}

.anim-count .calendar-action-wrap {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.38s;
}

.section-in.anim-count .wedding-day-header,
.section-in.anim-count .countdown-capsule,
.section-in.anim-count .wd-divider,
.section-in.anim-count .wd-ceremony-list,
.section-in.anim-count .calendar-action-wrap {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}



/* Section: Location */
.anim-zoom .location-header {
    opacity: 0;
    transform: translateY(-24px);
    transition: all 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-zoom .map-container-fullbleed {
    opacity: 0;
    transform: scale(0.94);
    transition: all 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.section-in.anim-zoom .location-header {
    opacity: 1;
    transform: translateY(0);
}

.section-in.anim-zoom .map-container-fullbleed {
    opacity: 1;
    transform: scale(1);
}

.location-address i {
    display: inline-block;
    animation: pinBounce 2.5s ease-in-out infinite;
    color: #ff5252;
}

@keyframes pinBounce {
    0%, 100% { transform: translateY(0); }
    30% { transform: translateY(-6px); }
    50% { transform: translateY(-2px); }
}

/* Section: Love Gallery */
.anim-gallery h2 {
    opacity: 0;
    transform: translateY(-16px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-gallery .gallery-img {
    opacity: 0;
    transform: translateY(28px) scale(0.92);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-in.anim-gallery h2 {
    opacity: 1;
    transform: translateY(0);
}

.section-in.anim-gallery .gallery-img {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.section-in.anim-gallery .gallery-img:nth-child(1) { transition-delay: 0.04s; }
.section-in.anim-gallery .gallery-img:nth-child(2) { transition-delay: 0.08s; }
.section-in.anim-gallery .gallery-img:nth-child(3) { transition-delay: 0.12s; }
.section-in.anim-gallery .gallery-img:nth-child(4) { transition-delay: 0.16s; }
.section-in.anim-gallery .gallery-img:nth-child(5) { transition-delay: 0.20s; }
.section-in.anim-gallery .gallery-img:nth-child(6) { transition-delay: 0.24s; }
.section-in.anim-gallery .gallery-img:nth-child(7) { transition-delay: 0.28s; }
.section-in.anim-gallery .gallery-img:nth-child(8) { transition-delay: 0.32s; }
.section-in.anim-gallery .gallery-img:nth-child(9) { transition-delay: 0.36s; }
.section-in.anim-gallery .gallery-img:nth-child(10) { transition-delay: 0.40s; }
.section-in.anim-gallery .gallery-img:nth-child(11) { transition-delay: 0.44s; }
.section-in.anim-gallery .gallery-img:nth-child(12) { transition-delay: 0.48s; }

/* Section: TikTok Video */
.anim-video .video-info {
    opacity: 0;
    transform: translateX(-35px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.anim-video .action-buttons {
    opacity: 0;
    transform: translateX(35px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.section-in.anim-video .video-info,
.section-in.anim-video .action-buttons {
    opacity: 1;
    transform: translateX(0);
}

.action-item.audio-disc img {
    animation: audioDiscSpin 5s linear infinite;
}

@keyframes audioDiscSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Section: Wedding Gift */
.anim-gift h2 {
    opacity: 0;
    transform: translateY(-16px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-gift .atm-card.bca-card {
    opacity: 0;
    transform: translateX(-36px) rotate(-1.5deg);
    transition: all 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.12s;
}

.anim-gift .atm-card.mandiri-card {
    opacity: 0;
    transform: translateX(36px) rotate(1.5deg);
    transition: all 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.24s;
}

.anim-gift .atm-card.address-card {
    opacity: 0;
    transform: translateY(32px);
    transition: all 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.36s;
}

.section-in.anim-gift h2,
.section-in.anim-gift .atm-card {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg);
}

/* Section: Closing — staggered per element */
.anim-closing .closing-title {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-closing .closing-message {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.18s,
                transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.18s;
}

.anim-closing .closing-divider {
    opacity: 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: opacity 0.6s ease 0.32s,
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.32s;
}

.anim-closing .closing-names {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.44s,
                transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.44s;
}

.section-in.anim-closing .closing-title,
.section-in.anim-closing .closing-message,
.section-in.anim-closing .closing-names {
    opacity: 1;
    transform: translateY(0);
}

.section-in.anim-closing .closing-divider {
    opacity: 1;
    transform: scaleX(1);
}

.closing-names p {
    animation: softHeartBeat 4s ease-in-out infinite 0.8s;
}

@keyframes softHeartBeat {
    0%, 100% { text-shadow: 0 0 10px rgba(255, 255, 255, 0.2); }
    50% { text-shadow: 0 0 25px rgba(255, 255, 255, 0.45); }
}

/* Override Instagram's iframe border/background */
.ig-embed-wrap iframe {
    border-radius: 16px !important;
    background: #1a1a1a !important;
}

/* ══════════════════════════════════════════════
   MODERN MINIMALIST DARK RSVP
   ═════════════════════════════════════════════ */
.anim-form .rsvp-modern-card {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.section-in.anim-form .rsvp-modern-card {
    opacity: 1;
    transform: translateY(0);
}

.rsvp-modern-section {
    padding: 24px 16px !important;
    position: relative;
    background: #000000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    min-height: 100vh;
    box-sizing: border-box;
    overflow: hidden;
}

.rsvp-modern-section .container {
    max-width: 380px;
    width: 100%;
    margin: 0 auto;
}

.rsvp-modern-card {
    position: relative;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 18px;
    padding: 16px 16px 14px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25), inset 0 0 1px rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    width: 100%;
    margin: 0 auto;
}

.rsvp-header {
    margin-bottom: 8px;
    text-align: center;
}



.rsvp-title {
    font-family: var(--font-serif);
    font-size: 1.55rem;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin: 0 0 3px;
    line-height: 1.15;
}

.rsvp-subtitle {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    margin: 0;
    line-height: 1.45;
}

.rsvp-form-modern {
    text-align: left;
}

.rsvp-field {
    margin-bottom: 8px;
}

.rsvp-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-sans);
    font-size: 0.66rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.rsvp-label i {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.4);
}

.rsvp-form-modern input[type="text"],
.rsvp-form-modern textarea {
    width: 100%;
    padding: 7px 10px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 0.76rem;
    font-weight: 400;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.rsvp-form-modern input[type="text"]::placeholder,
.rsvp-form-modern textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
    font-family: var(--font-sans);
    font-size: 0.76rem;
    font-weight: 300;
}

.rsvp-form-modern input[type="text"]:focus,
.rsvp-form-modern textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.035);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.03);
}

.rsvp-form-modern textarea {
    resize: none;
    min-height: 44px;
    line-height: 1.4;
}

/* Minimalist Attendance Radio */
.rsvp-attendance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.attendance-card {
    position: relative;
    cursor: pointer;
    margin: 0;
    display: block;
    user-select: none;
}

.attendance-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.attendance-card .card-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 10px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.4px;
    transition: all 0.2s ease;
}

.attendance-card .card-inner i {
    font-size: 0.7rem;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.attendance-card:hover .card-inner {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
}

.attendance-card input[type="radio"]:checked + .card-inner {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.attendance-card input[type="radio"]:checked + .card-inner i {
    opacity: 1;
}

/* Sleek Dark Minimalist Button */
.rsvp-submit-btn {
    width: 100%;
    margin-top: 2px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: all 0.25s ease;
}

.rsvp-submit-btn:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-1px);
}

.rsvp-submit-btn:active {
    transform: translateY(0);
}

/* Backward compatibility fallbacks */
.rsvp-card-compact {
    padding: 24px !important;
}

.rsvp-form {
    text-align: left;
    margin-top: 12px;
}

/* ══════════════════════════════════════════════
   WISHES LIST
   ═════════════════════════════════════════════ */
.wishes-card-compact {
    padding: 18px !important;
    height: auto;
    max-height: 65vh;
    overflow: visible;
}

.wishes-container-compact {
    max-height: 55vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px;
    -webkit-overflow-scrolling: touch;
}

.wishes-container-compact::-webkit-scrollbar {
    width: 5px;
}

.wishes-container-compact::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
    margin: 2px;
}

.wishes-container-compact::-webkit-scrollbar-thumb {
    background: var(--gold-light);
    border-radius: 4px;
    min-height: 40px;
}

.wishes-container-compact::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* ══════════════════════════════════════════════
   CLOSING GRATITUDE
   ═════════════════════════════════════════════ */
.closing-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 28px 18px 8px !important;
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
}

.closing-section .container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.closing-content {
    position: relative;
    width: 100%;
    max-width: 380px;
    text-align: center;
}



.closing-title {
    font-family: var(--font-serif);
    font-size: 2.6rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.15;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 20px rgba(255, 255, 255, 0.15);
}

.closing-message {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-style: italic;
    font-weight: 400;
    color: rgba(235, 240, 255, 0.75);
    line-height: 1.85;
    margin-bottom: 24px;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.closing-divider {
    width: 44px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 20px auto;
}

.closing-names {
    font-family: var(--font-serif);
    font-size: 1.65rem;
    font-style: italic;
    font-weight: 400;
    color: #ffffff;
    margin-top: 18px;
    letter-spacing: 1px;
    text-shadow: 0 2px 14px rgba(255, 255, 255, 0.15);
}

.closing-names p {
    margin: 0;
}


/* ══════════════════════════════════════════════
   FOOTER
   ═════════════════════════════════════════════ */
footer {
    text-align: center;
    padding: 12px 20px;
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    max-width: 430px;
    margin-top: auto;
    box-sizing: border-box;
}

footer p {
    color: rgba(255, 255, 255, 0.35);
    font-family: var(--font-sans);
    font-size: 0.62rem;
    font-weight: 400;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin: 0;
}

/* ══════════════════════════════════════════════
   REVEAL ANIMATION
   ═════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.85s ease, transform 0.85s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════════════════════════════════════
   UTILITIES
   ═════════════════════════════════════════════ */
.mt-30 {
    margin-top: 28px;
}

/* ══════════════════════════════════════════════
   WISHES LIST
   ═════════════════════════════════════════════ */
.wishes-container {
    max-height: 340px;
    overflow-y: auto;
    padding-right: 6px;
}

.wishes-container::-webkit-scrollbar {
    width: 4px;
}

.wishes-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
}

.wishes-container::-webkit-scrollbar-thumb {
    background: var(--gold-light);
    border-radius: 4px;
}

.wish-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 12px;
}

.wish-item h4 {
    color: var(--gold);
    margin-bottom: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.92rem;
}

.wish-item .badge {
    font-size: 0.68rem;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
    vertical-align: middle;
}

.wish-item .badge.hadir {
    background: rgba(76, 175, 80, 0.18);
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.wish-item .badge.tidak-hadir {
    background: rgba(244, 67, 54, 0.18);
    color: #f44336;
    border: 1px solid #f44336;
}

.wish-item .date {
    font-size: 0.74rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    display: block;
    font-family: 'Montserrat', sans-serif;
}

.wish-item p {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text);
}

/* ══════════════════════════════════════════════
   GALLERY MODAL (LIGHTBOX)
   ═════════════════════════════════════════════ */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    overflow: hidden;
    animation: fadeInModal 0.3s ease;
}

@keyframes fadeInModal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    margin: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 20px;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2002;
    transition: background 0.25s ease, transform 0.25s ease;
}

.modal-nav:hover {
    background: rgba(255, 255, 255, 0.16);
}

.modal-prev {
    left: 14px;
}

.modal-next {
    right: 14px;
}

#modal-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(192, 192, 192, 0.2);
    animation: zoomIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #ffffff;
}

.modal-caption {
    margin-top: 20px;
    color: #ffffff;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-style: italic;
    text-align: center;
    letter-spacing: 0.5px;
}

/* ══════════════════════════════════════════════
   WEDDING GIFT - ATM CARD STYLE
   ═════════════════════════════════════════════ */
.gift-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centered horizontally */
    gap: 12px;
    margin-top: 20px;
    width: 100%;
}

.atm-card {
    position: relative;
    width: 100%;
    max-width: 280px;
    aspect-ratio: 1.8 / 1;
    border-radius: 14px;
    /* Reduced from 16px */
    padding: 14px;
    /* Reduced from 16px */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}

.atm-card:hover {
    transform: translateY(-4px) rotateX(2deg) rotateY(2deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}

/* BCA Gradient */
.bca-card {
    background: linear-gradient(135deg, #093c7f 0%, #001235 100%);
}

/* Mandiri Gradient */
.mandiri-card {
    background: linear-gradient(135deg, #1c4b8b 0%, #0c2046 100%);
}

/* Address Card Gradient - Rich gold/bronze */
.address-card {
    background: linear-gradient(135deg, #a6843c 0%, #463412 100%);
}

/* Card Header */
.atm-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* ATM SIM Chip */
.atm-chip {
    width: 30px;
    /* Reduced from 38px */
    height: 22px;
    /* Reduced from 28px */
    background: linear-gradient(135deg, #ffe082 0%, #ffb300 100%);
    border-radius: 4px;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.atm-chip-silver {
    width: 30px;
    /* Reduced from 38px */
    height: 22px;
    /* Reduced from 28px */
    background: linear-gradient(135deg, #e0e0e0 0%, #9e9e9e 100%);
    border-radius: 4px;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

/* Add chip card texture grid lines */
.atm-chip::after,
.atm-chip-silver::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    pointer-events: none;
}

.bank-logo-wrap {
    padding: 4px 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.bank-logo-atm {
    height: 26px;
    object-fit: contain;
}

/* BCA logo needs larger size */
.bca-card .bank-logo-atm {
    height: 40px;
}

.gift-card-title {
    font-family: var(--font-sans);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
}

/* Card Body */
.atm-card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 6px 0;
    width: 100%;
}

.card-number-label {
    font-family: var(--font-sans);
    font-size: 0.48rem;
    font-weight: 500;
    letter-spacing: 1.2px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    margin-bottom: 1px;
}

.card-number {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.18rem;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 2.5px;
    text-shadow: 1px 1.5px 2px rgba(0, 0, 0, 0.6);
    text-align: left;
}

.card-address {
    font-family: var(--font-sans);
    font-size: 0.66rem;
    color: #ffffff;
    line-height: 1.4;
    text-align: left;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

/* Card Footer */
.atm-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}

.card-holder {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card-holder-label {
    font-family: var(--font-sans);
    font-size: 0.46rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    margin-bottom: 1px;
}

.card-holder-name {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
}

/* Copy Button for ATM */
.copy-btn-atm {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    color: #ffffff;
    width: 30px;
    /* Reduced from 36px */
    height: 30px;
    /* Reduced from 36px */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    /* Reduced from 0.95rem */
    transition: all 0.25s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.copy-btn-atm:hover {
    background: #ffffff;
    color: #111111;
    border-color: #ffffff;
    transform: scale(1.08);
}

/* ══════════════════════════════════════════════
   DESKTOP PHONE SIMULATOR FRAME
   ═════════════════════════════════════════════ */
@media (min-width: 601px) {
    body {
        justify-content: center;
        padding: 24px 0;
        box-sizing: border-box;
    }

    #cover,
    #main-content {
        height: 85vh !important;
        max-height: 820px !important;
        min-height: 620px !important;
        border-radius: 24px;
        box-shadow: 0 25px 65px rgba(0, 0, 0, 0.7);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    #cover {
        overflow: hidden;
    }

    #main-content {
        overflow-y: auto !important;
    }

    #main-content>section {
        min-height: 100% !important;
        height: 100% !important;
    }

    /* Scale down Our Wedding Day section to feel like ~80% zoom on desktop */
    .our-day-section-v2 .container {
        transform: scale(0.82);
        transform-origin: center center;
        margin-top: -12px;
        margin-bottom: -12px;
    }

    /* Shrink TikTok UI components on desktop to feel like ~80% zoom */
    #tiktok .video-ui {
        padding: 16px 12px;
        padding-bottom: 84px;
    }

    #tiktok .tiktok-bottom-nav {
        height: 74px;
        padding-bottom: 20px;
        border-bottom-left-radius: 23px;
        border-bottom-right-radius: 23px;
    }

    #tiktok .video-info .username {
        font-size: 0.78rem;
    }

    #tiktok .video-info .description {
        font-size: 0.68rem;
    }

    #tiktok .music-info {
        font-size: 0.62rem;
    }

    #tiktok .action-buttons {
        gap: 10px;
        width: 42px;
    }

    #tiktok .action-item .icon {
        font-size: 1.45rem;
    }

    #tiktok .action-item .count {
        font-size: 0.62rem;
    }

    #tiktok .action-item.profile img {
        width: 34px;
        height: 34px;
    }
}