<!DOCTYPE html>
<html lang="ar" dir="rtl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>افتحي هديتك ✨</title>
<!-- استدعاء خطوط فخمة من جوجل -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Amiri:ital@1&family=Cairo:wght@400;700;900&family=Playfair+Display:ital,wght@1,500&display=swap" rel="stylesheet">
 
<style>
/* إعدادات عامة */
html {
scroll-behavior: smooth;
}
body {
margin: 0;
padding: 0;
font-family: 'Cairo', sans-serif;
background-color: #0d0d0d;
color: #ffffff;
overflow-x: hidden;
}
 
/* --- الشاشة الأولى: الإهداء (From Muhammed to Semoo) --- */
.intro-screen {
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background: #0a0a0a;
text-align: center;
}
.intro-text {
font-family: 'Playfair Display', serif;
font-size: 35px;
font-style: italic;
color: #e0e0e0;
letter-spacing: 2px;
animation: fadeIn 2.5s ease-in-out;
}
.intro-text span {
color: #ff416c;
}
 
/* --- الشاشة الثانية: صفحة الزرار والأنيميشن --- */
.welcome-screen {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: radial-gradient(circle, #1a1a2e 0%, #0f0c1b 100%);
position: relative;
}
.btn-gift {
padding: 20px 45px;
font-size: 24px;
font-weight: bold;
color: #fff;
background: linear-gradient(45deg, #ff416c, #ff4b2b);
border: none;
border-radius: 50px;
cursor: pointer;
box-shadow: 0 10px 30px rgba(255, 65, 108, 0.5);
transition: all 0.3s ease;
text-decoration: none;
animation: pulse 2s infinite;
z-index: 2;
}
.btn-gift.fade-out {
opacity: 0;
transform: scale(0.5);
pointer-events: none;
}
 
/* --- أنيميشن القلب المكسور --- */
.heart-container {
display: none;
position: absolute;
width: 200px;
height: 200px;
z-index: 10;
}
.heart-half {
position: absolute;
width: 100px;
height: 160px;
background-color: #ff416c;
box-shadow: 0 0 30px rgba(255, 65, 108, 0.6);
}
.half-left {
left: 0;
border-radius: 100px 100px 0 0;
transform: rotate(-45deg);
transform-origin: 100% 100%;
}
.half-right {
right: 0;
border-radius: 100px 100px 0 0;
transform: rotate(45deg);
transform-origin: 0% 100%;
}
.heart-container.break .half-left {
animation: breakLeft 0.8s forwards ease-in-out;
}
.heart-container.break .half-right {
animation: breakRight 0.8s forwards ease-in-out;
}
 
/* --- الهيكل العام لأقسام المفاجأة --- */
.section {
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
padding: 40px 20px;
box-sizing: border-box;
position: relative;
}
 
/* --- الجزء الأول: الصورة الواحدة المميزة --- */
.section-photos {
background: #121212;
}
.section-title {
font-size: 32px;
color: #ff416c;
margin-bottom: 30px;
font-family: 'Playfair Display', serif;
letter-spacing: 1px;
}
.single-photo-box {
display: flex;
justify-content: center;
align-items: center;
max-width: 100%;
}
.single-photo-box img {
width: 320px;
height: 440px;
object-fit: cover;
border-radius: 25px;
box-shadow: 0 20px 45px rgba(0,0,0,0.6);
border: 2px solid rgba(255, 65, 108, 0.3);
transition: all 0.4s ease;
}
.single-photo-box img:hover {
transform: scale(1.03);
border-color: #ff416c;
box-shadow: 0 25px 50px rgba(255, 65, 108, 0.3);
}
 
/* --- الجزء الثاني: الكلام --- */
.section-message {
background: linear-gradient(180deg, #121212 0%, #1a1a1a 100%);
padding: 0 30px;
}
.message-box {
max-width: 750px;
min-height: 250px;
font-family: 'Amiri', serif;
font-size: 28px;
line-height: 2;
color: #e0e0e0;
text-shadow: 0 2px 4px rgba(0,0,0,0.3);
background: rgba(255, 255, 255, 0.03);
padding: 40px;
border-radius: 20px;
border: 1px solid rgba(255, 255, 255, 0.05);
white-space: pre-line;
transition: box-shadow 0.3s ease;
}
.shaking {
animation: textShake 0.15s infinite alternative;
box-shadow: 0 0 20px rgba(255, 65, 108, 0.2);
border-color: rgba(255, 65, 108, 0.3);
}
.cursor {
display: inline-block;
width: 3px;
background-color: #ff416c;
margin-right: 5px;
animation: blink 0.7s infinite;
}
 
/* --- الجزء الثالث: الاسم الفخم --- */
.section-name {
background: #0a0a0a;
}
.luxury-name {
font-size: 75px;
font-weight: 900;
color: #d4af37;
letter-spacing: 3px;
text-shadow: 0px 0px 20px rgba(212, 175, 55, 0.6), 0px 4px 10px rgba(0,0,0,0.9);
font-family: 'Cairo', sans-serif;
position: relative;
padding: 10px 30px;
}
.luxury-name::after, .luxury-name::before {
content: "✨";
font-size: 30px;
position: absolute;
top: 50%;
transform: translateY(-50%);
}
.luxury-name::before { right: -40px; }
.luxury-name::after { left: -40px; }
 
.scroll-hint {
margin-top: 40px;
font-size: 15px;
color: #666;
animation: bounce 2s infinite;
cursor: pointer;
}
 
/* حركات الأنيميشن */
@keyframes breakLeft {
0% { transform: rotate(-45deg) translate(0, 0); opacity: 1; }
50% { transform: rotate(-60deg) translate(-30px, 20px); opacity: 1; }
100% { transform: rotate(-80deg) translate(-100px, 100px); opacity: 0; }
}
@keyframes breakRight {
0% { transform: rotate(45deg) translate(0, 0); opacity: 1; }
50% { transform: rotate(60deg) translate(30px, 20px); opacity: 1; }
100% { transform: rotate(80deg) translate(100px, 100px); opacity: 0; }
}
@keyframes textShake {
0% { transform: translate(1px, 1px) rotate(0deg); }
100% { transform: translate(-1px, -1px) rotate(0.2deg); }
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
40% { transform: translateY(-12px); }
60% { transform: translateY(-6px); }
}
@keyframes pulse {
0% { transform: scale(1); box-shadow: 0 10px 30px rgba(255, 65, 108, 0.5); }
50% { transform: scale(1.03); box-shadow: 0 15px 40px rgba(255, 65, 108, 0.8); }
100% { transform: scale(1); box-shadow: 0 10px 30px rgba(255, 65, 108, 0.5); }
}
@keyframes blink {
0%, 100% { opacity: 1; }
50% { opacity: 0; }
}
</style>
</head>
<body>
 
<!-- الشاشة الأولى: صفحة الإهداء -->
<div class="intro-screen">
<div class="intro-text">From <span>Muhammed</span> to <span>Semoo</span></div>
<div class="scroll-hint" onclick="document.getElementById('welcomeScreen').scrollIntoView();">انزلي تحت للمفاجأة ↓</div>
</div>
 
<!-- الشاشة الثانية: صفحة الزرار والقلب المكسور -->
<div class="welcome-screen" id="welcomeScreen">
<button class="btn-gift" id="giftBtn" onclick="animateHeart()">افتحي هديتك ✨</button>
<div class="heart-container" id="heartContainer">
<div class="heart-half half-left"></div>
<div class="heart-half half-right"></div>
</div>
</div>
 
<!-- الجزء الأول: الصورة الواحدة المميزة -->
<div class="section section-photos" id="photosSection">
<h2 class="section-title">Sama 📸</h2>
<div class="single-photo-box">
<img src="https://j.top4top.io/p_3800g2yvc0.jpg" alt="أجمل صورة">
</div>
<div class="scroll-hint" onclick="document.getElementById('messageSection').scrollIntoView();">زقي تحت لتشوفي الكلام ↓</div>
</div>
 
<!-- الجزء الثاني: الكلام المكتوب بالآلة الكاتبة مع الاهتزاز -->
<div class="section section-message" id="messageSection">
<div class="message-box" id="msgBox"><span id="typewriter"></span><span class="cursor"></span></div>
<div class="scroll-hint" onclick="document.getElementById('nameSection').scrollIntoView();">لسه في حاجة كمان تحت ↓</div>
</div>
 
<!-- الجزء الثالث: الاسم بطريقة فخمة -->
<div class="section section-name" id="nameSection">
<div class="luxury-name">Semoo ✨</div>
</div>
 
<!-- جافا سكريبت للتحكم بالحركات والأصوات والأغنية -->
<script>
const typeSound = new Audio('https://assets.mixkit.co/active_storage/sfx/2568/2568-84.wav');
typeSound.volume = 0.4;
 
// 🎵 رابط صوتي مستقر جداً لأغنية رامي صبري - برتاح
const ramiSabrySong = new Audio('https://bshbsh.com/sound/ramy-sabry/Ramy-Sabry-Bartah.mp3');
ramiSabrySong.volume = 0.7;
ramiSabrySong.loop = true;
 
// رسالتك الكاملة لـ سيمو
const myMessage = `بسم الله.. النهاردة 29/5/2026 ❤️
النهاردة يوم مميز ليا لأن ده اليوم اللي اتولدت فيه أحلى هدية في حياتي..
حابب أقولك كل سنة وأنتي معايا، كل سنة وأنتي نور عيني، كل سنة وأنتي أقرب حد ليا وبروحله من غير تفكير..
كل سنة وأنا بحبك، كل سنة وأنتي صاحبتي وأختي وحبيبتي.
حابب أقولك إن بجد عمري ما حبيت حد كدا, ربنا يديمك في حياتي ويخليكي ليا يا أحلى وأجمل حد في حياتي..
بحبك يا أجمل هدية في حياتي..
(كل سنة وأنتي طيبة يا روحي) 💗💗`;
 
let index = 0;
let hasTyped = false;
const msgBox = document.getElementById("msgBox");
 
function animateHeart() {
const btn = document.getElementById("giftBtn");
const heart = document.getElementById("heartContainer");
 
btn.classList.add("fade-out");
 
setTimeout(() => {
heart.style.display = "block";
heart.classList.add("break");
// ⏱️ قفز مباشرة لثانية 73 (بداية كوبليه وجنبك كل يوم يوم عيد)
ramiSabrySong.currentTime = 73;
ramiSabrySong.play().catch(e => {
console.log("المتصفح حجب الصوت التلقائي، سيتم المحاولة عند التفاعل التالي");
});
}, 300);
 
setTimeout(() => {
document.getElementById('photosSection').scrollIntoView({ behavior: 'smooth' });
}, 1200);
}
 
function startTypewriter() {
if (index < myMessage.length) {
msgBox.classList.add("shaking");
document.getElementById("typewriter").innerHTML += myMessage.charAt(index);
if(myMessage.charAt(index) !== " ") {
typeSound.currentTime = 0;
typeSound.play().catch(e => console.log("صوت الآلة الكاتبة محجوب"));
}
index++;
setTimeout(startTypewriter, 70);
} else {
msgBox.classList.remove("shaking");
}
}
 
window.addEventListener('scroll', () => {
const messageSection = document.getElementById('messageSection');
const position = messageSection.getBoundingClientRect();
 
if(position.top < window.innerHeight && !hasTyped) {
hasTyped = true;
setTimeout(startTypewriter, 500);
}
});
</script>
</body>
</html>