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

body {
    background-color: #FFE4E8;
    font-family: 'Nunito', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    overflow-y: auto;
    background-image:
        radial-gradient(circle at 15% 85%, #ffb3c1 0%, transparent 40%),
        radial-gradient(circle at 85% 15%, #ff8fa3 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, #fff0f3 0%, transparent 60%);
    padding: 16px;
}

/* Floating hearts background */
.hearts-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.hearts-bg::before,
.hearts-bg::after {
    content: '💕 💗 💖 💝 💓';
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.15;
    animation: floatHearts 12s linear infinite;
    white-space: nowrap;
    top: 100%;
    left: 10%;
}

.hearts-bg::after {
    animation-delay: 6s;
    left: 60%;
    content: '💗 💕 💓 💖 💝';
}

@keyframes floatHearts {
    from { transform: translateY(0); opacity: 0.15; }
    to { transform: translateY(-110vh); opacity: 0; }
}

.container {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 20px 16px;
    width: 100%;
    max-width: 500px;
}

h1 {
    font-size: 1.75rem;
    color: #d63384;
    font-weight: 900;
    margin-bottom: 16px;
    text-shadow: 2px 2px 0px rgba(214, 51, 132, 0.2);
    animation: wiggle 2s ease-in-out infinite;
    line-height: 1.2;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(-1deg); }
    50% { transform: rotate(1deg); }
}

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

#cat-gif {
    width: 160px;
    height: 160px;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.15));
    transition: opacity 0.3s ease;
    max-width: 90vw;
}

.buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
    flex-wrap: wrap;
    width: 100%;
}

#yes-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 900;
    font-family: 'Nunito', sans-serif;
    padding: 14px 28px;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.45);
    letter-spacing: 1px;
    min-width: 80px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

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

@media (hover: hover) {
    #yes-btn:hover {
        transform: scale(1.06) translateY(-2px);
        box-shadow: 0 10px 28px rgba(76, 175, 80, 0.55);
    }
}

#no-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    padding: 12px 24px;
    cursor: pointer;
    transition: background 0.2s, left 0.25s ease, top 0.25s ease;
    box-shadow: 0 4px 14px rgba(231, 76, 60, 0.4);
    min-width: 60px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

@media (hover: hover) {
    #no-btn:hover {
        background: linear-gradient(135deg, #c0392b, #a93226);
    }
}


#tease-toast {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #d63384;
    font-weight: 700;
    font-style: italic;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    min-height: 1.5rem;
    padding: 0 12px;
}

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

/* Music toggle button */
#music-toggle {
    position: fixed;
    bottom: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.85);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
    cursor: pointer;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s;
    z-index: 100;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

@media (hover: hover) {
    #music-toggle:hover {
        transform: scale(1.1);
    }
}

#music-toggle:active {
    transform: scale(0.95);
}

/* Yes page specific */
.yes-container h1.yes-title {
    font-size: 2rem;
    animation: bounceTitle 0.6s ease infinite alternate;
}

@keyframes bounceTitle {
    from { transform: translateY(0) rotate(-1deg); }
    to { transform: translateY(-12px) rotate(1deg); }
}

.yes-message {
    font-size: 1.1rem;
    color: #e91e8c;
    font-weight: 700;
    margin-top: 20px;
    animation: fadeIn 1s ease 0.5s both;
}

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

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

/* Tablet and larger screens */
@media (min-width: 640px) {
    .container {
        padding: 30px 24px;
    }

    h1 {
        font-size: 2.2rem;
    }

    #cat-gif {
        width: 220px;
        height: 220px;
    }

    .buttons {
        gap: 20px;
        margin-top: 36px;
    }

    #yes-btn {
        font-size: 1.3rem;
        padding: 16px 40px;
    }

    #no-btn {
        font-size: 1rem;
        padding: 12px 28px;
    }

    #tease-toast {
        font-size: 1rem;
    }

    .yes-container h1.yes-title {
        font-size: 2.6rem;
    }

    .yes-message {
        font-size: 1.3rem;
    }

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

/* Desktop */
@media (min-width: 1024px) {
    .container {
        padding: 40px 30px;
    }

    h1 {
        font-size: 2.4rem;
    }

    #cat-gif {
        width: 260px;
        height: 260px;
    }

    .buttons {
        gap: 24px;
    }

    #yes-btn {
        font-size: 1.6rem;
        padding: 18px 45px;
    }

    .yes-container h1.yes-title {
        font-size: 2.8rem;
    }

    .yes-message {
        font-size: 1.4rem;
    }

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