﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    background: #080608;
    color: #f8f3ea;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

.background {
    position: fixed;
    inset: 0;
    z-index: -10;
    overflow: hidden;
    background: radial-gradient( circle at 50% 20%, #401526 0%, #160a10 35%, #080608 75% );
}

.glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: .2;
}

.glow-one {
    background: #9b2349;
    top: -150px;
    left: -150px;
    animation: moveGlow 8s infinite alternate;
}

.glow-two {
    background: #d4af37;
    right: -200px;
    bottom: -200px;
    animation: moveGlow 10s infinite alternate-reverse;
}

.page {
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
}

.content {
    max-width: 850px;
    animation: appear 1.5s ease;
}

.date {
    color: #d4af37;
    font-size: 12px;
    letter-spacing: 6px;
    margin-bottom: 25px;
}

.line {
    width: 65px;
    height: 1px;
    background: #d4af37;
    margin: 0 auto 25px;
}

.small-title {
    color: #bcaeb3;
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(55px, 9vw, 100px);
    font-weight: 500;
    line-height: .95;
    margin-bottom: 30px;
}

    h1 span {
        color: #d4af37;
        font-style: italic;
    }

.description {
    color: #aaa0a5;
    font-size: 14px;
    line-height: 1.8;
    max-width: 450px;
    margin: 0 auto 40px;
}


/* GIFT */

.gift-area {
    width: 180px;
    height: 180px;
    margin: auto;
    position: relative;
    cursor: pointer;
    animation: floatGift 3s ease-in-out infinite;
}

    .gift-area:hover {
        transform: scale(1.08);
    }

.gift-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(212, 175, 55, .18);
    filter: blur(30px);
    left: 15px;
    top: 15px;
}

.gift {
    width: 120px;
    height: 110px;
    position: absolute;
    left: 30px;
    top: 40px;
}

