/* Base Reset & Color System matching Exact Target Screenshots 1:1 */
:root {
    --bg-color: #FAF6EF;
    --text-primary: #7A6C63;
    --text-script: #A39284;
    --pink-card: #FFAEB9;
    --pink-text: #F4A5B7;
    --heart-red: #EE4E64;
    --font-title: 'Italiana', serif;
    --font-serif-display: 'Italiana', 'Cormorant Garamond', Georgia, serif;
    --font-script-calligraphy: 'Alex Brush', 'Parisienne', 'Sacramento', cursive;
    --font-sans: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--bg-color);
    font-family: var(--font-sans);
    user-select: none;
    -webkit-user-select: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* GPU compositing for the root */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Hide all scrollbars site-wide */
*::-webkit-scrollbar {
    display: none;
}
* {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
}

/* Background floating heart particles canvas */
#particlesCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

/* App Container */
.app-container {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.page, .page-section {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.97) translateZ(0);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    will-change: opacity, transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.page.active, .page-section.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1) translateZ(0);
    z-index: 5;
}

/* PAGE 1: Landing Envelope Layout */
.scene-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* 1. Header Text "You got mail!" */
.mail-title {
    position: absolute;
    top: calc(50vh - 225px);
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-title);
    font-size: 3.2rem;
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: 1.5px;
    white-space: nowrap;
    z-index: 10;
    opacity: 1;
    animation: titleGlideToPic3 2.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes titleGlideToPic3 {
    0% {
        top: 14%;
        left: 8%;
        transform: translate(0, 0);
    }
    100% {
        top: calc(50vh - 225px);
        left: 50%;
        transform: translate(-50%, 0);
    }
}

.mail-title.entered {
    animation: titleIdleFloat 6s ease-in-out infinite alternate;
}

@keyframes titleIdleFloat {
    0% { transform: translate(-50%, 0) rotate(0deg); }
    50% { transform: translate(-50%, -3px) rotate(-0.3deg); }
    100% { transform: translate(-50%, -1px) rotate(0.3deg); }
}

/* 2. Interactive Envelope Container */
.envelope-container {
    position: absolute;
    top: 50vh;
    left: 50vw;
    width: 440px;
    height: 350px;
    cursor: pointer;
    z-index: 5;
    transform: translate(-50%, -50%);
    animation: envelopeGlideToPic3 2.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes envelopeGlideToPic3 {
    0% {
        top: 25%;
        left: 60%;
        transform: translate(-50%, -50%) rotate(10deg);
    }
    100% {
        top: 50vh;
        left: 50vw;
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

.envelope-container.centered {
    animation: envelopeStayCenteredInPic3 4s ease-in-out infinite alternate;
}

@keyframes envelopeStayCenteredInPic3 {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    50% {
        transform: translate(-50%, -51%) rotate(0.8deg);
    }
    100% {
        transform: translate(-50%, -49%) rotate(-0.8deg);
    }
}

.envelope-container:hover {
    transform: translate(-50%, -50%) scale(1.04) rotate(2deg) !important;
}

.envelope-art { width: 100%; height: 100%; }
.envelope-svg { width: 100%; height: 100%; overflow: visible; }

.floating-hearts {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;
}

.fh {
    position: absolute;
    color: var(--heart-red);
    opacity: 0.85;
    animation: fhBounce 3s ease-in-out infinite alternate;
}

.fh1 { top: 35px; left: 45px; font-size: 1.4rem; animation-delay: 0s; }
.fh2 { top: 15px; left: 140px; font-size: 1.1rem; animation-delay: 0.6s; }
.fh3 { top: 55px; right: 120px; font-size: 1.3rem; animation-delay: 1.2s; }
.fh4 { top: 20px; right: 80px; font-size: 1.5rem; animation-delay: 1.8s; }

.svg-letter-card {
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: bottom center;
}

/* 3. Subtitle Instruction "click the envelope to open" */
.click-instruction {
    position: absolute;
    top: calc(50vh + 195px);
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-script-calligraphy);
    font-size: 1.5rem;
    color: var(--text-script);
    letter-spacing: 0.5px;
    white-space: nowrap;
    cursor: pointer;
    z-index: 10;
    animation: instructionGlideToPic3 2.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes instructionGlideToPic3 {
    0% {
        top: 85%;
        left: 6%;
        transform: translate(0, 0);
    }
    100% {
        top: calc(50vh + 195px);
        left: 50%;
        transform: translate(-50%, 0);
    }
}

.click-instruction.entered {
    animation: instructionPulse 3s ease-in-out infinite;
}

@keyframes instructionPulse {
    0%, 100% { opacity: 0.75; transform: translate(-50%, 0) scale(1); }
    50% { opacity: 1; transform: translate(-50%, 0) scale(1.04); }
}

/* PAGE 2: Smooth Vertical Scrollable Page Container */
.scroll-container {
    width: 100vw;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* SECTION 1: Full-Bleed Photo Section */
.photo-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    flex-shrink: 0;
}

.photo-page-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #000;
}

.bg-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: none !important;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
}

.photo-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0.25) 100%);
    pointer-events: none;
}

