* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #efdedf, #fad0c4);
    font-family: cursive;
}

#gif:active {
    transform: scale3d(1.3, 1.3, 1.3);
}

h2 {
    text-align: center;
    font-size: 1.2em;
    color: #e94d58;
    margin: 15px 0;
}

p {
    font-size: 12px;
    font-style: italic;
    color: #e94d58;
    margin: 15px 0;
}

#btn-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    position: relative;
}

button {
    width: 130px;
    height: 45px;
    border-radius: 30px;
    border: 2px solid #e94d58;
    font-size: 1em;
    cursor: pointer;
    box-shadow: 0 2px 4px gray;
    transition: 0.2s;
}

#yes-btn,
#no-btn {
    position: relative;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 1em;
    cursor: pointer;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: 0.3s ease;
}

#yes-btn {
    background: rgba(233, 77, 88, 0.35);
    color: white;
}

#no-btn {
    position: relative;
    background: rgba(255, 255, 255, 0.25);
    color: #e94d58;
}

#yes-btn:hover {
    background: rgba(233, 77, 88, 0.55);
    transform: translateY(-3px);
}

#no-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

#chocolate_rains {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(-15deg);
    transform-style: preserve-3d;
    pointer-events: none;
    z-index: 0;
}

#wrapper {
    position: relative;
    z-index: 10;
    padding: 40px 30px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    /* Glass effect */
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(233, 77, 88, 0.3);
}

#gif {
    max-width: 300px;
    width: 100%;
    height: auto;
}

div {
    position: absolute;
    transform-style: preserve-3d;
}

.heart .ring {
    width: 300px;
    height: 300px;
    border-radius: 100%;
    opacity: 0;
    border: 1px solid red;
}

.heart .left {
    left: -20px;
    width: 20px;
    height: 20px;
    background: #c80000;
    border-radius: 100%;
    transform-origin: 100% 0;
}

.heart .left::before {
    content: "";
    position: absolute;
    top: 10px;
    width: 20px;
    height: 25px;
    background: #c80000;
    border-radius: 0 0 0 100%;
}

.heart .right {
    width: 20px;
    height: 20px;
    background: #c80000;
    border-radius: 100%;
    transform-origin: 0 0;
}

.heart .right::before {
    content: "";
    position: absolute;
    top: 10px;
    width: 20px;
    height: 25px;
    background: #c80000;
    border-radius: 0 0 100% 0;
}

.heart .movable {
    opacity: 0;
}

.heart .reverse {
    transform: translateY(70px) rotateZ(180deg);
    opacity: 0.1;
}

.heart .reverse .left,
.heart .reverse .right {
    opacity: 0.5;
}

.heart:nth-child(1) {
    transform: translateX(97px) translateZ(-500px) scale3d(0.5, 0.5, 0.5);
}

.heart:nth-child(1) .movable {
    -webkit-animation: drop 5000ms 38ms linear infinite;
    animation: drop 5000ms 38ms linear infinite;
}

.heart:nth-child(1) .ring {
    -webkit-animation: wave 5000ms 3938ms ease-out infinite;
    animation: wave 5000ms 3938ms ease-out infinite;
}

.heart:nth-child(1) .inner {
    -webkit-animation: rotation 3764ms linear infinite;
    animation: rotation 3764ms linear infinite;
}

.heart:nth-child(2) {
    transform: translateX(191px) translateZ(-234px) scale3d(0.5, 0.5, 0.5);
}

.heart:nth-child(2) .movable {
    -webkit-animation: drop 5000ms 843ms linear infinite;
    animation: drop 5000ms 843ms linear infinite;
}

.heart:nth-child(2) .ring {
    -webkit-animation: wave 5000ms 4743ms ease-out infinite;
    animation: wave 5000ms 4743ms ease-out infinite;
}

.heart:nth-child(2) .inner {
    -webkit-animation: rotation 4133ms linear infinite;
    animation: rotation 4133ms linear infinite;
}

