* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffe6f2;
    overflow: hidden;
    font-family: sans-serif;
}

.glass-card {
    background: white;
    padding: 40px 20px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    width: 90%;
    max-width: 400px;
}

#emoji { font-size: 60px; margin-bottom: 15px; }

h1 { color: #d63384; font-size: 1.5rem; margin-bottom: 25px; }

.btn-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
    height: 50px;
}

button {
    padding: 12px 30px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
}

#yesBtn { background: #4caf50; color: white; }
#noBtn { 
    background: #f44336; 
    color: white; 
    position: relative; 
    transition: 0.1s ease-out;
}

@keyframes fall {
    to { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

.floating-pic {
    position: fixed;
    width: 80px; 
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 5;
    opacity: 0;
    transition: opacity 1s ease-in;
}

@media (min-width: 768px) {
    .floating-pic { width: 120px; height: 120px; }
}
.floating-pic {
    position: fixed;
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 15px;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 5;
    opacity: 0;
    transform: scale(0); 
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

.floating-pic.show {
    opacity: 1;
    transform: scale(1);
}

@media (min-width: 768px) {
    .floating-pic { width: 110px; height: 110px; }
}

.falling-element {
    position: fixed;
    top: -20px;
    pointer-events: none;
    z-index: 1;
    animation: fall linear forwards;
}
#sorryText {
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 5px;
}
h1 {
    font-size: 1.4rem; /* মোবাইলের জন্য পারফেক্ট সাইজ */
    color: #d63384;
    margin-bottom: 20px;
}

@keyframes fall {
    to { transform: translateY(110vh) rotate(360deg); opacity: 0; }

}