.gift-body {
    position: absolute;
    width: 100px;
    height: 70px;
    left: 10px;
    bottom: 0;
    border-radius: 4px;
    background: linear-gradient( 135deg, #a5254d, #541027 );
    box-shadow: 0 15px 35px rgba(0,0,0,.6);
}

.gift-lid {
    position: absolute;
    width: 112px;
    height: 23px;
    left: 4px;
    top: 20px;
    border-radius: 4px;
    background: linear-gradient( 135deg, #c23860, #721536 );
    z-index: 3;
}

.ribbon {
    position: absolute;
    width: 13px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient( 90deg, #a67c20, #f4dc78, #a67c20 );
}

.bow {
    position: absolute;
    width: 42px;
    height: 28px;
    border: 5px solid #d4af37;
    top: 0;
    z-index: 5;
}

.bow-left {
    left: 16px;
    border-radius: 50% 50% 10% 50%;
    transform: rotate(20deg);
}

.bow-right {
    right: 16px;
    border-radius: 50% 50% 50% 10%;
    transform: rotate(-20deg);
}

.tap {
    margin-top: 20px;
    color: #8f8589;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}


/* BIRTHDAY */

#birthday {
    display: none;
}

.birthday-page {
    background: radial-gradient( circle at center, rgba(111, 25, 58, .25), transparent 50% );
}

.birthday-content {
    animation: birthdayIn 1.5s ease;
}

.birthday-page h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(50px, 9vw, 95px);
    font-weight: 500;
    color: #f5e6c8;
}

.name {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(70px, 13vw, 135px);
    color: #d4af37;
    line-height: 1.1;
    text-shadow: 0 0 30px rgba(212,175,55,.25);
}

.nickname {
    color: #b9adb1;
    font-size: 12px;
    letter-spacing: 3px;
    margin: 20px 0 30px;
}

    .nickname span {
        color: #d4af37;
        margin: 0 8px;
    }

button {
    border: 1px solid #d4af37;
    background: transparent;
    color: #d4af37;
    padding: 16px 30px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: .4s;
}

    button:hover {
        background: #d4af37;
        color: #080608;
        box-shadow: 0 0 30px rgba(212,175,55,.4);
        transform: translateY(-3px);
    }

    button span {
        margin-left: 12px;
    }


/* HEARTS */

.hearts span {
    position: fixed;
    bottom: -50px;
    color: rgba(212,175,55,.35);
    font-size: 25px;
    z-index: 2;
    animation: hearts 10s linear infinite;
}

    .hearts span:nth-child(1) {
        left: 10%;
    }

    .hearts span:nth-child(2) {
        left: 30%;
        animation-delay: 3s;
    }

    .hearts span:nth-child(3) {
        left: 50%;
        animation-delay: 5s;
    }

    .hearts span:nth-child(4) {
        left: 75%;
        animation-delay: 2s;
    }

    .hearts span:nth-child(5) {
        left: 90%;
        animation-delay: 7s;
    }


/* ANIMATIONS */

@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes birthdayIn {
    from {
        opacity: 0;
        transform: scale(.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes floatGift {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: .4;
    }

    50% {
        opacity: 1;
    }
}

@keyframes moveGlow {
    from {
        transform: translate(0,0) scale(1);
    }

    to {
        transform: translate(80px,50px) scale(1.2);
    }
}

@keyframes hearts {
    0% {
        transform: translateY(0) rotate(0);
        opacity: 0;
    }

    20% {
        opacity: .7;
    }

    100% {
        transform: translateY(-110vh) rotate(360deg);
        opacity: 0;
    }
}


/* MOBILE */

@media (max-width: 600px) {

    .page {
        padding: 20px;
    }

    .date {
        letter-spacing: 4px;
    }

    .description {
        font-size: 13px;
    }

    .gift-area {
        transform: scale(.9);
    }

    .nickname {
        font-size: 10px;
        letter-spacing: 2px;
    }
}
/* =========================================================
   MEMORIES PAGE
   ========================================================= */

.memory-page {
    min-height: 100vh;
    padding: 100px 7% 70px;
    position: relative;
    z-index: 5;
}


.memory-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 70px;
    animation: appear 1.3s ease;
}


.memory-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(55px, 9vw, 100px);
    font-weight: 500;
    line-height: .9;
    margin: 15px 0 25px;
}


    .memory-title span {
        display: block;
        color: #d4af37;
        font-style: italic;
    }


.memory-subtitle {
    color: #aaa0a5;
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 1.8;
}


/* GALLERY */

.photo-gallery {
    max-width: 1050px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 45px;
    align-items: center;
}


.photo-card {
    padding: 14px;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(212,175,55,.2);
    backdrop-filter: blur(12px);
    box-shadow: 0 25px 60px rgba(0,0,0,.4);
    transition: .5s ease;
    animation: photoAppear 1s ease backwards;
}


    .photo-card:hover {
        transform: translateY(-12px) rotate(0deg) scale(1.02);
        border-color: rgba(212,175,55,.6);
        box-shadow: 0 30px 70px rgba(212,175,55,.12);
    }


.card-one {
    transform: rotate(-2deg);
    animation-delay: .1s;
}


.card-two {
    transform: rotate(2deg);
    animation-delay: .25s;
}


.card-three {
    transform: rotate(1.5deg);
    animation-delay: .4s;
}


.card-four {
    transform: rotate(-1.5deg);
    animation-delay: .55s;
}


/* PHOTO PLACEHOLDER */

.photo-placeholder {
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient( 145deg, #35101f, #12090e );
    border: 1px solid rgba(255,255,255,.06);
    position: relative;
    overflow: hidden;
}


    .photo-placeholder::before {
        content: "";
        position: absolute;
        width: 180px;
        height: 180px;
        border-radius: 50%;
        background: rgba(212,175,55,.1);
        filter: blur(45px);
    }


    .photo-placeholder span {
        position: relative;
        z-index: 2;
        color: #d4af37;
        font-size: 11px;
        letter-spacing: 4px;
    }


    .photo-placeholder small {
        position: relative;
        z-index: 2;
        color: #82777c;
        margin-top: 10px;
        font-size: 10px;
        letter-spacing: 2px;
    }


.photo-card > p {
    color: #aaa0a5;
    text-align: center;
    font-size: 11px;
    letter-spacing: .5px;
    padding: 18px 8px 8px;
}


/* MESSAGE */

.memory-message {
    text-align: center;
    margin-top: 100px;
    animation: appear 1.5s ease;
}


.quote {
    max-width: 650px;
    margin: auto;
    color: #e5d8d0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-style: italic;
    line-height: 1.5;
}


.gold-heart {
    color: #d4af37;
    font-size: 20px;
    margin: 25px 0;
}


.memory-message button {
    border: 1px solid #d4af37;
    background: transparent;
    color: #d4af37;
    padding: 15px 28px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: .4s;
}


    .memory-message button:hover {
        background: #d4af37;
        color: #080608;
        box-shadow: 0 0 30px rgba(212,175,55,.35);
    }


    .memory-message button span {
        margin-left: 10px;
        transition: .3s;
    }


    .memory-message button:hover span {
        margin-left: 18px;
    }


/* PHOTO ANIMATION */

@keyframes photoAppear {

    from {
        opacity: 0;
        transform: translateY(50px) scale(.95);
    }

    to {
        opacity: 1;
    }
}


/* MOBILE */

@media (max-width: 700px) {

    .memory-page {
        padding: 70px 20px;
    }


    .photo-gallery {
        grid-template-columns: 1fr;
        gap: 35px;
    }


    .photo-placeholder {
        height: 300px;
    }


    .quote {
        font-size: 23px;
    }
}
/* =========================================================
   OUR STORY PAGE
   ========================================================= */

.story-page {
    min-height: 100vh;
    padding: 100px 20px 80px;
    position: relative;
    z-index: 5;
}

.story-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 90px;
    animation: appear 1.2s ease;
}

.story-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(60px, 10vw, 105px);
    font-weight: 500;
    line-height: .9;
    margin: 15px 0 25px;
}

    .story-title span {
        display: block;
        color: #d4af37;
        font-family: 'Great Vibes', cursive;
        font-size: 1.15em;
        font-weight: 400;
    }

.story-intro {
    max-width: 500px;
    margin: auto;
    color: #aaa0a5;
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    line-height: 1.6;
}


/* TIMELINE */

.timeline {
    max-width: 850px;
    margin: auto;
    position: relative;
}

    .timeline::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 1px;
        background: linear-gradient( to bottom, transparent, #d4af37, rgba(212,175,55,.2), #d4af37, transparent );
        transform: translateX(-50%);
    }

.timeline-item {
    width: 50%;
    padding: 20px 45px;
    position: relative;
    animation: appear 1s ease backwards;
}

    .timeline-item:nth-child(1) {
        animation-delay: .2s;
    }

    .timeline-item:nth-child(2) {
        animation-delay: .4s;
        margin-left: 50%;
    }

    .timeline-item:nth-child(3) {
        animation-delay: .6s;
    }

    .timeline-item:nth-child(4) {
        animation-delay: .8s;
        margin-left: 50%;
    }

.timeline-dot {
    position: absolute;
    top: 25px;
    right: -17px;
    width: 34px;
    height: 34px;
    border: 1px solid #d4af37;
    border-radius: 50%;
    background: #12090e;
    color: #d4af37;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 9px;
    letter-spacing: 1px;
    z-index: 3;
    box-shadow: 0 0 20px rgba(212,175,55,.15);
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -17px;
    right: auto;
}

.timeline-card {
    padding: 30px;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(212,175,55,.18);
    backdrop-filter: blur(15px);
    transition: .4s ease;
    border-radius: 3px;
}

    .timeline-card:hover {
        transform: translateY(-6px);
        border-color: rgba(212,175,55,.55);
        box-shadow: 0 20px 50px rgba(0,0,0,.3);
    }

.timeline-label {
    color: #d4af37;
    font-size: 9px;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.timeline-card h2 {
    font-family: 'Cormorant Garamond', serif;
    color: #f5e6c8;
    font-size: 31px;
    font-weight: 500;
    margin-bottom: 15px;
}

.timeline-card > p:not(.timeline-label) {
    color: #a9a0a4;
    font-size: 12px;
    line-height: 1.9;
}

.story-heart {
    color: #d4af37;
    margin-top: 20px;
    font-size: 22px;
}


/* NEXT */

.story-next {
    text-align: center;
    margin-top: 100px;
}

    .story-next p {
        color: #a9a0a4;
        font-family: 'Cormorant Garamond', serif;
        font-size: 23px;
        font-style: italic;
        margin-bottom: 25px;
    }

    .story-next button {
        border: 1px solid #d4af37;
        background: transparent;
        color: #d4af37;
        padding: 15px 28px;
        border-radius: 50px;
        font-family: 'Montserrat', sans-serif;
        font-size: 10px;
        letter-spacing: 2px;
        text-transform: uppercase;
        cursor: pointer;
        transition: .4s;
    }

        .story-next button:hover {
            background: #d4af37;
            color: #080608;
            box-shadow: 0 0 30px rgba(212,175,55,.35);
        }

        .story-next button span {
            margin-left: 10px;
        }


/* MOBILE */

@media (max-width: 700px) {

    .story-page {
        padding: 70px 18px;
    }

    .timeline::before {
        left: 18px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        width: 100%;
        margin-left: 0;
        padding: 20px 0 20px 55px;
    }

        .timeline-dot,
        .timeline-item:nth-child(even) .timeline-dot {
            left: 1px;
            right: auto;
        }

    .timeline-card {
        padding: 24px;
    }

        .timeline-card h2 {
            font-size: 27px;
        }
}
/* =========================================================
   LOVE LETTER PAGE
   ========================================================= */

.letter-page {
    min-height: 100vh;
    padding: 90px 20px 100px;
    text-align: center;
    position: relative;
    z-index: 5;
}

.letter-heading {
    animation: appear 1.2s ease;
}

    .letter-heading h1 {
        font-family: 'Cormorant Garamond', serif;
        font-size: clamp(55px, 9vw, 95px);
        font-weight: 500;
        line-height: .9;
        margin: 15px 0 60px;
    }

        .letter-heading h1 span {
            display: block;
            font-family: 'Great Vibes', cursive;
            color: #d4af37;
            font-size: 1.15em;
        }


/* ENVELOPE */

.envelope {
    width: 320px;
    height: 220px;
    margin: auto;
    position: relative;
    cursor: pointer;
    perspective: 1000px;
    animation: envelopeFloat 3s ease-in-out infinite;
}

.envelope-back {
    position: absolute;
    inset: 0;
    background: #65132f;
    border: 1px solid rgba(212,175,55,.4);
    box-shadow: 0 25px 60px rgba(0,0,0,.5);
}

.envelope-front {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 55%;
    background: #79183a;
    clip-path: polygon(0 0, 50% 65%, 100% 0, 100% 100%, 0 100%);
    z-index: 4;
}

.envelope-flap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 58%;
    background: #8d2045;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    transform-origin: top;
    transition: transform 1s ease;
    z-index: 5;
}

.letter-paper {
    position: absolute;
    width: 270px;
    height: 185px;
    background: #f5e6c8;
    color: #321923;
    left: 25px;
    bottom: 15px;
    padding: 25px;
    transition: transform 1s ease;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0,0,0,.3);
}

