Scan to open on your phone
Point a camera at the QR code - it opens this exact paste, no app needed.
https://codepastes.com/zzgs2q15twt81g45untitledPlain Text
<!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>
<style>
body {
margin: 0;
padding: 0;
background: linear-gradient(135deg, #2b091c, #4a1535, #1f0413);
font-family: 'Cairo', Tahoma, sans-serif;
color: #fff;
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh;
overflow-x: hidden;
}
.header {
margin-top: 30px;
text-align: center;
padding: 0 20px;
}
h1 {
font-size: 24px;
color: #ffb3d1;
margin-bottom: 5px;
}
p {
font-size: 14px;
color: #d1d1d1;
}
.card-container {
width: 90%;
max-width: 400px;
min-height: 120px;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border-radius: 15px;
padding: 20px;
margin: 20px 0;
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
border: 1px solid rgba(255, 255, 255, 0.18);
text-align: center;
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
line-height: 1.6;
color: #ffe6f0;
}
.vase-area {
position: relative;
width: 250px;
height: 280px;
margin-top: auto;
display: flex;
justify-content: center;
}
.flower {
position: absolute;
bottom: 120px;
display: flex;
flex-direction: column;
align-items: center;
transform-origin: bottom center;
animation: growFlower 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@keyframes growFlower {
0% { transform: scale(0); opacity: 0; }
100% { transform: scale(1); opacity: 1; }
}
.flower-head {
font-size: 35px;
filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.stem {
width: 4px;
background: linear-gradient(to bottom, #4CAF50, #2E7D32);
border-radius: 2px;
}
.vase {
position: absolute;
bottom: 10px;
width: 140px;
height: 130px;
background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(5px);
border-bottom-left-radius: 60px;
border-bottom-right-radius: 60px;
border-top-left-radius: 20px;
border-top-right-radius: 20px;
border: 2px solid rgba(255, 255, 255, 0.3);
border-top: 2px solid rgba(255, 255, 255, 0.5);
box-shadow: inset 0 0 15px rgba(255,255,255,0.2);
z-index: 10;
}
.btn {
background: linear-gradient(135deg, #ff4d88, #ff1a66);
color: white;
border: none;
padding: 12px 25px;
font-size: 16px;
border-radius: 25px;
cursor: pointer;
box-shadow: 0 4px 15px rgba(255, 26, 102, 0.4);
margin: 20px 0 40px 0;
font-family: 'Cairo', Tahoma, sans-serif;
transition: transform 0.2s;
}
.btn:active {
transform: scale(0.95);
}
</style>
</head>
<body>
<div class="header">
<h1>حديقتك الخاصة 🌸</h1>
<p>كل قطرة ماء تضيف وردة جديدة لا تذبل أبداً</p>
</div>
<div class="card-container" id="messageCard">
اضغطي على الزر بالأسفل لاكتشاف رسالة اليوم وتسقية الوردة 💧
</div>
<div class="vase-area" id="vaseArea">
<div class="vase"></div>
</div>
<button class="btn" onclick="waterPlant()">💧 اسقِ وردة جديدة</button>
<script>
const messages = [
"لحد ما نلتقي وأنطيجياها بيدي، هاي حديقتج الخاصة ما تذبل أبداً 🌷",
"وجودج بحياتي يشبه الورد اللي يزين كل أيامي 🌹",
"ولو الظروف تبعدنا، بس مكانتج بقلبي ثابتة ومحروسة ✨",
"تمنيت أجيبلج أحلى وردة بالحقيقة، بس هذي البداية لحد ما نتلاقى 🌸",
"تعرفين ليش أحب الورد؟ لأن يذكرني بضحكتك اللطيفة 🌺",
"كل وردة هنا تُمثل شوقي وسوالفنا الحلوة 🌻"
];
const flowersList = ['🌹', '🌷', '🌸', '🌺', '🌻', '💐'];
function waterPlant() {
const vaseArea = document.getElementById('vaseArea');
const messageCard = document.getElementById('messageCard');
const randomMsg = messages[Math.floor(Math.random() * messages.length)];
const randomFlower = flowersList[Math.floor(Math.random() * flowersList.length)];
messageCard.innerText = randomMsg;
const flower = document.createElement('div');
flower.className = 'flower';
const stemHeight = 60 + Math.random() * 50;
const randomLeft = 30 + Math.random() * 80;
const randomAngle = (Math.random() - 0.5) * 30;
flower.style.left = randomLeft + 'px';
flower.style.transform = `rotate(${randomAngle}deg)`;
flower.innerHTML = `
<div class="flower-head">${randomFlower}</div>
<div class="stem" style="height: ${stemHeight}px;"></div>
`;
vaseArea.appendChild(flower);
}
</script>
</body>
</html>
5,684 chars · codepastes.com