.heart:nth-child(3) {
    transform: translateX(-330px) translateZ(-751px) scale3d(0.5, 0.5, 0.5);
}

.heart:nth-child(3) .movable {
    -webkit-animation: drop 5000ms -1602ms linear infinite;
    animation: drop 5000ms -1602ms linear infinite;
}

.heart:nth-child(3) .ring {
    -webkit-animation: wave 5000ms 2298ms ease-out infinite;
    animation: wave 5000ms 2298ms ease-out infinite;
}

.heart:nth-child(3) .inner {
    -webkit-animation: rotation 3579ms linear infinite;
    animation: rotation 3579ms linear infinite;
}

.heart:nth-child(4) {
    transform: translateX(-184px) translateZ(141px) scale3d(0.5, 0.5, 0.5);
}

.heart:nth-child(4) .movable {
    -webkit-animation: drop 5000ms -1589ms linear infinite;
    animation: drop 5000ms -1589ms linear infinite;
}

.heart:nth-child(4) .ring {
    -webkit-animation: wave 5000ms 2311ms ease-out infinite;
    animation: wave 5000ms 2311ms ease-out infinite;
}

.heart:nth-child(4) .inner {
    -webkit-animation: rotation 2107ms linear infinite;
    animation: rotation 2107ms linear infinite;
}

.heart:nth-child(5) {
    transform: translateX(239px) translateZ(390px) scale3d(0.5, 0.5, 0.5);
}

.heart:nth-child(5) .movable {
    -webkit-animation: drop 5000ms -2730ms linear infinite;
    animation: drop 5000ms -2730ms linear infinite;
}

.heart:nth-child(5) .ring {
    -webkit-animation: wave 5000ms 1170ms ease-out infinite;
    animation: wave 5000ms 1170ms ease-out infinite;
}

.heart:nth-child(5) .inner {
    -webkit-animation: rotation 3301ms linear infinite;
    animation: rotation 3301ms linear infinite;
}

.heart:nth-child(6) {
    transform: translateX(409px) translateZ(-691px) scale3d(0.5, 0.5, 0.5);
}

.heart:nth-child(6) .movable {
    -webkit-animation: drop 5000ms -335ms linear infinite;
    animation: drop 5000ms -335ms linear infinite;
}

.heart:nth-child(6) .ring {
    -webkit-animation: wave 5000ms 3565ms ease-out infinite;
    animation: wave 5000ms 3565ms ease-out infinite;
}

.heart:nth-child(6) .inner {
    -webkit-animation: rotation 3788ms linear infinite;
    animation: rotation 3788ms linear infinite;
}

.heart:nth-child(7) {
    transform: translateX(-3px) translateZ(-658px) scale3d(0.5, 0.5, 0.5);
}

.heart:nth-child(7) .movable {
    -webkit-animation: drop 5000ms 493ms linear infinite;
    animation: drop 5000ms 493ms linear infinite;
}

.heart:nth-child(7) .ring {
    -webkit-animation: wave 5000ms 4393ms ease-out infinite;
    animation: wave 5000ms 4393ms ease-out infinite;
}

.heart:nth-child(7) .inner {
    -webkit-animation: rotation 3404ms linear infinite;
    animation: rotation 3404ms linear infinite;
}

.heart:nth-child(8) {
    transform: translateX(-243px) translateZ(628px) scale3d(0.5, 0.5, 0.5);
}

.heart:nth-child(8) .movable {
    -webkit-animation: drop 5000ms -1701ms linear infinite;
    animation: drop 5000ms -1701ms linear infinite;
}

.heart:nth-child(8) .ring {
    -webkit-animation: wave 5000ms 2199ms ease-out infinite;
    animation: wave 5000ms 2199ms ease-out infinite;
}

.heart:nth-child(8) .inner {
    -webkit-animation: rotation 3854ms linear infinite;
    animation: rotation 3854ms linear infinite;
}

.heart:nth-child(9) {
    transform: translateX(136px) translateZ(-400px) scale3d(0.5, 0.5, 0.5);
}

