:root {
    --wine: #750851;
    --wine-dark: #260018;
    --wine-soft: #9b2c67;
    --red-velvet: #B3132D;
    --red-velvet-soft: #D04A63;
    --red-glow: #E05C72;
    --gold: #D8B36A;
    --gold-soft: #F1D6A0;
    --gold-pale: #FFF0C8;
    --paper: #FFF6FB;
    --paper-soft: #FAEAF4;
    --cream: #FFF8F1;
    --text: #35202B;
    --muted: #80606C;
    --line: rgba(216, 179, 106, 0.30);
    --shadow: 0 28px 90px rgba(38, 0, 24, 0.18);

    --reveal-distance: 28px;
    --reveal-duration: 1050ms;
    --reveal-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 10% 8%, rgba(216, 179, 106, 0.16), transparent 28%),
        radial-gradient(circle at 88% 16%, rgba(179, 19, 45, 0.12), transparent 26%),
        linear-gradient(180deg, #fff8f1 0%, #faeaf4 48%, #fff8f1 100%);
    overflow-x: hidden;
}

body.invitation-locked {
    overflow: hidden;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

.container-romance {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.section-wrap {
    position: relative;
    z-index: 5;
    padding: 105px 22px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--wine);
}

.section-label::before,
.section-label::after {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
    opacity: 0.35;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 58px;
    text-align: center;
}

.section-heading h2 {
    margin: 16px 0 14px;
    font-family: 'Playfair Display', serif;
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.04;
    color: var(--wine);
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

.velvet-card {
    position: relative;
    background:
        radial-gradient(circle at top right, rgba(216, 179, 106, 0.12), transparent 32%),
        linear-gradient(180deg, rgba(255, 246, 251, 0.94), rgba(255, 248, 241, 0.84));
    border: 1px solid var(--line);
    border-radius: 34px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.velvet-card::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(117, 8, 81, 0.08);
    border-radius: 24px;
    pointer-events: none;
}

/* ==========================================================
   Cover pembuka undangan
   ========================================================== */

.invitation-content {
    opacity: 0;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    transition: opacity 800ms ease;
}

.invitation-content.is-open {
    opacity: 1;
    visibility: visible;
    height: auto;
    overflow: visible;
}

#invitation-cover {
    position: fixed;
    inset: 0;
    z-index: 9999;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 14% 14%, rgba(216, 179, 106, 0.24), transparent 30%),
        radial-gradient(circle at 86% 18%, rgba(179, 19, 45, 0.20), transparent 30%),
        radial-gradient(circle at 50% 100%, rgba(117, 8, 81, 0.18), transparent 36%),
        linear-gradient(145deg, #260018 0%, #750851 48%, #2a001d 100%);
    transition:
        opacity 800ms ease,
        visibility 800ms ease,
        transform 800ms ease;
}

#invitation-cover.cover-hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.04);
    pointer-events: none;
}

.opener-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    pointer-events: none;
    user-select: none;
    opacity: 0.34;
    filter: saturate(1.04) contrast(1.04);
    animation: velvetOpenerZoom 18s ease-in-out infinite alternate;
}

.opener-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(38, 0, 24, 0.58), rgba(38, 0, 24, 0.84)),
        radial-gradient(circle at center, rgba(216, 179, 106, 0.14), transparent 42%);
    animation: velvetOverlayPulse 8s ease-in-out infinite;
}

.cover-card {
    position: relative;
    z-index: 3;
    width: min(100%, 620px);
    padding: clamp(2rem, 5vw, 4rem);
    text-align: center;
    border-radius: 2.6rem;
    color: var(--text);
    background:
        radial-gradient(circle at top right, rgba(216, 179, 106, 0.16), transparent 30%),
        linear-gradient(180deg, rgba(255, 246, 251, 0.94), rgba(250, 234, 244, 0.86));
    border: 1px solid rgba(216, 179, 106, 0.30);
    box-shadow:
        0 34px 110px rgba(38, 0, 24, 0.42),
        0 14px 42px rgba(117, 8, 81, 0.20);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    overflow: hidden;
    animation: velvetCoverFadeUp 1050ms var(--reveal-ease) both;
}

.cover-card::before {
    content: "";
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(117, 8, 81, 0.13);
    border-radius: 2rem;
    pointer-events: none;
}

.cover-card::after {
    content: "♥";
    position: absolute;
    right: -20px;
    bottom: -62px;
    font-size: 180px;
    line-height: 1;
    color: rgba(117, 8, 81, 0.055);
    pointer-events: none;
    animation: heartWatermarkPulse 7s ease-in-out infinite;
}