.letter-mini-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
}

.letter-lines {
    color: #a5254d;
    font-size: 30px;
    margin-top: 40px;
}


/* OPEN ANIMATION */

.envelope.opened {
    animation: none;
}

    .envelope.opened .envelope-flap {
        transform: rotateX(180deg);
        z-index: 1;
    }

    .envelope.opened .letter-paper {
        transform: translateY(-120px);
    }

.open-letter-text {
    margin-top: 30px;
    color: #aaa0a5;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: opacity .5s;
}


/* LETTER */

.letter-content {
    max-width: 650px;
    margin: 100px auto 0;
    padding: 50px 45px;
    background: linear-gradient( 145deg, rgba(245,230,200,.98), rgba(229,209,174,.98) );
    color: #301923;
    text-align: left;
    box-shadow: 0 30px 80px rgba(0,0,0,.5);
    opacity: 0;
    transform: translateY(50px);
    pointer-events: none;
    transition: opacity 1s ease, transform 1s ease;
}

    .letter-content.show-letter {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

.letter-date {
    color: #866b55;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.letter-content h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 48px;
    font-weight: 400;
    color: #721536;
    margin-bottom: 30px;
}

.letter-content p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 22px;
}

.special-line {
    color: #8f294c;
    font-weight: 600;
}

