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

body {
    font-family: 'Arial', sans-serif;
    height: 100vh;
    overflow: hidden;
    position: relative;
    background: linear-gradient(45deg, #ff6b9d, #ffc3e0, #ff9a9e, #fecfef, #ffb3d9);
    background-size: 400% 400%;
    animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}

.photo-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.photo-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.photo {
    position: absolute;
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    opacity: 0;
    transition: all 2s ease-in-out;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    border: 4px solid white;
    transform: scale(0.8);
}

.photo.active {
    opacity: 0.9;
    transform: scale(1);
}

.photo:nth-child(1) {
    top: 10%;
    left: 8%;
    animation: float1 8s ease-in-out infinite;
}

.photo:nth-child(2) {
    top: 15%;
    right: 12%;
    animation: float2 10s ease-in-out infinite;
}

.photo:nth-child(3) {
    bottom: 20%;
    left: 12%;
    animation: float3 12s ease-in-out infinite;
}

.photo:nth-child(4) {
    bottom: 15%;
    right: 8%;
    animation: float4 9s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) rotate(-3deg) scale(1); }
    25% { transform: translate(20px, -15px) rotate(2deg) scale(1.05); }
    50% { transform: translate(-10px, 10px) rotate(-1deg) scale(0.95); }
    75% { transform: translate(15px, 5px) rotate(3deg) scale(1.02); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) rotate(2deg) scale(1); }
    33% { transform: translate(-25px, 20px) rotate(-2deg) scale(1.03); }
    66% { transform: translate(10px, -10px) rotate(4deg) scale(0.98); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0) rotate(-2deg) scale(1); }
    40% { transform: translate(30px, -20px) rotate(3deg) scale(1.04); }
    80% { transform: translate(-15px, 15px) rotate(-4deg) scale(0.96); }
}

@keyframes float4 {
    0%, 100% { transform: translate(0, 0) rotate(1deg) scale(1); }
    30% { transform: translate(-20px, -25px) rotate(-3deg) scale(1.02); }
    60% { transform: translate(25px, 10px) rotate(2deg) scale(0.99); }
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 2;
}

.content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    padding: 20px;
}

.question {
    font-size: 3rem;
    color: #fff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    margin-bottom: 3rem;
    animation: pulse 2s ease-in-out infinite, glow 3s ease-in-out infinite alternate;
    font-weight: bold;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes glow {
    0% { text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.3); }
    100% { text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 255, 255, 0.6); }
}

.buttons-container {
    position: relative;
    display: flex;
    gap: 4rem;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    width: 100%;
    overflow: visible;
}