.page2-content {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
}

/* 1. "HAPPY BIRTHDAY," - 5 COMPLETELY DISTINCT, NON-REPEATING SPATIAL MOVES */
.page2-title-left {
    position: absolute;
    font-family: var(--font-serif-display);
    font-size: 8.5rem;
    font-weight: 400;
    color: #FFFFFF;
    letter-spacing: 2px;
    white-space: nowrap;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.75), 0 6px 28px rgba(0, 0, 0, 0.55);
    will-change: transform, top, left;
}

.page.active .page2-title-left {
    animation: distinct5MovesLeft 2.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes distinct5MovesLeft {
    0% {
        /* ORIGINAL START: Steep Tilted Top-Left (Canva Frame 1) */
        top: 10%;
        left: -8%;
        transform: rotate(-10deg);
        opacity: 1;
    }
    25% {
        /* Move 2: Sweep to Bottom-Right */
        top: 65%;
        left: 40%;
        transform: rotate(5deg);
        opacity: 1;
    }
    50% {
        /* Move 3: Jump to Top-Center */
        top: 5%;
        left: 25%;
        transform: rotate(-4deg);
        opacity: 1;
    }
    75% {
        /* Move 4: Dip to Mid-Left */
        top: 50%;
        left: -3%;
        transform: rotate(6deg);
        opacity: 1;
    }
    100% {
        /* ORIGINAL END: Permanent Final Lock (Canva Frame 5 Target) */
        top: 35%;
        left: 14%;
        transform: rotate(0deg);
        opacity: 1;
    }
}

/* 2. "21ST" - 5 COMPLETELY DISTINCT, NON-REPEATING SPATIAL MOVES */
.page2-title-right {
    position: absolute;
    font-family: var(--font-serif-display);
    font-size: 7.5rem;
    font-weight: 400;
    color: var(--pink-text);
    letter-spacing: 1.5px;
    white-space: nowrap;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.75), 0 6px 28px rgba(0, 0, 0, 0.55);
    will-change: transform, top, right;
}

.page.active .page2-title-right {
    animation: distinct5MovesRight 2.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes distinct5MovesRight {
    0% {
        /* ORIGINAL START: Tilted Upper-Right (Canva Frame 1) */
        top: 5%;
        right: -5%;
        transform: rotate(8deg);
        opacity: 1;
    }
    25% {
        /* Move 2: Sweep to Bottom-Left */
        top: 60%;
        right: 50%;
        transform: rotate(-6deg);
        opacity: 1;
    }
    50% {
        /* Move 3: Jump to Mid-Right */
        top: 30%;
        right: 5%;
        transform: rotate(4deg);
        opacity: 1;
    }
    75% {
        /* Move 4: Rise to Top-Center */
        top: 8%;
        right: 35%;
        transform: rotate(-3deg);
        opacity: 1;
    }
    100% {
        /* ORIGINAL END: Permanent Final Lock (Canva Frame 5 Target) */
        top: 22%;
        right: 22%;
        transform: rotate(0deg);
        opacity: 1;
    }
}

/* 3. "elle" - 5 COMPLETELY DISTINCT, NON-REPEATING SPATIAL MOVES (SIZE 19) */
.page2-script-bottom {
    position: absolute;
    font-family: var(--font-script-calligraphy);
    font-size: 19rem !important;
    color: var(--pink-text);
    white-space: nowrap;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.75), 0 6px 28px rgba(0, 0, 0, 0.55);
    will-change: transform, bottom, right;
}

.page.active .page2-script-bottom {
    animation: distinct5MovesScript 2.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes distinct5MovesScript {
    0% {
        /* ORIGINAL START: Sweeping from Bottom-Right (Canva Frame 1) */
        bottom: -5%;
        right: -8%;
        transform: rotate(8deg);
        opacity: 0.9;
    }
    25% {
        /* Move 2: Fly to Top-Left */
        bottom: 55%;
        right: 60%;
        transform: rotate(-6deg);
        opacity: 1;
    }
    50% {
        /* Move 3: Drop to Bottom-Center */
        bottom: 5%;
        right: 30%;
        transform: rotate(5deg);
        opacity: 1;
    }
    75% {
        /* Move 4: Rise to Mid-Right */
        bottom: 40%;
        right: 5%;
        transform: rotate(-4deg);
        opacity: 1;
    }
    100% {
        /* ORIGINAL END: Permanent Final Lock (Canva Frame 5 Target, SIZE 19) */
        bottom: 22%;
        right: 12%;
        transform: rotate(0deg);
        opacity: 1;
    }
}

/* SECTION 2: Scrapbook Love Letter Section (Exact 1:1 Canva Reference Match) */
.scrapbook-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 650px;
    background-color: #E89CA8;
    background-image: url('pink_background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: contrast(1.1) brightness(1.02) saturate(1.12);
    image-rendering: -webkit-optimize-contrast;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Diagonal Lined Notebook Paper Sheet Background using Clip-Path */
.scrapbook-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #FAFAFA;
    background-image: repeating-linear-gradient(
        transparent,
        transparent 34px,
        #E7D5D8 34px,
        #E7D5D8 35.5px
    );
    clip-path: polygon(45% 0, 100% 0, 100% 100%, 66% 100%);
    filter: drop-shadow(-12px 0 20px rgba(0, 0, 0, 0.15));
    z-index: 1;
    pointer-events: none;
}

.bg-doodle {
    position: absolute;
    font-family: 'Patrick Hand', 'Caveat', cursive;
    color: #2D1A1E;
    font-weight: 700;
    opacity: 1;
    pointer-events: none;
    z-index: 6;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.4);
}