.heart:nth-child(9) .movable {
    -webkit-animation: drop 5000ms -1804ms linear infinite;
    animation: drop 5000ms -1804ms linear infinite;
}

.heart:nth-child(9) .ring {
    -webkit-animation: wave 5000ms 2096ms ease-out infinite;
    animation: wave 5000ms 2096ms ease-out infinite;
}

.heart:nth-child(9) .inner {
    -webkit-animation: rotation 3286ms linear infinite;
    animation: rotation 3286ms linear infinite;
}

.heart:nth-child(10) {
    transform: translateX(137px) translateZ(-196px) scale3d(0.5, 0.5, 0.5);
}

.heart:nth-child(10) .movable {
    -webkit-animation: drop 5000ms 1030ms linear infinite;
    animation: drop 5000ms 1030ms linear infinite;
}

.heart:nth-child(10) .ring {
    -webkit-animation: wave 5000ms 4930ms ease-out infinite;
    animation: wave 5000ms 4930ms ease-out infinite;
}

.heart:nth-child(10) .inner {
    -webkit-animation: rotation 3506ms linear infinite;
    animation: rotation 3506ms linear infinite;
}

.heart:nth-child(11) {
    transform: translateX(-9px) translateZ(-580px) scale3d(0.5, 0.5, 0.5);
}

.heart:nth-child(11) .movable {
    -webkit-animation: drop 5000ms 287ms linear infinite;
    animation: drop 5000ms 287ms linear infinite;
}

.heart:nth-child(11) .ring {
    -webkit-animation: wave 5000ms 4187ms ease-out infinite;
    animation: wave 5000ms 4187ms ease-out infinite;
}

.heart:nth-child(11) .inner {
    -webkit-animation: rotation 3896ms linear infinite;
    animation: rotation 3896ms linear infinite;
}

.heart:nth-child(12) {
    transform: translateX(281px) translateZ(-430px) scale3d(0.5, 0.5, 0.5);
}

.heart:nth-child(12) .movable {
    -webkit-animation: drop 5000ms 611ms linear infinite;
    animation: drop 5000ms 611ms linear infinite;
}

.heart:nth-child(12) .ring {
    -webkit-animation: wave 5000ms 4511ms ease-out infinite;
    animation: wave 5000ms 4511ms ease-out infinite;
}

.heart:nth-child(12) .inner {
    -webkit-animation: rotation 2226ms linear infinite;
    animation: rotation 2226ms linear infinite;
}

.heart:nth-child(13) {
    transform: translateX(364px) translateZ(646px) scale3d(0.5, 0.5, 0.5);
}

.heart:nth-child(13) .movable {
    -webkit-animation: drop 5000ms -1916ms linear infinite;
    animation: drop 5000ms -1916ms linear infinite;
}

.heart:nth-child(13) .ring {
    -webkit-animation: wave 5000ms 1984ms ease-out infinite;
    animation: wave 5000ms 1984ms ease-out infinite;
}

.heart:nth-child(13) .inner {
    -webkit-animation: rotation 4341ms linear infinite;
    animation: rotation 4341ms linear infinite;
}

.heart:nth-child(14) {
    transform: translateX(118px) translateZ(562px) scale3d(0.5, 0.5, 0.5);
}

.heart:nth-child(14) .movable {
    -webkit-animation: drop 5000ms -2212ms linear infinite;
    animation: drop 5000ms -2212ms linear infinite;
}

.heart:nth-child(14) .ring {
    -webkit-animation: wave 5000ms 1688ms ease-out infinite;
    animation: wave 5000ms 1688ms ease-out infinite;
}

.heart:nth-child(14) .inner {
    -webkit-animation: rotation 4654ms linear infinite;
    animation: rotation 4654ms linear infinite;
}

.heart:nth-child(15) {
    transform: translateX(112px) translateZ(423px) scale3d(0.5, 0.5, 0.5);
}

