/* =========================================================
   GLOBAL
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --bg: #080814;
    --bg-soft: #101020;
    --card: rgba(255, 255, 255, 0.055);
    --card-strong: rgba(255, 255, 255, 0.08);

    --text: #f5f3ff;
    --muted: #aaa9bb;

    --purple: #7c3aed;
    --purple-light: #a78bfa;
    --pink: #ec4899;
    --pink-light: #f472b6;

    --border: rgba(255, 255, 255, 0.11);

    --shadow:
        0 30px 80px rgba(0, 0, 0, 0.45),
        0 0 50px rgba(124, 58, 237, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(
            circle at 15% 10%,
            rgba(124, 58, 237, 0.12),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 85%,
            rgba(236, 72, 153, 0.09),
            transparent 28%
        ),
        #080814;

    color: var(--text);

    font-family: "Montserrat", sans-serif;

    overflow-x: hidden;
}


/* =========================================================
   STAR BACKGROUND
========================================================= */

.stars,
.stars2,
.stars3 {
    position: fixed;
    inset: 0;

    pointer-events: none;

    background-repeat: repeat;

    z-index: 0;
}

.stars {
    background-image:
        radial-gradient(circle, rgba(255,255,255,.75) 1px, transparent 1.5px);

    background-size: 180px 180px;

    animation: starsFloat 16s linear infinite;
}

.stars2 {
    background-image:
        radial-gradient(circle, rgba(167,139,250,.7) 1px, transparent 1.5px);

    background-size: 260px 260px;

    opacity: .65;

    animation: starsFloat 24s linear infinite reverse;
}

.stars3 {
    background-image:
        radial-gradient(circle, rgba(244,114,182,.5) 1px, transparent 1.5px);

    background-size: 330px 330px;

    opacity: .45;

    animation: starsFloat 30s linear infinite;
}

@keyframes starsFloat {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-180px);
    }
}


/* =========================================================
   COMMON ELEMENTS
========================================================= */

main {
    position: relative;
    z-index: 2;
}

.eyebrow {
    font-family: "Space Grotesk", sans-serif;

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 0.42em;

    color: #c4b5fd;

    text-transform: uppercase;
}

.premium-btn {
    position: relative;

    border: none;

    border-radius: 18px;

    padding: 18px 34px;

    min-width: 220px;

    cursor: pointer;

    font-family: "Montserrat", sans-serif;

    font-size: 0.78rem;
    font-weight: 900;

    letter-spacing: 0.14em;

    color: white;

    background:
        linear-gradient(
            135deg,
            #6d28d9,
            #9333ea 45%,
            #ec4899
        );

    box-shadow:
        0 18px 45px rgba(124, 58, 237, 0.28),
        inset 0 1px 0 rgba(255,255,255,.25);

    overflow: hidden;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.premium-btn::before {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 70%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.3),
            transparent
        );

    transform: skewX(-20deg);

    transition: left .7s ease;
}

.premium-btn:hover::before {
    left: 150%;
}

.premium-btn:hover {
    transform: translateY(-4px) scale(1.02);

    box-shadow:
        0 25px 60px rgba(124, 58, 237, 0.45);
}

.premium-btn:active {
    transform: translateY(0) scale(.98);
}


/* =========================================================
   LOGIN PAGE
========================================================= */

.login-page {
    min-height: 100vh;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 70px 25px;
}

.login-container {
    width: min(100%, 1100px);

    text-align: center;

    animation: pageEnter 1s ease both;
}

.small-stars {
    font-size: 1.1rem;

    color: #c4b5fd;

    margin-bottom: 14px;

    animation: pulseStars 2.5s ease-in-out infinite;
}

.login-container h1 {
    margin-top: 22px;

    font-size: clamp(3.2rem, 8vw, 7.5rem);

    line-height: .95;

    font-weight: 900;

    letter-spacing: -0.06em;

    max-width: 1000px;

    margin-left: auto;
    margin-right: auto;
}

.login-container h1 span {
    display: block;

    margin-top: 10px;

    background:
        linear-gradient(
            90deg,
            #a78bfa,
            #ec4899,
            #f9a8d4
        );

    -webkit-background-clip: text;

    color: transparent;
}

.date-title {
    margin-top: 28px;

    color: #c7c4d6;

    font-size: .82rem;

    font-weight: 800;

    letter-spacing: .18em;
}


/* COUNTDOWN */

.countdown {
    margin: 42px auto;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 16px;

    flex-wrap: wrap;
}

.time-box {
    width: 145px;

    padding: 24px 15px;

    border: 1px solid var(--border);

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.08),
            rgba(255,255,255,.025)
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        0 20px 50px rgba(0,0,0,.2);

    backdrop-filter: blur(18px);

    transition:
        transform .3s ease,
        border-color .3s ease;
}

.time-box:hover {
    transform: translateY(-6px);

    border-color: rgba(167,139,250,.45);
}

.time-box span {
    display: block;

    font-family: "Space Grotesk", sans-serif;

    font-size: 2.4rem;

    font-weight: 700;

    color: white;
}

.time-box small {
    display: block;

    margin-top: 8px;

    font-size: .65rem;

    font-weight: 800;

    letter-spacing: .16em;

    color: var(--muted);
}