.top-right-quote {
    top: 3%;
    left: 57%;
    font-size: 1.65rem;
    transform: rotate(-7deg);
    line-height: 1.3;
    text-align: left;
}

.left-quote {
    top: 40%;
    left: 1.5%;
    font-size: 1.35rem;
    line-height: 1.35;
    transform: rotate(-1deg);
    max-width: 175px;
}

.tic-tac-toe-box {
    position: absolute;
    top: 10%;
    right: 3%;
    width: 140px;
    height: 140px;
    z-index: 7;
}

.ttt-svg { width: 100%; height: 100%; }

/* Scrapbook Main Centered Canvas Container */
.scrapbook-container {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 1200px;
    height: 100vh;
    min-height: 650px;
    margin: 0 auto;
}

/* Left Polaroid Photo Strip (Overlaps Left Edge of Letter Card) */
.photo-strip {
    position: absolute;
    left: 19%;
    top: 18%;
    z-index: 12;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #FFFFFF;
    padding: 10px 10px 16px 10px;
    border-radius: 3px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
    transform: rotate(-6deg);
    transition: transform 0.3s ease;
}

.photo-strip:hover {
    transform: rotate(-3deg) scale(1.03);
}

.strip-frame {
    width: 85px;
    height: 85px;
    overflow: hidden;
    border-radius: 2px;
    background: #EEE;
}

.strip-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* Perforated Lined Notepad Paper Love Letter Card */
.notepad-letter {
    position: absolute;
    left: 26%;
    top: 10%;
    z-index: 9;
    width: 370px;
    background: #FFFDF8;
    border-radius: 4px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.16);
    padding: 30px 25px 25px 35px;
    transform: rotate(-1deg);
    border-left: 3.5px solid #D32F2F;
}

/* Perforated Pink Torn Top Edge Effect */
.notepad-perforation {
    position: absolute;
    top: -8px;
    left: 0;
    width: 100%;
    height: 8px;
    background-image: radial-gradient(circle at 8px 0, transparent 6px, #FFFDF8 6px);
    background-size: 16px 8px;
    background-repeat: repeat-x;
}

.notepad-header {
    border-bottom: none;
    margin-bottom: 8px;
}

.letter-title {
    font-family: var(--font-serif-display);
    font-size: 2.5rem;
    color: #961C1C;
    margin-bottom: 2px;
    letter-spacing: 0.5px;
}

.letter-subtitle {
    font-family: 'Patrick Hand', 'Caveat', cursive;
    font-size: 1.15rem;
    color: #443333;
    font-weight: 600;
}

.notepad-body {
    background: repeating-linear-gradient(
        transparent,
        transparent 27px,
        #EBE3D5 27px,
        #EBE3D5 28px
    );
    line-height: 28px;
    padding-top: 4px;
}

.salutation {
    font-family: 'Patrick Hand', 'Caveat', cursive;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 6px;
}

.letter-content {
    font-family: 'Patrick Hand', 'Caveat', cursive;
    font-size: 1.3rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
    line-height: 1.5;
}

.letter-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 10px;
}

.signature-block {
    font-family: 'Patrick Hand', 'Caveat', cursive;
    font-size: 1.4rem;
    font-weight: 700;
    color: #000000;
}

.sender-name {
    font-weight: 700;
}

.cat-doodle {
    width: 80px;
    height: 52px;
}

.cat-svg { width: 100%; height: 100%; }

/* Open Cream Watercolor Envelope Artwork on Right */
.scrapbook-envelope {
    position: absolute;
    left: 58%;
    top: 35%;
    z-index: 10;
    width: 340px;
    height: 280px;
    transform: rotate(5deg);
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.14));
}

.sb-env-svg { width: 100%; height: 100%; }