@keyframes velvetCoverFadeUp {
    from {
        opacity: 0;
        transform: translateY(28px) scale(0.98);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.cover-kicker {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.6rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.64);
    border: 1px solid rgba(216, 179, 106, 0.34);
    color: var(--wine);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.cover-subtitle {
    position: relative;
    z-index: 2;
    margin: 0 0 0.75rem;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.34em;
    text-transform: uppercase;
}

.cover-names {
    position: relative;
    z-index: 2;
    margin: 0;
    font-family: 'Great Vibes', cursive;
    color: var(--wine);
    line-height: 0.9;
    text-shadow: 0 16px 36px rgba(117, 8, 81, 0.12);
}

.cover-names span {
    display: block;
    font-size: clamp(4.4rem, 10vw, 7.5rem);
}

.cover-names em {
    display: block;
    margin: 0.6rem 0 0.4rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 3.1rem);
    font-style: italic;
    color: var(--red-velvet-soft);
    line-height: 1;
}

.cover-date {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.6rem;
    padding: 0.78rem 1.15rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(216, 179, 106, 0.34);
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.cover-guest {
    position: relative;
    z-index: 2;
    max-width: 420px;
    margin: 1.5rem auto 0;
    padding: 1rem 1.25rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(216, 179, 106, 0.32);
}

.cover-guest small {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.cover-guest strong {
    display: block;
    font-family: 'Playfair Display', serif;
    color: var(--wine);
    font-size: clamp(1.45rem, 4vw, 2rem);
    font-weight: 600;
    line-height: 1.2;
}

.cover-note {
    position: relative;
    z-index: 2;
    max-width: 360px;
    margin: 1rem auto 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

.cover-button {
    position: relative;
    z-index: 2;
    margin-top: 1.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 210px;
    border: 0;
    border-radius: 999px;
    padding: 0.95rem 1.7rem;
    background: linear-gradient(135deg, var(--wine), var(--red-velvet), var(--red-glow));
    color: #fff;
    box-shadow: 0 20px 46px rgba(117, 8, 81, 0.30);
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.cover-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 26px 58px rgba(158, 11, 47, 0.36);
    filter: brightness(1.04);
}

.cover-button:focus-visible {
    outline: 3px solid rgba(216, 179, 106, 0.70);
    outline-offset: 5px;
}

/* ==========================================================
   Image-based corner ornament
   ========================================================== */

.cover-corner {
    position: absolute;
    width: min(34vw, 320px);
    max-width: 360px;
    height: auto;
    pointer-events: none;
    user-select: none;
    z-index: 2;
    opacity: 0.82;
    filter:
        drop-shadow(0 18px 38px rgba(38, 0, 24, 0.28))
        drop-shadow(0 0 18px rgba(216, 179, 106, 0.18))
        drop-shadow(0 0 28px rgba(179, 19, 45, 0.14));
}

.cover-corner-tl {
    top: -40px;
    left: -24px;
    transform: rotate(180deg);
    transform-origin: center;
    animation: velvetSwayTopLeft 9s ease-in-out infinite;
}

.cover-corner-br {
    right: -24px;
    bottom: -28px;
    transform: rotate(0deg);
    transform-origin: center;
    animation: velvetSwayBottomRight 10s ease-in-out infinite;
}

.corner-art {
    position: fixed !important;
    width: min(30vw, 250px);
    height: auto;
    z-index: 80;
    pointer-events: none;
    user-select: none;
    display: block;
    filter:
        drop-shadow(0 18px 34px rgba(38, 0, 24, 0.24))
        drop-shadow(0 0 14px rgba(216, 179, 106, 0.16))
        drop-shadow(0 0 24px rgba(179, 19, 45, 0.12));
}

.corner-art-tl {
    top: -20px;
    left: -20px;
    transform: rotate(180deg);
    transform-origin: center;
    animation: velvetSwayTopLeft 9s ease-in-out infinite;
}

.corner-art-br {
    right: -20px;
    bottom: -20px;
    transform: rotate(0deg);
    transform-origin: center;
    animation: velvetSwayBottomRight 10s ease-in-out infinite;
}

@keyframes velvetSwayTopLeft {
    0%, 100% {
        transform: rotate(180deg) translateY(0) scale(1);
        opacity: 0.88;
    }

    50% {
        transform: rotate(183deg) translateY(-8px) scale(1.018);
        opacity: 1;
    }
}

@keyframes velvetSwayBottomRight {
    0%, 100% {
        transform: rotate(0deg) translateY(0) scale(1);
        opacity: 0.88;
    }

    50% {
        transform: rotate(-3deg) translateY(8px) scale(1.018);
        opacity: 1;
    }
}



/* Fallback ornament lama */
.romance-ornament {
    position: fixed;
    width: 280px;
    height: 280px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.12;
    border-radius: 999px;
    background:
        radial-gradient(circle, rgba(216, 179, 106, 0.42), transparent 62%),
        radial-gradient(circle at 20% 20%, rgba(179, 19, 45, 0.24), transparent 52%);
    filter: blur(2px);
    animation: velvetGlowFloat 11s ease-in-out infinite;
}

.ornament-left {
    left: -120px;
    top: 18%;
}

.ornament-right {
    right: -120px;
    bottom: 12%;
    animation-delay: 1.4s;
}

/* ==========================================================
   Hero
   ========================================================== */

.hero {
    position: relative;
    z-index: 5;
    min-height: 100vh;
    padding: 32px 22px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 10%, rgba(216, 179, 106, 0.18), transparent 28%),
        linear-gradient(135deg, #fff8f1, #faeaf4 58%, #fff6fb);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(45deg, rgba(117, 8, 81, 0.035) 1px, transparent 1px),
        linear-gradient(-45deg, rgba(216, 179, 106, 0.055) 1px, transparent 1px);
    background-size: 52px 52px;
    pointer-events: none;
    opacity: 0.8;
    animation: velvetPatternDrift 28s linear infinite;
}

.hero-invitation {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    min-height: 700px;
    border-radius: 42px;
    overflow: hidden;
    background: rgba(255, 246, 251, 0.86);
    border: 1px solid rgba(216, 179, 106, 0.32);
    box-shadow: 0 34px 110px rgba(38, 0, 24, 0.22);
}

.hero-photo-panel {
    position: relative;
    min-height: 700px;
    background:
        radial-gradient(circle at center, rgba(216, 179, 106, 0.18), transparent 45%),
        linear-gradient(135deg, #750851, #260018);
    overflow: hidden;
}

.hero-photo-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.94;
    filter: saturate(0.95) contrast(1.04);
    transition:
        transform 1200ms var(--reveal-ease),
        filter 800ms ease,
        opacity 800ms ease;
}

.hero-invitation:hover .hero-photo-panel img {
    transform: scale(1.035);
    filter: saturate(1.02) contrast(1.05) brightness(1.02);
}

.hero-photo-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(38, 0, 24, 0.10), rgba(38, 0, 24, 0.34)),
        radial-gradient(circle at center, transparent 42%, rgba(38, 0, 24, 0.18));
    pointer-events: none;
}

.hero-content-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 56px 44px;
    text-align: center;
    overflow: hidden;
}

.hero-content-panel::before {
    content: "";
    position: absolute;
    inset: 22px;
    border: 1px solid rgba(216, 179, 106, 0.30);
    border-radius: 30px;
    pointer-events: none;
    animation: velvetInnerBorderGlow 6s ease-in-out infinite;
}

.hero-content-panel::after {
    content: "♥";
    position: absolute;
    right: -28px;
    bottom: -70px;
    font-size: 220px;
    color: rgba(117, 8, 81, 0.05);
    line-height: 1;
    animation: heartWatermarkPulse 8s ease-in-out infinite;
}

.monogram {
    position: relative;
    z-index: 2;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    border: 1px solid rgba(216, 179, 106, 0.52);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    background: rgba(255, 255, 255, 0.48);
    color: var(--wine);
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -0.12em;
    padding-right: 6px;
    box-shadow: 0 18px 48px rgba(117, 8, 81, 0.10);
    animation: monogramVelvetGlow 5.5s ease-in-out infinite;
}

.monogram::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    border: 1px solid rgba(117, 8, 81, 0.14);
}