.colon {
    font-size: 2rem;

    color: #a78bfa;

    font-weight: 700;
}


/* LOGIN CARD */

.login-card {
    width: min(100%, 460px);

    margin: 0 auto;

    padding: 38px;

    text-align: left;

    border-radius: 30px;

    border: 1px solid rgba(255,255,255,.1);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.09),
            rgba(255,255,255,.035)
        );

    backdrop-filter: blur(25px);

    box-shadow: var(--shadow);
}

.lock-icon {
    width: 60px;
    height: 60px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            rgba(124,58,237,.25),
            rgba(236,72,153,.2)
        );

    font-size: 1.7rem;

    margin-bottom: 20px;
}

.login-card h2 {
    font-size: 1.8rem;

    margin-bottom: 8px;
}

.login-subtitle {
    color: var(--muted);

    margin-bottom: 30px;

    font-size: .95rem;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;

    margin-bottom: 9px;

    color: #cbc7dc;

    font-size: .68rem;

    font-weight: 800;

    letter-spacing: .13em;
}

.input-group input {
    width: 100%;

    border: 1px solid rgba(255,255,255,.1);

    outline: none;

    border-radius: 14px;

    padding: 16px 18px;

    color: white;

    background:
        rgba(255,255,255,.055);

    font-family: inherit;

    transition:
        border-color .3s ease,
        box-shadow .3s ease,
        background .3s ease;
}

.input-group input::placeholder {
    color: #777488;
}

.input-group input:focus {
    border-color: #a78bfa;

    background:
        rgba(124,58,237,.08);

    box-shadow:
        0 0 0 4px rgba(124,58,237,.1);
}

.login-card .premium-btn {
    width: 100%;

    margin-top: 5px;
}

.login-message {
    margin-top: 18px;

    text-align: center;

    font-size: .85rem;
}

.bottom-text {
    margin-top: 30px;

    color: #888596;

    font-size: .82rem;
}


/* =========================================================
   EXCITED PAGE
========================================================= */

.excited-page {
    min-height: 100vh;

    display: flex;

    align-items: center;

    padding: 70px 25px;
}

.excited-container {
    width: min(100%, 1200px);

    margin: auto;

    animation: pageEnter 1s ease both;
}

.excited-container > .eyebrow {
    text-align: center;

    margin-bottom: 45px;
}


/* CALENDAR SCENE */

.calendar-scene {
    display: grid;

    grid-template-columns:
        minmax(200px, 1fr)
        minmax(260px, 1.2fr)
        minmax(200px, 1fr);

    align-items: center;

    gap: 30px;

    margin-bottom: 65px;
}

.date-character,
.waiting-zone {
    padding: 30px;

    border-radius: 26px;

    border: 1px solid rgba(255,255,255,.08);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.06),
            rgba(255,255,255,.02)
        );

    backdrop-filter: blur(15px);

    text-align: center;

    transition:
        transform .35s ease,
        border-color .35s ease;
}

.date-character:hover,
.waiting-zone:hover {
    transform: translateY(-8px);

    border-color: rgba(167,139,250,.35);
}

.calendar-top {
    color: #c4b5fd;

    font-size: .75rem;

    font-weight: 900;

    letter-spacing: .25em;
}

.calendar-number {
    font-family: "Space Grotesk", sans-serif;

    font-size: 5rem;

    font-weight: 800;

    line-height: 1;

    margin: 15px 0;
}

.face {
    font-size: 2rem;

    margin-bottom: 12px;
}

.date-character p,
.waiting-zone p {
    color: var(--muted);

    font-size: .85rem;

    line-height: 1.6;
}

.cake-icon {
    font-size: 3rem;

    margin-bottom: 15px;
}

.waiting-zone p {
    color: white;

    font-weight: 800;

    letter-spacing: .08em;
}

.waiting-dots {
    display: flex;

    justify-content: center;

    gap: 9px;

    margin-top: 20px;
}

.waiting-dots span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #c084fc;

    animation: dotBounce 1.4s infinite ease-in-out;
}

.waiting-dots span:nth-child(2) {
    animation-delay: .2s;
}

.waiting-dots span:nth-child(3) {
    animation-delay: .4s;
}


/* QUESTION */

.question-section {
    max-width: 1000px;

    margin: auto;

    text-align: center;
}

.question-section h1 {
    font-size: clamp(3rem, 8vw, 7rem);

    line-height: .95;

    font-weight: 900;

    letter-spacing: -0.055em;
}

.question-section h1 span {
    display: block;

    margin-top: 12px;

    background:
        linear-gradient(
            90deg,
            #a78bfa,
            #ec4899
        );

    -webkit-background-clip: text;

    color: transparent;
}

.question-section > p {
    max-width: 650px;

    margin: 30px auto;

    color: var(--muted);

    font-size: 1.05rem;

    line-height: 1.8;
}

.choice-area {
    min-height: 100px;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 20px;

    position: relative;

    margin-top: 35px;
}