.signature {
    font-family: 'Great Vibes', cursive;
    font-size: 42px;
    color: #721536;
    text-align: right;
    margin: 35px 0;
}

.letter-content button {
    display: block;
    margin: 30px auto 0;
    border-color: #721536;
    color: #721536;
}

    .letter-content button:hover {
        background: #721536;
        color: #f5e6c8;
    }


/* ANIMATION */

@keyframes envelopeFloat {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}


/* MOBILE */

@media (max-width: 600px) {

    .envelope {
        width: 290px;
        height: 200px;
    }

    .letter-paper {
        width: 245px;
        height: 165px;
        left: 22px;
    }

    .letter-content {
        padding: 35px 25px;
    }

        .letter-content h2 {
            font-size: 40px;
        }

        .letter-content p {
            font-size: 18px;
        }
}
/* =========================================================
   FINAL SURPRISE PAGE
   ========================================================= */

.surprise-page {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 20px;
    background: radial-gradient( circle at 50% 45%, rgba(121,24,58,.45), transparent 38% ), radial-gradient( circle at 20% 80%, rgba(212,175,55,.08), transparent 30% ), #080608;
}


/* GOLD GLOW */

.surprise-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(212,175,55,.08);
    filter: blur(100px);
    animation: finalGlow 5s ease-in-out infinite alternate;
}


