/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #fff8f5;
    color: #594348;
    overflow-x: hidden;
}

button {
    font-family: inherit;
}

img {
    max-width: 100%;
}


/* =========================================
   COLORS
========================================= */

:root {
    --pink: #e88da3;
    --dark-pink: #c96580;
    --light-pink: #ffe3e9;
    --cream: #fffaf5;
    --paper: #fffdf9;
    --purple: #cbb8df;
    --text: #594348;
    --soft-text: #866e73;
    --yellow: #f4d98c;
}


/* =========================================
   BODY DECORATION
========================================= */

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.25;
    background-image:
        radial-gradient(
            #e9a9b7 0.7px,
            transparent 0.7px
        );
    background-size: 18px 18px;
    z-index: -2;
}


/* =========================================
   FLOATING DECORATIONS (main site)
========================================= */

.floating-decorations {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 50;
}

.float-item {
    position: absolute;
    opacity: 0.5;
    animation: floatAround 7s ease-in-out infinite;
}

.heart-float {
    left: 5%;
    top: 30%;
    color: #e88da3;
    font-size: 28px;
}

.heart-float.second {
    left: auto;
    right: 7%;
    top: 60%;
    animation-delay: 2s;
}

.flower-float {
    left: 90%;
    top: 20%;
    font-size: 25px;
    animation-delay: 1s;
}

.flower-float.second {
    left: 8%;
    top: 75%;
    animation-delay: 3s;
}

.star-float {
    left: 20%;
    top: 15%;
    color: #d7a7ba;
    font-size: 20px;
    animation-delay: 1.5s;
}

.sparkle-float {
    right: 15%;
    top: 35%;
    color: #d8b9df;
    font-size: 25px;
    animation-delay: 4s;
}


/* =========================================
   MUSIC BUTTON
========================================= */

.music-button {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 1000;
    border: 1px solid rgba(200, 100, 130, 0.2);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    color: var(--dark-pink);
    padding: 10px 16px;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(100, 50, 60, 0.1);
    transition: 0.3s;
}

.music-button:hover {
    transform: translateY(-3px);
}

.music-button.playing {
    background: #fff0f3;
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    background:
        radial-gradient(circle at 10% 20%, #ffdce5 0%, transparent 28%),
        radial-gradient(circle at 90% 80%, #e9dcf7 0%, transparent 30%),
        #fff8f5;
}

.hero-paper {
    position: relative;
    width: min(720px, 92vw);
    padding: 70px 35px 65px;
    background:
        linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, .55)),
        var(--paper);
    border-radius: 4px;
    box-shadow: 0 25px 80px rgba(100, 50, 60, 0.13);
    transform: rotate(-1deg);
    animation: paperAppear 1.2s ease;
}

.hero-paper::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px dashed #e8b4c1;
    pointer-events: none;
}

.hero-small {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #a47d84;
    margin-bottom: 18px;
}

.tiny-sparkles {
    color: var(--pink);
    margin-bottom: 12px;
    letter-spacing: 4px;
}

.hero h1 {
    position: relative;
    font-family: 'DM Serif Display', serif;
    font-weight: normal;
    font-size: clamp(55px, 10vw, 105px);
    line-height: 0.95;
    color: #674b52;
}

.hero h1 span {
    display: block;
    color: var(--dark-pink);
    margin-top: 15px;
    font-family: 'Caveat', cursive;
    font-size: 1.2em;
}

.hero-subtitle {
    margin-top: 25px;
    color: #826b70;
    font-size: 18px;
}

.hero-note {
    margin-top: 18px;
    color: #a27c84;
    font-family: 'Caveat', cursive;
    font-size: 21px;
}

.main-button {
    position: relative;
    margin-top: 35px;
    border: none;
    background: var(--pink);
    color: white;
    padding: 15px 28px;
    border-radius: 50px;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(214, 107, 130, .25);
    transition: .3s;
}

.main-button:hover {
    transform: translateY(-5px) rotate(-1deg);
    background: var(--dark-pink);
}

.sticker {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(80, 40, 50, .1);
}