.yes-button,
.no-button {
    border: none;

    cursor: pointer;

    border-radius: 18px;

    padding: 18px 35px;

    min-width: 170px;

    font-family: inherit;

    font-weight: 900;

    letter-spacing: .1em;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.yes-button {
    color: white;

    background:
        linear-gradient(
            135deg,
            #7c3aed,
            #ec4899
        );

    box-shadow:
        0 18px 45px rgba(124,58,237,.3);
}

.yes-button:hover {
    transform: translateY(-5px) scale(1.04);
}

.no-button {
    color: #d6d3e2;

    background:
        rgba(255,255,255,.06);

    border: 1px solid rgba(255,255,255,.1);
}

.no-counter {
    margin-top: 22px;

    color: #a8a5b8;

    font-size: .85rem;
}

.final-no-message {
    display: none;

    margin-top: 35px;

    padding: 30px;

    border-radius: 24px;

    background:
        rgba(236,72,153,.06);

    border: 1px solid rgba(236,72,153,.15);

    animation: cardPop .5s ease;
}

.final-no-message h2 {
    margin: 10px 0;

    font-size: 1.5rem;
}

.final-no-message p {
    color: var(--muted);
}


/* =========================================================
   BIRTHDAY PAGE
========================================================= */

.birthday-page {
    min-height: 100vh;

    padding: 40px 25px 100px;
}

.music-button {
    position: fixed;

    top: 25px;
    right: 30px;

    width: 50px;
    height: 50px;

    border: 1px solid rgba(255,255,255,.1);

    border-radius: 50%;

    background: rgba(15,15,30,.7);

    backdrop-filter: blur(15px);

    color: white;

    font-size: 1.2rem;

    cursor: pointer;

    z-index: 20;

    transition: .3s ease;
}

.music-button:hover {
    transform: rotate(15deg) scale(1.08);

    border-color: #c084fc;
}

.birthday-main {
    width: min(100%, 1200px);

    margin: auto;
}


/* HERO */

.birthday-hero {
    min-height: 78vh;

    display: grid;

    grid-template-columns: 1.25fr .75fr;

    column-gap: 70px;

    align-items: center;

    position: relative;
}

.birthday-hero .eyebrow {
    grid-column: 1;

    align-self: end;

    margin-bottom: -70px;
}

.hero-cake {
    position: absolute;

    right: 8%;
    top: 15%;

    font-size: 4rem;

    animation: cakeFloat 3s ease-in-out infinite;
}

.birthday-hero h1 {
    grid-column: 1;

    font-size: clamp(4rem, 9vw, 8rem);

    line-height: .83;

    font-weight: 900;

    letter-spacing: -.07em;
}

.birthday-hero h1 span {
    display: block;

    margin-top: 15px;

    background:
        linear-gradient(
            90deg,
            #a78bfa,
            #f472b6,
            #fdba74
        );

    -webkit-background-clip: text;

    color: transparent;
}

.birthday-hero h2 {
    grid-column: 1;

    margin-top: -110px;

    margin-left: 65%;

    font-size: 1.5rem;

    color: #e8e5f0;
}

.birthday-intro {
    grid-column: 2;

    grid-row: 1 / span 3;

    align-self: center;

    color: var(--muted);

    font-size: 1.08rem;

    line-height: 1.8;

    max-width: 340px;
}

.mariyam-tag {
    grid-column: 2;

    margin-top: -150px;

    color: #d9d4e6;

    font-size: .8rem;

    font-weight: 800;

    line-height: 1.8;

    letter-spacing: .05em;
}

.birthday-hero .premium-btn {
    grid-column: 2;

    margin-top: -180px;
}


/* MESSAGE SECTION */

.birthday-message-section {
    max-width: 950px;

    margin: 60px auto 0;

    padding: 65px;

    border-radius: 35px;

    border: 1px solid rgba(255,255,255,.08);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.06),
            rgba(255,255,255,.015)
        );

    box-shadow: var(--shadow);
}

.birthday-message-section h2 {
    margin-top: 25px;

    font-size: clamp(2rem, 4vw, 3.5rem);

    line-height: 1.1;
}

.birthday-message-section h2 span {
    display: block;

    color: #c4b5fd;
}

.message-card {
    margin-top: 35px;

    padding-left: 25px;

    border-left: 2px solid #8b5cf6;
}

.message-card p {
    margin-bottom: 14px;

    color: var(--muted);

    line-height: 1.8;

    font-size: 1rem;
}

.message-card h3 {
    margin-bottom: 14px;

    font-size: 1.05rem;

    color: white;
}

.birthday-message-section .premium-btn {
    margin-top: 35px;
}


/* =========================================================
   WISH PAGE
========================================================= */

.wish-page {
    min-height: 100vh;

    padding: 80px 25px 100px;
}

.wish-container {
    width: min(100%, 1050px);

    margin: auto;

    text-align: center;

    animation: pageEnter 1s ease both;
}

.wish-container h1 {
    margin-top: 20px;

    font-size: clamp(3rem, 7vw, 6.5rem);

    line-height: .95;

    font-weight: 900;

    letter-spacing: -.055em;
}

.wish-container h1 span {
    display: block;

    margin-top: 12px;

    background:
        linear-gradient(
            90deg,
            #a78bfa,
            #ec4899
        );

    -webkit-background-clip: text;

    color: transparent;
}


/* PHOTO */

.anushki-photo-section {
    position: relative;

    width: min(100%, 900px);

    margin: 60px auto 0;

    padding: 1px;

    border-radius: 32px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(167,139,250,.8),
            rgba(236,72,153,.7),
            rgba(253,186,116,.5)
        );

    box-shadow:
        0 30px 80px rgba(0,0,0,.45);
}