@keyframes finalGlow {

    from {
        transform: scale(.8);
        opacity: .3;
    }

    to {
        transform: scale(1.3);
        opacity: .8;
    }
}


/* CONTENT */

.surprise-content {
    position: relative;
    z-index: 5;
    max-width: 850px;
    animation: finalAppear 2s ease;
}


.final-date {
    color: #d4af37;
    font-size: 11px;
    letter-spacing: 7px;
    margin-bottom: 25px;
}


.final-small {
    color: #aaa0a5;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 4px;
    margin-bottom: 20px;
}


.final-title {
    font-family: 'Cormorant Garamond', serif;
    color: #f5e6c8;
    font-size: clamp(55px, 10vw, 110px);
    font-weight: 500;
    line-height: .85;
}


    .final-title span {
        display: block;
        font-family: 'Great Vibes', cursive;
        color: #d4af37;
        font-size: 1.15em;
        font-weight: 400;
        margin-top: 15px;
        text-shadow: 0 0 30px rgba(212,175,55,.25);
    }


.final-heart {
    color: #d4af37;
    font-size: 28px;
    margin: 35px 0;
    animation: heartbeat 1.5s infinite;
}


@keyframes heartbeat {

    0%, 100% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.25);
    }

    30% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.15);
    }
}


.final-message {
    max-width: 550px;
    margin: 0 auto 15px;
    color: #c2b7bb;
    font-family: 'Cormorant Garamond', serif;
    font-size: 21px;
    line-height: 1.6;
}


.final-line {
    width: 60px;
    height: 1px;
    background: #d4af37;
    margin: 35px auto;
}


.ishq-text {
    color: #d4af37;
    font-family: 'Great Vibes', cursive;
    font-size: 38px;
    margin-bottom: 25px;
}


.final-wish {
    max-width: 500px;
    margin: auto;
    color: #9f9599;
    font-size: 12px;
    line-height: 1.8;
}


.final-signature {
    margin-top: 35px;
    color: #f5e6c8;
    font-family: 'Great Vibes', cursive;
    font-size: 32px;
    line-height: 1.3;
}


/* MUSIC BUTTON */

.music-button {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 20;
    border: 1px solid rgba(212,175,55,.6);
    background: rgba(8,6,8,.65);
    color: #d4af37;
    padding: 10px 17px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    font-size: 10px;
    letter-spacing: 1px;
}


    .music-button:hover {
        background: #d4af37;
        color: #080608;
    }


/* REPLAY */