/* Cute Bottom Right Kawaii Doodle */
.bottom-right-doodle {
    position: absolute;
    right: 6%;
    bottom: 5%;
    width: 170px;
    height: 170px;
    z-index: 8;
    transform: rotate(5deg);
    pointer-events: none;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.06));
}

.doodle-svg {
    width: 100%;
    height: 100%;
}

/* SECTION 3: Gifts Just For You! (Exact Match to Screenshot) */
.gifts-section {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    background: #FAF6EF;
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gifts-title {
    font-family: var(--font-serif-display);
    font-size: 3.4rem;
    font-weight: 400;
    color: #7A6C63;
    margin-bottom: 60px;
    letter-spacing: 1px;
}

.gifts-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 70px;
    width: 100%;
    max-width: 1000px;
}

.gift-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.gift-card:hover {
    transform: translateY(-10px) scale(1.05) translateZ(0);
}

.gift-icon-container {
    width: 320px;
    height: 260px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 18px;
    background: none;
}

.camera-svg, .cake-svg, .ribbon-svg {
    width: 100%;
    height: 100%;
}

.gift-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
    background: none;
    mix-blend-mode: multiply;
    filter: contrast(1.1) brightness(1.02);
    image-rendering: -webkit-optimize-contrast;
}

.gift-label {
    font-family: var(--font-script-calligraphy);
    font-size: 2rem;
    color: #7A6C63;
    letter-spacing: 0.5px;
}

/* Modal Popup */
.letter-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.letter-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
}

