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

:root {
    --pink: #ff4f87;
    --purple: #8b5cf6;
    --text: #18131c;
    --muted: #77717c;
    --white: #ffffff;
}

body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: #fff7fa;
    overflow: hidden;
}

.background {
    position: fixed;
    inset: 0;
    z-index: -3;
    background:
        radial-gradient(circle at 15% 20%, #ffd7e5 0, transparent 28%),
        radial-gradient(circle at 85% 80%, #e2d5ff 0, transparent 30%),
        linear-gradient(135deg, #fff9fb, #f7f3ff);
}

.glow {
    position: fixed;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .35;
}

.glow1 {
    top: -150px;
    right: -100px;
    background: #ff91b5;
}

.glow2 {
    bottom: -180px;
    left: -100px;
    background: #9b83ff;
}

main {
    width: 100%;
    height: 100vh;
}

.page {
    display: none;
    width: 100%;
    height: 100vh;
    padding: 50px 7%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    animation: pageIn .65s ease;
}

.page.active {
    display: flex;
}

@keyframes pageIn {
    from {
        opacity: 0;
        transform: translateY(25px) scale(.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.label {
    letter-spacing: 4px;
    font-size: 11px;
    font-weight: 800;
    color: var(--pink);
    margin-bottom: 22px;
}

h1 {
    font-size: clamp(60px, 10vw, 125px);
    line-height: .88;
    letter-spacing: -7px;
    margin-bottom: 30px;
}

h1 span,
h2 span,
.big-statement span,
.quote span {
    color: var(--pink);
}

h2 {
    font-size: clamp(42px, 6vw, 78px);
    line-height: .95;
    letter-spacing: -4px;
    max-width: 900px;
    margin-bottom: 28px;
}

p {
    max-width: 580px;
    font-size: 18px;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 28px;
}

small {
    color: #8d858e;
}

button {
    border: none;
    cursor: pointer;
    padding: 17px 32px;
    border-radius: 50px;
    background: #18131c;
    color: white;
    font-size: 15px;
    font-weight: 700;
    transition: .25s;
    margin: 10px;
}

button:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,.15);
}

.heart-big,
.huge-heart,
.glowing-heart,
.success-heart {
    color: var(--pink);
    text-shadow: 0 10px 40px rgba(255,79,135,.35);
}

.heart-big {
    font-size: 70px;
    margin-bottom: 25px;
    animation: heartbeat 1.5s infinite;
}

.huge-heart {
    font-size: 110px;
    margin-bottom: 25px;
}

.glowing-heart {
    font-size: 100px;
    animation: heartbeat 1.3s infinite;
}

.success-heart {
    font-size: 130px;
    animation: heartbeat 1.2s infinite;
}

@keyframes heartbeat {
    0%,100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.number {
    position: absolute;
    top: 35px;
    left: 6%;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #aaa1aa;
}

.glass {
    width: min(600px, 90%);
    padding: 28px;
    border: 1px solid rgba(255,255,255,.9);
    background: rgba(255,255,255,.65);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(100,70,100,.08);
    margin-bottom: 28px;
}

.glass span,
.glass strong {
    display: block;
}

.glass span {
    color: var(--pink);
    font-size: 11px;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.glass strong {
    font-size: 25px;
}

.floating-card {
    width: min(450px, 90%);
    padding: 40px;
    border-radius: 35px;
    background: white;
    box-shadow: 0 25px 80px rgba(80,50,80,.12);
    margin-bottom: 30px;
}

.floating-card div {
    font-size: 50px;
    color: var(--pink);
}

.floating-card strong {
    font-size: 25px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.tags span {
    padding: 12px 18px;
    border-radius: 30px;
    background: white;
    box-shadow: 0 8px 25px rgba(0,0,0,.06);
    font-size: 12px;
    font-weight: 800;
}

.dark-card {
    background: #19151d;
    color: white;
    width: min(550px, 90%);
    padding: 45px;
    border-radius: 35px;
    box-shadow: 0 30px 80px rgba(20,10,25,.2);
    margin-bottom: 30px;
}

.dark-card .moon {
    font-size: 55px;
    color: #ffd0df;
    margin-bottom: 20px;
}

.dark-card small {
    display: block;
    color: #b9aebc;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.dark-card strong {
    display: block;
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 18px;
}

.dark-card p {
    margin: auto;
    color: #bbb2bc;
}

.big-statement {
    font-size: clamp(48px, 8vw, 100px);
    line-height: .95;
    letter-spacing: -5px;
    font-weight: 800;
    margin-bottom: 30px;
}

.emoji-line {
    font-size: 25px;
    letter-spacing: 8px;
    margin: 15px;
}

.question {
    width: 100px;
    height: 100px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: white;
    color: var(--pink);
    font-size: 65px;
    font-weight: 800;
    box-shadow: 0 20px 50px rgba(0,0,0,.1);
    margin-bottom: 30px;
}

.comparison {
    display: flex;
    align-items: center;
    gap: 50px;
    margin: 20px 0 30px;
}

.comparison div:not(.divider) {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comparison small {
    font-size: 10px;
    letter-spacing: 2px;
}

.comparison strong {
    font-size: 25px;
}

.pink {
    color: var(--pink);
}

.divider {
    width: 1px;
    height: 70px;
    background: #ddd;
}

.escape {
    display: flex;
    align-items: center;
    gap: 35px;
    margin: 20px 0 30px;
}

.escape div {
    width: 130px;
    height: 130px;
    background: white;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    font-size: 45px;
    box-shadow: 0 15px 40px rgba(0,0,0,.07);
}

.escape span {
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 800;
}

.escape b {
    font-size: 30px;
    color: var(--pink);
}

.choices {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    width: min(700px, 95%);
    margin-bottom: 15px;
}

.choices button {
    margin: 0;
    padding: 22px;
    text-align: left;
    background: white;
    color: var(--text);
    border: 2px solid transparent;
    border-radius: 22px;
    box-shadow: 0 10px 35px rgba(0,0,0,.06);
}

.choices button:hover {
    border-color: #ff9fbd;
}

.choices button.selected {
    border-color: var(--pink);
    background: #fff0f5;
}

.choices b,
.choices strong,
.choices small {
    display: block;
}

.choices b {
    font-size: 30px;
    margin-bottom: 10px;
}

.choices strong {
    font-size: 17px;
    margin-bottom: 5px;
}

.choices small {
    font-size: 12px;
}

.hidden {
    display: none !important;
}

.timeline {
    width: min(600px, 90%);
    margin-bottom: 25px;
}

.timeline div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #e8e1e7;
}

.timeline span {
    color: var(--pink);
    font-size: 12px;
    font-weight: 800;
}

.timeline strong {
    font-size: 17px;
}

.rules {
    width: min(600px, 90%);
    margin-bottom: 20px;
}

.rules div {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 15px;
    background: rgba(255,255,255,.6);
    margin-bottom: 8px;
    border-radius: 14px;
}

.rules b {
    color: var(--pink);
}

.rules span {
    flex: 1;
    text-align: left;
}

.quote-mark {
    font-size: 120px;
    color: #ffb4ca;
    height: 80px;
}

.quote {
    font-size: clamp(45px, 7vw, 90px);
    font-weight: 800;
    letter-spacing: -5px;
    line-height: .95;
    margin-bottom: 30px;
}

.one-evening {
    padding: 30px 50px;
    border-radius: 30px;
    background: white;
    box-shadow: 0 20px 60px rgba(0,0,0,.08);
    margin-bottom: 30px;
}

.one-evening small,
.one-evening strong {
    display: block;
}

.one-evening small {
    letter-spacing: 3px;
    color: #aaa;
}

.one-evening strong {
    font-size: 35px;
    margin: 10px;
}

.dhruvi {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
}

.dhruvi span {
    color: var(--pink);
}

.final-question {
    font-size: clamp(45px, 7vw, 85px);
}

.final-buttons {
    margin-top: 10px;
}

.final-buttons button {
    min-width: 180px;
}

.yes {
    background: linear-gradient(135deg, #ff4f87, #a855f7);
    font-size: 17px;
}

.maybe {
    background: white;
    color: #333;
    border: 1px solid #ddd;
}

.ticket {
    width: min(600px, 90%);
    background: white;
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 30px 90px rgba(0,0,0,.12);
    margin-bottom: 25px;
}

.ticket-top {
    display: flex;
    justify-content: space-between;
    font-weight: 800;
    font-size: 18px;
}

.ticket-top b {
    color: var(--pink);
    font-size: 25px;
}

.ticket-line {
    border-top: 2px dashed #ddd;
    margin: 25px 0;
}

.ticket-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.ticket-info div {
    padding: 15px 5px;
}

.ticket-info small,
.ticket-info strong {
    display: block;
}

.ticket-info small {
    color: #aaa;
    font-size: 9px;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.ticket-info strong {
    font-size: 13px;
}

.ticket-bottom {
    margin-top: 20px;
    color: #777;
    font-size: 12px;
    line-height: 1.5;
}

.progress {
    position: fixed;
    left: 6%;
    right: 6%;
    bottom: 20px;
    height: 3px;
    background: rgba(0,0,0,.08);
    border-radius: 10px;
}

#progress {
    display: block;
    height: 100%;
    width: 6.6%;
    background: linear-gradient(90deg, var(--pink), var(--purple));
    border-radius: inherit;
    transition: width .5s ease;
}

#hearts {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 20;
    overflow: hidden;
}

.floating-heart {
    position: absolute;
    bottom: -50px;
    animation: floatUp linear forwards;
}

@keyframes floatUp {
    to {
        transform: translateY(-115vh) rotate(30deg);
        opacity: 0;
    }
}

@media (max-width: 650px) {

    .page {
        padding: 45px 20px;
    }

    h1 {
        letter-spacing: -4px;
    }

    h2 {
        letter-spacing: -2px;
    }

    .choices {
        grid-template-columns: 1fr;
    }

    .comparison {
        gap: 20px;
    }

    .comparison strong {
        font-size: 18px;
    }

    .escape {
        gap: 12px;
    }

    .escape div {
        width: 105px;
        height: 105px;
    }

    .ticket-info {
        grid-template-columns: 1fr;
    }

    .ticket-info div {
        border-bottom: 1px solid #eee;
    }
}