/* ============================================================
   MODERN BROWN THEME - Wedding Invitation
   Inspired by Viding.co Modern-Brown template
   ============================================================ */

/* ===== FONTS ===== */
@font-face {
    font-family: 'Akkurat';
    src: url('../fonts/49aa0c906a54b783-s.p.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Akkurat';
    src: url('../fonts/9370745d1316cef2-s.p.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'AustinNews';
    src: url('../fonts/e8cf5108f9a46756-s.p.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ===== CSS VARIABLES ===== */
:root {
    --mb-gold: #a5864b;
    --mb-gold-light: #c4a96d;
    --mb-dark: #17233d;
    --mb-cream: #f5f0e8;
    --mb-beige: #e8dfd0;
    --mb-white: #ffffff;
    --mb-brown: #8b7355;
    --mb-text: #3a3530;
    --mb-text-light: #6b6560;
    --mb-font-serif: 'AustinNews', 'Georgia', serif;
    --mb-font-sans: 'Akkurat', 'Helvetica Neue', sans-serif;
    --mb-radius: 8px;
    --mb-transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}
body {
    font-family: var(--mb-font-sans);
    color: var(--mb-text);
    background: var(--mb-cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body.no-scroll {
    overflow: hidden;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    text-decoration: none;
    color: inherit;
}
button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ===== UTILITY CLASSES ===== */
.mb-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.mb-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.mb-zoom-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.mb-zoom-in.visible {
    opacity: 1;
    transform: scale(1);
}
.mb-slide-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.mb-slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}
.mb-slide-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.mb-slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===== COVER / LANDING PAGE ===== */
.mb-cover {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 999;
    display: flex;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.mb-cover.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Cover - Left Side (Photo) */
.mb-cover__photo {
    flex: 1;
    position: relative;
    background-size: cover;
    background-position: center;
    display: none;
}
@media (min-width: 768px) {
    .mb-cover__photo {
        display: block;
    }
}
.mb-cover__photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
}
.mb-cover__photo-names {
    position: absolute;
    top: 40px;
    left: 40px;
    font-family: var(--mb-font-serif);
    font-size: 28px;
    color: var(--mb-white);
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Cover - Right Side (Invitation Card) */
.mb-cover__card {
    width: 100%;
    max-width: 500px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--mb-cream);
}
@media (min-width: 768px) {
    .mb-cover__card {
        width: 50%;
        max-width: 600px;
    }
}

/* Arch Frame */
.mb-cover__arch {
    position: relative;
    width: 90%;
    max-width: 400px;
    aspect-ratio: 3/4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    text-align: center;
}
.mb-cover__arch-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}
.mb-cover__arch-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50% 50% 0 0 / 30% 30% 0 0;
    z-index: 0;
}
.mb-cover__arch-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Monogram/Logo */
.mb-monogram {
    width: 60px;
    height: 60px;
    object-fit: contain;
}
.mb-monogram--large {
    width: 80px;
    height: 80px;
}

/* Cover Quote */
.mb-cover__quote {
    font-family: var(--mb-font-serif);
    font-size: 14px;
    line-height: 1.7;
    color: var(--mb-text);
    font-style: italic;
    max-width: 320px;
    margin: 10px 0;
}
.mb-cover__quote-source {
    font-family: var(--mb-font-sans);
    font-size: 12px;
    color: var(--mb-text-light);
    margin-top: 5px;
}

/* Cover Guest Info */
.mb-cover__guest {
    margin-top: 15px;
    text-align: center;
}
.mb-cover__guest-label {
    font-size: 12px;
    color: var(--mb-text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}
.mb-cover__guest-name {
    font-family: var(--mb-font-serif);
    font-size: 18px;
    color: var(--mb-dark);
}
.mb-cover__guest-address {
    font-size: 12px;
    color: var(--mb-text-light);
    margin-top: 3px;
}

/* Open Button */
.mb-cover__btn {
    margin-top: 20px;
    padding: 12px 32px;
    background: var(--mb-gold);
    color: var(--mb-white);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 50px;
    transition: var(--mb-transition);
    z-index: 2;
}
.mb-cover__btn:hover {
    background: var(--mb-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(165, 134, 75, 0.4);
}

/* Animated Decorations (flowers, doves) */
.mb-deco {
    position: absolute;
    pointer-events: none;
    z-index: 3;
}
.mb-deco--top-right {
    top: -5%;
    right: -5%;
    width: 35%;
}
.mb-deco--top-left {
    top: -5%;
    left: -5%;
    width: 30%;
}
.mb-deco--bottom-left {
    bottom: -5%;
    left: -5%;
    width: 40%;
}
.mb-deco--bottom-right {
    bottom: -5%;
    right: -5%;
    width: 40%;
}
.mb-deco--bottom-center {
    bottom: -5%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
}
.mb-deco--dove-top {
    top: 5%;
    right: 10%;
    width: 15%;
    animation: mb-float 4s ease-in-out infinite;
}
.mb-deco--dove-left {
    bottom: 25%;
    left: 5%;
    width: 12%;
    animation: mb-float 5s ease-in-out infinite 1s;
}
.mb-deco--butterfly {
    width: 8%;
    animation: mb-flutter 6s ease-in-out infinite;
}

/* Cover Illustration */
.mb-cover__illustration {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 65%;
    z-index: 2;
    pointer-events: none;
}

/* ===== MAIN CONTENT WRAPPER ===== */
.mb-main {
    display: none;
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    background: var(--mb-cream);
    min-height: 100vh;
}
.mb-main.active {
    display: block;
}
@media (min-width: 768px) {
    .mb-main {
        max-width: 500px;
        box-shadow: 0 0 40px rgba(0,0,0,0.08);
    }
}

/* ===== SECTION BASE ===== */
.mb-section {
    position: relative;
    padding: 60px 25px;
    overflow: hidden;
}
.mb-section--no-pad {
    padding: 0;
}
.mb-section--bg-cream {
    background: var(--mb-cream);
}
.mb-section--bg-white {
    background: var(--mb-white);
}
.mb-section--bg-beige {
    background: var(--mb-beige);
}

/* Section Title */
.mb-section__title {
    font-family: var(--mb-font-serif);
    font-size: 28px;
    color: var(--mb-dark);
    text-align: center;
    margin-bottom: 5px;
}
.mb-section__subtitle {
    font-size: 13px;
    color: var(--mb-text-light);
    text-align: center;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* ===== SECTION 1 - OPENING / HERO (Moving Background) ===== */
.mb-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.mb-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.mb-hero__bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: mb-kenburns 20s ease-in-out infinite alternate;
}
.mb-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(245,240,232,0.3) 0%, rgba(245,240,232,0.7) 50%, rgba(245,240,232,0.95) 100%);
    z-index: 1;
}
.mb-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.mb-hero__logo {
    width: 70px;
    height: 70px;
    margin-bottom: 10px;
}
.mb-hero__names {
    font-family: var(--mb-font-serif);
    font-size: 40px;
    color: var(--mb-dark);
    line-height: 1.2;
}
.mb-hero__event {
    font-size: 14px;
    color: var(--mb-text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
}
.mb-hero__date {
    font-family: var(--mb-font-sans);
    font-size: 14px;
    color: var(--mb-text-light);
}

/* Animated flower borders for hero */
.mb-hero__flowers {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    z-index: 2;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.mb-hero__flower-left, .mb-hero__flower-right {
    height: 100%;
    width: auto;
}

/* ===== QUOTE / SALAM SECTION ===== */
.mb-quote {
    position: relative;
    padding: 60px 25px;
    text-align: center;
    overflow: hidden;
}
.mb-quote__arch {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    padding: 40px 20px;
}
.mb-quote__arch-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 0;
}
.mb-quote__content {
    position: relative;
    z-index: 1;
}
.mb-quote__text {
    font-family: var(--mb-font-serif);
    font-size: 15px;
    line-height: 1.8;
    color: var(--mb-text);
    font-style: italic;
    max-width: 300px;
    margin: 15px auto;
}
.mb-quote__source {
    font-family: var(--mb-font-sans);
    font-size: 12px;
    color: var(--mb-text-light);
}

/* ===== COUPLE / MEMPELAI ===== */
.mb-couple {
    padding: 60px 25px;
    text-align: center;
}
.mb-couple__photo-section {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    margin-bottom: 40px;
    border-radius: var(--mb-radius);
    overflow: hidden;
}
.mb-couple__photo-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mb-couple__row {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.mb-couple__card {
    text-align: center;
}
.mb-couple__photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 3px solid var(--mb-gold-light);
}
.mb-couple__nickname {
    font-family: var(--mb-font-serif);
    font-size: 26px;
    color: var(--mb-dark);
    margin-bottom: 5px;
}
.mb-couple__fullname {
    font-size: 14px;
    color: var(--mb-text);
    margin-bottom: 5px;
}
.mb-couple__parents {
    font-size: 13px;
    color: var(--mb-text-light);
    line-height: 1.5;
}
.mb-couple__ampersand {
    font-family: var(--mb-font-serif);
    font-size: 36px;
    color: var(--mb-gold);
    text-align: center;
}

/* ===== PHOTO DIVIDER ===== */
.mb-photo-divider {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}
.mb-photo-divider__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease;
}
.mb-photo-divider__slide.active {
    opacity: 1;
}

/* ===== EVENTS / ACARA ===== */
.mb-events {
    padding: 60px 25px;
    text-align: center;
}
.mb-events__hero {
    margin-bottom: 40px;
}
.mb-events__hero-title {
    font-family: var(--mb-font-serif);
    font-size: 16px;
    color: var(--mb-dark);
    margin-bottom: 10px;
}
.mb-events__hero-text {
    font-size: 13px;
    color: var(--mb-text-light);
    line-height: 1.7;
}
.mb-events__cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.mb-event-card {
    background: var(--mb-white);
    border-radius: var(--mb-radius);
    padding: 30px 20px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.04);
    border: 1px solid rgba(165, 134, 75, 0.15);
}
.mb-event-card__name {
    font-family: var(--mb-font-serif);
    font-size: 22px;
    color: var(--mb-dark);
    margin-bottom: 5px;
}
.mb-event-card__subtitle {
    font-size: 12px;
    color: var(--mb-text-light);
    font-style: italic;
    margin-bottom: 15px;
}
.mb-event-card__divider {
    width: 40px;
    height: 1px;
    background: var(--mb-gold);
    margin: 12px auto;
}
.mb-event-card__detail {
    font-size: 14px;
    color: var(--mb-text);
    margin-bottom: 5px;
}
.mb-event-card__address {
    font-size: 12px;
    color: var(--mb-text-light);
    line-height: 1.5;
    margin-bottom: 15px;
}
.mb-event-card__maps-btn {
    display: inline-block;
    padding: 8px 24px;
    background: transparent;
    border: 1px solid var(--mb-gold);
    color: var(--mb-gold);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    transition: var(--mb-transition);
}
.mb-event-card__maps-btn:hover {
    background: var(--mb-gold);
    color: var(--mb-white);
}

/* ===== COUNTDOWN ===== */
.mb-countdown {
    padding: 40px 25px;
    text-align: center;
    background: var(--mb-white);
}
.mb-countdown__grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 25px 0;
}
.mb-countdown__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}
.mb-countdown__number {
    font-family: var(--mb-font-serif);
    font-size: 32px;
    color: var(--mb-dark);
    line-height: 1;
}
.mb-countdown__label {
    font-size: 11px;
    color: var(--mb-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}
.mb-countdown__save-btn {
    display: inline-block;
    padding: 10px 24px;
    background: var(--mb-gold);
    color: var(--mb-white);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    transition: var(--mb-transition);
    margin-top: 10px;
}
.mb-countdown__save-btn:hover {
    background: var(--mb-gold-light);
}

/* ===== RSVP ===== */
.mb-rsvp {
    padding: 60px 25px;
}
.mb-rsvp__form {
    max-width: 400px;
    margin: 0 auto;
}
.mb-rsvp .form-group {
    margin-bottom: 18px;
    text-align: left;
}
.mb-rsvp .form-group label {
    display: block;
    font-size: 13px;
    color: var(--mb-text);
    margin-bottom: 6px;
    font-weight: 600;
}
.mb-rsvp .form-group input,
.mb-rsvp .form-group select,
.mb-rsvp .form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--mb-beige);
    border-radius: var(--mb-radius);
    font-family: var(--mb-font-sans);
    font-size: 14px;
    color: var(--mb-text);
    background: var(--mb-white);
    transition: border-color 0.3s ease;
    outline: none;
}
.mb-rsvp .form-group input:focus,
.mb-rsvp .form-group select:focus,
.mb-rsvp .form-group textarea:focus {
    border-color: var(--mb-gold);
}
.mb-rsvp__btn {
    width: 100%;
    padding: 12px;
    background: var(--mb-gold);
    color: var(--mb-white);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    transition: var(--mb-transition);
}
.mb-rsvp__btn:hover {
    background: var(--mb-gold-light);
}
.mb-rsvp__msg {
    text-align: center;
    font-size: 13px;
    margin-top: 10px;
    color: var(--mb-gold);
}