.replay-button {
    margin-top: 35px;
    border: 1px solid #d4af37;
    background: transparent;
    color: #d4af37;
    padding: 13px 24px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: .4s;
}


    .replay-button:hover {
        background: #d4af37;
        color: #080608;
        box-shadow: 0 0 30px rgba(212,175,55,.4);
    }


/* CONFETTI */

.confetti-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}


.confetti-piece {
    position: absolute;
    top: -20px;
    width: 7px;
    height: 12px;
    background: #d4af37;
    opacity: .8;
    animation: confettiFall linear forwards;
}


    .confetti-piece:nth-child(3n) {
        background: #9b2349;
    }


    .confetti-piece:nth-child(4n) {
        background: #f5e6c8;
    }


@keyframes confettiFall {

    from {
        transform: translateY(-20px) rotate(0deg);
        opacity: 1;
    }

    to {
        transform: translateY(110vh) rotate(720deg);
        opacity: 0;
    }
}


@keyframes finalAppear {

    from {
        opacity: 0;
        transform: translateY(40px) scale(.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* MOBILE */

@media (max-width: 600px) {

    .final-date {
        letter-spacing: 4px;
    }

    .final-message {
        font-size: 19px;
    }

    .ishq-text {
        font-size: 32px;
    }

    .music-button {
        top: 15px;
        right: 15px;
    }
}
.countdown-box {
    margin: 30px auto;
    text-align: center;
}

.countdown-title {
    font-family: "Great Vibes", cursive;
    color: #F5E6C8;
    font-size: 28px;
    margin-bottom: 20px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 18px;
}

    .countdown div {
        min-width: 75px;
        padding: 15px 10px;
        border: 1px solid #D4AF37;
        border-radius: 12px;
        background: rgba(74, 16, 40, 0.35);
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
    }

    .countdown span {
        display: block;
        font-family: "Cormorant Garamond", serif;
        font-size: 35px;
        color: #D4AF37;
    }

    .countdown small {
        color: #F5E6C8;
        font-family: "Montserrat", sans-serif;
        font-size: 10px;
        text-transform: uppercase;
    }

.birthday-reveal {
    display: none;
    position: relative;
    text-align: center;
    z-index: 10;
}

    .birthday-reveal.show {
        display: block;
        animation: birthdayReveal 1.5s ease forwards;
    }

    .birthday-reveal h2 {
        font-size: 55px;
        color: #D4AF37;
        margin: 10px 0;
    }

.reveal-name {
    font-family: "Great Vibes", cursive;
    font-size: 65px;
    color: #F5E6C8;
}

.birthday-reveal p {
    color: #F5E6C8;
}

.confetti-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 9999;
}

.birthday-confetti {
    position: absolute;
    top: -20px;
    width: 9px;
    height: 15px;
    background: #D4AF37;
    animation: birthdayConfettiFall linear forwards;
}

@keyframes birthdayConfettiFall {
    to {
        transform: translateY(110vh) rotate(720deg);
    }
}

@keyframes birthdayReveal {
    from {
        opacity: 0;
        transform: scale(0.7);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 600px) {

    .countdown {
        gap: 7px;
    }

        .countdown div {
            min-width: 60px;
            padding: 10px 5px;
        }

        .countdown span {
            font-size: 27px;
        }

    .countdown-title {
        font-size: 24px;
    }

    .birthday-reveal h2 {
        font-size: 38px;
    }

    .reveal-name {
        font-size: 50px;
    }
}
/* FINAL MEMORIES PHOTO SIZE FIX */

.memory-gallery {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px !important;
    width: 100% !important;
    max-width: 1000px !important;
    margin: 40px auto !important;
}

.memory-card {
    width: 100% !important;
    max-width: 485px !important;
    margin: 0 auto !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.memory-photo {
    width: 100% !important;
    height: 280px !important;
    overflow: hidden !important;
}

    .memory-photo img {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }

@media (max-width: 700px) {

    .memory-gallery {
        grid-template-columns: 1fr !important;
    }

    .memory-card {
        max-width: 100% !important;
    }

    .memory-photo {
        height: 300px !important;
    }
}