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

:root {
    --bg-main: #f5f7fc;
    --bg-soft: #e9eefc;
    --text-main: #1f2937;
    --text-muted: #46556d;
    --primary: #2f4fd7;
    --primary-dark: #243da8;
    --secondary: #f0b429;
    --secondary-dark: #cc9116;
    --surface: rgba(255, 255, 255, 0.86);
    --shadow: 0 14px 34px rgba(24, 41, 88, 0.14);
}

body {
    font-family: 'Nunito', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: var(--bg-main);
    color: var(--text-main);
    background-image:
        radial-gradient(circle at 12% 82%, #dfe8ff 0%, transparent 38%),
        radial-gradient(circle at 85% 18%, #fff2d1 0%, transparent 36%),
        linear-gradient(145deg, #f7f9ff 0%, #eef3ff 48%, #f8f9ff 100%);
}

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

.hearts-bg::before,
.hearts-bg::after {
    content: '';
    position: absolute;
    width: 48vmax;
    height: 48vmax;
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(2px);
    animation: drift 18s linear infinite;
}

.hearts-bg::before {
    background: radial-gradient(circle, rgba(47, 79, 215, 0.24) 0%, transparent 68%);
    top: 70%;
    left: -6%;
}

.hearts-bg::after {
    background: radial-gradient(circle, rgba(240, 180, 41, 0.24) 0%, transparent 68%);
    top: 72%;
    right: -8%;
    animation-delay: 9s;
}

@keyframes drift {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-120vh);
    }
}

.container {
    position: relative;
    z-index: 1;
    width: min(92vw, 760px);
    padding: 34px 26px;
    text-align: center;
    border-radius: 22px;
    background: var(--surface);
    border: 1px solid rgba(72, 96, 178, 0.16);
    box-shadow: var(--shadow);
    backdrop-filter: blur(6px);
}

h1 {
    font-size: clamp(1.6rem, 4vw, 2.45rem);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0.2px;
    color: var(--text-main);
    margin-bottom: 12px;
}

.subtitle {
    font-size: clamp(0.98rem, 2.2vw, 1.1rem);
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 18px;
}

.gif-container {
    margin: 8px auto 18px;
    display: flex;
    justify-content: center;
}

#cat-gif {
    width: 215px;
    height: 215px;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.12));
    transition: opacity 0.25s ease;
}

.buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 14px;
}

button {
    border: none;
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

button:focus-visible {
    outline: 3px solid rgba(47, 79, 215, 0.35);
    outline-offset: 2px;
}

#yes-btn {
    background: linear-gradient(135deg, var(--primary), #4268ff);
    color: white;
    border-radius: 14px;
    font-size: 1.7rem;
    padding: 18px 45px;
    box-shadow: 0 8px 22px rgba(47, 79, 215, 0.35);
    letter-spacing: 0.4px;
}

#yes-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 12px 26px rgba(47, 79, 215, 0.42);
}

#yes-btn:active {
    transform: scale(0.98);
}

#no-btn {
    background: linear-gradient(135deg, var(--secondary), #ffd067);
    color: #372602;
    border-radius: 12px;
    font-size: 1rem;
    padding: 12px 28px;
    white-space: nowrap;
    overflow-wrap: normal;
    line-height: 1.15;
    text-align: center;
    box-shadow: 0 7px 16px rgba(212, 152, 10, 0.28);
    transition: transform 0.12s ease, left 0.24s ease, top 0.24s ease;
}

#no-btn:hover {
    background: linear-gradient(135deg, var(--secondary-dark), #efb93d);
}

#tease-toast {
    margin-top: 16px;
    min-height: 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: #2f4fd7;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

#tease-toast.show {
    opacity: 1;
    transform: translateY(0);
}

#music-toggle {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    color: #1f2937;
    border: 1px solid rgba(47, 79, 215, 0.2);
    border-radius: 999px;
    padding: 11px 14px;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 16px rgba(10, 23, 56, 0.15);
}

#music-toggle:hover {
    transform: translateY(-1px);
}

.yes-container h1.yes-title {
    font-size: clamp(2rem, 4.2vw, 2.8rem);
    margin-bottom: 12px;
}

.yes-message {
    margin-top: 18px;
    font-size: clamp(1.05rem, 2.4vw, 1.3rem);
    font-weight: 800;
    color: #274096;
}

.yes-subline {
    margin-top: 8px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-muted);
}

.yes-container #cat-gif {
    width: 240px;
    height: 240px;
}

.yes-page {
    background-image:
        radial-gradient(circle at 10% 20%, rgba(66, 104, 255, 0.28) 0%, transparent 38%),
        radial-gradient(circle at 90% 15%, rgba(240, 180, 41, 0.28) 0%, transparent 40%),
        linear-gradient(140deg, #f8f9ff 0%, #edf2ff 48%, #fff7ea 100%);
}

.yes-page .container.yes-container {
    border: 1px solid rgba(95, 117, 199, 0.22);
    box-shadow: 0 18px 46px rgba(28, 42, 94, 0.2);
}

.yes-actions {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.yes-actions button {
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 900;
    color: #11214e;
    background: linear-gradient(135deg, #ffffff, #eef3ff);
    border: 1px solid rgba(63, 92, 181, 0.26);
    box-shadow: 0 5px 14px rgba(30, 52, 118, 0.16);
}

.yes-actions button:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #ffffff, #e5ecff);
}

#yes-status {
    margin-top: 14px;
    font-size: 0.95rem;
    font-weight: 800;
    color: #2f4fd7;
}

body.yes-page.vibe-blue {
    background-image:
        radial-gradient(circle at 8% 18%, rgba(72, 124, 255, 0.32) 0%, transparent 36%),
        radial-gradient(circle at 88% 22%, rgba(122, 172, 255, 0.22) 0%, transparent 38%),
        linear-gradient(140deg, #ecf3ff 0%, #deebff 52%, #f6fbff 100%);
}

body.yes-page.vibe-purple {
    background-image:
        radial-gradient(circle at 8% 18%, rgba(170, 96, 255, 0.28) 0%, transparent 36%),
        radial-gradient(circle at 90% 18%, rgba(116, 88, 255, 0.24) 0%, transparent 40%),
        linear-gradient(140deg, #f5efff 0%, #eee9ff 54%, #f8f4ff 100%);
}

body.yes-page.vibe-sunset {
    background-image:
        radial-gradient(circle at 10% 18%, rgba(255, 153, 102, 0.3) 0%, transparent 36%),
        radial-gradient(circle at 88% 16%, rgba(255, 205, 86, 0.28) 0%, transparent 38%),
        linear-gradient(145deg, #fff3e8 0%, #ffeccd 52%, #fff6ec 100%);
}

@media (max-width: 640px) {
    .container {
        padding: 28px 16px;
    }

    #cat-gif,
    .yes-container #cat-gif {
        width: 180px;
        height: 180px;
    }

    #yes-btn {
        font-size: 1.35rem;
        padding: 16px 30px;
    }

    #no-btn {
        font-size: 0.95rem;
        padding: 11px 22px;
    }

    .yes-actions button {
        width: calc(50% - 8px);
        min-width: 140px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .hearts-bg::before,
    .hearts-bg::after {
        animation: none;
    }

    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}