.heart:nth-child(15) .movable {
    -webkit-animation: drop 5000ms -2850ms linear infinite;
    animation: drop 5000ms -2850ms linear infinite;
}

.heart:nth-child(15) .ring {
    -webkit-animation: wave 5000ms 1050ms ease-out infinite;
    animation: wave 5000ms 1050ms ease-out infinite;
}

.heart:nth-child(15) .inner {
    -webkit-animation: rotation 3980ms linear infinite;
    animation: rotation 3980ms linear infinite;
}

.heart:nth-child(16) {
    transform: translateX(-88px) translateZ(-762px) scale3d(0.5, 0.5, 0.5);
}

.heart:nth-child(16) .movable {
    -webkit-animation: drop 5000ms 88ms linear infinite;
    animation: drop 5000ms 88ms linear infinite;
}

.heart:nth-child(16) .ring {
    -webkit-animation: wave 5000ms 3988ms ease-out infinite;
    animation: wave 5000ms 3988ms ease-out infinite;
}

.heart:nth-child(16) .inner {
    -webkit-animation: rotation 2877ms linear infinite;
    animation: rotation 2877ms linear infinite;
}

.heart:nth-child(17) {
    transform: translateX(-118px) translateZ(743px) scale3d(0.5, 0.5, 0.5);
}

.heart:nth-child(17) .movable {
    -webkit-animation: drop 5000ms 1492ms linear infinite;
    animation: drop 5000ms 1492ms linear infinite;
}

.heart:nth-child(17) .ring {
    -webkit-animation: wave 5000ms 5392ms ease-out infinite;
    animation: wave 5000ms 5392ms ease-out infinite;
}

.heart:nth-child(17) .inner {
    -webkit-animation: rotation 3992ms linear infinite;
    animation: rotation 3992ms linear infinite;
}

.heart:nth-child(18) {
    transform: translateX(-489px) translateZ(-126px) scale3d(0.5, 0.5, 0.5);
}

.heart:nth-child(18) .movable {
    -webkit-animation: drop 5000ms 1671ms linear infinite;
    animation: drop 5000ms 1671ms linear infinite;
}

.heart:nth-child(18) .ring {
    -webkit-animation: wave 5000ms 5571ms ease-out infinite;
    animation: wave 5000ms 5571ms ease-out infinite;
}

.heart:nth-child(18) .inner {
    -webkit-animation: rotation 4692ms linear infinite;
    animation: rotation 4692ms linear infinite;
}

.heart:nth-child(19) {
    transform: translateX(405px) translateZ(-473px) scale3d(0.5, 0.5, 0.5);
}

.heart:nth-child(19) .movable {
    -webkit-animation: drop 5000ms -2417ms linear infinite;
    animation: drop 5000ms -2417ms linear infinite;
}

.heart:nth-child(19) .ring {
    -webkit-animation: wave 5000ms 1483ms ease-out infinite;
    animation: wave 5000ms 1483ms ease-out infinite;
}

.heart:nth-child(19) .inner {
    -webkit-animation: rotation 3129ms linear infinite;
    animation: rotation 3129ms linear infinite;
}

.heart:nth-child(20) {
    transform: translateX(-225px) translateZ(-723px) scale3d(0.5, 0.5, 0.5);
}

.heart:nth-child(20) .movable {
    -webkit-animation: drop 5000ms 1978ms linear infinite;
    animation: drop 5000ms 1978ms linear infinite;
}

.heart:nth-child(20) .ring {
    -webkit-animation: wave 5000ms 5878ms ease-out infinite;
    animation: wave 5000ms 5878ms ease-out infinite;
}

.heart:nth-child(20) .inner {
    -webkit-animation: rotation 2072ms linear infinite;
    animation: rotation 2072ms linear infinite;
}

.heart:nth-child(21) {
    transform: translateX(450px) translateZ(-230px) scale3d(0.5, 0.5, 0.5);
}