.anushki-photo-glow {
    position: absolute;

    inset: -20%;

    background:
        radial-gradient(
            circle,
            rgba(236,72,153,.25),
            transparent 60%
        );

    filter: blur(50px);
}

.anushki-full-photo {
    position: relative;

    display: block;

    width: 100%;

    height: min(65vw, 580px);

    object-fit: cover;

    object-position: center;

    border-radius: 31px;

    transition: transform .8s ease;
}

.anushki-photo-section:hover .anushki-full-photo {
    transform: scale(1.025);
}


/* LETTER */

.wish-letter-card {
    width: min(100%, 800px);

    margin: 55px auto 35px;

    padding: 50px;

    border-radius: 30px;

    border: 1px solid rgba(255,255,255,.1);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.08),
            rgba(255,255,255,.025)
        );

    backdrop-filter: blur(20px);

    box-shadow: var(--shadow);
}

.letter-icon {
    font-size: 2rem;

    margin-bottom: 20px;

    animation: letterFloat 3s ease-in-out infinite;
}

.wish-letter-card h2 {
    font-size: clamp(1.7rem, 4vw, 2.6rem);

    margin-bottom: 28px;
}

.wish-letter-card p {
    color: var(--muted);

    line-height: 1.9;

    font-size: 1rem;

    margin-bottom: 16px;
}

.signature {
    margin-top: 32px;

    padding-top: 25px;

    border-top: 1px solid rgba(255,255,255,.08);

    color: white;

    font-weight: 800;
}

.next-page-btn {
    margin-top: 10px;
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes pageEnter {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseStars {
    0%,
    100% {
        transform: scale(1);
        opacity: .7;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes dotBounce {
    0%,
    80%,
    100% {
        transform: translateY(0);
        opacity: .4;
    }

    40% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

@keyframes cakeFloat {
    0%,
    100% {
        transform: translateY(0) rotate(-3deg);
    }

    50% {
        transform: translateY(-14px) rotate(3deg);
    }
}

@keyframes letterFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes cardPop {
    from {
        opacity: 0;
        transform: scale(.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .calendar-scene {
        grid-template-columns: 1fr;

        max-width: 500px;

        margin-left: auto;
        margin-right: auto;
    }

    .birthday-hero {
        min-height: auto;

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 25px;

        padding-top: 80px;
    }

    .birthday-hero .eyebrow,
    .birthday-hero h2,
    .birthday-intro,
    .mariyam-tag,
    .birthday-hero .premium-btn {
        margin: 0;
    }

    .birthday-hero h2 {
        font-size: 1.5rem;
    }

    .birthday-intro {
        max-width: 600px;
    }

    .hero-cake {
        top: 0;
        right: 0;
    }
}


@media (max-width: 650px) {

    body {
        overflow-x: hidden;
    }

    .login-page,
    .excited-page,
    .wish-page {
        padding: 45px 18px;
    }

    .eyebrow {
        font-size: .58rem;

        letter-spacing: .25em;
    }

    .login-container h1,
    .question-section h1,
    .wish-container h1 {
        letter-spacing: -.045em;
    }

    .countdown {
        gap: 10px;
    }

    .time-box {
        width: calc(50% - 10px);

        padding: 18px 10px;
    }

    .time-box span {
        font-size: 2rem;
    }

    .colon {
        display: none;
    }

    .login-card {
        padding: 28px 22px;

        border-radius: 25px;
    }

    .choice-area {
        flex-direction: column;
    }

    .yes-button,
    .no-button {
        width: 100%;
    }

    .birthday-page {
        padding: 30px 18px 70px;
    }

    .birthday-message-section {
        padding: 35px 25px;

        border-radius: 25px;
    }

    .wish-letter-card {
        padding: 35px 22px;
    }

    .anushki-photo-section {
        margin-top: 40px;

        border-radius: 24px;
    }

    .anushki-full-photo {
        height: 75vw;

        border-radius: 23px;
    }

    .premium-btn {
        width: 100%;

        min-width: auto;
    }

    .music-button {
        top: 15px;
        right: 15px;
    }
}

/* =========================================================
   RESTORED MEMORIES / GALLERY / FINAL PAGE CSS
   APPEND ONLY — DO NOT REMOVE EXISTING CSS
========================================================= */


/* =========================================================
   20 SURPRISES / MEMORIES PAGE
========================================================= */

.memories-page {
    min-height: 100vh;
    overflow-x: hidden;
}

.memories-container {
    position: relative;
    z-index: 2;

    width: min(1150px, 92%);
    margin: auto;

    padding: 100px 0;

    text-align: center;
}

.memories-container h1 {
    font-size: clamp(3rem, 8vw, 6.5rem);

    line-height: 0.9;

    font-weight: 900;

    letter-spacing: -0.06em;

    margin-bottom: 25px;
}

.memories-container h1 span {
    display: block;

    background:
        linear-gradient(
            90deg,
            #9f68ff,
            #ff75c4,
            #d3b0ff
        );

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent;
}

.memories-intro {
    max-width: 650px;

    margin:
        30px auto
        60px;

    color: var(--muted);

    line-height: 1.8;

    animation:
        pageEnter 0.8s ease both;
}


/* =========================================================
   GIFT GRID
========================================================= */

.gifts-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(180px, 1fr)
        );

    gap: 20px;
}


/* =========================================================
   GIFT CARD
========================================================= */

.gift-card {
    position: relative;

    min-height: 175px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 12px;

    border-radius: 24px;

    border:
        1px solid
        rgba(255,255,255,.10);

    background:
        linear-gradient(
            145deg,
            rgba(45,44,72,.82),
            rgba(19,19,33,.90)
        );

    cursor: pointer;

    overflow: hidden;

    color: white;

    font-size: 2.4rem;

    transition:
        transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;

    animation:
        fadeUp .6s ease both;
}


/* CARD GLOW */

.gift-card::before {
    content: "";

    position: absolute;

    width: 160px;
    height: 160px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(168,85,247,.24),
            transparent 70%
        );

    opacity: 0;

    transition:
        opacity .35s ease;

    pointer-events: none;
}


.gift-card:hover::before {
    opacity: 1;
}


.gift-card:hover {
    transform:
        translateY(-10px)
        rotate(1deg)
        scale(1.02);

    border-color:
        rgba(184,124,255,.65);

    box-shadow:
        0 25px 60px
        rgba(140,75,255,.25);
}


.gift-card span {
    position: absolute;

    bottom: 18px;

    left: 50%;

    transform:
        translateX(-50%);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: .7rem;

    font-weight: 700;

    letter-spacing: .12em;

    color:
        rgba(255,255,255,.55);
}


.special-gift {
    background:
        linear-gradient(
            135deg,
            rgba(139,79,255,.55),
            rgba(255,90,190,.38)
        );

    animation:
        specialGlow
        2s ease-in-out
        infinite;
}


@keyframes specialGlow {

    0%,
    100% {

        box-shadow:
            0 0 25px
            rgba(140,75,255,.20);

    }

    50% {

        box-shadow:
            0 0 60px
            rgba(236,72,153,.35);

    }

}


/* =========================================================
   GIFT MODAL
========================================================= */

.gift-modal {
    display: none;

    position: fixed;

    inset: 0;

    z-index: 100;

    padding: 20px;

    background:
        rgba(5,3,10,.82);

    backdrop-filter:
        blur(15px);

    align-items: center;

    justify-content: center;
}


.gift-modal.show {
    display: flex;
}


.gift-modal-content {
    position: relative;

    width: min(100%, 550px);

    padding:
        55px
        35px
        40px;

    text-align: center;

    border-radius: 30px;

    background:
        linear-gradient(
            145deg,
            #241833,
            #100b18
        );

    border:
        1px solid
        rgba(220,180,255,.20);

    box-shadow:
        0 30px 100px
        rgba(0,0,0,.50);

    animation:
        cardPop .4s ease;
}


#closeGift {
    position: absolute;

    top: 15px;
    right: 20px;

    border: none;

    background: none;

    color: white;

    font-size: 35px;

    cursor: pointer;
}


#giftEmoji {
    font-size: 70px;

    margin-bottom: 15px;
}


#giftNumber {
    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: .7rem;

    font-weight: 700;

    letter-spacing: .20em;

    color: #be93ff;

    margin-bottom: 12px;
}


#giftTitle {
    font-size: 2rem;

    margin-bottom: 20px;
}


