:root {
    --primary: #ff4d6d;
    --secondary: #ff758f;
    --background-start: #2b0014;
    --background-end: #0f0007;
    --text-main: #fff0f3;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    overflow: hidden;
    /* Prevent mobile pull-to-refresh and text selection */
    user-select: none;
    -webkit-user-select: none;
    overscroll-behavior: none;
}

.site-logo {
    position: absolute;
    top: 20px;
    left: 20px;
    height: 35px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    z-index: 100;
    pointer-events: none;
}

body {
    background-color: #0f0007; /* Fallback */
}

body::before {
    content: "";
    position: fixed;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(-45deg, #2b0014, #0f0007, #4a001a, #1a0010);
    z-index: -2;
    animation: bg-pan 15s ease infinite;
    will-change: transform;
    pointer-events: none;
}

@keyframes bg-pan {
    0% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(10%, 10%, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

.glow-orb { position: absolute; z-index: -1; pointer-events: none; will-change: transform; }
.orb-1 { width: 80vw; height: 80vw; background: radial-gradient(circle, rgba(255, 77, 109, 0.4) 0%, rgba(255, 77, 109, 0) 65%); top: -30%; left: -20%; animation: float 10s ease-in-out infinite alternate; }
.orb-2 { width: 70vw; height: 70vw; background: radial-gradient(circle, rgba(200, 0, 80, 0.5) 0%, rgba(200, 0, 80, 0) 65%); bottom: -25%; right: -20%; animation: float 14s ease-in-out infinite alternate-reverse; }

@keyframes float {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(30px, 40px, 0); }
}

.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 15px; /* Tighter padding for mobile */
    box-sizing: border-box;
    position: relative;
    z-index: 10;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 25px 20px;
    max-width: 100%;
    width: 95vw; /* Fills most of the mobile screen */
    text-align: center;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5), inset 0 1px 1px rgba(255,255,255,0.2);
}

.step { display: none; opacity: 0; transition: opacity 0.5s ease; }
.step.active { display: block; animation: fade-in-up 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }

.cute-gif {
    width: 60vw;
    max-width: 180px;
    border-radius: 20px;
    margin-bottom: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.title {
    font-family: 'Playfair Display', serif;
    font-size: 2.3rem; /* Smaller for mobile text wrapping */
    margin-top: 0;
    margin-bottom: 10px;
    background: linear-gradient(to right, #ffb3c6, #ff4d6d, #ff8fa3);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGradient 5s linear infinite;
    transform: translateZ(0);
}

@keyframes textGradient { to { background-position: 200% center; } }

.message {
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 10px;
    font-weight: 300;
}

.buttons-container {
    display: flex;
    flex-direction: column; /* Stack vertically by default for mobile */
    gap: 15px;
    position: relative;
    margin-top: 20px;
}

.no-btn-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

button {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border: none;
    padding: 16px 20px;
    border-radius: 50px;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    width: 100%; /* Giant touch target area */
    cursor: pointer;
    box-shadow: 0 8px 15px rgba(255, 77, 109, 0.4);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

#btn-yes { z-index: 5; }

#btn-no {
    background: linear-gradient(45deg, #555, #777);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    position: relative; 
    z-index: 10;
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.hidden { display: none !important; opacity: 0 !important; }

#reasons-list { list-style: none; padding: 0; margin-top: 10px; text-align: left; }

.reason-item {
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 10px;
    padding: 12px 16px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    transform: translateX(-20px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    will-change: transform, opacity;
    font-size: 0.95rem; /* Better fit for small phones */
    line-height: 1.4;
}

.reason-item.show { transform: translateX(0); opacity: 1; }

@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.floating-kisses {
    position: absolute;
    pointer-events: none;
    animation: kiss-float 3.5s ease-in forwards;
    z-index: 100;
}

@keyframes kiss-float {
    0% { transform: translateY(0) scale(0.8) rotate(0deg); opacity: 1; }
    30% { transform: translateY(-30vh) scale(1.2) rotate(-15deg); opacity: 1; }
    80% { opacity: 0.9; }
    100% { transform: translateY(-120vh) scale(1.5) rotate(25deg); opacity: 0; }
}

/* Password Input Box Styles */
.password-box {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--glass-border);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    box-sizing: border-box;
    outline: none;
    text-align: center;
    transition: all 0.3s ease;
}
.password-box:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(255, 77, 109, 0.3);
}
.password-box::placeholder {
    color: rgba(255, 255, 255, 0.6);
}
