<!DOCTYPE html>
<html lang="he" dir="rtl">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>הודעה מיוחדת בשבילך ❤️</title>
    <!-- פונט מודרני מבית גוגל -->
    <link href="https://fonts.googleapis.com/css2?family=Rubik:wght@400;600;800&display=swap" rel="stylesheet">
    <style>
        * {
            box-sizing: border-box;
            font-family: 'Rubik', sans-serif;
        }
        body {
            background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%);
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            margin: 0;
            padding: 20px;
            text-align: center;
            overflow-x: hidden;
        }
        .card {
            background: rgba(255, 255, 255, 0.95);
            padding: 35px 25px;
            border-radius: 25px;
            box-shadow: 0 15px 35px rgba(219, 68, 85, 0.25);
            max-width: 420px;
            width: 100%;
            position: relative;
            animation: fadeIn 0.8s ease-in-out;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        h1 {
            color: #d81b60;
            font-size: 2rem;
            margin-bottom: 15px;
            line-height: 1.3;
        }
        .emoji-big {
            font-size: 3.5rem;
            margin-bottom: 15px;
            display: inline-block;
            animation: pulse 1.5s infinite;
        }
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.15); }
            100% { transform: scale(1); }
        }
        .btn-container {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 25px;
            position: relative;
            min-height: 60px;
        }
        button {
            padding: 15px 30px;
            font-size: 1.3rem;
            border: none;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.25s ease;
            font-weight: 600;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        .yes-btn {
            background: linear-gradient(45deg, #ff4081, #ff80ab);
            color: white;
            z-index: 2;
        }
        .yes-btn:active {
            transform: scale(0.95);
        }
        .no-btn {
            background-color: #e0e0e0;
            color: #555;
            position: absolute;
            z-index: 1;
        }
        .success-msg {
            display: none;
        }
        .success-msg p {
            color: #444;
            font-size: 1.35rem;
            line-height: 1.6;
            font-weight: 500;
            margin-top: 15px;
        }
        /* לבבות צפים ברקע למעבר */
        .heart-particle {
            position: fixed;
            font-size: 1.5rem;
            user-select: none;
            pointer-events: none;
            animation: floatUp 3s linear forwards;
        }
        @keyframes floatUp {
            0% { transform: translateY(0) rotate(0deg); opacity: 1; }
            100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
        }
    </style>
</head>
<body>

    <!-- המסך הראשון -->
    <div class="card" id="mainCard">
        <div class="emoji-big">💖✨</div>
        <h1>את יודעת שאני אוהב אותך? 🥰🌹</h1>
        <div class="btn-container">
            <button class="yes-btn" id="yesBtn" onclick="sayYes()">כן בעלי ❤️</button>
            <button class="no-btn" id="noBtn" onmouseover="moveButton()" onclick="moveButton()">לא 😜</button>
        </div>
    </div>

    <!-- המסך של התשובה המשמחת -->
    <div class="card success-msg" id="successCard">
        <div class="emoji-big">🍾🥂✨</div>
        <h1>אז... 🗝️❤️</h1>
        <p>
            תשימי משהו שנוח להוריד הערב... 🔥<br>
            בא לי לפנק אותך אשתי היפה והיקרה! 💕<br><br>
            אחרי שאת עובדת כל כך קשה מגיע לנו קצת זמן איכות במיטה עם נורות ומוזיקה טובה 😘✨
        </p>
    </div>

    <script>
        let yesSize = 1.3;

        function moveButton() {
            const noBtn = document.getElementById('noBtn');
            const yesBtn = document.getElementById('yesBtn');
            
            // מזיז את כפתור ה"לא" למקום אקראי במסך
            const padding = 80;
            const x = Math.random() * (window.innerWidth - padding * 2) + padding;
            const y = Math.random() * (window.innerHeight - padding * 2) + padding;
            
            noBtn.style.position = 'fixed';
            noBtn.style.left = x + 'px';
            noBtn.style.top = y + 'px';

            // מגדל את כפתור ה"כן בעלי" בכל ניסיון
            yesSize += 0.25;
            yesBtn.style.transform = `scale(${yesSize})`;
        }

        function sayYes() {
            document.getElementById('mainCard').style.display = 'none';
            document.getElementById('noBtn').style.display = 'none';
            document.getElementById('successCard').style.display = 'block';

            // יצירת מטר לבבות זזים ברקע
            for (let i = 0; i < 30; i++) {
                setTimeout(createHeart, i * 100);
            }
        }

        function createHeart() {
            const heart = document.createElement('div');
            heart.classList.add('heart-particle');
            const emojis = ['❤️', '💖', '✨', '🔥', '😘', '🌹'];
            heart.innerText = emojis[Math.floor(Math.random() * emojis.length)];
            heart.style.left = Math.random() * 100 + 'vw';
            heart.style.top = '100vh';
            heart.style.fontSize = (Math.random() * 20 + 20) + 'px';
            document.body.appendChild(heart);

            setTimeout(() => {
                heart.remove();
            }, 3000);
        }
    </script>
</body>
</html>