#giftMessage {
    color: var(--muted);

    line-height: 1.8;
}


/* =========================================================
   PREMIUM GALLERY PAGE
========================================================= */

.gallery-page {
    min-height: 100vh;

    overflow-x: hidden;
}


.gallery-container {
    position: relative;

    z-index: 2;

    width: min(1200px, 92%);

    margin: 0 auto;

    padding: 100px 0 80px;

    text-align: center;
}


.gallery-header {
    max-width: 850px;

    margin:
        0 auto
        70px;

    text-align: center;

    animation:
        pageEnter 1s ease both;
}


.gallery-container h1,
.gallery-header h1 {
    margin:
        15px 0
        20px;

    font-size:
        clamp(
            3rem,
            8vw,
            6rem
        );

    line-height: .9;

    font-weight: 900;

    letter-spacing: -.06em;
}


.gallery-container h1 span,
.gallery-header h1 span {
    display: block;

    margin-top: 10px;

    background:
        linear-gradient(
            135deg,
            #d9b8ff,
            #a855f7,
            #ff7eb6
        );

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;
}


.gallery-subtitle,
.gallery-intro {
    max-width: 700px;

    margin:
        0 auto
        60px;

    color:
        rgba(255,255,255,.68);

    font-size: 1.05rem;

    line-height: 1.8;
}


/* =========================================================
   PHOTO GRID
========================================================= */

.photo-grid {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            1fr
        );

    gap: 20px;

    width: 100%;
}


.photo-grid img {
    display: block;

    width: 100%;

    height: 300px;

    object-fit: cover;

    border-radius: 22px;

    border:
        1px solid
        rgba(255,255,255,.10);

    transition:
        transform .4s ease,
        box-shadow .4s ease,
        border-color .4s ease;

    cursor: pointer;
}