.sticker-one {
    left: -25px;
    top: 40px;
    background: #ffdce4;
    color: var(--pink);
    transform: rotate(-15deg);
}

.sticker-two {
    right: -20px;
    bottom: 50px;
    background: #eee2f8;
    transform: rotate(15deg);
}

.scroll-hint {
    position: absolute;
    bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #a7868c;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-hint b {
    font-size: 20px;
    animation: bounce 1.5s infinite;
}


/* =========================================
   COMMON SECTION
========================================= */

.section {
    width: min(1200px, 92vw);
    margin: auto;
    padding: 110px 20px;
    opacity: 0;
    transform: translateY(35px);
    transition: opacity .9s ease, transform .9s ease;
}

.section.show {
    opacity: 1;
    transform: translateY(0);
}

.section-heading {
    margin-bottom: 55px;
}

.section-heading.center {
    text-align: center;
}

.section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--light-pink);
    color: var(--dark-pink);
    font-size: 12px;
    margin-bottom: 12px;
}

.section-label {
    color: #b27b84;
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(42px, 7vw, 72px);
    font-weight: normal;
    color: #674b52;
    line-height: 1;
}

.heading-description {
    margin-top: 15px;
    color: #947b81;
    font-size: 14px;
}


/* =========================================
   CHILDHOOD
========================================= */

.childhood-section {
    position: relative;
}

.childhood-layout {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 55px;
    align-items: center;
    max-width: 1050px;
    margin: auto;
}

.childhood-photo {
    position: relative;
    padding: 12px 12px 45px;
    background: white;
    box-shadow: 0 25px 60px rgba(70, 40, 40, .13);
    transform: rotate(-2deg);
    transition: .5s;
}

.childhood-photo:hover {
    transform: rotate(0deg) translateY(-5px);
}

.childhood-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.photo-caption {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
}

.photo-caption span {
    display: block;
    font-family: 'Caveat', cursive;
    color: #6d555b;
    font-size: 23px;
}

.photo-caption small {
    color: #a78b91;
    font-size: 9px;
    letter-spacing: 1px;
}

.childhood-note {
    position: relative;
    padding: 50px 40px;
    background: #fff0f3;
    box-shadow: 10px 15px 40px rgba(80, 40, 50, .08);
    transform: rotate(2deg);
}

.childhood-note::after {
    content: "";
    position: absolute;
    bottom: -12px;
    right: 25px;
    width: 90px;
    height: 30px;
    background: rgba(255, 226, 177, .65);
    transform: rotate(-5deg);
}

.handwritten-title {
    font-family: 'Caveat', cursive;
    color: var(--dark-pink);
    font-size: 34px;
}

.childhood-note p {
    margin-top: 20px;
    color: #765f65;
    font-size: 15px;
    line-height: 1.9;
}

.note-heart {
    margin-top: 20px;
    color: var(--pink);
    font-size: 35px;
    animation: heartbeat 1.7s infinite;
}

.tape {
    position: absolute;
    width: 100px;
    height: 32px;
    background: rgba(255, 220, 170, .65);
    z-index: 2;
    transform: rotate(-15deg);
}

.tape-left {
    left: 8%;
    top: -15px;
}


/* =========================================
   SIBLING RATING
========================================= */

.sibling-section {
    max-width: 1000px;
}

.rating-card {
    max-width: 650px;
    margin: auto;
    padding: 45px 35px;
    background: #fffdf9;
    border: 1px solid #f2dce1;
    box-shadow: 0 20px 60px rgba(70, 40, 40, .09);
    transform: rotate(.7deg);
}

.rating-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px dashed #ead1d7;
}

.rating-row span {
    font-family: 'Caveat', cursive;
    font-size: 23px;
    color: #735b61;
}

.stars {
    color: #e5ae66;
    letter-spacing: 2px;
    white-space: nowrap;
}

.reveal-button {
    display: block;
    margin: 35px auto 0;
    padding: 13px 24px;
    border: 1px dashed var(--pink);
    background: #fff0f3;
    color: var(--dark-pink);
    border-radius: 30px;
    cursor: pointer;
    transition: .3s;
}

.reveal-button:hover {
    transform: scale(1.04);
}

