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

body {
    background-color: #121212;
    font-family: 'Noto Sans Bengali', sans-serif;
    font-weight: 900;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    background-color: #282828;
    border-radius: 30px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.heart-icon {
    width: 160px;
    height: 160px;
    color: #ff0000;
    flex-shrink: 0;
    opacity: 0;
    filter: drop-shadow(none);
    -webkit-filter: drop-shadow(none);
    transform-origin: center center;
}

.heart-icon .heart-path {
    stroke: #ff0000;
    stroke-width: 1;
    fill: none;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
}

.heart-icon.animate-draw .heart-path {
    animation: drawHeart 5s ease-in-out forwards;
}

.heart-icon.animate-fill {
    animation: fillHeart 1.5s ease-in-out forwards;
}

.heart-icon.animate-fill .heart-path {
    fill: #ff0000;
    stroke: none;
}

.heart-icon.animate-beat {
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes drawHeart {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fillHeart {
    0% {
        transform: scale(0.95);
        filter: brightness(0.3);
    }
    50% {
        transform: scale(1.08);
        filter: brightness(1.2);
    }
    100% {
        transform: scale(1);
        filter: brightness(1);
    }
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    10% {
        transform: scale(1.1);
    }
    20% {
        transform: scale(1);
    }
    30% {
        transform: scale(1.15);
    }
    40% {
        transform: scale(1);
    }
}

.text {
    color: #ffffff;
    font-size: 24px;
    white-space: nowrap;
    font-family: 'Courier New', monospace;
    position: relative;
    text-shadow: none;
    -webkit-text-stroke: 0;
}

.text.typing::after,
.text::after {
    content: '█';
    animation: blink 1.5s step-end infinite;
    margin-left: 2px;
    color: #ffffff;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .heart-icon {
        width: 120px;
        height: 120px;
    }

    .text {
        font-size: 20px;
        white-space: normal;
    }

    .text.typing::after,
    .text::after {
        display: inline;
    }
}
