/* =========================================================
   KISHHHH BIRTHDAY WEBSITE
   ROMANTIC BURGUNDY / RED CINEMATIC THEME
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    min-height: 100vh;

    background:
        radial-gradient(
            circle at 50% 12%,
            #4a0d1c 0%,
            #210711 35%,
            #0b0205 70%,
            #030102 100%
        );

    color: #fff5f7;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    overflow-x: hidden;

    position: relative;
}


/* =========================================================
   BACKGROUND GLOW
========================================================= */

body::before {

    content: "";

    position: fixed;

    inset: 0;

    pointer-events: none;

    background:

        radial-gradient(
            circle at 20% 20%,
            rgba(255, 40, 90, 0.10),
            transparent 30%
        ),

        radial-gradient(
            circle at 80% 35%,
            rgba(190, 20, 60, 0.10),
            transparent 30%
        ),

        radial-gradient(
            circle at 50% 80%,
            rgba(255, 80, 120, 0.06),
            transparent 35%
        );

    z-index: 0;
}


/* =========================================================
   STAR FIELD
========================================================= */

.stars {

    position: fixed;

    inset: 0;

    pointer-events: none;

    z-index: 0;

    opacity: 0.65;

    background-image:

        radial-gradient(
            1px 1px at 10% 20%,
            rgba(255,255,255,0.8),
            transparent
        ),

        radial-gradient(
            1px 1px at 30% 70%,
            rgba(255,210,220,0.7),
            transparent
        ),

        radial-gradient(
            1px 1px at 70% 25%,
            rgba(255,255,255,0.8),
            transparent
        ),

        radial-gradient(
            1px 1px at 85% 65%,
            rgba(255,180,200,0.6),
            transparent
        ),

        radial-gradient(
            1px 1px at 50% 45%,
            rgba(255,255,255,0.7),
            transparent
        ),

        radial-gradient(
            1px 1px at 15% 85%,
            rgba(255,190,210,0.6),
            transparent
        ),

        radial-gradient(
            1px 1px at 92% 15%,
            rgba(255,255,255,0.7),
            transparent
        );

    background-size: 220px 220px;

    animation:
        starsMove 35s linear infinite;
}


@keyframes starsMove {

    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-220px);
    }
}


/* =========================================================
   GENERAL
========================================================= */

button {

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    cursor: pointer;

    border: 1px solid
        rgba(255, 120, 150, 0.55);

    background:
        rgba(80, 8, 24, 0.55);

    color: #fff4f6;

    padding:
        15px 28px;

    border-radius: 50px;

    font-size: 12px;

    letter-spacing: 2px;

    transition:
        all 0.35s ease;

    box-shadow:

        0 0 20px
        rgba(190, 20, 60, 0.12),

        inset 0 0 20px
        rgba(255, 40, 90, 0.04);
}


button:hover {

    transform:
        translateY(-3px);

    border-color:
        rgba(255, 150, 175, 0.9);

    background:
        rgba(130, 12, 40, 0.65);

    box-shadow:

        0 10px 35px
        rgba(220, 20, 70, 0.25),

        0 0 25px
        rgba(255, 80, 120, 0.15);
}


button:active {

    transform:
        translateY(0);
}


/* =========================================================
   HIDDEN / REVEAL
========================================================= */

.hidden {

    display: none !important;
}


.show {

    display: block;

    animation:
        revealSection
        1.2s ease forwards;
}


