<div style="text-align: center; margin-top: 40px; position: relative;">
    <div class="background-effect"></div>
    <div class="animated-text">
        بمب پی دی اف
    </div>
    <div class="moving-line"></div>
    <div class="floating-item"></div>
</div>

<style>
    body {
        background-color: #f9f9f9;
    }

    @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@700&family=Oswald:wght@700&display=swap');

    .background-effect {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 87, 34, 0.1); /* هاله نورانی */
        filter: blur(30px);
        z-index: -1; /* پشت متن */
        animation: pulse 5s infinite alternate; /* افکت پالس */
    }

    @keyframes pulse {
        0% { opacity: 0.5; }
        50% { opacity: 1; }
        100% { opacity: 0.5; }
    }

    .animated-text {
        display: inline-block;
        font-size: 60px; /* بزرگ‌تر */
        font-weight: bold;
        color: #DA1B1B; /* قرمز */
        font-family: 'Oswald', sans-serif; /* تغییر فونت */
        text-shadow: 0 0 10px rgba(255, 87, 34, 0.5); /* افکت نورانی */
        cursor: pointer;
        transition: transform 0.3s, text-shadow 0.3s; /* اضافه کردن افکت برای سایه */
        position: relative;
        animation: fall 1s ease-out, swing 2s infinite ease-in-out; /* افکت سقوط و نوسانی */
    }

    @keyframes fall {
        0% { transform: translateY(-100%); opacity: 0; }
        100% { transform: translateY(0); opacity: 1; }
    }

    @keyframes swing {
        0% { transform: rotate(0deg); }
        50% { transform: rotate(5deg); }
        100% { transform: rotate(0deg); }
    }

    .moving-line {
        width: 100px;
        height: 5px;
        background: #ff5722;
        margin: 20px auto;
        animation: moveLine 2s infinite alternate; /* افکت حرکت خط */
    }

    @keyframes moveLine {
        0% { transform: scaleX(1); }
        50% { transform: scaleX(1.5); }
        100% { transform: scaleX(1); }
    }

    .floating-item {
        position: absolute;
        width: 30px;
        height: 30px;
        background: url('https://upload.wikimedia.org/wikipedia/commons/thumb/e/e3/Book_icon_2.svg/1024px-Book_icon_2.svg.png') no-repeat center;
        background-size: cover;
        top: 70px;
        left: 50%;
        transform: translateX(-50%);
        animation: float 3s infinite ease-in-out; /* افکت شناور */
    }

    @keyframes float {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-10px); }
    }

</style>

<script>
    document.addEventListener('DOMContentLoaded', () => {
        const text = document.querySelector('.animated-text');
        text.style.animation = 'fall 1s ease-out, swing 2s infinite ease-in-out'; // فعال کردن افکت سقوط
    });

    document.querySelector('.animated-text').addEventListener('mousemove', (e) => {
        const text = e.currentTarget;
        const rect = text.getBoundingClientRect();
        const x = e.clientX - rect.left;
        const y = e.clientY - rect.top;

        text.style.transform = translate(${x / 15}px, ${y / 15}px);
        text.style.textShadow = ${x / 20}px ${y / 20}px 10px rgba(255, 87, 34, 0.5); // افکت سایه متحرک
    });

    document.querySelector('.animated-text').addEventListener('mouseleave', () => {
        const text = document.querySelector('.animated-text');
        text.style.transform = translate(0, 0);
        text.style.textShadow = 0 0 10px rgba(255, 87, 34, 0.5);
    });
</script>