.photo-grid img:hover {
    transform:
        translateY(-10px)
        scale(1.035);

    border-color:
        rgba(184,124,255,.55);

    box-shadow:
        0 25px 60px
        rgba(140,75,255,.35);
}


/* =========================================================
   VIDEO GRID
========================================================= */

.video-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 25px;

    width: 100%;
}


.video-grid video {
    display: block;

    width: 100%;

    border-radius: 22px;

    border:
        1px solid
        rgba(255,255,255,.10);

    background: #000;

    box-shadow:
        0 20px 60px
        rgba(0,0,0,.25);
}


/* =========================================================
   GALLERY HEADING
========================================================= */

.gallery-heading {
    font-size:
        clamp(
            1.6rem,
            4vw,
            2.3rem
        );

    margin:
        75px 0
        32px;

    color: #e3d7ef;

    font-weight: 800;

    animation:
        fadeUp .8s ease both;
}


/* =========================================================
   FINAL / BITCH PAGE
========================================================= */

.final-ending {
    display: none;

    position: relative;

    z-index: 2;

    min-height: 100vh;

    padding:
        130px 20px
        100px;

    text-align: center;

    justify-content: center;

    align-items: center;

    flex-direction: column;
}


.final-ending.show {
    display: flex;

    animation:
        pageEnter 1s ease;
}


.final-cake {
    font-size:
        clamp(
            5rem,
            10vw,
            7rem
        );

    margin-bottom: 25px;

    animation:
        cakeFloat
        2.5s
        ease-in-out
        infinite;
}


.final-ending > p:first-of-type {
    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: .7rem;

    font-weight: 700;

    letter-spacing: .35em;

    color: #c7a6ff;

    margin:
        25px 0;
}


.final-ending h2 {
    font-size:
        clamp(
            3.2rem,
            9vw,
            7rem
        );

    line-height: .9;

    font-weight: 900;

    letter-spacing: -.06em;
}


.final-ending h2 span {
    display: block;

    background:
        linear-gradient(
            90deg,
            #9f68ff,
            #ff75c4,
            #d3b0ff
        );

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent;
}


.final-text {
    max-width: 700px;

    margin-top: 40px;

    color: var(--muted);

    line-height: 2;

    font-size: 1rem;
}


.final-hearts {
    font-size: 2rem;

    margin-top: 45px;

    animation:
        specialGlow
        2s ease-in-out
        infinite;
}


.final-small {
    margin-top: 40px;

    color: #8a8395;

    font-size: .8rem;
}


/* =========================================================
   COMMON REVEAL ANIMATION
========================================================= */

@keyframes fadeUp {

    from {

        opacity: 0;

        transform:
            translateY(30px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


/* =========================================================
   RESPONSIVE — ONLY MEMORIES / GALLERY / FINAL
========================================================= */

@media (max-width: 1050px) {

    .photo-grid {

        grid-template-columns:
            repeat(3, 1fr);

    }

}


@media (max-width: 800px) {

    .memories-container,
    .gallery-container {

        width: min(92%, 650px);

        padding:
            70px 0
            80px;

    }


    .gifts-grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 15px;

    }


    .gift-card {

        min-height: 150px;

    }


    .photo-grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 15px;

    }


    .photo-grid img {

        height: 250px;

    }


    .video-grid {

        grid-template-columns:
            1fr;

    }


    .gallery-header {

        margin-bottom: 45px;

    }

}


@media (max-width: 500px) {

    .gifts-grid {

        grid-template-columns:
            1fr;

    }


    .gift-card {

        min-height: 145px;

    }


    .photo-grid {

        grid-template-columns:
            1fr;

    }


    .photo-grid img {

        height: 330px;

    }


    .gift-modal-content {

        padding:
            60px 25px
            35px;

    }


    .final-ending {

        padding:
            100px 20px
            80px;

    }


    .final-hearts {

        font-size: 1.5rem;

    }

}  

/* =========================================================
   BIRTHDAY PAGE ONLY
   Premium visual upgrade
   ========================================================= */

.birthday-page {
    position: relative;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 15% 20%, rgba(124, 58, 237, .16), transparent 28%),
        radial-gradient(circle at 85% 30%, rgba(236, 72, 153, .13), transparent 30%),
        #080711;
}

/* =========================================================
   AMBIENT GLOW
   ========================================================= */

.birthday-glow {
    position: fixed;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(70px);
    opacity: .30;
    z-index: 0;
    animation: birthdayFloat 8s ease-in-out infinite alternate;
}

.birthday-glow-one {
    top: 8%;
    left: -180px;
    background: rgba(124, 58, 237, .34);
}

.birthday-glow-two {
    top: 28%;
    right: -190px;
    background: rgba(236, 72, 153, .28);
    animation-delay: -3s;
}

.birthday-glow-three {
    bottom: -220px;
    left: 38%;
    background: rgba(168, 85, 247, .20);
    animation-delay: -5s;
}

@keyframes birthdayFloat {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }

    to {
        transform: translate3d(0, -25px, 0) scale(1.08);
    }
}

/* =========================================================
   HERO
   ========================================================= */

.birthday-hero {
    position: relative;
    min-height: 92vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 110px 7vw 90px;

    isolation: isolate;
}

