* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --pink: #ff3d81;
    --hot-pink: #ff1768;
    --light-pink: #ff8fb5;
    --dark: #08030a;
    --card: rgba(255, 255, 255, 0.07);
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: "Cairo", sans-serif;
    background:
        radial-gradient(circle at 50% 20%, #3a0b24 0%, transparent 35%),
        radial-gradient(circle at 10% 80%, #26091c 0%, transparent 30%),
        linear-gradient(135deg, #08030a, #12050e 50%, #070208);

    color: white;
    overflow-x: hidden;
    min-height: 100vh;
}

/* =========================
   Background Glow
========================= */

.background-glow {
    position: fixed;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.22;
    pointer-events: none;
    z-index: 0;
}

.glow-1 {
    background: #ff1768;
    top: -200px;
    right: -150px;
}

.glow-2 {
    background: #a400ff;
    bottom: -250px;
    left: -150px;
}

/* =========================
   Hero
========================= */

.hero {
    position: relative;
    z-index: 5;

    min-height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 70px 20px;
    text-align: center;
}

/* =========================
   Badge
========================= */

.love-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    padding: 9px 20px;

    border: 1px solid rgba(255, 120, 170, 0.35);
    border-radius: 100px;

    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);

    color: #ffb4cf;
    font-size: 13px;

    box-shadow:
        0 0 30px rgba(255, 23, 104, 0.12);

    animation: fadeDown 1s ease;
}

.love-badge span {
    color: var(--pink);
}

/* =========================
   Main Heart
========================= */

.heart-main {
    width: 130px;
    height: 130px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 30px 0 10px;

    position: relative;
}

.heart-main::before,
.heart-main::after {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: 50%;

    border: 1px solid rgba(255, 60, 130, 0.2);

    animation: pulseRing 2.5s infinite;
}

.heart-main::after {
    animation-delay: 1.2s;
}

.heart-shape {
    color: #ff347b;
    font-size: 90px;

    text-shadow:
        0 0 10px #ff347b,
        0 0 35px #ff347b,
        0 0 80px rgba(255, 30, 110, 0.7);

    animation: heartbeat 1.2s infinite;

    line-height: 1;
}

/* =========================
   Title
========================= */

h1 {
    font-size: clamp(42px, 7vw, 85px);
    line-height: 1.15;

    font-weight: 900;

    margin-top: 10px;

    letter-spacing: -2px;

    animation: fadeUp 1s ease;
}

h1 span {
    background: linear-gradient(
        90deg,
        #ff4b8b,
        #ff9fc2,
        #ff357d,
        #ff72a6
    );

    background-size: 300%;

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;

    animation: gradientMove 4s infinite;
}

.subtitle {
    margin-top: 20px;

    color: #c9aab8;

    font-size: 17px;
    line-height: 2;

    animation: fadeUp 1.3s ease;
}

/* =========================
   Card
========================= */

.question-card {
    position: relative;

    width: min(650px, 100%);

    margin-top: 45px;

    padding: 45px 35px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.09),
            rgba(255,255,255,0.025)
        );

    border: 1px solid rgba(255,255,255,0.1);

    border-radius: 35px;

    backdrop-filter: blur(25px);

    box-shadow:
        0 30px 100px rgba(0,0,0,0.45),
        inset 0 1px rgba(255,255,255,0.08);

    overflow: hidden;

    animation: cardAppear 1.5s ease;
}

.question-card::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    background: #ff1768;

    opacity: 0.08;

    filter: blur(100px);

    top: -180px;
    left: -100px;
}

.question-card > p {
    position: relative;
    z-index: 2;

    color: #d9c0cb;

    font-size: 15px;

    line-height: 2;
}

.question-card .big-text {
    color: white;

    font-size: 29px;

    font-weight: 800;

    margin: 8px 0;
}

/* =========================
   Sparkles
========================= */

.sparkle {
    position: absolute;

    color: #ff73a6;

    animation: sparkle 2s infinite;
}

.sparkle-1 {
    top: 25px;
    right: 30px;
}

.sparkle-2 {
    bottom: 40px;
    left: 35px;

    animation-delay: .7s;
}

.sparkle-3 {
    top: 90px;
    left: 50px;

    animation-delay: 1.3s;
}

/* =========================
   Buttons
========================= */

.buttons {
    display: flex;
    justify-content: center;
    gap: 15px;

    margin-top: 30px;
}

button {
    font-family: inherit;

    border: none;

    cursor: pointer;

    font-size: 15px;
    font-weight: 800;

    padding: 14px 30px;

    border-radius: 100px;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.yes-btn {
    color: white;

    background: linear-gradient(
        135deg,
        #ff1768,
        #ff5592
    );

    box-shadow:
        0 10px 30px rgba(255, 23, 104, 0.3);
}

.yes-btn:hover {
    transform: translateY(-5px) scale(1.05);

    box-shadow:
        0 15px 45px rgba(255, 23, 104, 0.5);
}

.no-btn {
    color: #dcbcc9;

    background: rgba(255,255,255,0.06);

    border: 1px solid rgba(255,255,255,0.1);
}

.no-btn:hover {
    transform: scale(.95);
}

/* =========================
   Response
========================= */

#response {
    position: relative;
    z-index: 5;
}