.hero-title {
    position: relative;
    z-index: 2;
    margin: 10px 0 0;
    font-family: 'Great Vibes', cursive;
    font-size: clamp(72px, 9vw, 124px);
    font-weight: 400;
    line-height: 0.86;
    color: var(--wine);
    text-shadow: 0 18px 40px rgba(117, 8, 81, 0.11);
}

.hero-and {
    position: relative;
    z-index: 2;
    margin: 16px 0 10px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 54px;
    font-style: italic;
    color: var(--red-velvet-soft);
    line-height: 1;
}

.hero-date {
    position: relative;
    z-index: 2;
    margin-top: 30px;
    padding: 13px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(216, 179, 106, 0.32);
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.guest-box {
    position: relative;
    z-index: 2;
    margin-top: 28px;
    padding: 17px 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(216, 179, 106, 0.30);
    min-width: min(100%, 360px);
}

.guest-box small {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.guest-box strong {
    display: block;
    color: var(--wine);
    font-family: 'Playfair Display', serif;
    font-size: 25px;
    line-height: 1.2;
}

/* ==========================================================
   Opening
   ========================================================== */

.opening-card {
    max-width: 860px;
    margin: 0 auto;
    padding: 54px 46px;
    text-align: center;
}

.opening-card h2 {
    position: relative;
    z-index: 2;
    margin: 18px 0;
    font-family: 'Playfair Display', serif;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.12;
    color: var(--wine);
}

.opening-card p {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 15px;
    line-height: 2;
}

/* ==========================================================
   Couple
   ========================================================== */

.couple-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
}

.couple-card {
    position: relative;
    padding: 28px;
    text-align: center;
    border-radius: 36px;
    background:
        radial-gradient(circle at top, rgba(216, 179, 106, 0.16), transparent 30%),
        rgba(255, 246, 251, 0.82);
    border: 1px solid rgba(216, 179, 106, 0.28);
    box-shadow: 0 22px 70px rgba(38, 0, 24, 0.12);
    overflow: hidden;
}

.couple-card::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(117, 8, 81, 0.08);
    border-radius: 26px;
    pointer-events: none;
}

.couple-photo {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 430px;
    border-radius: 999px 999px 28px 28px;
    overflow: hidden;
    margin-bottom: 28px;
    background: var(--paper-soft);
    border: 10px solid rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 52px rgba(117, 8, 81, 0.15);
}

.couple-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 1100ms var(--reveal-ease),
        filter 800ms ease;
}

.couple-card:hover .couple-photo img {
    transform: scale(1.04);
    filter: brightness(1.03);
}

.couple-name {
    position: relative;
    z-index: 2;
    margin-top: 16px;
    font-family: 'Great Vibes', cursive;
    font-size: 60px;
    line-height: 1;
    color: var(--wine);
}

.couple-fullname {
    position: relative;
    z-index: 2;
    margin-top: 8px;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--red-velvet);
}