.hidden-message {
    display: none;
    margin-top: 30px;
    padding: 25px;
    background: #f5edfa;
    text-align: center;
    animation: revealMessage .7s ease;
}

.hidden-message span {
    font-family: 'Caveat', cursive;
    font-size: 26px;
    color: #8a6c95;
}

.hidden-message p {
    margin-top: 8px;
    color: #725d76;
}


/* =========================================
   ALBUM
========================================= */

.album-section {
    max-width: 1050px;
}

.album-wrapper {
    position: relative;
    max-width: 760px;
    margin: auto;
    padding: 55px 55px 40px;
    background: linear-gradient(135deg, #fffaf3, #fff4f7);
    border: 1px solid #f0dce0;
    box-shadow: 0 25px 70px rgba(70, 40, 40, .11);
    transform: rotate(-.5deg);
}

.memory-photo-frame {
    position: relative;
    max-width: 500px;
    margin: auto;
    padding: 13px 13px 55px;
    background: white;
    box-shadow: 0 20px 45px rgba(60, 35, 40, .15);
    transform: rotate(2deg);
    cursor: zoom-in;
    transition: .4s;
}

.memory-photo-frame:hover {
    transform: rotate(0deg) scale(1.01);
}

.memory-photo-frame img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.photo-tape {
    position: absolute;
    width: 100px;
    height: 30px;
    background: rgba(255, 223, 180, .65);
    top: -16px;
    left: calc(50% - 50px);
    transform: rotate(-4deg);
    z-index: 2;
}

.photo-corner {
    position: absolute;
    right: 17px;
    bottom: 10px;
    color: var(--pink);
    font-size: 25px;
}

.memory-information {
    text-align: center;
    margin-top: 45px;
}

.memory-counter {
    color: #b4878e;
    font-size: 10px;
    letter-spacing: 3px;
}

.memory-information h3 {
    margin-top: 12px;
    font-family: 'Caveat', cursive;
    font-size: 34px;
    font-weight: 600;
    color: #6c535a;
}

.memory-information p {
    max-width: 550px;
    margin: 8px auto 0;
    color: #806a70;
    line-height: 1.8;
    font-size: 14px;
}

.album-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top: 35px;
}

.album-controls button {
    border: none;
    background: #fbe4e9;
    color: var(--dark-pink);
    padding: 11px 17px;
    border-radius: 30px;
    cursor: pointer;
    transition: .3s;
}

.album-controls button:hover {
    background: var(--pink);
    color: white;
    transform: translateY(-2px);
}

.memory-dots {
    display: flex;
    gap: 7px;
}

.memory-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e8cbd2;
    cursor: pointer;
    transition: .3s;
}

.memory-dot.active {
    width: 20px;
    border-radius: 10px;
    background: var(--pink);
}

.album-footer {
    text-align: center;
    margin-top: 25px;
    color: #a58b91;
    font-family: 'Caveat', cursive;
    font-size: 18px;
}

.album-sticker {
    position: absolute;
    font-size: 32px;
}

.sticker-star {
    top: 30px;
    left: 25px;
    color: #e8b66d;
    animation: sparkle 2s infinite;
}

.sticker-flower {
    right: 25px;
    bottom: 35px;
    transform: rotate(15deg);
}


/* =========================================
   VIDEO
========================================= */

.video-section {
    max-width: 1000px;
}

.video-scrapbook {
    position: relative;
    max-width: 800px;
    margin: auto;
    padding: 15px 15px 35px;
    background: white;
    box-shadow: 0 25px 70px rgba(50, 30, 30, .14);
    transform: rotate(1deg);
}

.video-scrapbook video {
    display: block;
    width: 100%;
    max-height: 650px;
    background: #272022;
}

.video-tape {
    position: absolute;
    top: -15px;
    left: 38%;
    width: 130px;
    height: 32px;
    background: rgba(255, 220, 170, .7);
    transform: rotate(-5deg);
    z-index: 2;
}

.video-decoration {
    position: absolute;
    right: 15px;
    bottom: 8px;
    color: var(--pink);
    font-size: 18px;
    letter-spacing: 5px;
}