@keyframes revealSection {

    from {

        opacity: 0;

        transform:
            translateY(40px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }
}


/* =========================================================
   LANDING PAGE
========================================================= */

.hero {

    min-height: 100vh;

    width: 100%;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    padding: 30px;

    position: relative;

    z-index: 2;
}


.eyebrow {

    font-size: 10px;

    letter-spacing: 5px;

    color:
        rgba(255, 190, 205, 0.65);

    margin-bottom: 25px;

    animation:
        fadeUp 1.2s ease;
}


.hero h1 {

    font-size:
        clamp(
            60px,
            12vw,
            130px
        );

    font-weight: 400;

    letter-spacing: -3px;

    margin-bottom: 15px;

    text-shadow:

        0 0 30px
        rgba(255, 30, 80, 0.25),

        0 0 80px
        rgba(160, 10, 50, 0.2);

    animation:
        fadeUp 1.4s ease;
}


.hero h1 span {

    color:
        #ff557a;

    font-size:
        0.55em;

    display: inline-block;

    animation:
        heartbeat 2s infinite;
}


.subtitle {

    font-size:
        clamp(
            20px,
            4vw,
            32px
        );

    color:
        #f7cbd4;

    margin-bottom: 15px;

    animation:
        fadeUp 1.6s ease;
}


.description {

    max-width: 550px;

    font-size: 15px;

    line-height: 1.8;

    color:
        rgba(255, 235, 240, 0.65);

    animation:
        fadeUp 1.8s ease;
}


.divider {

    margin:
        35px 0;

    color:
        #e14d72;

    font-size: 20px;

    text-shadow:
        0 0 15px
        rgba(255, 50, 100, 0.6);
}


.countdown-title {

    font-size: 9px;

    letter-spacing: 4px;

    color:
        rgba(255, 190, 205, 0.55);

    margin-bottom: 12px;
}


#countdown {

    font-family:
        "Courier New",
        monospace;

    font-size:
        clamp(
            18px,
            4vw,
            28px
        );

    letter-spacing: 3px;

    color:
        #ffe1e7;

    margin-bottom: 35px;

    text-shadow:
        0 0 15px
        rgba(255, 50, 100, 0.3);
}


/* =========================================================
   DAY ONE
========================================================= */

.day-one {

    position: relative;

    z-index: 2;

    width: 100%;

    overflow: hidden;
}


/* =========================================================
   INTRO
========================================================= */

.intro-screen {

    min-height: 100vh;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    padding:
        35px 25px;

    position: relative;
}


.day-label {

    font-size: 9px;

    letter-spacing: 5px;

    color:
        rgba(255, 180, 200, 0.55);

    margin-bottom: 35px;
}


.tiny-text {

    font-size: 9px;

    letter-spacing: 4px;

    color:
        rgba(255, 190, 205, 0.55);

    margin-bottom: 20px;
}


.cinematic-title {

    font-size:
        clamp(
            55px,
            12vw,
            115px
        );

    font-weight: 400;

    letter-spacing: -3px;

    margin-bottom: 25px;

    text-shadow:

        0 0 25px
        rgba(255, 40, 90, 0.22),

        0 0 80px
        rgba(140, 10, 40, 0.18);
}


.cinematic-title span {

    color:
        #ff557a;

    font-size:
        0.5em;

    animation:
        heartbeat 2s infinite;

    display: inline-block;
}


.intro-line {

    font-size:
        clamp(
            18px,
            4vw,
            27px
        );

    color:
        #f7cbd4;

    margin-bottom: 10px;
}


.small-divider {

    margin:
        25px 0;

    color:
        #df4d70;

    font-size: 20px;

    text-shadow:
        0 0 15px
        rgba(255, 40, 90, 0.6);
}


.intro-message {

    font-size:
        clamp(
            16px,
            3vw,
            20px
        );

    line-height: 1.9;

    color:
        rgba(255, 235, 240, 0.72);

    margin-bottom: 35px;

    max-width: 600px;
}


.intro-message strong {

    color:
        #fff2f5;

    font-weight: 400;
}


/* =========================================================
   STORY SECTIONS
========================================================= */

.story-section {

    width: min(
        850px,
        90%
    );

    margin:
        0 auto;

    min-height: 80vh;

    padding:
        110px 0;

    text-align: center;
}


.story-section h2 {

    font-size:
        clamp(
            42px,
            8vw,
            75px
        );

    font-weight: 400;

    margin-bottom: 30px;

    color:
        #fff1f4;

    text-shadow:
        0 0 30px
        rgba(255, 40, 90, 0.15);
}


.story-text {

    font-size:
        clamp(
            17px,
            3vw,
            21px
        );

    line-height: 1.9;

    color:
        rgba(255, 230, 236, 0.75);

    max-width: 650px;

    margin:
        0 auto 35px;
}


.big-love {

    font-size:
        clamp(
            35px,
            8vw,
            70px
        );

    line-height: 1.2;

    margin:
        55px 0;

    color:
        #fff4f6;

    text-shadow:
        0 0 35px
        rgba(255, 30, 80, 0.2);
}