.couple-info {
    position: relative;
    z-index: 2;
    margin: 16px auto 0;
    max-width: 360px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

.couple-divider {
    font-family: 'Great Vibes', cursive;
    color: var(--gold);
    font-size: 86px;
    line-height: 1;
    text-shadow: 0 16px 36px rgba(117, 8, 81, 0.10);
    animation: dividerGlowFloat 5.8s ease-in-out infinite;
}

/* ==========================================================
   Event
   ========================================================== */

.event-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

.event-card {
    padding: 38px;
    min-height: 460px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-number {
    position: relative;
    z-index: 2;
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    line-height: 1;
    color: rgba(117, 8, 81, 0.10);
    margin-bottom: 8px;
}

.event-card h3 {
    position: relative;
    z-index: 2;
    margin: 0 0 26px;
    font-family: 'Great Vibes', cursive;
    font-size: 62px;
    line-height: 1;
    color: var(--wine);
}

.event-detail {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 14px;
}

.event-detail-box {
    padding: 17px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(216, 179, 106, 0.22);
}

.event-detail-box small {
    display: block;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.event-detail-box strong {
    display: block;
    color: var(--text);
    font-size: 14px;
    line-height: 1.75;
}

/* ==========================================================
   Location
   ========================================================== */

.map-card {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    overflow: hidden;
}

.map-info {
    position: relative;
    z-index: 2;
    padding: 44px 38px;
    background:
        radial-gradient(circle at top left, rgba(216, 179, 106, 0.18), transparent 35%),
        rgba(255, 255, 255, 0.35);
}

.map-info h3 {
    margin: 18px 0 14px;
    color: var(--wine);
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    line-height: 1.12;
}

.map-info p {
    margin: 0 0 26px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

.map-frame {
    min-height: 460px;
    background: var(--paper-soft);
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 460px;
    border: 0;
    filter: sepia(8%) saturate(88%) contrast(96%) brightness(102%);
}

/* ==========================================================
   Story
   ========================================================== */

.story-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 24px;
}

.story-item {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 22px;
    align-items: stretch;
}

.story-marker {
    width: 76px;
    height: 76px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--wine), var(--red-velvet));
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    box-shadow: 0 18px 42px rgba(117, 8, 81, 0.22);
    animation: storyMarkerPulse 4.8s ease-in-out infinite;
}

.story-panel {
    padding: 30px;
}

.story-date {
    position: relative;
    z-index: 2;
    margin-bottom: 10px;
    color: var(--red-velvet);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.story-title {
    position: relative;
    z-index: 2;
    margin-bottom: 10px;
    color: var(--wine);
    font-family: 'Playfair Display', serif;
    font-size: 30px;
}

.story-desc {
    position: relative;
    z-index: 2;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

/* ==========================================================
   Gallery
   ========================================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    min-height: 300px;
    border-radius: 30px;
    overflow: hidden;
    background: var(--paper-soft);
    border: 1px solid rgba(216, 179, 106, 0.28);
    box-shadow: 0 20px 60px rgba(38, 0, 24, 0.12);
}

.gallery-item.wide {
    grid-column: span 7;
    min-height: 420px;
}

.gallery-item.tall {
    grid-column: span 5;
    min-height: 420px;
}

.gallery-item.square {
    grid-column: span 4;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

/* ==========================================================
   Gift
   ========================================================== */

.gift-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.gift-card {
    padding: 34px 28px;
    text-align: center;
}

.gift-card h3 {
    position: relative;
    z-index: 2;
    margin: 16px 0 6px;
    color: var(--wine);
    font-family: 'Playfair Display', serif;
    font-size: 31px;
}

.gift-number {
    position: relative;
    z-index: 2;
    display: inline-block;
    margin: 20px 0;
    padding: 13px 18px;
    border-radius: 16px;
    background: rgba(117, 8, 81, 0.07);
    color: var(--wine);
    font-weight: 800;
    letter-spacing: 0.08em;
    border: 1px solid rgba(216, 179, 106, 0.24);
}

/* ==========================================================
   RSVP
   ========================================================== */

.rsvp-layout {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    gap: 26px;
    align-items: start;
}

.rsvp-form-card,
.guestbook-card {
    padding: 38px;
}

.rsvp-form-card h3,
.guestbook-card h3 {
    position: relative;
    z-index: 2;
    margin: 0 0 12px;
    color: var(--wine);
    font-family: 'Playfair Display', serif;
    font-size: 36px;
}

.form-field {
    position: relative;
    z-index: 2;
    margin-bottom: 18px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-weight: 800;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    border: 1px solid rgba(216, 179, 106, 0.32);
    background: rgba(255, 255, 255, 0.68);
    border-radius: 18px;
    padding: 14px 16px;
    color: var(--text);
    font-size: 14px;
    outline: none;
    transition:
        border-color 260ms ease,
        box-shadow 260ms ease,
        background-color 260ms ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: rgba(117, 8, 81, 0.38);
    box-shadow: 0 0 0 4px rgba(117, 8, 81, 0.08);
    background: rgba(255, 255, 255, 0.82);
}

.form-textarea {
    min-height: 128px;
    resize: vertical;
}

.guestbook-list {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 14px;
    max-height: 540px;
    overflow-y: auto;
    padding-right: 6px;
}

.guestbook-list::-webkit-scrollbar {
    width: 8px;
}

.guestbook-list::-webkit-scrollbar-thumb {
    background: rgba(117, 8, 81, 0.24);
    border-radius: 999px;
}

.wish-card {
    padding: 20px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(216, 179, 106, 0.20);
    border-radius: 22px;
}

.wish-top {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.wish-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wish-avatar {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(117, 8, 81, 0.10);
    color: var(--wine);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.wish-name {
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
}

.wish-time {
    color: var(--muted);
    font-size: 11px;
}

.status-badge {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 800;
    padding: 7px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.status-hadir {
    background: #E6F8EF;
    color: #2F7D51;
}

.status-tidak {
    background: #FBE8E7;
    color: #B7524D;
}

.status-ragu {
    background: #FCF2DE;
    color: #AF7D28;
}

.wish-message {
    color: var(--muted);
    line-height: 1.8;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.62);
    border-radius: 16px;
    padding: 14px;
}

/* ==========================================================
   Buttons
   ========================================================== */

.btn-velvet,
.btn-gold,
.btn-outline {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 14px 26px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}

.btn-velvet {
    border: 0;
    color: white;
    background: linear-gradient(135deg, var(--wine), var(--red-velvet));
    box-shadow: 0 18px 42px rgba(117, 8, 81, 0.24);
}

.btn-gold {
    border: 0;
    color: var(--wine-dark);
    background: linear-gradient(135deg, #c4943f, var(--gold), #f6df9d);
    box-shadow: 0 18px 42px rgba(216, 179, 106, 0.24);
}

.btn-outline {
    border: 1px solid rgba(117, 8, 81, 0.24);
    color: var(--wine);
    background: rgba(255, 255, 255, 0.58);
}

.btn-velvet:hover,
.btn-gold:hover,
.btn-outline:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
}

.btn-outline:hover {
    background: var(--wine);
    color: white;
}

/* ==========================================================
   Toast
   ========================================================== */

#toast-rek {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%) translateY(18px);
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    padding: 14px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--wine), var(--red-velvet));
    color: white;
    box-shadow: 0 18px 42px rgba(38, 0, 24, 0.28);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: all 0.28s ease;
}

#toast-rek.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ==========================================================
   Footer
   ========================================================== */

.footer {
    position: relative;
    z-index: 5;
    padding: 108px 24px 136px;
    background:
        radial-gradient(circle at 20% 10%, rgba(216, 179, 106, 0.18), transparent 28%),
        linear-gradient(145deg, var(--wine-dark), var(--wine) 55%, #2a001d);
    color: #fff8f1;
    text-align: center;
    overflow: hidden;
}

.footer::before {
    content: "♥";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -52%);
    font-size: min(42vw, 360px);
    color: rgba(255, 255, 255, 0.035);
    line-height: 1;
    pointer-events: none;
    animation: footerHeartPulse 8s ease-in-out infinite;
}

.footer-inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
}

.footer h2 {
    margin: 16px 0;
    font-family: 'Great Vibes', cursive;
    color: #fff;
    font-size: clamp(58px, 9vw, 96px);
    line-height: 1;
}

.footer p {
    margin: 0 auto;
    color: rgba(255, 248, 241, 0.76);
    line-height: 1.9;
    font-size: 14px;
    max-width: 620px;
}

/* ==========================================================
   Scroll Reveal & Elegant Motion
   ========================================================== */

.reveal,
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(var(--reveal-distance));
    filter: blur(9px);
    transition:
        opacity var(--reveal-duration) var(--reveal-ease),
        transform var(--reveal-duration) var(--reveal-ease),
        filter var(--reveal-duration) var(--reveal-ease),
        box-shadow 340ms ease,
        border-color 340ms ease,
        background-color 340ms ease;
    transition-delay: var(--delay, 0ms);
    will-change: opacity, transform, filter;
}