.heart:nth-child(21) .movable {
    -webkit-animation: drop 5000ms 169ms linear infinite;
    animation: drop 5000ms 169ms linear infinite;
}

.heart:nth-child(21) .ring {
    -webkit-animation: wave 5000ms 4069ms ease-out infinite;
    animation: wave 5000ms 4069ms ease-out infinite;
}

.heart:nth-child(21) .inner {
    -webkit-animation: rotation 4803ms linear infinite;
    animation: rotation 4803ms linear infinite;
}

.heart:nth-child(22) {
    transform: translateX(-267px) translateZ(-201px) scale3d(0.5, 0.5, 0.5);
}

.heart:nth-child(22) .movable {
    -webkit-animation: drop 5000ms 750ms linear infinite;
    animation: drop 5000ms 750ms linear infinite;
}

.heart:nth-child(22) .ring {
    -webkit-animation: wave 5000ms 4650ms ease-out infinite;
    animation: wave 5000ms 4650ms ease-out infinite;
}

.heart:nth-child(22) .inner {
    -webkit-animation: rotation 3697ms linear infinite;
    animation: rotation 3697ms linear infinite;
}

.heart:nth-child(23) {
    transform: translateX(355px) translateZ(-731px) scale3d(0.5, 0.5, 0.5);
}

.heart:nth-child(23) .movable {
    -webkit-animation: drop 5000ms 839ms linear infinite;
    animation: drop 5000ms 839ms linear infinite;
}

.heart:nth-child(23) .ring {
    -webkit-animation: wave 5000ms 4739ms ease-out infinite;
    animation: wave 5000ms 4739ms ease-out infinite;
}

.heart:nth-child(23) .inner {
    -webkit-animation: rotation 2061ms linear infinite;
    animation: rotation 2061ms linear infinite;
}

.heart:nth-child(24) {
    transform: translateX(172px) translateZ(733px) scale3d(0.5, 0.5, 0.5);
}

.heart:nth-child(24) .movable {
    -webkit-animation: drop 5000ms -146ms linear infinite;
    animation: drop 5000ms -146ms linear infinite;
}

.heart:nth-child(24) .ring {
    -webkit-animation: wave 5000ms 3754ms ease-out infinite;
    animation: wave 5000ms 3754ms ease-out infinite;
}

.heart:nth-child(24) .inner {
    -webkit-animation: rotation 3572ms linear infinite;
    animation: rotation 3572ms linear infinite;
}

.heart:nth-child(25) {
    transform: translateX(129px) translateZ(-416px) scale3d(0.5, 0.5, 0.5);
}

.heart:nth-child(25) .movable {
    -webkit-animation: drop 5000ms -2775ms linear infinite;
    animation: drop 5000ms -2775ms linear infinite;
}

.heart:nth-child(25) .ring {
    -webkit-animation: wave 5000ms 1125ms ease-out infinite;
    animation: wave 5000ms 1125ms ease-out infinite;
}

.heart:nth-child(25) .inner {
    -webkit-animation: rotation 2420ms linear infinite;
    animation: rotation 2420ms linear infinite;
}

.heart:nth-child(26) {
    transform: translateX(-156px) translateZ(291px) scale3d(0.5, 0.5, 0.5);
}

.heart:nth-child(26) .movable {
    -webkit-animation: drop 5000ms 490ms linear infinite;
    animation: drop 5000ms 490ms linear infinite;
}

.heart:nth-child(26) .ring {
    -webkit-animation: wave 5000ms 4390ms ease-out infinite;
    animation: wave 5000ms 4390ms ease-out infinite;
}

.heart:nth-child(26) .inner {
    -webkit-animation: rotation 3726ms linear infinite;
    animation: rotation 3726ms linear infinite;
}

.heart:nth-child(27) {
    transform: translateX(-116px) translateZ(-504px) scale3d(0.5, 0.5, 0.5);
}

.heart:nth-child(27) .movable {
    -webkit-animation: drop 5000ms -1987ms linear infinite;
    animation: drop 5000ms -1987ms linear infinite;
}

