:root {
    --sage: #8A9A86;
    --sage-light: #B2AC88;
    --olive-sage: #B2AC88;
    --maroon: #800020;
    --maroon-dark: #4A0404;
    --dark-maroon: #4A0404;
    --cream: #FDF6E2;
    --gold: #C9A45C;
    --paper: #FFFDD0;
    --ink: #312722;
    --muted: #746a63;
    --shadow: 0 24px 70px rgba(74, 4, 4, 0.13);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: "Inter", Arial, sans-serif;
    line-height: 1.7;
}

h1,
h2,
h3 {
    font-family: "Cormorant Garamond", Georgia, serif;
    color: var(--maroon-dark);
    letter-spacing: 0;
}

a {
    text-decoration: none;
}

.section {
    position: relative;
    padding: 96px 0;
    overflow: hidden;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 44px;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.section-heading.is-visible,
.couple-card.is-visible,
.couple-quote.is-visible,
.countdown-item.is-visible,
.event-card.is-visible,
.story-poster.is-visible,
.wish-card.is-visible,
.form-panel.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.section-heading span,
.eyebrow {
    display: inline-block;
    color: var(--sage);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 10px 0 12px;
    font-size: clamp(2.3rem, 5vw, 4rem);
}

.section-heading p {
    margin: 0;
    color: var(--muted);
}

.btn {
    border-radius: 999px;
    padding: 12px 26px;
    font-weight: 700;
}

.btn-maroon {
    color: #fff;
    background: var(--maroon);
    border: 1px solid var(--maroon);
    box-shadow: 0 14px 30px rgba(128, 0, 32, 0.23);
}

.btn-maroon:hover,
.btn-maroon:focus {
    color: #fff;
    background: var(--maroon-dark);
    border-color: var(--maroon-dark);
}

.btn-outline-maroon {
    color: #FDF6E2;
    border: 1px solid rgba(253, 246, 226, 0.78);
    background: #5F6F5B;
    box-shadow: 0 12px 26px rgba(31, 42, 31, 0.16);
}

.btn-outline-maroon:hover,
.btn-outline-maroon:focus {
    color: #FDF6E2;
    background: var(--maroon);
    border-color: rgba(253, 246, 226, 0.82);
}

.music-player {
    position: fixed;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.music-toggle {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 14px;
    color: #FDF6E2;
    border: 1px solid rgba(253, 246, 226, 0.72);
    border-radius: 999px;
    background: rgba(95, 111, 91, 0.92);
    box-shadow: 0 14px 30px rgba(31, 42, 31, 0.22);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    backdrop-filter: blur(8px);
    transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.music-toggle:hover,
.music-toggle:focus {
    background: rgba(128, 0, 32, 0.94);
    box-shadow: 0 18px 36px rgba(74, 4, 4, 0.24);
    transform: translateY(-2px);
}

.music-toggle-icon {
    position: relative;
    display: inline-block;
    width: 16px;
    height: 16px;
    border-left: 3px solid currentColor;
    border-bottom: 3px solid currentColor;
    border-radius: 0 0 0 4px;
}

.music-toggle-icon::before,
.music-toggle-icon::after {
    position: absolute;
    content: "";
    border-radius: 50%;
    background: currentColor;
}

.music-toggle-icon::before {
    left: -7px;
    bottom: -5px;
    width: 8px;
    height: 8px;
}

.music-toggle-icon::after {
    right: -5px;
    top: -2px;
    width: 3px;
    height: 8px;
    border-radius: 999px;
}

.music-toggle.is-playing {
    background: rgba(128, 0, 32, 0.94);
}

.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: url("../images/wedding-banner.png") center/cover;
}

.hero-section .container {
    z-index: 1;
}

.hero-copy {
    margin-top: 6vh;
}

.hero-section .eyebrow {
    color: #6f7f65;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1rem, 1.7vw, 1.55rem);
    font-weight: 600;
    letter-spacing: 0.42em;
}

.hero-section h1 {
    margin: 18px 0 8px;
    color: #5f1219;
    font-family: "Great Vibes", cursive;
    font-size: clamp(5.5rem, 14vw, 12rem);
    font-weight: 400;
    line-height: 0.9;
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: min(360px, 72vw);
    margin: 22px auto 24px;
    color: #6f7f65;
}

.hero-divider::before,
.hero-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: currentColor;
}

.hero-divider span {
    width: 14px;
    height: 14px;
    border: 1px solid currentColor;
    transform: rotate(45deg);
}

.hero-subtitle {
    margin: 0 0 28px;
    color: #6f7f65;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1rem, 1.8vw, 1.45rem);
    font-weight: 600;
    letter-spacing: 0.32em;
    line-height: 1.75;
    text-transform: uppercase;
}

.invited-guest {
    display: grid;
    gap: 4px;
    width: min(420px, 100%);
    margin: 0 auto 24px;
    color: var(--maroon-dark);
}

.invited-guest span {
    color: #6f7f65;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.invited-guest strong {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.55rem, 3vw, 2.4rem);
    font-weight: 700;
    line-height: 1.2;
}

.wedding-date {
    margin: 18px 0 28px;
    color: var(--maroon);
    font-weight: 700;
}

.footer-flower {
    position: absolute;
    pointer-events: none;
}

.section > .container {
    position: relative;
    z-index: 1;
}

.section-floral {
    position: absolute;
    z-index: 0;
    width: min(320px, 34vw);
    aspect-ratio: 1 / 1.4;
    pointer-events: none;
    opacity: 0.2;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    animation: floralFloat 8s ease-in-out infinite alternate;
}

.floral-one {
    background-image: url("../images/floral-arrangement-1.png");
}

.floral-two {
    background-image: url("../images/floral-arrangement-2.png");
}

.floral-three {
    background-image: url("../images/floral-arrangement-3.png");
}

.floral-left {
    left: -90px;
    top: 50%;
    transform: translateY(-50%) rotate(-10deg);
}

.floral-right {
    right: -90px;
    top: 50%;
    transform: translateY(-50%) rotate(10deg);
}

.floral-top {
    top: -110px;
    left: 50%;
    width: min(250px, 28vw);
    opacity: 0.14;
    transform: translateX(-50%) rotate(7deg);
}

.floral-bottom {
    right: 8%;
    bottom: -130px;
    width: min(260px, 30vw);
    opacity: 0.16;
    transform: rotate(-8deg);
}

.floral-left-low {
    left: -100px;
    bottom: -90px;
    width: min(280px, 32vw);
    opacity: 0.16;
    transform: rotate(12deg);
}

.floral-right-low {
    right: -100px;
    bottom: -95px;
    width: min(290px, 32vw);
    opacity: 0.16;
    transform: rotate(-12deg);
}

.countdown-section {
    background:
        linear-gradient(135deg, rgba(138, 154, 134, 0.96), rgba(99, 116, 92, 0.94)),
        var(--sage);
}

.countdown-section .section-heading {
    margin-bottom: 34px;
}

.countdown-section .section-heading span {
    color: var(--paper);
}

.countdown-section .section-heading h2 {
    color: #fff;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    max-width: 860px;
    margin: 0 auto;
}

.countdown-item {
    display: grid;
    place-items: center;
    text-align: center;
    min-height: 150px;
    padding: 24px 16px;
    border: 1px solid rgba(255, 253, 208, 0.34);
    border-radius: 8px;
    background: rgba(253, 246, 226, 0.92);
    box-shadow: 0 20px 56px rgba(49, 39, 34, 0.18);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.countdown-item strong {
    color: #607057;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(3rem, 6.4vw, 5.4rem);
    line-height: 1;
}

.countdown-item span {
    margin-top: 10px;
    color: var(--maroon);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.event-detail-row {
    margin-top: 34px;
}

.couple-section {
    background:
        radial-gradient(circle at 14% 18%, rgba(128, 0, 32, 0.08), transparent 24%),
        linear-gradient(180deg, #fffaf0, #f7efd7);
}

.couple-card,
.event-card,
.form-panel,
.wish-card {
    border: 1px solid rgba(128, 0, 32, 0.1);
    background: rgba(255, 253, 208, 0.68);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.couple-card {
    padding: 26px;
    text-align: center;
    border-radius: 8px;
}

.couple-card,
.event-card,
.form-panel,
.wish-card,
.bank-card,
.map-frame,
.story-poster {
    will-change: transform;
}

.couple-card:hover,
.event-card:hover,
.map-frame:hover,
.story-poster:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 56px rgba(74, 4, 4, 0.14);
}

.photo-placeholder {
    display: grid;
    place-items: center;
    width: min(100%, 360px);
    aspect-ratio: 4 / 5;
    margin: 0 auto 24px;
    color: rgba(74, 4, 4, 0.62);
    border-radius: 8px;
    border: 1px solid rgba(128, 0, 32, 0.12);
    background-position: center;
    background-size: cover;
    box-shadow: 0 18px 44px rgba(74, 4, 4, 0.12);
}

.photo-placeholder span {
    display: none;
}

.groom-photo {
    background-image: url("../images/groom-photo.png");
}

.bride-photo {
    background-image: url("../images/bride-photo.png");
}

.couple-card h3 {
    font-size: 2.4rem;
}

.parent-name {
    color: var(--maroon);
    font-weight: 700;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    padding: 7px 14px;
    color: #607057;
    border: 1px solid rgba(96, 112, 87, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.52);
    font-size: 0.92rem;
    font-weight: 800;
}

.instagram-link::before {
    content: "";
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-radius: 6px;
    background:
        radial-gradient(circle at 50% 50%, currentColor 0 2px, transparent 3px),
        radial-gradient(circle at 72% 28%, currentColor 0 1.5px, transparent 2px);
}

.instagram-link:hover,
.instagram-link:focus {
    color: var(--maroon);
    border-color: rgba(128, 0, 32, 0.28);
}

.couple-quote {
    width: 100%;
    margin: 44px auto 0;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.couple-quote p {
    margin: 0 0 16px;
    color: var(--ink);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.25rem, 2.4vw, 1.75rem);
    line-height: 1.7;
}

.couple-quote cite {
    color: var(--maroon);
    font-style: normal;
    font-weight: 700;
}

.event-section {
    background: var(--sage);
}

.event-section .section-heading span,
.event-section .section-heading h2 {
    color: #fff;
}

.event-card {
    position: relative;
    overflow: hidden;
    min-height: 280px;
    padding: 44px 46px;
    text-align: center;
    border-radius: 8px;
    border-color: rgba(255, 253, 208, 0.34);
    background:
        linear-gradient(180deg, rgba(255, 253, 208, 0.96), rgba(253, 246, 226, 0.94));
    box-shadow:
        0 20px 56px rgba(49, 39, 34, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.event-card-inner-border {
    position: absolute;
    inset: 16px;
    z-index: 0;
    border: 1px solid rgba(178, 172, 136, 0.54);
    border-radius: 6px;
    pointer-events: none;
}

.event-card-floral {
    position: absolute;
    z-index: 0;
    width: 120px;
    height: 160px;
    pointer-events: none;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.2;
}

.event-card-floral-top {
    left: -26px;
    top: -32px;
    background-image: url("../images/floral-arrangement-2.png");
    transform: rotate(18deg);
}

.event-card-floral-bottom {
    right: -30px;
    bottom: -44px;
    background-image: url("../images/floral-arrangement-3.png");
    transform: rotate(-16deg);
}

.event-card-sparkle {
    position: absolute;
    top: 28px;
    right: 30px;
    z-index: 1;
    width: 32px;
    height: 32px;
    opacity: 0.64;
    pointer-events: none;
}

.event-card-sparkle::before,
.event-card-sparkle::after {
    position: absolute;
    content: "";
    inset: 0;
    background: var(--gold);
    clip-path: polygon(50% 0, 58% 38%, 100% 50%, 58% 62%, 50% 100%, 42% 62%, 0 50%, 42% 38%);
}

.event-card-sparkle::after {
    inset: 19px -4px -7px 19px;
    opacity: 0.72;
    transform: scale(0.48);
}

.event-card > :not(.event-card-inner-border):not(.event-card-floral):not(.event-card-sparkle) {
    position: relative;
    z-index: 1;
}

.event-icon {
    display: none;
    place-items: center;
    min-width: 86px;
    min-height: 86px;
    margin-bottom: 18px;
    color: #fff;
    background: #607057;
    border-radius: 50%;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.3rem;
    font-weight: 700;
}

.event-card-title {
    margin: 0;
    color: var(--dark-maroon);
    font-size: clamp(2.15rem, 3.2vw, 2.85rem);
    line-height: 1.05;
}

.event-card-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 14px auto 26px;
    color: var(--maroon);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.05rem;
    line-height: 1;
}

.event-card-divider::before,
.event-card-divider::after {
    content: "";
    width: 64px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 164, 92, 0.78));
}

.event-card-divider::after {
    background: linear-gradient(90deg, rgba(201, 164, 92, 0.78), transparent);
}

.event-card-divider span::before {
    content: "❦";
    color: var(--maroon);
}

.event-detail-list {
    display: grid;
    gap: 14px;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: left;
}

.event-detail-item {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    color: var(--ink);
    font-size: 1.08rem;
    line-height: 1.45;
}

.event-detail-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    color: #6f7f6b;
}

.event-detail-icon svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.event-detail-item strong {
    color: var(--maroon);
    font-weight: 800;
}

.location-section {
    background:
        radial-gradient(circle at 84% 16%, rgba(128, 0, 32, 0.08), transparent 26%),
        linear-gradient(135deg, rgba(138, 154, 134, 0.2), rgba(253, 246, 226, 0.96)),
        #f5f1df;
}

.location-section .section-heading h2 {
    color: var(--maroon);
}

address {
    color: #1F2A1F;
    font-size: 1.05rem;
}

.map-frame {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    padding: 12px;
    border: 1px solid rgba(178, 172, 136, 0.55);
    border-radius: 18px;
    background: #FDF6E2;
    box-shadow:
        0 20px 48px rgba(74, 4, 4, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.54);
}

.map-frame::before {
    position: absolute;
    content: "";
    right: -42px;
    bottom: -58px;
    z-index: 0;
    width: 170px;
    height: 220px;
    pointer-events: none;
    background: url("../images/floral-arrangement-2.png") center / contain no-repeat;
    opacity: 0.13;
    transform: rotate(-18deg);
}

.map-frame iframe {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    min-height: 338px;
    border: 0;
    border-radius: 12px;
}

.story-section {
    background:
        radial-gradient(circle at 18% 14%, rgba(255, 253, 208, 0.2), transparent 30%),
        radial-gradient(circle at 88% 82%, rgba(128, 0, 32, 0.2), transparent 28%),
        linear-gradient(135deg, #8A9A86 0%, #74836F 54%, #60725c 100%);
}

.story-section::before,
.story-section::after {
    position: absolute;
    content: "";
    z-index: 0;
    pointer-events: none;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.story-section::before {
    left: -120px;
    bottom: -150px;
    width: min(470px, 40vw);
    aspect-ratio: 3 / 4;
    background-image: url("../images/floral-arrangement-1.png");
    opacity: 0.15;
    transform: rotate(12deg);
}

.story-section::after {
    right: -112px;
    top: -130px;
    width: min(430px, 38vw);
    aspect-ratio: 3 / 4;
    background-image: url("../images/floral-arrangement-3.png");
    opacity: 0.13;
    transform: rotate(-16deg);
}

.story-section .section-heading {
    margin-bottom: 34px;
}

.story-section .section-heading h2 {
    position: relative;
    display: inline-block;
    color: var(--paper);
    text-shadow: 0 6px 18px rgba(31, 42, 31, 0.24);
}

.story-section .section-heading h2::after {
    display: block;
    content: "--  \2766  --";
    margin-top: 12px;
    color: rgba(255, 253, 208, 0.86);
    font-family: "Inter", Arial, sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-shadow: none;
}

.floral-story-right-top {
    right: -96px;
    top: 80px;
    width: min(330px, 28vw);
    opacity: 0.14;
    transform: rotate(-18deg);
}

.floral-story-right-mid {
    right: -72px;
    top: 45%;
    width: min(260px, 24vw);
    opacity: 0.12;
    transform: rotate(15deg);
}

.story-poster {
    max-width: 720px;
    margin: 0 auto;
    padding: 16px;
    border: 1px solid rgba(255, 253, 208, 0.45);
    border-radius: 20px;
    background: rgba(253, 246, 226, 0.22);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    box-shadow:
        0 24px 60px rgba(74, 4, 4, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.story-poster img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    border: 1px solid rgba(255, 253, 208, 0.26);
    box-shadow: 0 16px 38px rgba(31, 42, 31, 0.2);
}

.gift-section {
    background:
        linear-gradient(135deg, rgba(138, 154, 134, 0.88), rgba(99, 116, 92, 0.82)),
        #8A9A86;
}

.gift-section::before,
.gift-section::after {
    display: none;
}

.gift-section::before {
    top: 24px;
    left: -62px;
}

.gift-section::after {
    right: -66px;
    bottom: 30px;
    animation-delay: 1.8s;
}

.gift-section .section-heading {
    margin-bottom: 22px;
}

.gift-section .section-heading h2 {
    color: var(--paper);
    margin-top: 0;
    font-size: clamp(3.2rem, 8vw, 5.8rem);
    font-style: italic;
    line-height: 0.92;
}

.gift-section .section-heading p {
    max-width: 680px;
    margin: 0 auto;
    color: rgba(255, 253, 208, 0.94);
    font-size: 1.05rem;
    font-weight: 600;
}

.gift-controls {
    margin-bottom: 40px;
}

.btn-gift-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 250px;
    color: #fff;
    background: #a8915d;
    border: 1px solid #a8915d;
    box-shadow: 0 16px 34px rgba(74, 4, 4, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.28em;
}

.btn-gift-toggle:hover,
.btn-gift-toggle:focus {
    color: #fff;
    background: #8f7848;
    border-color: #8f7848;
}

.gift-eye {
    position: relative;
    display: inline-block;
    width: 22px;
    height: 14px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.gift-eye::before {
    position: absolute;
    content: "";
    inset: 3px 7px;
    border-radius: 50%;
    background: currentColor;
}

.gift-eye::after {
    position: absolute;
    content: "";
    top: 5px;
    left: -3px;
    width: 28px;
    height: 2px;
    background: currentColor;
    transform: rotate(35deg);
    transform-origin: center;
}

.gift-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 22px;
    max-width: 1180px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms ease, transform 700ms ease, max-height 550ms ease;
}

.gift-list.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.gift-list.is-hidden {
    max-height: 0;
    overflow: hidden;
}

.bank-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 338px;
    padding: 30px 28px 28px;
    border: 1px solid rgba(178, 172, 136, 0.62);
    border-radius: 18px;
    background: #FDF6E2;
    box-shadow:
        0 18px 40px rgba(31, 42, 31, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.62);
    transition: transform 260ms ease, box-shadow 260ms ease;
}

.bank-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 24px 52px rgba(31, 42, 31, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.bank-card-pattern {
    position: absolute;
    inset: 14px;
    z-index: 0;
    display: block;
    pointer-events: none;
    border: 1px solid rgba(178, 172, 136, 0.5);
    border-radius: 14px;
}

.bank-card-pattern::before,
.bank-card-pattern::after {
    position: absolute;
    content: "";
    pointer-events: none;
}

.bank-card-pattern::before {
    right: -36px;
    bottom: -48px;
    width: 150px;
    height: 196px;
    background: url("../images/floral-arrangement-3.png") center / contain no-repeat;
    opacity: 0.13;
    transform: rotate(-14deg);
}

.bank-card-pattern::after {
    top: 10px;
    right: 12px;
    width: 28px;
    height: 28px;
    opacity: 0.6;
    background: var(--gold);
    clip-path: polygon(50% 0, 58% 38%, 100% 50%, 58% 62%, 50% 100%, 42% 62%, 0 50%, 42% 38%);
}

.bank-chip {
    display: none;
}

.bank-logo {
    position: relative;
    top: auto;
    right: auto;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 62px;
    margin-bottom: 18px;
}

.bank-logo img {
    display: block;
    max-width: 100%;
    max-height: 58px;
    object-fit: contain;
}

.bank-card:first-child .bank-logo img {
    max-height: 42px;
}

.bank-detail {
    position: relative;
    z-index: 1;
    max-width: 100%;
    text-align: center;
}

.bank-detail h3 {
    margin: 0;
    color: #1F2A1F;
    font-family: "Inter", Arial, sans-serif;
    font-size: clamp(1.02rem, 1.35vw, 1.26rem);
    font-weight: 800;
    line-height: 1.15;
}

.bank-detail p {
    margin: 16px 0 14px;
    color: var(--dark-maroon);
    font-size: clamp(1.55rem, 2.35vw, 2.08rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.03em;
}

.bank-badge {
    display: inline-flex;
    justify-content: center;
    max-width: 100%;
    padding: 7px 14px;
    color: #1F2A1F;
    border: 1px solid rgba(178, 172, 136, 0.62);
    border-radius: 999px;
    background: rgba(226, 225, 201, 0.74);
    font-size: clamp(0.78rem, 1.1vw, 0.92rem);
    font-weight: 800;
    line-height: 1.2;
}

.copy-button {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 1;
    align-self: stretch;
    min-width: 118px;
    margin-top: auto;
    padding: 12px 18px 12px 46px;
    color: #FDF6E2;
    background: #5F6F5B;
    border: 1px solid rgba(253, 246, 226, 0.8);
    border-radius: 11px;
    box-shadow: 0 12px 24px rgba(31, 42, 31, 0.16);
    transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
    font-size: 0.94rem;
    font-weight: 800;
}

.copy-button::before {
    position: absolute;
    content: "";
    left: 22px;
    top: 50%;
    width: 12px;
    height: 15px;
    border: 2px solid currentColor;
    border-radius: 2px;
    transform: translateY(-45%);
}

.copy-button::after {
    position: absolute;
    content: "";
    left: 20px;
    top: 50%;
    width: 12px;
    height: 15px;
    border: 2px solid currentColor;
    border-radius: 2px;
    background: #5F6F5B;
    transform: translateY(-60%);
}

.copy-button:hover,
.copy-button:focus {
    background: #53613f;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(31, 42, 31, 0.2);
}

.gift-address-card .bank-detail {
    max-width: 100%;
}

.gift-address-card .gift-address-text {
    margin: 8px 0 14px;
    color: #1F2A1F;
    font-size: clamp(0.88rem, 1.15vw, 0.98rem);
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0;
}

.gift-address-label {
    display: inline-flex;
    margin-top: 12px;
    padding: 5px 10px;
    color: var(--maroon);
    border: 1px solid rgba(128, 0, 32, 0.18);
    border-radius: 999px;
    background: rgba(255, 253, 208, 0.58);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gift-address-icon {
    position: relative;
    top: auto;
    right: auto;
    z-index: 1;
    width: 54px;
    height: 50px;
    margin: 0 auto 18px;
    border-radius: 8px;
    background:
        linear-gradient(90deg, transparent 45%, rgba(83, 97, 63, 0.85) 46% 54%, transparent 55%),
        linear-gradient(0deg, transparent 48%, rgba(83, 97, 63, 0.85) 49% 57%, transparent 58%),
        linear-gradient(135deg, #f5e69c, #d1ad44);
    box-shadow: inset 0 0 0 2px rgba(107, 88, 37, 0.42);
}

.gift-address-icon::before {
    position: absolute;
    content: "";
    left: 11px;
    right: 11px;
    top: -10px;
    height: 17px;
    border: 3px solid #d1ad44;
    border-bottom: 0;
    border-radius: 999px 999px 0 0;
}

.wishes-section {
    background:
        radial-gradient(circle at 14% 24%, rgba(178, 172, 136, 0.2), transparent 28%),
        radial-gradient(circle at 88% 18%, rgba(128, 0, 32, 0.06), transparent 26%),
        linear-gradient(180deg, #fffaf0, #f5ecd3);
}

.form-panel {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border: 1px solid rgba(178, 172, 136, 0.55);
    border-radius: 18px;
    background: #FDF6E2;
    box-shadow:
        0 18px 44px rgba(74, 4, 4, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.form-panel::before {
    position: absolute;
    content: "";
    right: -48px;
    bottom: -68px;
    width: 170px;
    height: 220px;
    pointer-events: none;
    background: url("../images/floral-arrangement-1.png") center / contain no-repeat;
    opacity: 0.11;
    transform: rotate(-16deg);
}

.form-panel > * {
    position: relative;
    z-index: 1;
}

.form-panel label {
    margin: 0 0 8px;
    color: var(--maroon-dark);
    font-weight: 800;
}

.form-panel .form-control,
.form-panel .form-select {
    margin-bottom: 18px;
    color: #1F2A1F;
    border: 1px solid rgba(178, 172, 136, 0.68);
    border-radius: 12px;
    background-color: rgba(255, 253, 208, 0.42);
}

.form-panel .form-control:focus,
.form-panel .form-select:focus {
    border-color: var(--maroon);
    box-shadow: 0 0 0 0.2rem rgba(128, 0, 32, 0.12);
}

.form-panel .btn-maroon {
    color: #FDF6E2;
    border-radius: 999px;
}

.wish-card {
    position: relative;
    overflow: hidden;
    min-height: 185px;
    padding: 28px 24px 24px;
    border: 1px solid rgba(178, 172, 136, 0.45);
    border-radius: 18px;
    background: #FDF6E2;
    box-shadow: 0 14px 34px rgba(74, 4, 4, 0.09);
    transition: transform 260ms ease, box-shadow 260ms ease;
}

.wish-card::before {
    content: "\201C";
    position: absolute;
    top: -16px;
    right: 18px;
    color: rgba(201, 164, 92, 0.38);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 5rem;
    line-height: 1;
}

.wish-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 42px rgba(74, 4, 4, 0.12);
}

.wish-card p {
    position: relative;
    color: #1F2A1F;
}

.wish-card h3 {
    position: relative;
    margin: 0;
    color: var(--maroon);
    font-size: 1.5rem;
}

.wishes-section .summary-box {
    border: 1px solid rgba(178, 172, 136, 0.45);
    background: rgba(253, 246, 226, 0.86);
    box-shadow: 0 12px 28px rgba(74, 4, 4, 0.08);
}

.wishes-section .summary-box strong {
    color: var(--maroon);
}

.wishes-section .summary-box span {
    color: var(--muted);
}

.wishes-section .row.g-3 {
    --bs-gutter-x: 1.25rem;
    --bs-gutter-y: 1.25rem;
}

.rsvp-section {
    background:
        linear-gradient(135deg, rgba(128, 0, 32, 0.9), rgba(74, 4, 4, 0.82)),
        var(--maroon);
}

.rsvp-section .section-heading span,
.rsvp-section .section-heading h2,
.rsvp-section .section-heading p {
    color: #fff;
}

.summary-box {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 8px;
    background: rgba(255, 253, 208, 0.14);
}

.summary-box strong {
    color: var(--paper);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 3rem;
    line-height: 1;
}

.summary-box span {
    color: rgba(255, 253, 208, 0.9);
}

.footer-section {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(63, 78, 58, 0.98), rgba(99, 116, 92, 0.94)),
        #3f4e3a;
}

.footer-section p {
    max-width: 780px;
    margin: 0 auto 18px;
}

.footer-section .container {
    z-index: 1;
}

.footer-section h2 {
    color: var(--paper);
    font-size: clamp(2.4rem, 6vw, 4.8rem);
}

.footer-flower {
    right: 8%;
    bottom: -40px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 253, 208, 0.18) 0 11%, transparent 12%),
        conic-gradient(from 30deg, rgba(178, 172, 136, 0.18), rgba(255, 253, 208, 0.16), rgba(138, 154, 134, 0.22), rgba(178, 172, 136, 0.18));
    animation: bloom 9s ease-in-out infinite alternate;
}

.footer-floral {
    position: absolute;
    z-index: 0;
    width: min(270px, 25vw);
    aspect-ratio: 3 / 4;
    pointer-events: none;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.28;
}

.footer-floral-left {
    left: -55px;
    bottom: -80px;
    background-image: url("../images/floral-arrangement-1.png");
    transform: rotate(16deg);
}

.footer-floral-right {
    right: -55px;
    bottom: -80px;
    background-image: url("../images/floral-arrangement-3.png");
    transform: scaleX(-1) rotate(16deg);
}

@keyframes bloom {
    from {
        transform: rotate(0deg) scale(1);
    }
    to {
        transform: rotate(8deg) scale(1.08);
    }
}

@keyframes floralFloat {
    from {
        translate: 0 0;
    }
    to {
        translate: 0 12px;
    }
}

@media (max-width: 991.98px) {
    .section {
        padding: 76px 0;
    }

    .section-floral {
        width: min(220px, 46vw);
        opacity: 0.14;
    }

    .floral-story-right-top,
    .floral-story-right-mid {
        right: -145px;
        opacity: 0.09;
    }

    .floral-left {
        left: -130px;
    }

    .floral-right {
        right: -130px;
    }

    .story-section::before {
        width: min(320px, 58vw);
        left: -150px;
        bottom: -120px;
        opacity: 0.1;
    }

    .story-section::after {
        width: min(300px, 54vw);
        right: -150px;
        top: -100px;
        opacity: 0.09;
    }

    .floral-top {
        top: -90px;
    }

    .floral-bottom,
    .floral-left-low,
    .floral-right-low {
        opacity: 0.11;
    }

    .countdown-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gift-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 820px;
    }

}

@media (max-width: 767.98px) {
    .gift-list {
        grid-template-columns: 1fr;
        max-width: 560px;
    }
}

@media (max-width: 575.98px) {
    .hero-section h1 {
        font-size: 5.5rem;
    }

    .hero-section .eyebrow,
    .hero-subtitle {
        letter-spacing: 0.22em;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .countdown-grid {
        gap: 12px;
    }

    .story-section .section-heading h2::after {
        font-size: 0.72rem;
        letter-spacing: 0.12em;
    }

    .story-poster {
        padding: 10px;
        border-radius: 14px;
    }

    .story-poster img {
        border-radius: 10px;
    }

    .countdown-item {
        min-height: 122px;
        padding: 20px 12px;
    }

    .btn {
        width: 100%;
    }

    .couple-card,
    .event-card,
    .form-panel,
    .wish-card,
    .bank-card {
        padding: 22px;
    }

    .event-card {
        padding: 38px 28px;
    }

    .event-card-inner-border {
        inset: 12px;
    }

    .event-card-title {
        font-size: 2.15rem;
    }

    .event-card-divider {
        margin-bottom: 22px;
    }

    .event-detail-item {
        grid-template-columns: 22px minmax(0, 1fr);
        gap: 10px;
        font-size: 0.98rem;
    }

    .event-card-floral {
        width: 92px;
        height: 122px;
        opacity: 0.16;
    }

    .event-card-sparkle {
        top: 22px;
        right: 22px;
        width: 24px;
        height: 24px;
    }

    .btn-gift-toggle {
        min-width: 0;
        letter-spacing: 0.16em;
    }

    .gift-list {
        gap: 24px;
    }

    .bank-card {
        min-height: 320px;
        padding: 26px 20px;
    }

    .bank-card-pattern {
        display: block;
        inset: 12px;
    }

    .bank-card-pattern::before {
        width: 118px;
        height: 154px;
        opacity: 0.13;
    }

    .bank-card-pattern::after {
        width: 22px;
        height: 22px;
    }

    .bank-chip {
        display: none;
    }

    .bank-logo {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        min-height: 50px;
        margin-bottom: 14px;
        justify-content: center;
    }

    .bank-logo img {
        max-height: 50px;
    }

    .bank-card:first-child .bank-logo img {
        max-height: 38px;
    }

    .bank-detail {
        max-width: 100%;
    }

    .bank-detail h3 {
        max-width: 100%;
        font-size: 1rem;
    }

    .bank-detail p {
        margin: 14px 0 14px;
        font-size: 1.72rem;
    }

    .bank-badge {
        max-width: 100%;
        padding: 7px 12px;
        font-size: 0.82rem;
    }

    .copy-button {
        right: auto;
        bottom: auto;
        min-width: 112px;
        margin-top: auto;
        padding: 10px 16px 10px 46px;
    }

    .gift-address-card .bank-detail {
        max-width: 100%;
    }

    .gift-address-card .gift-address-text {
        max-width: 100%;
        font-size: 0.95rem;
    }

    .gift-address-icon {
        top: auto;
        right: auto;
        bottom: auto;
        width: 54px;
        height: 50px;
    }

    .gift-address-icon::before {
        left: 11px;
        right: 11px;
        top: -10px;
        height: 17px;
        border-width: 3px;
    }

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