.btn {
    padding: 18px 36px;
    font-size: 1.3rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.yes-btn {
    background: linear-gradient(45deg, #ff6b9d, #ff8a80);
    color: white;
    transform: scale(1);
}

.yes-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
}

.no-btn {
    background: linear-gradient(45deg, #9e9e9e, #757575);
    color: white;
    position: relative;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    z-index: 10;
}

.no-btn:hover {
    background: linear-gradient(45deg, #f44336, #d32f2f);
}

.no-btn.moving {
    transition: none;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

.modal.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalPop 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes modalPop {
    0% { transform: scale(0.5) rotate(-10deg); opacity: 0; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.modal-content h2 {
    color: #ff6b9d;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.modal-content p {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.hearts {
    font-size: 2rem;
    animation: heartBeat 1s ease-in-out infinite;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Responsive design */
@media (max-width: 768px) {
    .question {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .buttons-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .photo {
        width: 250px;
        height: 250px;
    }
}

/* Floating hearts animation */
.floating-heart {
    position: absolute;
    font-size: 2rem;
    color: #ff6b9d;
    pointer-events: none;
    animation: floatUp 3s ease-out forwards;
    z-index: 1000;
}

@keyframes floatUp {
    0% {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translateY(-200px) rotate(360deg);
    }
}
/* Sparkle effects */
.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    pointer-events: none;
    animation: sparkleAnimation 2s ease-in-out infinite;
}

@keyframes sparkleAnimation {
    0%, 100% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1); }
}

/* Enhanced button hover effects */
.yes-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
    animation: buttonPulse 0.6s ease-in-out infinite;
}

@keyframes buttonPulse {
    0%, 100% { box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4); }
    50% { box-shadow: 0 12px 35px rgba(255, 107, 157, 0.6); }
}

.no-btn.scared {
    animation: shake 0.5s ease-in-out;
    background: linear-gradient(45deg, #f44336, #d32f2f) !important;
}

.no-btn.panic {
    animation: panic 0.2s ease-in-out infinite;
    background: linear-gradient(45deg, #d32f2f, #b71c1c) !important;
    box-shadow: 0 0 25px rgba(244, 67, 54, 0.8) !important;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px) rotate(-2deg); }
    75% { transform: translateX(5px) rotate(2deg); }
}

@keyframes panic {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
    }
    50% { 
        transform: scale(0.95) rotate(2deg);
    }
}

/* Floating elements in background */
.floating-element {
    position: absolute;
    pointer-events: none;
    font-size: 1.5rem;
    opacity: 0.3;
    animation: floatAround 15s linear infinite;
}

@keyframes floatAround {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}
/* Advanced Button Evolution Styles */

/* Yes Button Enhancements */
.yes-btn.growing {
    animation: growOverTime 60s linear infinite;
}

.yes-btn.heartbeat {
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes growOverTime {
    0% { transform: scale(1) !important; }
    100% { transform: scale(1.8) !important; }
}

@keyframes heartbeat {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
    }
    50% { 
        transform: scale(1.1);
        box-shadow: 0 12px 35px rgba(255, 107, 157, 0.8);
    }
}

/* Mouse Trail Effects */
.trail-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.mouse-trail {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.8), transparent);
    border-radius: 50%;
    pointer-events: none;
    animation: trailFade 1s ease-out forwards;
}

@keyframes trailFade {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.2);
    }
}

/* Gravity Well Effect */
.gravity-well {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(255, 107, 157, 0.1) 0%, 
        rgba(255, 107, 157, 0.05) 50%, 
        transparent 100%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: gravityPulse 3s ease-in-out infinite;
}

.gravity-well.active {
    opacity: 1;
}

@keyframes gravityPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Decoy Buttons */
.decoy-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 8;
}

.decoy-btn {
    position: absolute;
    padding: 15px 30px;
    font-size: 1.2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background: linear-gradient(45deg, #9e9e9e, #757575);
    color: white;
    pointer-events: auto;
    opacity: 0.8;
    animation: decoySpawn 0.5s ease-out;
}

.decoy-btn:hover {
    background: linear-gradient(45deg, #f44336, #d32f2f);
}

@keyframes decoySpawn {
    0% {
        opacity: 0;
        transform: scale(0) rotate(180deg);
    }
    100% {
        opacity: 0.8;
        transform: scale(1) rotate(0deg);
    }
}

.decoy-btn.disappearing {
    animation: decoyDisappear 0.3s ease-in forwards;
}

@keyframes decoyDisappear {
    0% {
        opacity: 0.8;
        transform: scale(1) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
}

/* Teleportation Effects */
.teleport-out {
    animation: teleportOut 0.3s ease-in forwards;
}

.teleport-in {
    animation: teleportIn 0.3s ease-out forwards;
}

@keyframes teleportOut {
    0% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: blur(0px);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.5) rotate(180deg);
        filter: blur(5px);
    }
    100% {
        opacity: 0;
        transform: scale(0) rotate(360deg);
        filter: blur(10px);
    }
}

@keyframes teleportIn {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-360deg);
        filter: blur(10px);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.5) rotate(-180deg);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: blur(0px);
    }
}

/* Enhanced Panic Mode */
.no-btn.teleporting {
    pointer-events: none;
}

/* Magnetic attraction effect for Yes button */
.yes-btn.magnetic {
    position: relative;
}

.yes-btn.magnetic::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 50px;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.1), transparent);
    animation: magneticPulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes magneticPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: scale(1.5);
        opacity: 0.1;
    }
}