.big-love span {

    color:
        #ff557a;

    text-shadow:
        0 0 30px
        rgba(255, 40, 90, 0.45);
}


/* =========================================================
   LOVE CARDS
========================================================= */

.love-card {

    text-align: left;

    padding:
        35px;

    margin:
        25px 0;

    border:

        1px solid
        rgba(255, 100, 135, 0.22);

    background:
        linear-gradient(
            135deg,
            rgba(80, 5, 25, 0.32),
            rgba(20, 2, 8, 0.55)
        );

    border-radius:
        18px;

    backdrop-filter:
        blur(10px);

    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}


.love-card:hover {

    transform:
        translateY(-5px);

    border-color:
        rgba(255, 100, 135, 0.45);

    box-shadow:

        0 15px 45px
        rgba(100, 5, 30, 0.25);
}


.love-card > span {

    font-family:
        "Courier New",
        monospace;

    font-size: 11px;

    letter-spacing: 3px;

    color:
        #d85a77;

    display: block;

    margin-bottom: 15px;
}


.love-card h3 {

    font-size:
        clamp(
            18px,
            4vw,
            25px
        );

    font-weight: 400;

    letter-spacing: 2px;

    margin-bottom: 15px;

    color:
        #ffe7ec;
}


.love-card p {

    font-size: 16px;

    line-height: 1.8;

    color:
        rgba(255, 225, 232, 0.7);
}


.love-card .special-line {

    margin-top: 20px;

    color:
        #ffb2c2;

    font-style: italic;
}


.after-cards {

    margin:
        50px 0 30px;

    font-size: 18px;

    color:
        rgba(255, 220, 228, 0.65);

    font-style: italic;
}


/* =========================================================
   LETTER
========================================================= */

.letter-section {

    width: min(
        900px,
        92%
    );

    margin:
        0 auto;

    padding:
        100px 0 130px;

    text-align: center;
}


.letter {

    text-align: left;

    background:

        linear-gradient(
            145deg,
            rgba(72, 5, 22, 0.45),
            rgba(15, 2, 7, 0.7)
        );

    border:

        1px solid
        rgba(255, 100, 135, 0.22);

    border-radius:
        20px;

    padding:
        clamp(
            30px,
            6vw,
            65px
        );

    box-shadow:

        0 30px 80px
        rgba(80, 0, 25, 0.25),

        inset 0 0 60px
        rgba(255, 30, 80, 0.025);

    backdrop-filter:
        blur(12px);
}


.letter p {

    font-size:
        clamp(
            16px,
            3vw,
            19px
        );

    line-height: 2;

    color:
        rgba(255, 232, 238, 0.78);

    margin-bottom: 25px;
}


.letter strong {

    color:
        #fff3f6;
}


.letter em {

    color:
        #ffb7c7;

    font-style: italic;
}


.letter .highlight {

    font-size:
        clamp(
            23px,
            5vw,
            35px
        );

    color:
        #ff7694;

    text-align: center;

    margin:
        45px 0;

    text-shadow:
        0 0 25px
        rgba(255, 40, 90, 0.3);
}


.signature {

    text-align: right;

    font-size: 20px !important;

    color:
        #ff9db1 !important;

    margin-top: 45px;
}


/* =========================================================
   ENDING
========================================================= */

.ending {

    text-align: center;

    min-height: 75vh;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    padding:
        100px 20px;
}


.ending h2 {

    font-size:
        clamp(
            50px,
            10vw,
            90px
        );

    font-weight: 400;

    margin-bottom: 15px;

    color:
        #fff1f4;
}


.ending > p:not(.tiny-text):not(.final-love):not(.tomorrow) {

    font-size: 18px;

    color:
        rgba(255, 220, 230, 0.65);

    margin-bottom: 15px;
}


.final-love {

    font-size:
        clamp(
            27px,
            6vw,
            45px
        );

    color:
        #ff6f8d;

    margin:
        45px 0;

    text-shadow:
        0 0 30px
        rgba(255, 30, 80, 0.35);
}


.tomorrow {

    margin-top: 45px;

    font-size: 10px;

    line-height: 2;

    letter-spacing: 4px;

    color:
        rgba(255, 180, 200, 0.5);
}