.birthday-hero::before {
    content: "";

    position: absolute;
    inset: 7%;

    border-radius: 48px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.012)
        );

    border: 1px solid rgba(255,255,255,.075);

    box-shadow:
        0 40px 100px rgba(0,0,0,.30),
        inset 0 1px 0 rgba(255,255,255,.045);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    z-index: -1;
}

.birthday-hero-inner {
    width: min(900px, 100%);

    text-align: center;

    position: relative;
    z-index: 2;

    animation:
        birthdayHeroIn 1s cubic-bezier(.16,1,.3,1) both;
}

@keyframes birthdayHeroIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* =========================================================
   DATE
   ========================================================= */

.birthday-hero .eyebrow {
    margin-bottom: 22px;

    letter-spacing: 5px;

    opacity: .92;
}

/* =========================================================
   CAKE
   ========================================================= */

.hero-cake {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 94px;
    height: 94px;

    margin-bottom: 14px;

    font-size: 55px;

    border-radius: 30px;

    background:
        linear-gradient(
            145deg,
            rgba(168,85,247,.18),
            rgba(236,72,153,.10)
        );

    border: 1px solid rgba(255,255,255,.09);

    box-shadow:
        0 20px 60px rgba(124,58,237,.22),
        inset 0 1px 0 rgba(255,255,255,.10);

    animation: cakeFloat 3.2s ease-in-out infinite;
}

@keyframes cakeFloat {

    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-9px) rotate(2deg);
    }
}

/* =========================================================
   MAIN HEADING
   ========================================================= */

.birthday-heading-wrap {
    position: relative;

    width: max-content;
    max-width: 100%;

    margin: 0 auto;
}

.birthday-heading-wrap h1 {
    margin: 0;

    font-size: clamp(70px, 10vw, 148px);

    line-height: .82;

    font-weight: 950;

    letter-spacing: -7px;

    color: #f7f4ff;

    text-shadow:
        0 20px 70px rgba(0,0,0,.40);

    animation:
        titlePulse 5s ease-in-out infinite;
}

.birthday-heading-wrap h1 span {
    display: block;

    background:
        linear-gradient(
            100deg,
            #9b6cff 0%,
            #d85cf0 45%,
            #ff719e 72%,
            #ffb17c 100%
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;

    filter:
        drop-shadow(
            0 15px 30px rgba(236,72,153,.16)
        );
}

@keyframes titlePulse {

    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.08);
    }
}

/* =========================================================
   SPARKLES
   ========================================================= */

.heading-spark {
    position: absolute;

    font-size: 32px;

    color: #e3caff;

    animation:
        sparkBlink 1.8s ease-in-out infinite;
}

.spark-one {
    left: -42px;
    top: 8px;
}

.spark-two {
    right: -38px;
    bottom: 14px;

    animation-delay: .8s;
}

@keyframes sparkBlink {

    0%,
    100% {
        opacity: .35;

        transform:
            scale(.8)
            rotate(0deg);
    }

    50% {
        opacity: 1;

        transform:
            scale(1.2)
            rotate(18deg);
    }
}

/* =========================================================
   MARIYAM NAME
   ========================================================= */

.name-line {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 18px;

    margin-top: 24px;
}

.name-line-left,
.name-line-right {
    width: min(100px, 13vw);

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(216,180,254,.65)
        );
}

.name-line-right {
    background:
        linear-gradient(
            90deg,
            rgba(216,180,254,.65),
            transparent
        );
}

.name-line h2 {
    margin: 0;

    font-size: clamp(24px, 3vw, 36px);

    font-weight: 850;

    letter-spacing: -1px;

    color: #f6f1ff;
}

/* =========================================================
   INTRO
   ========================================================= */

.birthday-intro {
    max-width: 650px;

    margin: 30px auto 24px;

    font-size: clamp(15px, 1.5vw, 18px);

    line-height: 1.8;

    color: rgba(231,226,244,.72);
}

/* =========================================================
   FAVORITE PERSON TAG
   ========================================================= */

.mariyam-tag {
    width: fit-content;

    max-width: 90%;

    margin: 0 auto 28px;

    padding: 10px 18px;

    border-radius: 999px;

    background:
        rgba(168,85,247,.09);

    border:
        1px solid rgba(216,180,254,.17);

    color: #ddd0f4;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;

    box-shadow:
        0 0 35px rgba(168,85,247,.08);
}

/* =========================================================
   BUTTONS
   ========================================================= */

.celebration-btn,
.gifts-btn {
    min-width: 280px;

    min-height: 58px;

    gap: 14px;

    font-size: 13px;

    letter-spacing: 2.2px;

    box-shadow:
        0 16px 50px rgba(168,85,247,.28),
        0 0 0 1px rgba(255,255,255,.04) inset;
}

.celebration-btn .btn-arrow,
.gifts-btn .btn-arrow {
    display: inline-flex;

    transition:
        transform .3s ease;
}

.celebration-btn:hover .btn-arrow,
.gifts-btn:hover .btn-arrow {
    transform: translateX(6px);
}

.celebration-btn.celebrating,
.gifts-btn.celebrating {
    animation:
        celebrationButton .65s ease;
}

@keyframes celebrationButton {

    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(.95);
    }

    65% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}

.hero-hint {
    margin-top: 15px;

    color: rgba(205,195,225,.42);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 2.5px;
}