/* Wishes List */
.mb-ucapan__list {
    max-width: 400px;
    margin: 30px auto 0;
    max-height: 350px;
    overflow-y: auto;
}
.mb-ucapan__item {
    padding: 15px;
    border-bottom: 1px solid var(--mb-beige);
}
.mb-ucapan__item:last-child {
    border-bottom: none;
}
.mb-ucapan__item-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--mb-dark);
    margin-bottom: 4px;
}
.mb-ucapan__item-text {
    font-size: 13px;
    color: var(--mb-text-light);
    line-height: 1.5;
}

/* ===== QR CODE ===== */
.mb-qrcode {
    padding: 40px 25px;
    text-align: center;
    background: var(--mb-white);
}
.mb-qrcode__box {
    display: inline-block;
    padding: 15px;
    background: var(--mb-white);
    border-radius: var(--mb-radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-top: 15px;
}

/* ===== GALLERY ===== */
.mb-gallery {
    padding: 60px 25px;
}
.mb-gallery__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.mb-gallery__item {
    aspect-ratio: 1;
    border-radius: var(--mb-radius);
    overflow: hidden;
    cursor: pointer;
}
.mb-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.mb-gallery__item:hover img {
    transform: scale(1.05);
}
.mb-gallery__item--wide {
    grid-column: span 2;
    aspect-ratio: 2/1;
}

/* Video */
.mb-video {
    margin-top: 20px;
    border-radius: var(--mb-radius);
    overflow: hidden;
    aspect-ratio: 16/9;
}
.mb-video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== CERITA / STORY TIMELINE ===== */
.mb-cerita {
    padding: 60px 25px;
    background: var(--mb-white);
}
.mb-cerita__timeline {
    position: relative;
    padding-left: 25px;
    max-width: 400px;
    margin: 0 auto;
}
.mb-cerita__timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--mb-gold-light);
}
.mb-cerita__item {
    position: relative;
    padding-bottom: 30px;
    padding-left: 15px;
}
.mb-cerita__item::before {
    content: '';
    position: absolute;
    left: -29px;
    top: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mb-gold);
    border: 2px solid var(--mb-white);
}
.mb-cerita__date {
    font-size: 12px;
    color: var(--mb-gold);
    margin-bottom: 5px;
}
.mb-cerita__heading {
    font-family: var(--mb-font-serif);
    font-size: 18px;
    color: var(--mb-dark);
    margin-bottom: 8px;
}
.mb-cerita__text {
    font-size: 13px;
    color: var(--mb-text-light);
    line-height: 1.6;
}

