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

:root {
    --pink: #ff4f87;
    --purple: #7558d8;
    --dark: #17131a;
    --muted: #746d77;
}

body {
    min-height: 100vh;
    overflow: hidden;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--dark);

    background: #fff8fc;
}

.background {
    position: fixed;
    inset: 0;
    z-index: -10;

    background:
        radial-gradient(
            circle at 15% 15%,
            #ffd1e2,
            transparent 32%
        ),
        radial-gradient(
            circle at 85% 85%,
            #ddd4ff,
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #fffaff,
            #f5f1ff
        );
}

.glow {
    position: absolute;

    width: 400px;
    height: 400px;

    border-radius: 50%;

    filter: blur(100px);

    opacity: .3;
}

.glow1 {
    background: #ff75a4;

    top: -200px;
    right: -150px;
}

.glow2 {
    background: #8c72ff;

    bottom: -220px;
    left: -150px;
}

.page {
    display: none;

    width: 100%;
    height: 100vh;

    padding:
        50px 7%;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    text-align: center;

    animation: appear .65s ease;
}

.page.active {
    display: flex;
}

@keyframes appear {

    from {
        opacity: 0;
        transform:
            translateY(25px)
            scale(.97);
    }

    to {
        opacity: 1;
        transform:
            translateY(0)
            scale(1);
    }
}

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

    font-size: 10px;

    letter-spacing: 4px;

    font-weight: 900;

    margin-bottom: 25px;
}

.number {
    position: absolute;

    top: 30px;
    left: 6%;

    color: #aaa;

    font-size: 11px;

    letter-spacing: 2px;
}

h1 {
    max-width: 950px;

    font-size:
        clamp(55px, 10vw, 125px);

    line-height: .87;

    letter-spacing: -7px;

    margin-bottom: 30px;
}

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

h2 {
    max-width: 900px;

    font-size:
        clamp(42px, 7vw, 85px);

    line-height: .93;

    letter-spacing: -5px;

    margin-bottom: 30px;
}

p {
    max-width: 650px;

    color: var(--muted);

    font-size: 18px;

    line-height: 1.6;

    margin-bottom: 25px;
}

button {
    border: none;

    border-radius: 50px;

    padding:
        17px 30px;

    background: var(--dark);

    color: white;

    font-size: 15px;

    font-weight: bold;

    cursor: pointer;

    margin: 7px;

    transition:
        transform .25s,
        box-shadow .25s;
}

button:hover {
    transform: translateY(-4px);

    box-shadow:
        0 15px 40px
        rgba(0,0,0,.16);
}

.emoji {
    font-size: 70px;

    margin-bottom: 20px;
}

.big {
    max-width: 900px;

    font-size:
        clamp(45px, 8vw, 95px);

    line-height: .93;

    letter-spacing: -5px;

    font-weight: 900;

    margin-bottom: 30px;
}

.school {
    font-size: 80px;

    font-weight: 900;

    letter-spacing: -5px;

    color: var(--purple);

    margin-bottom: 25px;
}

.quote {
    max-width: 900px;

    font-size:
        clamp(50px, 8vw, 105px);

    line-height: .9;

    letter-spacing: -6px;

    font-weight: 900;

    margin-bottom: 30px;
}

.floating {
    font-size: 35px;

    letter-spacing: 15px;

    color: var(--pink);

    margin: 20px;
}

.card {
    width: min(550px, 90%);

    background: white;

    padding: 45px;

    border-radius: 35px;

    box-shadow:
        0 30px 80px
        rgba(50,30,70,.10);

    margin-bottom: 25px;
}

.card .emoji {
    margin-bottom: 5px;
}

.card strong {
    color: var(--purple);
}

.choices {
    width: min(700px, 95%);

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 14px;

    margin-bottom: 20px;
}

.choices button {
    background: white;

    color: var(--dark);

    border:
        2px solid transparent;

    border-radius: 24px;

    padding: 25px;

    box-shadow:
        0 12px 35px
        rgba(0,0,0,.06);
}

.choices button.selected {
    border-color: var(--pink);

    background: #fff0f5;
}

.hidden {
    display: none !important;
}

.location {
    font-size: 90px;

    margin-bottom: 20px;
}

.plan {
    width: min(650px, 95%);

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 12px;

    margin-bottom: 25px;
}

.plan div {
    background: white;

    padding: 20px;

    border-radius: 22px;

    box-shadow:
        0 12px 35px
        rgba(0,0,0,.06);

    font-weight: bold;
}

.big-heart {
    color: var(--pink);

    font-size: 110px;

    text-shadow:
        0 15px 40px
        rgba(255,79,135,.25);

    animation:
        beat 1.3s infinite;
}

@keyframes beat {

    50% {
        transform: scale(1.12);
    }
}

.question {
    max-width: 800px;

    font-size:
        clamp(42px, 7vw, 80px);

    line-height: .95;

    font-weight: 900;

    letter-spacing: -5px;

    margin-bottom: 30px;
}

.yes {
    background:
        linear-gradient(
            135deg,
            #ff4f87,
            #7958d9
        );

    font-size: 17px;
}

.maybe {
    background: white;

    color: var(--dark);

    border: 1px solid #ddd;
}

.ticket {
    width: min(650px, 92%);

    background: white;

    padding: 30px;

    border-radius: 32px;

    box-shadow:
        0 30px 90px
        rgba(0,0,0,.12);

    margin-bottom: 25px;
}

.ticket-top {
    display: flex;

    justify-content: space-between;

    align-items: center;
}

.ticket-top span {
    color: var(--pink);

    font-size: 28px;
}

.ticket hr {
    border: none;

    border-top:
        2px dashed #ddd;

    margin: 24px 0;
}

.ticket-details {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;
}

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

.ticket-details small {
    color: #aaa;

    font-size: 9px;

    letter-spacing: 2px;

    margin-bottom: 6px;
}

.ticket-details strong {
    font-size: 12px;
}

.progress {
    position: fixed;

    bottom: 20px;

    left: 6%;
    right: 6%;

    height: 3px;

    background: #0001;

    border-radius: 10px;
}

#bar {
    display: block;

    width: 5%;

    height: 100%;

    background:
        linear-gradient(
            90deg,
            var(--pink),
            var(--purple)
        );

    transition: .4s;
}

#hearts {
    position: fixed;

    inset: 0;

    pointer-events: none;

    overflow: hidden;

    z-index: 100;
}

.floating-heart {
    position: absolute;

    bottom: -50px;

    animation:
        floatUp
        linear
        forwards;
}

@keyframes floatUp {

    to {
        transform:
            translateY(-115vh)
            rotate(30deg);

        opacity: 0;
    }
}

@media(max-width:650px) {

    h1 {
        letter-spacing: -4px;
    }

    h2 {
        letter-spacing: -3px;
    }

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

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

    .page {
        padding:
            45px 18px;
    }
}