.modal-card {
    position: relative;
    z-index: 101;
    width: 90%;
    max-width: 480px;
    background: #FFFDF8;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    border: 2px solid #F6DDE2;
    text-align: center;
    transform: translateY(40px) scale(0.9);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.letter-modal.active .modal-card {
    transform: translateY(0) scale(1);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2.2rem;
    color: var(--text-script);
    cursor: pointer;
    transition: color 0.2s;
}

.close-btn:hover {
    color: var(--heart-red);
}

.modal-header h2 {
    font-family: var(--font-title);
    font-size: 2.4rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.modal-body .greeting {
    font-family: var(--font-script-calligraphy);
    font-size: 2.2rem;
    color: var(--heart-red);
    margin-bottom: 10px;
}

.modal-body .letter-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.cake-illustration {
    font-size: 3.2rem;
    margin: 15px 0;
    animation: cakeFloat 2s ease-in-out infinite;
}

@keyframes cakeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.modal-body .signature {
    font-family: var(--font-script-calligraphy);
    font-size: 2rem;
    color: var(--text-script);
}

/* Mobile responsive adjustments */
@media (max-width: 900px) {
    .scrapbook-container {
        flex-direction: column;
        align-items: center;
    }
    .photo-strip {
        flex-direction: row;
        transform: rotate(0deg);
    }
    .notepad-letter {
        width: 90%;
    }
    .gifts-grid {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .mail-title {
        font-size: 2.4rem;
    }
    .envelope-container {
        width: 320px;
        height: 250px;
    }
    .click-instruction {
        font-size: 1.3rem;
    }
    .page2-title-left { font-size: 4.5rem; }
    .page2-title-right { font-size: 4.2rem; }
    .page2-script-bottom { font-size: 10rem !important; }
}

/* ==========================================
   PAGE 3: Memories Page & Sequential Animations
   ========================================== */
#page3 {
    background: #FAF6EF;
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.memories-scroll-wrapper {
    width: 100vw;
    height: 100vh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

.memories-section {
    width: 100vw;
    min-height: 100vh;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Section 2: 3 Side-by-Side Photo Cards */
.section-grid {
    background: #FAF6EF;
    padding: 60px 0;
}

.photo-cards-grid {
    display: flex;
    gap: 35px;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    width: 90%;
}

.grid-photo-card {
    width: 320px;
    height: 420px;
    background: #FFFFFF;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.grid-photo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.grid-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}

.center-card {
    z-index: 10;
}

/* Floating Pink Badges */
.pink-badge {
    position: absolute;
    background: #F4A5B7;
    color: #FFFFFF;
    font-family: 'Alex Brush', 'Parisienne', cursive;
    font-size: 1.9rem;
    padding: 4px 22px;
    border-radius: 3px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    z-index: 25;
    white-space: nowrap;
}

.badge-left {
    top: 18%;
    left: -40px;
    transform: rotate(-3deg);
}

.badge-right {
    bottom: 22%;
    right: -40px;
    transform: rotate(2deg);
}

/* Bottom Dark Pill Badge */
.dark-pill-badge {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: #2B2B2B;
    color: #FFFFFF;
    font-family: 'Patrick Hand', sans-serif;
    font-size: 1.1rem;
    padding: 6px 24px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    z-index: 25;
    letter-spacing: 0.5px;
}

.back-btn {
    position: absolute;
    top: 25px;
    left: 30px;
    z-index: 50;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #E8D3D6;
    padding: 8px 18px;
    border-radius: 25px;
    font-family: 'Patrick Hand', cursive;
    font-size: 1.1rem;
    color: #7A5C61;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    opacity: 0.35;
    transition: all 0.3s ease;
}

.back-btn:hover {
    opacity: 1;
    background: #FFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    color: #EE4E64;
}

.memories-container {
    width: 90%;
    max-width: 1200px;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Left Side: Calligraphy Title & Body Text */
.memories-left {
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

#page3.active .memories-left {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.2s; /* Step 4: Title & text fade in */
}

.memories-title {
    font-family: 'Alex Brush', 'Parisienne', cursive;
    font-size: 4.5rem;
    color: #E28896;
    margin-bottom: 15px;
    font-weight: 400;
    line-height: 1.1;
}

.memories-text {
    font-family: 'Sacramento', 'Caveat', cursive;
    font-size: 1.75rem;
    color: #8C757B;
    line-height: 1.55;
    letter-spacing: 0.3px;
}

.memories-text p {
    margin-bottom: 10px;
}

/* Right Side: Floating Overlapping Polaroids + Vinyl */
.memories-right {
    width: 50%;
    height: 100%;
    position: relative;
}

/* Top Polaroid Photo */
.polaroid-card {
    position: absolute;
    background: #FFFFFF;
    padding: 16px 16px 50px 16px;
    border-radius: 4px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.polaroid-top {
    top: 5%;
    right: 8%;
    width: 320px;
    transform: translateY(-80px) rotate(4deg) scale(0.9);
}

#page3.active .polaroid-top {
    opacity: 1;
    transform: translateY(0) rotate(4deg) scale(1);
    transition-delay: 0.6s; /* Step 3: Top Polaroid slides in */
}

/* Bottom Polaroid Photo */
.polaroid-bottom {
    top: 38%;
    right: 18%;
    width: 340px;
    transform: translateY(100px) rotate(-6deg) scale(0.9);
    z-index: 5;
}

#page3.active .polaroid-bottom {
    opacity: 1;
    transform: translateY(0) rotate(-6deg) scale(1);
    transition-delay: 1.8s; /* Step 6: Bottom Polaroid slides up & overlaps */
}

.polaroid-photo {
    width: 100%;
    height: 260px;
    overflow: hidden;
    border-radius: 2px;
    background: #F0F0F0;
}

.polaroid-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Washi Tape Stickers */
.washi-tape {
    position: absolute;
    width: 90px;
    height: 24px;
    background: repeating-linear-gradient(
        45deg,
        rgba(238, 183, 197, 0.7),
        rgba(238, 183, 197, 0.7) 10px,
        rgba(255, 255, 255, 0.8) 10px,
        rgba(255, 255, 255, 0.8) 20px
    );
    opacity: 0.85;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.washi-top {
    top: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(-3deg);
}

.washi-bottom {
    top: -10px;
    right: 15px;
    transform: rotate(5deg);
}

/* Spinning Vinyl Record */
.vinyl-wrapper {
    position: absolute;
    left: 2%;
    bottom: 22%;
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    transform: translate(-40px, 40px) scale(0.8);
    transition: opacity 1s ease, transform 1s ease;
}

#page3.active .vinyl-wrapper {
    opacity: 1;
    transform: translate(0, 0) scale(1);
    transition-delay: 0.2s; /* Step 2: Vinyl enters */
}

.vinyl-disc {
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, #2B2B2B 0%, #111111 60%, #000000 100%);
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: spinVinyl 6s linear infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.vinyl-wrapper:hover .vinyl-disc {
    animation-duration: 3s;
    box-shadow: 0 12px 30px rgba(238, 78, 100, 0.3);
}

.vinyl-wrapper.playing .vinyl-disc {
    animation-duration: 2.2s;
    box-shadow: 0 0 35px rgba(238, 78, 100, 0.5), 0 10px 25px rgba(0, 0, 0, 0.4);
}

@keyframes spinVinyl {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.vinyl-groove-1 {
    position: absolute;
    inset: 15px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.vinyl-groove-2 {
    position: absolute;
    inset: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.vinyl-center {
    width: 54px;
    height: 54px;
    background: #E88B9E;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid #FFF;
}

.vinyl-hole {
    width: 14px;
    height: 14px;
    background: #FAF6EF;
    border-radius: 50%;
}

.click-me-label {
    margin-top: 10px;
    font-family: 'Alex Brush', cursive;
    font-size: 2.2rem;
    color: #E28896;
    transform: rotate(-12deg);
    pointer-events: none;
    white-space: nowrap;
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* ==========================================
   PAGE 4: 100% Exact Verbatim User CSS (Container Centered)
   ========================================== */
@import url(https://fonts.googleapis.com/css?family=Lato:300italic);

#page4 {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #fbb6c6 0%, #f7a0b6 50%, #f58ba7 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.page4-pattern-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.page4-pattern-bg .pattern-svg {
    width: 100%;
    height: 100%;
    display: block;
}

@keyframes sparkleTwinkle {
    0%, 100% { opacity: 0.5; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.12); }
}

.sparkle-layer circle,
.sparkle-layer path {
    transform-origin: center;
    animation: sparkleTwinkle 2.5s ease-in-out infinite alternate;
}

@keyframes doodleFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(3deg); }
}

.doodle-float {
    transform-box: fill-box;
    transform-origin: center;
    animation: doodleFloat 4s ease-in-out infinite alternate;
}

.marco-cake-container {
    position: relative;
    width: 200px;
    height: 500px;
    margin: 0 auto;
    z-index: 10;
    transform: scale(1.4);
    transform-origin: center center;
}

.make-a-wish-text {
    position: absolute;
    top: 355px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    font-family: 'Alex Brush', cursive;
    font-size: 2.2rem;
    color: #9c5547;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.8), 0 0 12px rgba(255, 255, 255, 0.5);
    text-align: center;
    letter-spacing: 1.5px;
    pointer-events: none;
    white-space: nowrap;
    z-index: 20;
    animation: makeAWishGlow 3s ease-in-out infinite alternate;
}

@keyframes makeAWishGlow {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.95; }
    50% { transform: translateX(-50%) scale(1.05); opacity: 1; text-shadow: 0 4px 15px rgba(255, 255, 255, 0.95); }
}

.xoxo-text {
    position: absolute;
    font-family: 'Caveat', cursive;
    font-size: 1.3rem;
    font-weight: 700;
    color: #8c3848;
    pointer-events: none;
    user-select: none;
    z-index: 20;
    white-space: nowrap;
    letter-spacing: 1px;
    text-shadow: 0 1px 4px rgba(255, 255, 255, 0.6);
}

.xoxo-left {
    top: 240px;
    left: -55px;
    transform: rotate(-12deg);
}

.xoxo-right {
    top: 240px;
    right: -55px;
    transform: rotate(10deg);
}

#cake, #cake2 {
  display: block;
  position: relative;
  margin: -10em auto 0 auto;
}

/* ============================================== Candle
*/

.velas {
  background: #ffffff;
  border-radius: 10px;
  position: absolute;
  top: 228px;
  left: 50%;
  margin-left: -2.4px;
  margin-top: -8.33333333px;
  width: 5px;
  height: 35px;
  transform: translateY(-100vh);
  opacity: 0;
  backface-visibility: hidden;
}

.page-4.active .velas {
  animation: in 400ms 2.8s ease-out forwards;
}

.velas:after,
.velas:before {
  background: rgba(255, 0, 0, 0.4);
  content: "";
  position: absolute;
  width: 100%;
  height: 2.22222222px;
}
.velas:after {
  top: 25%;
  left: 0;
}
.velas:before {
  top: 45%;
  left: 0;
}

/* ============================================== Fire
*/

.fuego {
  border-radius: 100%;
  position: absolute;
  top: -20px;
  left: 50%;
  margin-left: -2.6px;
  width: 6.66666667px;
  height: 18px;
}

.page-4.active .fuego:nth-child(1) {
  animation: fuego 2s 3.2s infinite;
}
.page-4.active .fuego:nth-child(2) {
  animation: fuego 1.5s 3.2s infinite;
}
.page-4.active .fuego:nth-child(3) {
  animation: fuego 1s 3.2s infinite;
}
.page-4.active .fuego:nth-child(4) {
  animation: fuego 0.5s 3.2s infinite;
}
.page-4.active .fuego:nth-child(5) {
  animation: fuego 0.2s 3.2s infinite;
}

/* ============================================== Animation Fire
*/

@keyframes fuego {
  0%, 100% {
    background: rgba(254, 248, 97, 0.5);
    box-shadow: 0 0 40px 10px rgba(248, 233, 209, 0.2);
    transform: translateY(0) scale(1);
  }
  50% {
    background: rgba(255, 50, 0, 0.1);
    box-shadow: 0 0 40px 20px rgba(248, 233, 209, 0.2);
    transform: translateY(-20px) scale(0);
  }
}

@keyframes in {
  0% {
    transform: translateY(-100vh);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.text {
  color: #8b6a60;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-style:italic;
  text-align: center;
  h1 {
    font-size: 1.4em;
  }
}

/* Shake Animation on Bite */
@keyframes biteShake {
    0% { transform: translateY(-2px) scale(1) translate(0, 0); }
    25% { transform: translateY(-2px) scale(1.02) translate(-3px, 2px); }
    50% { transform: translateY(-2px) scale(0.98) translate(3px, -2px); }
    75% { transform: translateY(-2px) scale(1.01) translate(-2px, 3px); }
    100% { transform: translateY(-2px) scale(1) translate(0, 0); }
}

.cake-center-stage.shaking {
    animation: biteShake 0.35s ease-in-out;
}

/* Celebration Bounce */
@keyframes celebrationBounce {
    0% { transform: scale(1); }
    40% { transform: scale(1.1); }
    70% { transform: scale(0.96); }
    100% { transform: scale(1); }
}

.cake-center-stage.bouncing {
    animation: celebrationBounce 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#cakeStageImg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 35px rgba(180, 120, 140, 0.15));
}

.fullscreen-wish-title {
    margin-top: 25px;
    font-family: 'Alex Brush', 'Parisienne', cursive;
    font-size: 4.8rem;
    color: #D697A3;
    font-weight: 400;
    letter-spacing: 2px;
    text-shadow: 0 3px 6px rgba(0,0,0,0.04);
}


#page4 .cake.shake {
    animation: shake 0.35s;
}

@keyframes shake {
    0% { transform: translateX(0); }
    20% { transform: translateX(-4px); }
    40% { transform: translateX(4px); }
    60% { transform: translateX(-2px); }
    80% { transform: translateX(2px); }
    100% { transform: translateX(0); }
}

#page4 .wish {
    margin-top: 35px;
    font-size: 48px;
    font-style: italic;
    color: #d7b179;
    letter-spacing: 3px;
    font-family: Georgia, serif;
}

#page4 .sparkles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #FFD24D;
    border-radius: 50%;
    animation: twinkle 2.5s infinite;
}

#page4 .sparkles span:nth-child(1) { left: 10%; top: 20%; }
#page4 .sparkles span:nth-child(2) { left: 20%; top: 70%; }
#page4 .sparkles span:nth-child(3) { left: 35%; top: 25%; }
#page4 .sparkles span:nth-child(4) { left: 50%; top: 12%; }
#page4 .sparkles span:nth-child(5) { left: 65%; top: 25%; }
#page4 .sparkles span:nth-child(6) { left: 82%; top: 68%; }
#page4 .sparkles span:nth-child(7) { left: 90%; top: 32%; }
#page4 .sparkles span:nth-child(8) { left: 18%; top: 45%; }
#page4 .sparkles span:nth-child(9) { left: 76%; top: 45%; }
#page4 .sparkles span:nth-child(10) { left: 45%; top: 82%; }

@keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.6); }
}


#hearts {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 25;
}

.heart {
    position: absolute;
    font-size: 18px;
    animation: heartFloat 5s linear forwards;
}

@keyframes heartFloat {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(-250px); opacity: 0; }
}

#crumbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 20;
}

.crumb {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #f3d88d;
    border-radius: 50%;
    animation: crumbFall 1s linear forwards;
}

@keyframes crumbFall {
    0% { opacity: 1; }
    100% { transform: translateY(120px); opacity: 0; }
}

@media(max-width: 700px) {
    #page4 .cake-container {
        width: 330px;
        height: 330px;
    }
    #page4 .wish {
        font-size: 30px;
    }
}

/* ==============================================
   PAGE 5: Sunflower Bouquet Surprise Page
   ============================================== */
#page5 {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: #f2e8da;
    z-index: 100;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    scrollbar-width: none;
}
#page5::-webkit-scrollbar { display: none; }

/* Full-screen scene container for absolute positioning */
.sunflower-bouquet-container {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
}

/* Center bouquet image */
.sunflower-bouquet-wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -54%);
    width: 560px;
    height: 660px;
    z-index: 5;
    animation: bouquetEntrance 1.0s cubic-bezier(0.175, 0.885, 0.32, 1.2) 0.1s both;
}

.sunflower-bouquet-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* "Flowers just for you!" caption — placed inside the bouquet layout, at bottom */
.flowers-caption {
    position: absolute;
    left: 50%;
    bottom: 8%;
    transform: translateX(-50%);
    font-family: 'Alex Brush', 'Sacramento', cursive;
    font-size: 2.5rem;
    font-weight: 400;
    color: #c0725a;
    white-space: nowrap;
    opacity: 0;
    animation: fadeIn 1.0s ease-out 2.2s forwards;
    z-index: 20;
    letter-spacing: 0.02em;
}