.video-caption {
    text-align: center;
    padding-top: 18px;
}

.video-caption span {
    font-family: 'Caveat', cursive;
    font-size: 25px;
    color: var(--dark-pink);
}

.video-caption p {
    color: #8c757a;
    font-size: 12px;
    margin-top: 5px;
}


/* =========================================
   LETTER
========================================= */

.heart-section {
    max-width: 900px;
}

.letter {
    position: relative;
    max-width: 720px;
    margin: auto;
    padding: 70px 65px;
    background:
        repeating-linear-gradient(transparent, transparent 38px, #f4e4e6 39px),
        #fffdf8;
    box-shadow: 0 25px 70px rgba(70, 40, 40, .12);
    transform: rotate(-.6deg);
    color: #6d575d;
    font-size: 16px;
    line-height: 2.1;
}

.letter::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50px;
    width: 1px;
    background: #f1cfd6;
}

.letter p {
    position: relative;
    margin-bottom: 18px;
}

.letter-greeting {
    font-family: 'Caveat', cursive;
    font-size: 36px;
    color: var(--dark-pink);
}

.letter-ending {
    font-family: 'Caveat', cursive;
    color: var(--dark-pink);
    font-size: 28px;
    margin-top: 30px;
}

.letter-love {
    text-align: right;
    font-family: 'Caveat', cursive;
    font-size: 24px;
}

.letter-love span {
    font-size: 30px;
    color: var(--dark-pink);
}

.letter-flower {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 35px;
    transform: rotate(10deg);
}

.letter-sparkle {
    position: absolute;
    color: #d7a7ba;
    font-size: 22px;
}

.letter-sparkle.sparkle-one {
    top: 50px;
    left: 18px;
}

.letter-sparkle.sparkle-two {
    bottom: 40px;
    right: 20px;
}


/* =========================================
   FINAL SECTION
========================================= */

.final-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 20px;
    background:
        radial-gradient(circle at 10% 20%, #ffd9e2, transparent 30%),
        radial-gradient(circle at 90% 80%, #e7d9f7, transparent 30%),
        #fff8f5;
}

.final-content {
    width: min(700px, 92vw);
}

.final-small {
    font-size: 10px;
    letter-spacing: 4px;
    color: #a98189;
}

.final-content h2 {
    margin-top: 20px;
    font-family: 'DM Serif Display', serif;
    font-weight: normal;
    font-size: clamp(40px, 7vw, 70px);
    color: #684d54;
}

.final-content > p {
    margin-top: 15px;
    color: #816a70;
    line-height: 1.8;
}

.gift-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 35px auto 0;
    border: none;
    background: transparent;
    color: var(--dark-pink);
    cursor: pointer;
    font-family: 'Caveat', cursive;
    font-size: 25px;
}

.gift-box {
    display: block;
    font-size: 75px;
    animation: giftBounce 1.5s infinite;
    filter: drop-shadow(0 15px 15px rgba(100, 50, 60, .12));
}

.final-surprise {
    display: none;
    position: relative;
    margin-top: 50px;
    padding: 45px 30px;
    background: rgba(255, 255, 255, .8);
    border: 1px dashed #e5a8b8;
    animation: finalReveal 1s ease;
}

.final-heart {
    font-size: 60px;
    color: var(--pink);
    animation: heartbeat 1.3s infinite;
}

.final-surprise h3 {
    margin-top: 10px;
    color: #bd627a;
    letter-spacing: 5px;
    font-size: 17px;
}

.final-surprise h4 {
    margin-top: 5px;
    font-family: 'DM Serif Display', serif;
    font-size: clamp(40px, 8vw, 70px);
    font-weight: normal;
    color: #674b52;
}

.final-surprise > p {
    margin-top: 20px;
    color: #806970;
    line-height: 2;
}

.final-message {
    margin-top: 25px;
    padding: 15px;
    background: #fff0f3;
    color: #875f68;
    font-family: 'Caveat', cursive;
    font-size: 25px;
}

.final-signature {
    margin-top: 25px;
    font-family: 'Caveat', cursive;
    font-size: 25px;
    color: var(--dark-pink);
}

