@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Playfair+Display:wght@500;600&display=swap');

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

:root {
    --pink: #e85b82;
    --black: #151515;
    --gray: #777;
    --cream: #fcfaf9;
}

body {
    background: var(--cream);
    color: var(--black);
    font-family: "DM Sans", sans-serif;
    overflow: hidden;
}

.bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 80% 15%, #f8d5df 0, transparent 28%),
        radial-gradient(circle at 10% 90%, #f3e4e8 0, transparent 30%);
}

main,
.page {
    width: 100%;
    height: 100vh;
}

.page {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 30px;
    animation: enter .7s ease;
}

.page.active {
    display: flex;
}

@keyframes enter {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.eyebrow,
.count {
    font-size: 10px;
    letter-spacing: 4px;
    color: var(--pink);
    margin-bottom: 25px;
    font-weight: 600;
}

.count {
    color: #aaa;
}

h1,
h2,
h3 {
    font-family: "Playfair Display", serif;
    font-weight: 500;
}

h1 {
    font-size: clamp(75px, 12vw, 150px);
    line-height: .85;
}

h1 span {
    color: var(--pink);
}

h2 {
    font-size: clamp(48px, 7vw, 90px);
    line-height: .95;
    margin-bottom: 25px;
}

h3 {
    margin: 15px 0 30px;
}

.page > p {
    max-width: 600px;
    color: var(--gray);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 30px;
}

button {
    border: 0;
    border-radius: 50px;
    background: var(--black);
    color: white;
    padding: 16px 27px;
    cursor: pointer;
    font-weight: 600;
    transition: .3s;
}

button:hover {
    background: var(--pink);
    transform: translateY(-3px);
}

.feature {
    width: min(500px, 90vw);
    padding: 35px;
    margin-bottom: 30px;
    background: white;
    border-radius: 25px;
    box-shadow: 0 20px 60px #0000000d;
}

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

.feature strong {
    font-size: 13px;
    letter-spacing: 3px;
    color: var(--pink);
    margin-bottom: 12px;
}

.feature span {
    font-family: "Playfair Display";
    font-size: 25px;
}

.big {
    font-family: "Playfair Display";
    font-size: 55px;
    line-height: .9;
    color: var(--pink);
    margin: 20px 0 35px;
}

.wind {
    font-size: 70px;
    margin: 10px 0;
    animation: fly 2s infinite ease-in-out;
}

@keyframes fly {
    50% {
        transform: translateX(35px);
    }
}

.result {
    width: min(450px, 90vw);
    background: var(--black);
    color: white;
    padding: 40px;
    border-radius: 25px;
    margin-bottom: 30px;
}

.result span {
    color: var(--pink);
    font-size: 11px;
    letter-spacing: 4px;
}

.result strong {
    display: block;
    font-family: "Playfair Display";
    font-size: 45px;
    line-height: .9;
    margin-top: 20px;
}

.proposal {
    width: min(500px, 90vw);
    background: white;
    padding: 35px;
    border-radius: 25px;
    margin-bottom: 30px;
    box-shadow: 0 20px 60px #0000000d;
}

.proposal small {
    display: block;
    letter-spacing: 3px;
    color: var(--pink);
}

.proposal strong {
    display: block;
    font-family: "Playfair Display";
    font-size: 42px;
    margin: 15px 0;
}

.proposal span {
    color: var(--gray);
}

.choice-card {
    width: min(500px, 90vw);
    padding: 18px 25px;
    background: white;
    border-radius: 18px;
    margin: 5px;
    text-align: left;
}

.choice-card span {
    color: var(--pink);
    font-size: 9px;
    letter-spacing: 3px;
}

.choice-card strong {
    display: block;
    font-family: "Playfair Display";
    font-size: 22px;
    margin: 4px 0;
}

.choice-card p {
    color: var(--gray);
    font-size: 13px;
}

.options {
    width: min(650px, 90vw);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 25px;
}

.options button,
.quiz button {
    background: white;
    color: var(--black);
    border: 1px solid #ddd;
}

.options button.selected {
    background: var(--pink);
    color: white;
    border-color: var(--pink);
}

.quiz {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 25px 0;
}

#quizText {
    min-height: 25px;
    color: var(--pink);
    font-weight: 600;
}

.hidden {
    display: none;
}

.heart {
    font-size: 90px;
    color: var(--pink);
    margin-bottom: 15px;
}

.pulse {
    animation: pulse 1.2s infinite;
}

@keyframes pulse {
    50% {
        transform: scale(1.12);
    }
}

.question {
    font-family: "Playfair Display";
    font-size: clamp(38px, 6vw, 70px);
    line-height: 1;
    margin: 20px 0 35px;
}

.final h1 {
    margin-bottom: 25px;
}

.ticket {
    width: min(480px, 90vw);
    padding: 35px;
    background: white;
    border-radius: 28px;
    box-shadow: 0 30px 80px #00000012;
}

.ticket small {
    color: var(--pink);
    letter-spacing: 3px;
}

.ticket h2 {
    font-size: 42px;
    margin: 12px 0;
}

.ticket p {
    color: var(--gray);
    line-height: 1.8;
    margin: 20px 0;
}

.ticket strong {
    color: var(--pink);
    letter-spacing: 2px;
}

.divider {
    width: 50px;
    height: 2px;
    background: var(--pink);
    margin: auto;
}

.footer {
    margin-top: 20px;
    font-size: 10px !important;
    color: #aaa !important;
}

.progress {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: #eee;
}

.progress span {
    display: block;
    height: 100%;
    background: var(--pink);
    width: 8.33%;
    transition: .5s;
}

@media(max-width:600px) {
    .options {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 70px;
    }

    h2 {
        font-size: 48px;
    }

    .big {
        font-size: 45px;
    }
}