.heart:nth-child(27) .ring {
    -webkit-animation: wave 5000ms 1913ms ease-out infinite;
    animation: wave 5000ms 1913ms ease-out infinite;
}

.heart:nth-child(27) .inner {
    -webkit-animation: rotation 2358ms linear infinite;
    animation: rotation 2358ms linear infinite;
}

.heart:nth-child(28) {
    transform: translateX(-419px) translateZ(-377px) scale3d(0.5, 0.5, 0.5);
}

.heart:nth-child(28) .movable {
    -webkit-animation: drop 5000ms 1487ms linear infinite;
    animation: drop 5000ms 1487ms linear infinite;
}

.heart:nth-child(28) .ring {
    -webkit-animation: wave 5000ms 5387ms ease-out infinite;
    animation: wave 5000ms 5387ms ease-out infinite;
}

.heart:nth-child(28) .inner {
    -webkit-animation: rotation 3449ms linear infinite;
    animation: rotation 3449ms linear infinite;
}

.heart:nth-child(29) {
    transform: translateX(-166px) translateZ(612px) scale3d(0.5, 0.5, 0.5);
}

.heart:nth-child(29) .movable {
    -webkit-animation: drop 5000ms -2198ms linear infinite;
    animation: drop 5000ms -2198ms linear infinite;
}

.heart:nth-child(29) .ring {
    -webkit-animation: wave 5000ms 1702ms ease-out infinite;
    animation: wave 5000ms 1702ms ease-out infinite;
}

.heart:nth-child(29) .inner {
    -webkit-animation: rotation 2083ms linear infinite;
    animation: rotation 2083ms linear infinite;
}

.heart:nth-child(30) {
    transform: translateX(-425px) translateZ(53px) scale3d(0.5, 0.5, 0.5);
}

.heart:nth-child(30) .movable {
    -webkit-animation: drop 5000ms -1517ms linear infinite;
    animation: drop 5000ms -1517ms linear infinite;
}

.heart:nth-child(30) .ring {
    -webkit-animation: wave 5000ms 2383ms ease-out infinite;
    animation: wave 5000ms 2383ms ease-out infinite;
}

.heart:nth-child(30) .inner {
    -webkit-animation: rotation 2089ms linear infinite;
    animation: rotation 2089ms linear infinite;
}

@-webkit-keyframes blur {
    0% {
        filter: blur(20px) grayscale(150%);
    }
    100% {
        filter: blur(10px) grayscale(50%);
    }
}

@keyframes blur {
    0% {
        filter: blur(20px) grayscale(150%);
    }
    100% {
        filter: blur(10px) grayscale(50%);
    }
}

@-webkit-keyframes rotation {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

@keyframes rotation {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

@-webkit-keyframes drop {
    0% {
        transform: translateY(-1000px);
        opacity: 0;
    }
    80% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-40px);
        opacity: 0;
    }
}

@keyframes drop {
    0% {
        transform: translateY(-1000px);
        opacity: 0;
    }
    80% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-40px);
        opacity: 0;
    }
}

@-webkit-keyframes wave {
    0% {
        transform: translate(-50%, -50%) rotateX(90deg) scale(0) translateZ(-37px);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) rotateX(90deg) scale(2) translateZ(-37px);
        opacity: 0;
    }
}

@keyframes wave {
    0% {
        transform: translate(-50%, -50%) rotateX(90deg) scale(0) translateZ(-37px);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) rotateX(90deg) scale(2) translateZ(-37px);
        opacity: 0;
    }
}

@-webkit-keyframes wing {
    0% {
        transform: rotateY(70deg);
    }
    100% {
        transform: rotateY(0deg);
    }
}

@keyframes wing {
    0% {
        transform: rotateY(70deg);
    }
    100% {
        transform: rotateY(0deg);
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 1.2em;
    }
    button {
        width: 110px;
        height: 40px;
        font-size: 0.9em;
    }
    #gif {
        max-width: 220px;
    }
}