/* =========================================================
   SCROLL INDICATOR
   ========================================================= */

.hero-scroll-indicator {
    position: absolute;

    left: 50%;
    bottom: 22px;

    transform: translateX(-50%);

    display: flex;

    align-items: center;

    gap: 10px;

    color: rgba(220,211,239,.45);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 2px;
}

.scroll-line {
    width: 32px;

    height: 1px;

    background:
        rgba(220,211,239,.22);
}

/* =========================================================
   MESSAGE SECTION
   ========================================================= */

.birthday-message-section {
    position: relative;

    width: min(1050px, 88%);

    margin: 0 auto;

    padding:
        110px
        clamp(24px, 7vw, 100px)
        125px;

    text-align: center;

    border-radius: 44px;

    background:
        linear-gradient(
            145deg,
            rgba(28,26,43,.88),
            rgba(15,14,25,.92)
        );

    border:
        1px solid rgba(255,255,255,.085);

    box-shadow:
        0 35px 100px rgba(0,0,0,.38),
        inset 0 1px 0 rgba(255,255,255,.055);

    overflow: hidden;
}

.message-section-glow {
    position: absolute;

    width: 500px;
    height: 250px;

    left: 50%;
    top: -160px;

    transform: translateX(-50%);

    background:
        radial-gradient(
            ellipse,
            rgba(168,85,247,.22),
            transparent 70%
        );

    pointer-events: none;
}

.birthday-message-section > * {
    position: relative;

    z-index: 2;
}

.birthday-message-section h2 {
    margin:
        0
        auto
        42px;

    font-size:
        clamp(42px, 6vw, 76px);

    line-height: .95;

    letter-spacing: -3px;
}

.birthday-message-section h2 span {
    display: block;

    background:
        linear-gradient(
            100deg,
            #b18aff,
            #ed78d8
        );

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent;
}

/* =========================================================
   MESSAGE CARD
   ========================================================= */

.message-card {
    max-width: 760px;

    margin: 0 auto;

    text-align: left;

    padding:
        28px
        clamp(22px, 4vw, 45px);

    border-radius: 30px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.018)
        );

    border:
        1px solid rgba(255,255,255,.08);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.045),
        0 20px 65px rgba(0,0,0,.22);
}

.message-card-top,
.message-card-bottom {
    display: flex;

    align-items: center;

    justify-content: space-between;

    color: rgba(216,180,254,.58);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 2px;
}

.message-card-top {
    padding-bottom: 18px;

    border-bottom:
        1px solid rgba(255,255,255,.07);
}

.message-card-bottom {
    padding-top: 18px;

    border-top:
        1px solid rgba(255,255,255,.07);
}

.message-content {
    padding: 25px 0;
}

.message-content p {
    margin: 0 0 22px;

    color: rgba(232,227,242,.70);

    font-size: 16px;

    line-height: 1.8;
}

.message-content p:last-child {
    margin-bottom: 0;
}

.message-content h3 {
    margin: 28px 0;

    font-size:
        clamp(20px, 3vw, 28px);

    line-height: 1.15;

    background:
        linear-gradient(
            100deg,
            #c9adff,
            #ff8fc4
        );

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent;
}

.gifts-btn {
    margin-top: 38px;
}

/* =========================================================
   CELEBRATION PARTICLES
   ========================================================= */

#celebrationLayer {
    position: fixed;

    inset: 0;

    pointer-events: none;

    z-index: 9999;

    overflow: hidden;
}

.celebration-piece {
    position: absolute;

    width: 9px;

    height: 15px;

    top: 44%;

    left: 50%;

    border-radius: 2px;

    color: #ffffff;

    text-shadow:
        0 0 15px rgba(216,180,254,.8);

    animation:
        celebrationFall
        1.25s
        cubic-bezier(.12,.7,.25,1)
        forwards;
}

@keyframes celebrationFall {

    0% {
        opacity: 1;

        transform:
            translate(-50%, -50%)
            rotate(0deg)
            scale(1);
    }

    100% {
        opacity: 0;

        transform:
            translate(
                calc(-50% + var(--x)),
                calc(-50% + var(--y))
            )
            rotate(var(--r))
            scale(.65);
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .birthday-hero {
        min-height: auto;

        padding:
            105px
            20px
            85px;
    }

    .birthday-hero::before {
        inset: 20px 10px;

        border-radius: 32px;
    }

    .hero-cake {
        width: 76px;

        height: 76px;

        font-size: 43px;

        border-radius: 24px;
    }

    .birthday-heading-wrap h1 {
        font-size:
            clamp(58px, 18vw, 92px);

        letter-spacing: -4px;
    }

    .heading-spark {
        font-size: 22px;
    }

    .spark-one {
        left: -18px;
    }

    .spark-two {
        right: -18px;
    }

    .birthday-message-section {
        width: calc(100% - 24px);

        padding:
            75px
            18px
            85px;

        border-radius: 30px;
    }

    .message-card {
        border-radius: 24px;
    }

    .message-card-top span:nth-child(2),
    .message-card-bottom span {
        font-size: 8px;
    }

    .celebration-btn,
    .gifts-btn {
        width: 100%;

        min-width: 0;
    }

    .hero-scroll-indicator {
        bottom: 15px;
    }
}