/* Floating Messages Base */
.fm {
    position: absolute;
    opacity: 0;
    animation: fmEntrance 0.7s ease-out forwards;
    z-index: 15;
}

.fm span {
    display: inline-block;
    font-family: 'Alex Brush', 'Sacramento', cursive;
    font-size: 1.65rem;
    font-weight: 400;
    color: #2d1a0e;
    white-space: nowrap;
    letter-spacing: 0.01em;
    transition: transform 0.35s ease, color 0.3s ease;
}

.fm:hover span {
    transform: scale(1.14) rotate(2deg);
    color: #a0341a;
}

/* -----------------------------------------------
   LEFT SIDE positions  (matching reference image)
   ----------------------------------------------- */
/* "you're the best part"  — top-left */
.fm-left-1 { top: 10%; left: 5%; animation-delay: 0.3s; }
/* "you give me butterflies" — upper-left, indented */
.fm-left-2 { top: 21%; left: 14%; animation-delay: 0.5s; }
/* "i love you forever" — mid-left */
.fm-left-3 { top: 33%; left: 6%; animation-delay: 0.7s; }
/* "soulmates" — center-left */
.fm-left-4 { top: 46%; left: 18%; animation-delay: 0.9s; }
/* "you're so beautiful" — lower-left edge */
.fm-left-5 { top: 59%; left: 5%; animation-delay: 1.1s; }
/* "i love your laugh" — lower-center-left */
.fm-left-6 { top: 59%; left: 26%; animation-delay: 1.3s; }
/* "I'm proud of you" — bottom-left */
.fm-left-7 { top: 73%; left: 13%; animation-delay: 1.5s; }