.reveal.is-visible,
.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.reveal-up {
    transform: translateY(var(--reveal-distance));
}

.reveal-down {
    transform: translateY(-24px);
}

.reveal-left {
    transform: translateX(-32px);
    filter: blur(8px);
}

.reveal-right {
    transform: translateX(32px);
    filter: blur(8px);
}

.reveal-scale {
    transform: translateY(24px) scale(0.955);
    filter: blur(6px);
}

.reveal-blur {
    transform: translateY(24px) scale(0.985);
    filter: blur(11px);
}

.reveal-up.is-visible,
.reveal-down.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible,
.reveal-blur.is-visible {
    transform: translateX(0) translateY(0) scale(1);
    filter: blur(0);
}

.stagger,
.reveal-stagger {
    --stagger-step: 105ms;
}

.stagger > *,
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(8px);
    transition:
        opacity 900ms var(--reveal-ease),
        transform 900ms var(--reveal-ease),
        filter 900ms var(--reveal-ease),
        box-shadow 340ms ease,
        border-color 340ms ease;
    transition-delay: calc(var(--stagger-index, 0) * var(--stagger-step));
    will-change: opacity, transform, filter;
}

.stagger.is-visible > *,
.reveal-stagger.is-visible > * {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Fallback stagger kalau JS belum set --stagger-index */
.stagger.is-visible > *:nth-child(1),
.reveal-stagger.is-visible > *:nth-child(1) {
    transition-delay: 80ms;
}

.stagger.is-visible > *:nth-child(2),
.reveal-stagger.is-visible > *:nth-child(2) {
    transition-delay: 170ms;
}

.stagger.is-visible > *:nth-child(3),
.reveal-stagger.is-visible > *:nth-child(3) {
    transition-delay: 260ms;
}

.stagger.is-visible > *:nth-child(4),
.reveal-stagger.is-visible > *:nth-child(4) {
    transition-delay: 350ms;
}

.stagger.is-visible > *:nth-child(5),
.reveal-stagger.is-visible > *:nth-child(5) {
    transition-delay: 440ms;
}

.stagger.is-visible > *:nth-child(6),
.reveal-stagger.is-visible > *:nth-child(6) {
    transition-delay: 530ms;
}

/* Blur-safe untuk semua card penting */
.velvet-card.reveal:not(.is-visible),
.cover-card.reveal:not(.is-visible),
.hero-invitation.reveal:not(.is-visible),
.couple-card.reveal:not(.is-visible),
.event-card.reveal:not(.is-visible),
.map-card.reveal:not(.is-visible),
.story-panel.reveal:not(.is-visible),
.gallery-item.reveal:not(.is-visible),
.gift-card.reveal:not(.is-visible),
.rsvp-form-card.reveal:not(.is-visible),
.guestbook-card.reveal:not(.is-visible),
.wish-card.reveal:not(.is-visible),
.velvet-card.reveal-on-scroll:not(.is-visible),
.cover-card.reveal-on-scroll:not(.is-visible),
.hero-invitation.reveal-on-scroll:not(.is-visible),
.couple-card.reveal-on-scroll:not(.is-visible),
.event-card.reveal-on-scroll:not(.is-visible),
.map-card.reveal-on-scroll:not(.is-visible),
.story-panel.reveal-on-scroll:not(.is-visible),
.gallery-item.reveal-on-scroll:not(.is-visible),
.gift-card.reveal-on-scroll:not(.is-visible),
.rsvp-form-card.reveal-on-scroll:not(.is-visible),
.guestbook-card.reveal-on-scroll:not(.is-visible),
.wish-card.reveal-on-scroll:not(.is-visible) {
    filter: blur(9px);
}

.velvet-card.reveal.is-visible,
.cover-card.reveal.is-visible,
.hero-invitation.reveal.is-visible,
.couple-card.reveal.is-visible,
.event-card.reveal.is-visible,
.map-card.reveal.is-visible,
.story-panel.reveal.is-visible,
.gallery-item.reveal.is-visible,
.gift-card.reveal.is-visible,
.rsvp-form-card.reveal.is-visible,
.guestbook-card.reveal.is-visible,
.wish-card.reveal.is-visible,
.velvet-card.reveal-on-scroll.is-visible,
.cover-card.reveal-on-scroll.is-visible,
.hero-invitation.reveal-on-scroll.is-visible,
.couple-card.reveal-on-scroll.is-visible,
.event-card.reveal-on-scroll.is-visible,
.map-card.reveal-on-scroll.is-visible,
.story-panel.reveal-on-scroll.is-visible,
.gallery-item.reveal-on-scroll.is-visible,
.gift-card.reveal-on-scroll.is-visible,
.rsvp-form-card.reveal-on-scroll.is-visible,
.guestbook-card.reveal-on-scroll.is-visible,
.wish-card.reveal-on-scroll.is-visible {
    filter: blur(0);
}

/* Hover lembut untuk card */
.velvet-card,
.cover-card,
.hero-invitation,
.couple-card,
.event-card,
.map-card,
.story-panel,
.gallery-item,
.gift-card,
.rsvp-form-card,
.guestbook-card,
.wish-card,
.guest-box,
.cover-guest,
.event-detail-box {
    transition:
        transform 340ms ease,
        box-shadow 340ms ease,
        border-color 340ms ease,
        background-color 340ms ease,
        filter 340ms ease;
}

.velvet-card:hover,
.couple-card:hover,
.event-card:hover,
.map-card:hover,
.story-panel:hover,
.gallery-item:hover,
.gift-card:hover,
.rsvp-form-card:hover,
.guestbook-card:hover,
.wish-card:hover,
.guest-box:hover,
.cover-guest:hover,
.event-detail-box:hover {
    transform: translateY(-5px);
    border-color: rgba(216, 179, 106, 0.46);
    box-shadow: 0 30px 88px rgba(38, 0, 24, 0.18);
}

.velvet-card.reveal.is-visible:hover,
.couple-card.reveal.is-visible:hover,
.event-card.reveal.is-visible:hover,
.map-card.reveal.is-visible:hover,
.story-panel.reveal.is-visible:hover,
.gallery-item.reveal.is-visible:hover,
.gift-card.reveal.is-visible:hover,
.rsvp-form-card.reveal.is-visible:hover,
.guestbook-card.reveal.is-visible:hover,
.wish-card.reveal.is-visible:hover,
.velvet-card.reveal-on-scroll.is-visible:hover,
.couple-card.reveal-on-scroll.is-visible:hover,
.event-card.reveal-on-scroll.is-visible:hover,
.map-card.reveal-on-scroll.is-visible:hover,
.story-panel.reveal-on-scroll.is-visible:hover,
.gallery-item.reveal-on-scroll.is-visible:hover,
.gift-card.reveal-on-scroll.is-visible:hover,
.rsvp-form-card.reveal-on-scroll.is-visible:hover,
.guestbook-card.reveal-on-scroll.is-visible:hover,
.wish-card.reveal-on-scroll.is-visible:hover {
    transform: translateY(-5px);
    filter: blur(0);
}

.gallery-item.reveal-scale.is-visible:hover,
.couple-card.reveal-scale.is-visible:hover {
    transform: translateY(-5px) scale(1.01);
    filter: blur(0);
}

/* Button shimmer */
.cover-button,
.btn-velvet,
.btn-gold,
.btn-outline,
.pink-button {
    isolation: isolate;
    overflow: hidden;
}

.cover-button::before,
.btn-velvet::before,
.btn-gold::before,
.btn-outline::before,
.pink-button::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.48) 45%, transparent 72%);
    transform: translateX(-120%);
    transition: transform 700ms ease;
}