/* ===== HADIAH / GIFTS ===== */
.mb-hadiah {
    padding: 60px 25px;
    text-align: center;
}
.mb-hadiah__card {
    background: var(--mb-white);
    border-radius: var(--mb-radius);
    padding: 25px 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.mb-hadiah__bank {
    font-weight: 600;
    font-size: 16px;
    color: var(--mb-dark);
    margin-bottom: 10px;
}
.mb-hadiah__norek {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
}
.mb-hadiah__norek span {
    font-size: 16px;
    color: var(--mb-text);
    font-weight: 600;
    letter-spacing: 1px;
}
.mb-hadiah__copy {
    padding: 4px 12px;
    background: var(--mb-gold);
    color: var(--mb-white);
    font-size: 11px;
    border-radius: 20px;
    transition: var(--mb-transition);
}
.mb-hadiah__copy:hover {
    background: var(--mb-gold-light);
}
.mb-hadiah__owner {
    font-size: 13px;
    color: var(--mb-text-light);
    margin-bottom: 12px;
}
.mb-hadiah__qris {
    max-width: 180px;
    margin: 0 auto;
    border-radius: var(--mb-radius);
}

/* ===== THANK YOU / CLOSING ===== */
.mb-thankyou {
    position: relative;
    padding: 60px 25px 120px;
    text-align: center;
    overflow: hidden;
    min-height: 500px;
}
.mb-thankyou__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.mb-thankyou__overlay {
    position: absolute;
    inset: 0;
    background: rgba(245, 240, 232, 0.6);
    z-index: 1;
}
.mb-thankyou__content {
    position: relative;
    z-index: 2;
}
.mb-thankyou__card {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: var(--mb-radius);
    padding: 30px 20px;
    margin-bottom: 30px;
    display: inline-block;
}
.mb-thankyou__title {
    font-family: var(--mb-font-serif);
    font-size: 32px;
    color: var(--mb-dark);
    margin-bottom: 10px;
}
.mb-thankyou__text {
    font-size: 14px;
    color: var(--mb-text-light);
    line-height: 1.6;
}
.mb-thankyou__hashtag {
    display: inline-block;
    padding: 8px 20px;
    background: var(--mb-dark);
    color: var(--mb-white);
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    margin-top: 15px;
}

/* Moving flowers in thank you */
.mb-thankyou__flowers {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 250px;
    z-index: 3;
    pointer-events: none;
}
.mb-thankyou__flower-img {
    position: absolute;
    bottom: 0;
}
.mb-thankyou__flower-img--left {
    left: -5%;
    width: 45%;
}
.mb-thankyou__flower-img--right {
    right: -5%;
    width: 45%;
}
.mb-thankyou__flower-img--center {
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    bottom: -5%;
}

/* ===== FOOTER ===== */
.mb-footer {
    padding: 30px 25px;
    text-align: center;
    background: var(--mb-cream);
}
.mb-footer__credit {
    font-size: 11px;
    color: var(--mb-text-light);
    margin-top: 10px;
}

/* ===== BOTTOM NAVIGATION ===== */
.mb-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: space-around;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--mb-beige);
    padding: 8px 0;
    z-index: 100;
    display: none;
}
.mb-nav.active {
    display: flex;
}
.mb-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 5px 10px;
    color: var(--mb-text-light);
    font-size: 10px;
    transition: color 0.3s ease;
    cursor: pointer;
}
.mb-nav__item i {
    font-size: 16px;
}
.mb-nav__item.active,
.mb-nav__item:hover {
    color: var(--mb-gold);
}