.final-decoration {
    position: absolute;
    font-size: 45px;
    opacity: .7;
    animation: floatAround 5s infinite;
}

.decoration-left {
    left: 8%;
    top: 20%;
}

.decoration-right {
    right: 8%;
    bottom: 20%;
}


/* =========================================
   CONFETTI
========================================= */

.confetti {
    position: absolute;
    width: 8px;
    height: 13px;
    top: 0;
    animation: confettiFall 2.5s linear forwards;
}


/* =========================================
   LIGHTBOX
========================================= */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(40, 20, 25, .92);
    align-items: center;
    justify-content: center;
    padding: 25px;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border: 8px solid white;
    box-shadow: 0 20px 60px black;
}

.close {
    position: absolute;
    top: 15px;
    right: 25px;
    border: none;
    background: transparent;
    color: white;
    font-size: 45px;
    cursor: pointer;
}


/* =========================================
   BACK TO TOP
========================================= */

.back-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 100;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: white;
    color: var(--dark-pink);
    box-shadow: 0 8px 25px rgba(70, 40, 40, .12);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: .3s;
}

.back-top.visible {
    opacity: 1;
    pointer-events: auto;
}


/* =========================================
   PASSWORD SCREEN
   (redesigned — matches the "paper card" look
   from the reference screenshot, using the
   site's existing pink/cream palette)
========================================= */

.password-screen {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 210, 220, 0.8), transparent 35%),
        radial-gradient(circle at 80% 80%, rgba(220, 200, 240, 0.7), transparent 35%),
        #fff8fa;
    z-index: 99999;
}

/* floating hearts/stars behind the card, password screen only */

.password-screen .floating-heart,
.password-screen .floating-star {
    position: absolute;
    pointer-events: none;
    opacity: 0.5;
    animation: floatAround 7s ease-in-out infinite;
    color: var(--pink);
}

.password-screen .heart-one {
    left: 8%;
    top: 22%;
    font-size: 30px;
}

.password-screen .heart-two {
    right: 10%;
    bottom: 20%;
    font-size: 24px;
    animation-delay: 2s;
}

.password-screen .star-one {
    left: 18%;
    bottom: 18%;
    font-size: 22px;
    color: var(--purple);
    animation-delay: 1s;
}

.password-screen .star-two {
    right: 15%;
    top: 18%;
    font-size: 20px;
    color: #d7a7ba;
    animation-delay: 3s;
}


/* =========================================
   PASSWORD CARD
========================================= */

.password-card {
    position: relative;
    width: 100%;
    max-width: 430px;
    padding: 45px 35px;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(150, 100, 120, 0.15);
    border: 1px solid rgba(220, 170, 190, 0.25);
    animation: passwordCardAppear .8s ease;
}

@keyframes passwordCardAppear {
    from {
        opacity: 0;
        transform: translateY(25px) scale(.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.top-decoration {
    color: var(--pink);
    letter-spacing: 6px;
    font-size: 15px;
    margin-bottom: 18px;
}

.bottom-decoration {
    margin-top: 25px;
    font-family: 'Caveat', cursive;
    font-size: 20px;
    color: #a78391;
}


/* =========================================
   PASSWORD HEART / LOCK
========================================= */

.password-heart {
    font-size: 50px;
    color: #e88da3;
    margin: 15px 0 10px;
    animation: heartbeat 1.8s infinite;
}


/* =========================================
   PASSWORD SMALL TEXT
========================================= */

.password-small {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #a78391;
    margin-bottom: 10px;
}


/* =========================================
   PASSWORD TITLE
========================================= */

.password-card h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 38px;
    font-weight: 400;
    color: #6d4b59;
    margin: 6px 0 15px;
}


/* =========================================
   PASSWORD MESSAGE
========================================= */

.password-message {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1.8;
    color: #806772;
    margin-bottom: 5px;
}

.password-label {
    font-family: 'Caveat', cursive;
    font-size: 22px;
    color: var(--dark-pink);
    margin-bottom: 12px;
}


/* =========================================
   PASSWORD INPUT
========================================= */

#passwordInput {
    width: 100%;
    padding: 15px 18px;
    border: 1px solid #e7cbd4;
    border-radius: 14px;
    outline: none;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    text-align: center;
    background: #fffafb;
    color: #6d4b59;
    transition: .3s ease;
}

#passwordInput:focus {
    border-color: #e88da3;
    box-shadow: 0 0 0 4px rgba(232, 141, 163, .12);
}