.cover-button:hover::before,
.btn-velvet:hover::before,
.btn-gold:hover::before,
.btn-outline:hover::before,
.pink-button:hover::before {
    transform: translateX(120%);
}

.btn-velvet:active,
.btn-gold:active,
.btn-outline:active,
.cover-button:active,
.pink-button:active {
    transform: translateY(-1px) scale(0.985);
}

/* ==========================================================
   Animations
   ========================================================== */

@keyframes velvetOpenerZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.045);
    }
}

@keyframes velvetOverlayPulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.84;
    }
}

@keyframes heartWatermarkPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.035);
        opacity: 0.72;
    }
}

@keyframes velvetGlowFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.12;
    }

    50% {
        transform: translateY(-12px) scale(1.04);
        opacity: 0.18;
    }
}

@keyframes velvetPatternDrift {
    from {
        background-position: 0 0, 0 0;
    }

    to {
        background-position: 52px 52px, -52px 52px;
    }
}

@keyframes velvetInnerBorderGlow {
    0%, 100% {
        border-color: rgba(216, 179, 106, 0.24);
        box-shadow: 0 0 0 rgba(216, 179, 106, 0);
    }

    50% {
        border-color: rgba(216, 179, 106, 0.46);
        box-shadow: 0 0 34px rgba(216, 179, 106, 0.10);
    }
}

