* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    -webkit-font-smoothing: antialiased;
    color: #333;
}

.pink-bg {
    min-height: 100vh;
    background: linear-gradient(120deg, #ffd1ec, #ff8acb, #ff5cb8);
    background-size: 260% 260%;
    animation: bgShift 11s ease-in-out infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

@keyframes bgShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.center-box,
.card-container {
    width: 100%;
    max-width: 420px;
    padding: 28px 30px;
    border-radius: 24px;
    backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 0 34px rgba(255, 0, 128, 0.22);
    text-align: center;
    animation: fadeUp .65s ease forwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.main-title {
    font-size: 2rem;
    color: #ff2e92;
    font-weight: 700;
    margin-bottom: 14px;
}

.sub-text {
    font-size: 1rem;
    line-height: 1.5;
    color: #444;
    margin-bottom: 22px;
}

.input-area label {
    display: block;
    margin: 12px 0 4px;
    color: #ff2e92;
    font-weight: 600;
}

.input-area input {
    width: 100%;
    padding: 11px;
    border-radius: 12px;
    border: 2px solid #ffa8d8;
    margin-bottom: 10px;
    font-size: 1rem;
    outline: none;
    transition: border-color .15s ease;
}

.input-area input:focus {
    border-color: #ff61ba;
}

.start-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 14px;
    background: #ff4eaf;
    color: #fff;
    font-size: 1.08rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform .18s ease;
}

.start-btn:hover {
    transform: scale(1.03);
}

.target-name {
    font-size: 2.1rem;
    font-weight: 700;
    color: #ff2e93;
}

.question {
    font-size: 1.45rem;
    color: #ff4fb1;
    margin-top: 6px;
}

.msg {
    margin: 16px 0 24px;
    font-size: 1rem;
    color: #444;
}

.btn-row {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.yes-btn,
.no-btn {
    padding: 12px 26px;
    border: none;
    border-radius: 16px;
    font-size: 1.12rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform .15s ease;
}

.yes-btn {
    background: #ff5db8;
    color: #fff;
    box-shadow: 0 0 18px rgba(255, 0, 125, 0.32);
}

.no-btn {
    background: #444;
    color: #fff;
}

.result-popup {
    margin-top: 22px;
    padding: 18px 20px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 0 20px rgba(255, 0, 140, 0.35);
    font-size: 1.08rem;
    animation: fadeUp .5s ease forwards;
}

.hidden {
    display: none !important;
}

.heart {
    position: fixed;
    pointer-events: none;
    font-size: 2rem;
    opacity: 0;
    animation: heartBoom 2.1s ease-out forwards;
}

@keyframes heartBoom {
    0% {
        transform: scale(0.4) translateY(0);
        opacity: 1;
    }
    70% {
        transform: scale(1.5) translateY(-35px);
        opacity: 1;
    }
    100% {
        transform: scale(0.7) translateY(70px);
        opacity: 0;
    }
}

.couple-img {
    width: 180px;
    position: relative;
    margin: 12px auto 0;
    display: block;
    opacity: 0;
    transform: scale(0.6);
    animation: none;
}

.show-couple {
    animation: popIn 0.7s ease forwards;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.4);
    }
    60% {
        opacity: 1;
        transform: scale(1.15);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