/* =========================================
   PASSWORD BUTTON
========================================= */

#passwordButton {
    width: 100%;
    margin-top: 15px;
    padding: 15px 20px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    background: #e88da3;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: .3s ease;
}

#passwordButton:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(232, 141, 163, .25);
}


/* =========================================
   PASSWORD ERROR
========================================= */

.password-error {
    color: #d96b7f;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    margin-top: 15px;
}


/* =========================================
   PASSWORD HINT
========================================= */

.password-hint {
    color: #b49aa5;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    margin-top: 18px;
}


/* =========================================
   WRONG PASSWORD
========================================= */

.wrong-password {
    animation: shakePassword .5s ease;
}

@keyframes shakePassword {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-6px); }
    80% { transform: translateX(6px); }
}


/* =========================================
   ANIMATIONS
========================================= */

@keyframes paperAppear {
    from { opacity: 0; transform: translateY(40px) rotate(-5deg); }
    to { opacity: 1; transform: translateY(0) rotate(-1deg); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

@keyframes floatAround {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(8deg); }
}

@keyframes sparkle {
    0%, 100% { opacity: .4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3) rotate(15deg); }
}

@keyframes revealMessage {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes giftBounce {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-12px) rotate(-4deg); }
}

@keyframes finalReveal {
    from { opacity: 0; transform: scale(.85); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes confettiFall {
    0% { transform: translateY(-20px) rotate(0); opacity: 1; }
    100% { transform: translateY(500px) rotate(720deg); opacity: 0; }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .music-button {
        top: 12px;
        right: 12px;
        padding: 8px 12px;
        font-size: 12px;
    }

    .music-button span {
        display: none;
    }

    .hero-paper {
        padding: 55px 22px;
    }

    .hero h1 {
        font-size: clamp(48px, 15vw, 75px);
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .sticker-one {
        left: -12px;
    }

    .sticker-two {
        right: -10px;
    }

    .section {
        padding: 80px 10px;
    }

    .section h2 {
        font-size: 43px;
    }

    .childhood-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .childhood-note {
        padding: 35px 25px;
    }

    .rating-card {
        padding: 30px 20px;
    }

    .rating-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .stars {
        font-size: 14px;
    }

    .album-wrapper {
        padding: 45px 15px 30px;
    }

    .memory-photo-frame {
        padding: 8px 8px 42px;
    }

    .memory-information h3 {
        font-size: 30px;
    }

    .album-controls {
        gap: 8px;
    }

    .album-controls button {
        padding: 9px 11px;
        font-size: 12px;
    }

    .memory-dots {
        gap: 4px;
    }

    .memory-dot {
        width: 5px;
        height: 5px;
    }

    .memory-dot.active {
        width: 15px;
    }

    .letter {
        padding: 55px 30px 45px 60px;
        font-size: 14px;
        line-height: 2;
    }

    .letter::before {
        left: 40px;
    }

    .letter-greeting {
        font-size: 32px;
    }

    .final-decoration {
        font-size: 30px;
    }

    /* PASSWORD MOBILE */

    .password-screen {
        padding: 18px;
    }

    .password-card {
        padding: 35px 22px;
        max-width: 380px;
        border-radius: 24px;
    }

    .password-card h1 {
        font-size: 30px;
    }

    .password-heart {
        font-size: 42px;
    }

    .password-message {
        font-size: 13px;
    }

    #passwordInput,
    #passwordButton {
        font-size: 13px;
        padding: 14px 15px;
    }

    .password-screen .heart-one,
    .password-screen .heart-two,
    .password-screen .star-one,
    .password-screen .star-two {
        font-size: 18px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .password-card {
        padding: 32px 20px;
    }

    .password-card h1 {
        font-size: 28px;
    }

    .password-heart {
        font-size: 40px;
    }

    .password-message {
        font-size: 12px;
    }
}