@keyframes monogramVelvetGlow {
    0%, 100% {
        box-shadow: 0 18px 48px rgba(117, 8, 81, 0.10);
    }

    50% {
        box-shadow:
            0 20px 56px rgba(117, 8, 81, 0.16),
            0 0 34px rgba(216, 179, 106, 0.16);
    }
}

@keyframes dividerGlowFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        text-shadow: 0 16px 36px rgba(117, 8, 81, 0.10);
    }

    50% {
        transform: translateY(-5px) scale(1.02);
        text-shadow:
            0 18px 42px rgba(117, 8, 81, 0.16),
            0 0 24px rgba(216, 179, 106, 0.18);
    }
}

@keyframes storyMarkerPulse {
    0%, 100% {
        box-shadow: 0 18px 42px rgba(117, 8, 81, 0.22);
    }

    50% {
        box-shadow:
            0 20px 50px rgba(117, 8, 81, 0.28),
            0 0 26px rgba(216, 179, 106, 0.18);
    }
}

@keyframes footerHeartPulse {
    0%, 100% {
        transform: translate(-50%, -52%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(-50%, -52%) scale(1.04);
        opacity: 0.76;
    }
}

.float-ornament {
    animation: velvetSoftFloat 7s ease-in-out infinite;
}

.float-ornament-slow {
    animation: velvetSoftFloat 10s ease-in-out infinite;
}

.float-ornament-reverse {
    animation: velvetSoftFloatReverse 8s ease-in-out infinite;
}

@keyframes velvetSoftFloat {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.9;
    }

    50% {
        transform: translateY(-9px);
        opacity: 1;
    }
}

@keyframes velvetSoftFloatReverse {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.9;
    }

    50% {
        transform: translateY(9px);
        opacity: 1;
    }
}

/* ==========================================================
   Responsive
   ========================================================== */

@media (max-width: 1024px) {
    .hero-invitation,
    .map-card,
    .rsvp-layout {
        grid-template-columns: 1fr;
    }

    .hero-photo-panel {
        min-height: 430px;
    }

    .hero-content-panel {
        min-height: 560px;
    }

    .couple-grid {
        grid-template-columns: 1fr;
    }

    .couple-divider {
        font-size: 68px;
        text-align: center;
    }

    .event-grid {
        grid-template-columns: 1fr;
    }

    .map-frame,
    .map-frame iframe {
        min-height: 380px;
    }

    .cover-corner {
        width: 220px;
    }

    .cover-corner-tl {
        top: -68px;
        left: -18px;
    }

    .cover-corner-br {
        right: -18px;
        bottom: -22px;
    }

    .corner-art {
        width: 210px;
    }

    .corner-art-tl {
        top: -68px;
        left: -18px;
    }

    .corner-art-br {
        right: -18px;
        bottom: -20px;
    }
}