/* ===== LIGHTBOX ===== */
.mb-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}
.mb-lightbox.active {
    display: flex;
}
.mb-lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--mb-white);
    font-size: 28px;
    cursor: pointer;
    z-index: 2001;
}
.mb-lightbox__img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--mb-radius);
}

/* ===== MUSIC BUTTON ===== */
.mb-music-btn {
    position: fixed;
    bottom: 70px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--mb-gold);
    color: var(--mb-white);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 101;
    box-shadow: 0 2px 10px rgba(165, 134, 75, 0.4);
    cursor: pointer;
    transition: var(--mb-transition);
}
.mb-music-btn.active {
    display: flex;
}
.mb-music-btn.playing {
    animation: mb-pulse 2s infinite;
}

/* ===== ANIMATIONS ===== */
@keyframes mb-kenburns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.15) translate(-2%, -2%);
    }
}
@keyframes mb-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}
@keyframes mb-flutter {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(5deg);
    }
    50% {
        transform: translateY(-5px) rotate(-3deg);
    }
    75% {
        transform: translateY(-12px) rotate(4deg);
    }
}
@keyframes mb-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(165, 134, 75, 0.4);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(165, 134, 75, 0);
    }
}
@keyframes mb-sway {
    0%, 100% {
        transform: rotate(-2deg);
    }
    50% {
        transform: rotate(2deg);
    }
}

/* ===== ANIMATED FLOWER CONTAINER ===== */
.mb-animated-flowers {
    position: relative;
    pointer-events: none;
}
.mb-animated-flower {
    position: absolute;
}
.mb-animated-flower--sway {
    animation: mb-sway 4s ease-in-out infinite;
    transform-origin: bottom center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 380px) {
    .mb-hero__names {
        font-size: 32px;
    }
    .mb-section__title {
        font-size: 24px;
    }
    .mb-cover__quote {
        font-size: 13px;
    }
    .mb-countdown__number {
        font-size: 26px;
    }
}
@media (min-width: 768px) {
    .mb-cover {
        flex-direction: row;
    }
    .mb-hero__names {
        font-size: 48px;
    }
}