/* =========================================================
   FLOATING LOVE EMOJIS
========================================================= */

.love-float {

    position: fixed;

    bottom:
        -40px;

    pointer-events: none;

    z-index: 20;

    animation:
        floatLove
        linear forwards;

    filter:
        drop-shadow(
            0 0 8px
            rgba(255, 50, 90, 0.35)
        );
}


@keyframes floatLove {

    0% {

        opacity: 0;

        transform:
            translateY(0)
            rotate(0deg)
            scale(0.7);
    }

    15% {

        opacity: 1;
    }

    80% {

        opacity: 0.9;
    }

    100% {

        opacity: 0;

        transform:
            translateY(-110vh)
            rotate(25deg)
            scale(1.15);
    }
}


/* =========================================================
   CINEMATIC FINAL SCENE
========================================================= */

.final-scene {

    position: fixed;

    inset: 0;

    z-index: 100;

    display: flex;

    justify-content: center;

    align-items: center;

    text-align: center;

    background:

        radial-gradient(
            circle at center,
            rgba(100, 5, 25, 0.65),
            rgba(10, 1, 4, 0.97) 65%,
            #020102 100%
        );

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 2s ease,
        visibility 2s ease;
}


.final-scene.show {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}


.final-scene-content {

    padding: 30px;

    animation:
        finalContent
        2s ease forwards;
}


@keyframes finalContent {

    from {

        opacity: 0;

        transform:
            scale(0.92);
    }

    to {

        opacity: 1;

        transform:
            scale(1);
    }
}


.final-kiss {

    font-size:
        clamp(
            45px,
            10vw,
            80px
        );

    margin-bottom: 30px;

    animation:
        heartbeat 1.8s infinite;

    filter:
        drop-shadow(
            0 0 20px
            rgba(255, 30, 80, 0.5)
        );
}


.final-name {

    font-size:
        clamp(
            30px,
            7vw,
            60px
        );

    color:
        #fff0f4;

    margin-bottom: 25px;
}


.final-message {

    font-size:
        clamp(
            19px,
            4vw,
            28px
        );

    color:
        #ffb0bf;

    margin-bottom: 25px;

    text-shadow:
        0 0 20px
        rgba(255, 50, 90, 0.3);
}


.final-kisses {

    font-size: 22px;

    margin:
        25px 0;

    color:
        #ff7f9a;
}


.final-divider {

    font-size: 22px;

    color:
        #e55b79;

    margin:
        25px 0;
}


.final-small {

    font-size: 9px;

    letter-spacing: 4px;

    color:
        rgba(255, 190, 205, 0.55);

    margin-bottom: 25px;
}


.final-day {

    font-size:
        clamp(
            30px,
            6vw,
            50px
        );

    color:
        #fff0f4;

    margin-bottom: 10px;
}


.final-tomorrow {

    font-size: 10px;

    letter-spacing: 3px;

    color:
        rgba(255, 170, 190, 0.45);
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes heartbeat {

    0%,
    100% {

        transform:
            scale(1);
    }

    50% {

        transform:
            scale(1.12);
    }
}


@keyframes fadeUp {

    from {

        opacity: 0;

        transform:
            translateY(25px);
    }

    to {

        opacity: 1;

        transform:
            translateY(0);
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .hero {

        padding:
            25px 20px;
    }


    .hero h1 {

        letter-spacing:
            -2px;
    }


    .description {

        font-size: 14px;

        line-height: 1.7;
    }


    .intro-screen {

        padding:
            30px 20px;
    }


    .story-section {

        width: 88%;

        padding:
            80px 0;
    }


    .love-card {

        padding: 25px;

        border-radius:
            16px;
    }


    .letter-section {

        width: 90%;

        padding:
            70px 0 100px;
    }


    .letter {

        padding: 28px 23px;

        border-radius:
            16px;
    }


    .letter p {

        font-size: 16px;

        line-height:
            1.85;
    }


    .ending {

        padding:
            80px 20px;
    }


    button {

        padding:
            14px 23px;

        font-size: 10px;

        letter-spacing:
            1.7px;
    }


    .final-scene-content {

        padding:
            25px 20px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        scroll-behavior:
            auto !important;

        transition-duration:
            0.01ms !important;
    }

}