@media (max-width: 768px) {
    :root {
        --reveal-distance: 20px;
        --reveal-duration: 850ms;
    }

    .section-wrap {
        padding: 82px 20px;
    }

    .section-label {
        font-size: 9px;
        letter-spacing: 0.22em;
    }

    .section-label::before,
    .section-label::after {
        width: 18px;
    }

    #invitation-cover {
        padding: 1.1rem;
    }

    .cover-card {
        border-radius: 2rem;
        padding: 2rem 1.4rem;
    }

    .cover-card::before {
        inset: 12px;
        border-radius: 1.5rem;
    }

    .cover-kicker {
        margin-bottom: 1.25rem;
        font-size: 9px;
        letter-spacing: 0.20em;
    }

    .cover-names span {
        font-size: 4.6rem;
    }

    .cover-names em {
        font-size: 2rem;
    }

    .cover-date {
        font-size: 9px;
        line-height: 1.6;
        letter-spacing: 0.12em;
    }

    .cover-corner {
        width: 180px;
    }

    .cover-corner-tl {
        top: -60px;
        left: -16px;
    }

    .cover-corner-br {
        right: -16px;
        bottom: -20px;
    }

    .corner-art {
        width: 280px;
        z-index: 70;
    }

    .corner-art-tl {
        top: -60px;
        left: -16px;
    }

    .corner-art-br {
        right: -16px;
        bottom: -20px;
    }

    .hero {
        padding: 18px;
    }

    .hero-invitation {
        border-radius: 32px;
    }

    .hero-photo-panel {
        min-height: 360px;
    }

    .hero-content-panel {
        min-height: auto;
        padding: 46px 24px;
    }

    .hero-content-panel::before {
        inset: 14px;
        border-radius: 24px;
    }

    .monogram {
        width: 88px;
        height: 88px;
        font-size: 34px;
        margin-bottom: 22px;
    }

    .hero-title {
        font-size: 72px;
    }

    .hero-and {
        font-size: 42px;
    }

    .hero-date {
        font-size: 9px;
        letter-spacing: 0.12em;
        line-height: 1.6;
    }

    .opening-card,
    .event-card,
    .map-info,
    .story-panel,
    .gift-card,
    .rsvp-form-card,
    .guestbook-card {
        padding: 30px 22px;
    }

    .couple-photo {
        height: 360px;
    }

    .couple-name {
        font-size: 54px;
    }

    .gallery-item.wide,
    .gallery-item.tall,
    .gallery-item.square {
        grid-column: span 12;
        min-height: 320px;
    }

    .story-item {
        grid-template-columns: 1fr;
    }

    .story-marker {
        width: 62px;
        height: 62px;
        font-size: 24px;
    }

    .wish-top {
        flex-direction: column;
    }

    .reveal-scale {
        transform: translateY(18px) scale(0.97);
        filter: blur(4px);
    }

    .reveal-blur {
        filter: blur(7px);
    }

    .stagger > *,
    .reveal-stagger > * {
        transition-delay: calc(var(--stagger-index, 0) * 80ms);
    }

    .velvet-card:hover,
    .couple-card:hover,
    .event-card:hover,
    .map-card:hover,
    .story-panel:hover,
    .gallery-item:hover,
    .gift-card:hover,
    .rsvp-form-card:hover,
    .guestbook-card:hover,
    .wish-card:hover,
    .guest-box:hover,
    .cover-guest:hover,
    .event-detail-box:hover,
    .btn-velvet:hover,
    .btn-gold:hover,
    .btn-outline:hover,
    .cover-button:hover,
    .pink-button:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .cover-corner {
        width: 200px;
    }

    .cover-corner-tl {
        top: -18px;
        left: -16px;
    }

    .cover-corner-br {
        right: -16px;
        bottom: -18px;
    }

    .corner-art {
        width: 205px;
        z-index: 70;
    }

    .corner-art-tl {
        top: -18px;
        left: -16px;
    }

    .corner-art-br {
        right: -16px;
        bottom: -18px;
    }

    .cover-card {
        padding-left: 1.35rem;
        padding-right: 1.35rem;
    }

    .cover-button {
        min-width: 190px;
        padding: 0.85rem 1.45rem;
        font-size: 10px;
    }

    .hero-title {
        font-size: 64px;
    }

    .guest-box strong {
        font-size: 22px;
    }

    .couple-card {
        padding: 22px;
    }

    .couple-photo {
        height: 320px;
        border-width: 8px;
    }

    .event-card h3 {
        font-size: 54px;
    }

    .footer {
        padding-bottom: 128px;
    }
}

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

    .cover-card,
    .cover-corner,
    .corner-art,
    .romance-ornament,
    #invitation-cover,
    .invitation-content,
    .hero-title,
    .gallery-item img,
    .opener-bg,
    .opener-bg-overlay,
    .cover-card::after,
    .hero::before,
    .hero-content-panel::before,
    .hero-content-panel::after,
    .monogram,
    .couple-divider,
    .story-marker,
    .footer::before,
    .float-ornament,
    .float-ornament-slow,
    .float-ornament-reverse {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        filter: none !important;
    }

    .reveal,
    .reveal-on-scroll,
    .stagger > *,
    .reveal-stagger > *,
    .velvet-card,
    .cover-card,
    .hero-invitation,
    .couple-card,
    .event-card,
    .map-card,
    .story-panel,
    .gallery-item,
    .gift-card,
    .rsvp-form-card,
    .guestbook-card,
    .wish-card,
    .btn-velvet,
    .btn-gold,
    .btn-outline,
    .cover-button,
    .pink-button {
        opacity: 1 !important;
        transition: none !important;
        transform: none !important;
        filter: none !important;
    }
}

.bg-1 {
    background:
        linear-gradient(
            180deg,
            rgba(255, 248, 239, 0.18),
            rgba(250, 242, 232, 0.28)
        ),
        url('/storage/assets/velvet-romance/bg-1.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