/* -----------------------------------------------
   RIGHT SIDE positions  (matching reference image)
   ----------------------------------------------- */
/* "i love you"  — top-right */
.fm-right-1 { top: 11%; right: 8%; animation-delay: 0.4s; }
/* "i love your eyes" — upper-right */
.fm-right-2 { top: 21%; right: 19%; animation-delay: 0.6s; }
/* "you're my everything" — mid-right */
.fm-right-3 { top: 33%; right: 4%; animation-delay: 0.8s; }
/* "me + you = forever" — center-right */
.fm-right-4 { top: 46%; right: 16%; animation-delay: 1.0s; }
/* "i love your smile" — lower-right (left of "you mean everything") */
.fm-right-5 { top: 59%; right: 28%; animation-delay: 1.2s; }
/* "you mean everything" — lower-right edge */
.fm-right-6 { top: 60%; right: 5%; animation-delay: 1.4s; }
/* "such a cutie" — bottom-right */
.fm-right-7 { top: 73%; right: 17%; animation-delay: 1.6s; }

/* Gentle continuous floating */
@keyframes fmFloat1 {
    0%, 100% { transform: translateY(0) rotate(-0.8deg); }
    50%       { transform: translateY(-6px) rotate(0.8deg); }
}
@keyframes fmFloat2 {
    0%, 100% { transform: translateY(0) rotate(0.8deg); }
    50%       { transform: translateY(-5px) rotate(-0.8deg); }
}

.fm-left-1 span  { animation: fmFloat1 4.6s ease-in-out infinite 1.1s; }
.fm-left-2 span  { animation: fmFloat2 5.1s ease-in-out infinite 1.3s; }
.fm-left-3 span  { animation: fmFloat1 4.9s ease-in-out infinite 1.5s; }
.fm-left-4 span  { animation: fmFloat2 5.3s ease-in-out infinite 1.7s; }
.fm-left-5 span  { animation: fmFloat1 4.7s ease-in-out infinite 1.9s; }
.fm-left-6 span  { animation: fmFloat2 5.5s ease-in-out infinite 2.1s; }
.fm-left-7 span  { animation: fmFloat1 5.0s ease-in-out infinite 2.3s; }

.fm-right-1 span { animation: fmFloat2 4.8s ease-in-out infinite 1.2s; }
.fm-right-2 span { animation: fmFloat1 5.2s ease-in-out infinite 1.4s; }
.fm-right-3 span { animation: fmFloat2 5.0s ease-in-out infinite 1.6s; }
.fm-right-4 span { animation: fmFloat1 5.4s ease-in-out infinite 1.8s; }
.fm-right-5 span { animation: fmFloat2 4.8s ease-in-out infinite 2.0s; }
.fm-right-6 span { animation: fmFloat1 5.6s ease-in-out infinite 2.2s; }
.fm-right-7 span { animation: fmFloat2 5.1s ease-in-out infinite 2.4s; }

@keyframes bouquetEntrance {
    0%   { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
    100% { transform: translate(-50%, -54%) scale(1);   opacity: 1; }
}

@keyframes fmEntrance {
    0%   { opacity: 0; transform: translateY(16px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 25;
    cursor: pointer;
    opacity: 0;
    animation: fadeIn 1s ease-out 2.8s forwards;
}

.scroll-indicator span {
    font-family: 'Alex Brush', 'Sacramento', cursive;
    font-size: 1.4rem;
    color: #a08060;
    letter-spacing: 0.05em;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ==============================================
   PAGE 5 SECTION 2: Locket Quote
   ============================================== */
.locket-quote-container {
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f2e8da;
    position: relative;
}

.locket-wrapper {
    width: 500px;
    max-width: 80vw;
    opacity: 1;
}

.locket-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Brighter Quote Section */
.brighter-quote-container {
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f2e8da;
    position: relative;
}

.brighter-wrapper {
    width: 620px;
    max-width: 80vw;
    opacity: 1;
}

.brighter-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: none;
}