.success {
    margin-top: 30px;

    animation: success .7s ease;
}

.success-heart {
    font-size: 60px;

    animation: heartbeat .8s infinite;
}

.success h2 {
    font-size: 30px;

    color: #ff72a6;
}

.success p {
    color: #d9c0cb;
}

.mini-hearts {
    margin-top: 12px;
    font-size: 20px;
}

/* =========================
   Floating Hearts
========================= */

.hearts {
    position: fixed;

    inset: 0;

    overflow: hidden;

    pointer-events: none;

    z-index: 1;
}

.hearts span {
    position: absolute;

    bottom: -60px;

    font-size: 22px;

    opacity: .15;

    animation: floatHeart linear infinite;
}

.hearts span:nth-child(1) {
    left: 5%;
    animation-duration: 10s;
}

.hearts span:nth-child(2) {
    left: 13%;
    animation-duration: 14s;
    animation-delay: 3s;
}

.hearts span:nth-child(3) {
    left: 25%;
    animation-duration: 11s;
    animation-delay: 1s;
}

.hearts span:nth-child(4) {
    left: 37%;
    animation-duration: 15s;
    animation-delay: 5s;
}

.hearts span:nth-child(5) {
    left: 48%;
    animation-duration: 12s;
}

.hearts span:nth-child(6) {
    left: 57%;
    animation-duration: 17s;
    animation-delay: 4s;
}

.hearts span:nth-child(7) {
    left: 68%;
    animation-duration: 13s;
    animation-delay: 2s;
}

.hearts span:nth-child(8) {
    left: 76%;
    animation-duration: 16s;
}

.hearts span:nth-child(9) {
    left: 84%;
    animation-duration: 11s;
    animation-delay: 3s;
}

.hearts span:nth-child(10) {
    left: 91%;
    animation-duration: 14s;
}

.hearts span:nth-child(11) {
    left: 32%;
    animation-duration: 18s;
    animation-delay: 5s;
}

.hearts span:nth-child(12) {
    left: 62%;
    animation-duration: 19s;
}

/* =========================
   Celebration Hearts
========================= */

.celebration-heart {
    position: fixed;

    bottom: -50px;

    z-index: 100;

    pointer-events: none;

    animation: celebration linear forwards;
}

/* =========================
   Bottom
========================= */

.bottom-love {
    margin-top: 40px;

    color: #705766;

    font-size: 12px;

    letter-spacing: 2px;
}

.bottom-love span {
    color: #ff3c80;
}

/* =========================
   Animations
========================= */

@keyframes heartbeat {

    0%, 100% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.15);
    }

    30% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.1);
    }

    60% {
        transform: scale(1);
    }
}

@keyframes pulseRing {

    0% {
        transform: scale(.7);
        opacity: .8;
    }

    100% {
        transform: scale(1.7);
        opacity: 0;
    }
}

@keyframes gradientMove {

    0% {
        background-position: 0%;
    }

    50% {
        background-position: 100%;
    }

    100% {
        background-position: 0%;
    }
}

@keyframes fadeDown {

    from {
        opacity: 0;
        transform: translateY(-25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardAppear {

    from {
        opacity: 0;
        transform: translateY(50px) scale(.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes sparkle {

    0%, 100% {
        opacity: .3;
        transform: scale(.8) rotate(0);
    }

    50% {
        opacity: 1;
        transform: scale(1.4) rotate(180deg);
    }
}

@keyframes floatHeart {

    0% {
        transform:
            translateY(0)
            rotate(0deg)
            scale(.7);

        opacity: 0;
    }

    10% {
        opacity: .2;
    }

    50% {
        transform:
            translateY(-50vh)
            translateX(30px)
            rotate(180deg)
            scale(1);
    }

    100% {
        transform:
            translateY(-115vh)
            translateX(-40px)
            rotate(360deg)
            scale(.8);

        opacity: 0;
    }
}

@keyframes celebration {

    0% {
        transform:
            translateY(0)
            rotate(0deg)
            scale(.5);

        opacity: 1;
    }

    100% {
        transform:
            translateY(-110vh)
            rotate(720deg)
            scale(1.5);

        opacity: 0;
    }
}

@keyframes success {

    from {
        opacity: 0;
        transform: scale(.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* =========================
   Mobile
========================= */

@media (max-width: 600px) {

    .hero {
        padding: 45px 15px;
    }

    .heart-main {
        width: 100px;
        height: 100px;
    }

    .heart-shape {
        font-size: 70px;
    }

    h1 {
        font-size: 43px;
        letter-spacing: -1px;
    }

    .subtitle {
        font-size: 14px;
    }

    .question-card {
        padding: 35px 20px;
        border-radius: 28px;
    }

    .question-card .big-text {
        font-size: 24px;
    }

    .buttons {
        flex-direction: column;
        align-items: stretch;
    }

    button {
        width: 100%;
    }
}