* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif, "Segoe UI Emoji", "Noto Color Emoji";
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    
    transition: background 0.5s ease;
    background: radial-gradient(circle at 20% 30%, #ff9a9e22, transparent 40%),
            radial-gradient(circle at 80% 70%, #fad0c422, transparent 40%),
            linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    color: white;
}

/* Floating hearts background */
.hearts-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}
.hearts-bg span {
    position: absolute;
    font-size: 1.2rem;
    opacity: 0.6;
    animation: floatRandom linear infinite;
}

/* Size variation */
.hearts-bg span:nth-child(odd) {
    font-size: 1.8rem;
    opacity: 0.04;
}

.hearts-bg span:nth-child(3n) {
    font-size: 1.4rem;
}

/* Delay variation */
.hearts-bg span:nth-child(odd) { animation-delay: 2s; }
.hearts-bg span:nth-child(3n) { animation-delay: 5s; }

/* Animation */
@keyframes floatRandom {
    0% {
        transform: translateY(110vh) translateX(0) scale(0.8);
        opacity: 0;
    }
    20% {
        opacity: 0.15;
    }
    50% {
        transform: translateY(40vh) translateX(30px) scale(1);
    }
    100% {
        transform: translateY(-20vh) translateX(-30px) scale(1.2);
        opacity: 0;
    }
}

.container {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255,255,255,0.25);
    padding: 40px 30px;
    border-radius: 24px;

    /* glass base */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    /* glow border */
    border: 1px solid rgba(255, 255, 255, 0.2);

    /* depth */
    box-shadow:
        0 20px 60px rgba(0,0,0,0.6),
        inset 0 1px 0 rgba(255,255,255,0.3);

    overflow: hidden;
    transform-style: preserve-3d;
will-change: transform;
transition: transform 0.2s ease;
background:
    linear-gradient(
        to bottom,
        rgba(255,255,255,0.18),
        rgba(255,255,255,0.05)
    );
}

.container::before {
    content: "";
    position: absolute;
    inset: -50%;

    background: linear-gradient(
        120deg,
        transparent 30%,
        rgba(255,255,255,0.35),
        transparent 70%
    );

    transform: rotate(25deg) translateX(-100%);
    animation: shineMove 6s linear infinite;

    pointer-events: none;
}

.container::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;

    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0.15),
        transparent 40%
    );

    pointer-events: none;
}

.container:hover {
    transform: translateY(-5px) scale(1.01);
    transition: all 0.4s ease;
}

h1 {
    font-size:clamp(2rem,5vw,3rem);
    font-weight: 900;
    margin-bottom: 15px; 
    animation: wiggle 2s ease-in-out infinite;
}

.gradient-text {
    background: linear-gradient(90deg, #ff9a9e, #fad0c4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}



@keyframes wiggle {
    0%, 100% { transform: rotate(-1deg); }
    50% { transform: rotate(1deg); }
}

.gif-container {
    margin: 20px auto;
    display: flex;
    justify-content: center;
}

#cat-gif {
    width: 200px;
    height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.15));
    transition: opacity 0.3s ease;
}

.buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

#yes-btn {
    background: linear-gradient(135deg, #ff758c, #ff7eb3);
    color: white;
    border: none;
    border-radius: 999px;
    padding: 16px 44px;

    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.5px;

    cursor: pointer;
    position: relative;
    overflow: hidden;

    box-shadow:
        0 10px 30px rgba(255, 118, 150, 0.4),
        inset 0 1px 0 rgba(255,255,255,0.4);

    transition: all 0.25s ease;
}
#yes-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.5),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

#yes-btn:hover::before {
    transform: translateX(100%);
}

#yes-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 15px 40px rgba(255, 118, 150, 0.6);
}

#yes-btn:active {
    transform: scale(0.98);
}

#tease-toast {
    margin-top: 14px;
    font-size: 1rem;
    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;
}

#tease-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Music toggle button */
#music-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.85);
    border: none;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
    cursor: pointer;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s;
    z-index: 100;
}

#music-toggle:hover {
    transform: scale(1.1);
}

/* Yes page specific */
.yes-container h1.yes-title {
    font-size: clamp(2.2rem, 5vw, 3rem);

    animation:
    textReveal 0.9s ease forwards,
    glowPulse 2.5s ease-in-out infinite alternate 1s;
}

@keyframes bounceTitle {
    from { transform: translateY(0) rotate(-1deg); }
    to { transform: translateY(-12px) rotate(1deg); }

}

.yes-message {
    font-size:clamp(1.2rem,3vw,1.6rem);
    color: #e91e8c;
    font-weight: 700;
    margin-top: 24px;
    animation:textReveal 0.8s ease 0.5s both;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.yes-container #cat-gif {
    transition: transform 0.3s ease;
    width: 220px;
    margin: 20px 0;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));

    animation: popIn 0.8s ease 0.6s both;
}
#cat-gif:hover {
    transform: scale(1.05);
}

@keyframes textReveal {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    100% {
        opacity:1;
        transform: translateY(0) scale(1);
    }
}

@keyframes glowPulse {
    0% { text-shadow: 0 0 10px rgba(255,150,180,0.3); }
    100% { text-shadow: 0 0 35px rgba(255,150,180,0.8); }
}
@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.6) rotate(-5deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

@keyframes shineMove {
    0% {
        transform: rotate(25deg) translateX(-100%);
    }
    100% {
        transform: rotate(25deg) translateX(100%);
    }
}
.yes-container .yes-title,
.yes-container #cat-gif,
.yes-container .yes-message {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
}

.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}
* {
    -webkit-tap-highlight-color: transparent;
}

@keyframes breathe {
    from { transform: scale(1); }
    to { transform: scale(1.01); }
}
.yes-message {
    letter-spacing: 0.6px;
    line-height: 1.6;
    color: #ff9acb;
}

