maeber / index.html
vmdl's picture
Update index.html
a10e334 verified
Raw History Blame Contribute Delete
8.75 kB
<!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>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Tahoma", "Arial", sans-serif;
min-height: 100vh;
background: linear-gradient(135deg, #ffe4ef, #ffc0d9, #ffd9e8);
overflow-x: hidden;
position: relative;
color: #8a2b55;
}
/* ู‚ู„ูˆุจ ู…ุชุญุฑูƒุฉ ููŠ ุงู„ุฎู„ููŠุฉ */
.heart-bg {
position: fixed;
top: -50px;
color: #ff8fbc;
font-size: 22px;
animation: floatDown linear infinite;
z-index: 0;
pointer-events: none;
opacity: 0.7;
}
@keyframes floatDown {
0% {
transform: translateY(-60px) rotate(0deg);
opacity: 0;
}
10% {
opacity: 0.8;
}
100% {
transform: translateY(110vh) rotate(360deg);
opacity: 0;
}
}
.container {
position: relative;
z-index: 2;
max-width: 1000px;
margin: 0 auto;
padding: 30px 18px 60px;
}
header {
text-align: center;
padding: 28px 18px;
background: rgba(255, 255, 255, 0.55);
border: 3px dashed #ff9cc3;
border-radius: 35px;
box-shadow: 0 10px 30px rgba(255, 105, 160, 0.25);
backdrop-filter: blur(8px);
}
h1 {
font-size: clamp(28px, 5vw, 48px);
color: #e23b7b;
text-shadow: 2px 2px 0 #fff;
margin-bottom: 10px;
}
.subtitle {
font-size: clamp(16px, 2.5vw, 22px);
color: #b33c6b;
}
/* ูˆุฌู‡ ุงู„ูƒูŠุชูŠ */
.kitty-wrap {
display: flex;
justify-content: center;
margin: 35px 0 20px;
}
.kitty {
position: relative;
width: 260px;
height: 230px;
animation: bounce 2.8s ease-in-out infinite;
}
@keyframes bounce {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-10px); }
}
.head {
position: absolute;
width: 230px;
height: 190px;
background: #fff;
border: 5px solid #f7a8c8;
border-radius: 50% 50% 45% 45%;
left: 15px;
top: 35px;
box-shadow: 0 12px 25px rgba(226, 59, 123, 0.2);
}
.ear {
position: absolute;
width: 70px;
height: 70px;
background: #fff;
border: 5px solid #f7a8c8;
border-radius: 20px 50% 20px 50%;
top: 10px;
transform: rotate(45deg);
z-index: 1;
}
.ear.left {
left: 28px;
}
.ear.right {
right: 28px;
transform: rotate(135deg);
}
.eye {
position: absolute;
width: 24px;
height: 34px;
background: #222;
border-radius: 50%;
top: 105px;
z-index: 3;
}
.eye.left { left: 65px; }
.eye.right { right: 65px; }
.nose {
position: absolute;
width: 28px;
height: 20px;
background: #ffd54f;
border-radius: 50%;
left: 50%;
top: 140px;
transform: translateX(-50%);
z-index: 3;
}
.whisker {
position: absolute;
width: 55px;
height: 4px;
background: #444;
border-radius: 10px;
z-index: 3;
}
.whisker.l1 { left: 0; top: 135px; transform: rotate(8deg); }
.whisker.l2 { left: -5px; top: 155px; transform: rotate(-6deg); }
.whisker.r1 { right: 0; top: 135px; transform: rotate(-8deg); }
.whisker.r2 { right: -5px; top: 155px; transform: rotate(6deg); }
/* ุงู„ููŠูˆู†ูƒุฉ */
.bow {
position: absolute;
top: 22px;
right: 8px;
width: 95px;
height: 70px;
z-index: 5;
}
.bow::before,
.bow::after {
content: "";
position: absolute;
width: 48px;
height: 48px;
background: #ff4f93;
border: 4px solid #d62f70;
border-radius: 50% 50% 50% 10px;
top: 8px;
}
.bow::before {
left: 0;
transform: rotate(25deg);
}
.bow::after {
right: 0;
transform: rotate(-25deg) scaleX(-1);
}
.bow-center {
position: absolute;
width: 30px;
height: 30px;
background: #ffd1e3;
border: 4px solid #d62f70;
border-radius: 50%;
left: 50%;
top: 18px;
transform: translateX(-50%);
z-index: 6;
}
/* ุงู„ุจุทุงู‚ุงุช */
.cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 20px;
margin-top: 30px;
}
.card {
background: rgba(255, 255, 255, 0.7);
border: 3px solid #ffb3d1;
border-radius: 28px;
padding: 24px;
text-align: center;
box-shadow: 0 8px 25px rgba(255, 105, 160, 0.18);
transition: 0.3s;
}
.card:hover {
transform: translateY(-7px) scale(1.02);
box-shadow: 0 14px 35px rgba(255, 105, 160, 0.3);
}
.card h2 {
color: #d62f70;
margin-bottom: 12px;
font-size: 24px;
}
.card p {
color: #8a2b55;
line-height: 1.9;
font-size: 17px;
}
.emoji {
font-size: 42px;
display: block;
margin-bottom: 10px;
}
/* ุฒุฑ */
.love-btn {
display: block;
margin: 35px auto 0;
padding: 15px 35px;
font-size: 19px;
font-family: inherit;
font-weight: bold;
color: #fff;
background: linear-gradient(135deg, #ff6fa8, #e23b7b);
border: none;
border-radius: 50px;
cursor: pointer;
box-shadow: 0 8px 0 #b3225c, 0 12px 25px rgba(226, 59, 123, 0.35);
transition: 0.2s;
}
.love-btn:active {
transform: translateY(5px);
box-shadow: 0 3px 0 #b3225c, 0 8px 20px rgba(226, 59, 123, 0.3);
}
#secretMessage {
text-align: center;
margin-top: 22px;
font-size: 21px;
font-weight: bold;
color: #d62f70;
background: rgba(255,255,255,0.75);
border-radius: 20px;
padding: 16px;
display: none;
border: 2px dashed #ff9cc3;
}
footer {
text-align: center;
margin-top: 40px;
color: #b33c6b;
font-size: 15px;
}
@media (max-width: 480px) {
.kitty {
transform: scale(0.85);
margin: -20px 0;
}
}
</style>
</head>
<body>
<div class="container">
<header>
<h1>๐ŸŽ€ ู…ูˆู‚ุน ู‡ูŠู„ูˆ ูƒูŠุชูŠ ุงู„ูˆุฑุฏูŠ ๐ŸŽ€</h1>
<p class="subtitle">ู‡ุฏูŠุฉ ุฎุงุตุฉ ู„ุฃุญู„ู‰ ุฃุฎุช ููŠ ุงู„ุฏู†ูŠุง ๐Ÿ’—</p>
</header>
<div class="kitty-wrap">
<div class="kitty" aria-label="ูˆุฌู‡ ูƒูŠุชูŠ ู„ุทูŠู">
<div class="ear left"></div>
<div class="ear right"></div>
<div class="head"></div>
<div class="eye left"></div>
<div class="eye right"></div>
<div class="nose"></div>
<div class="whisker l1"></div>
<div class="whisker l2"></div>
<div class="whisker r1"></div>
<div class="whisker r2"></div>
<div class="bow">
<div class="bow-center"></div>
</div>
</div>
</div>
<div class="cards">
<div class="card">
<span class="emoji">๐ŸŒธ</span>
<h2>ุฃู‡ู„ุงู‹ ุจูƒู</h2>
<p>ู‡ุฐุง ุงู„ู…ูˆู‚ุน ุงู„ุตุบูŠุฑ ู…ุนู…ูˆู„ ุจุญุจ ูƒุจูŠุฑ ุนุดุงู†ูƒ ูŠุง ุฃุฌู…ู„ ุฃุฎุช.</p>
</div>
<div class="card">
<span class="emoji">๐ŸŽ€</span>
<h2>ู„ูˆู†ูƒ ุงู„ู…ูุถู„</h2>
<p>ูˆุฑุฏูŠุŒ ู†ุงุนู…ุŒ ูˆู„ุทูŠูโ€ฆ ู…ุซู„ ู‚ู„ุจูƒ ุจุงู„ุถุจุท.</p>
</div>
<div class="card">
<span class="emoji">๐Ÿ’Œ</span>
<h2>ุฑุณุงู„ุฉ ุตุบูŠุฑุฉ</h2>
<p>ุฃุชู…ู†ู‰ ู„ูƒู ูŠูˆู…ู‹ุง ู…ู„ูŠุงู† ุถุญูƒ ูˆูุฑุญ ูˆู‚ู„ูˆุจ ูˆุฑุฏูŠุฉ.</p>
</div>
</div>
<button class="love-btn" onclick="showLove()">ุงุถุบุทูŠ ู‡ู†ุง ูŠุง ุญู„ูˆุฉ ๐Ÿ’—</button>
<div id="secretMessage"></div>
<footer>
ุตูู†ุน ุจุญุจ ๐Ÿ’– โ€” ู…ูˆู‚ุน ู‡ูŠู„ูˆ ูƒูŠุชูŠ ุบูŠุฑ ุฑุณู…ูŠ ู„ู„ุชุฑููŠู‡
</footer>
</div>
<script>
// ู‚ู„ูˆุจ ู…ุชุญุฑูƒุฉ ููŠ ุงู„ุฎู„ููŠุฉ
function createHeart() {
const heart = document.createElement("div");
heart.className = "heart-bg";
heart.innerHTML = Math.random() > 0.5 ? "๐Ÿ’—" : "๐ŸŽ€";
heart.style.left = Math.random() * 100 + "vw";
heart.style.fontSize = (14 + Math.random() * 22) + "px";
heart.style.animationDuration = (7 + Math.random() * 8) + "s";
heart.style.animationDelay = Math.random() * 3 + "s";
document.body.appendChild(heart);
setTimeout(() => {
heart.remove();
}, 18000);
}
setInterval(createHeart, 450);
for (let i = 0; i < 12; i++) {
setTimeout(createHeart, i * 300);
}
// ุฑุณุงู„ุฉ ุงู„ุฒุฑ
function showLove() {
const msg = document.getElementById("secretMessage");
const messages = [
"ุฃู†ุชู ุฃุญู„ู‰ ุฃุฎุช ููŠ ุงู„ุนุงู„ู… ูŠุง ู‚ู…ุฑ ๐Ÿ’—๐ŸŽ€",
"ุงุจุชุณู…ูŠุŒ ู„ุฃู† ุงุจุชุณุงู…ุชูƒ ุชู†ูˆุฑ ุงู„ู…ูƒุงู† ๐ŸŒธโœจ",
"ุฃุญุจูƒ ูƒุซูŠุฑู‹ุง ูŠุง ุฃูุถู„ ุฃุฎุช ๐Ÿ’–",
"ู‡ุฐู‡ ุงู„ูˆุฑุฏุฉ ู„ูƒู: ๐ŸŒน๐ŸŽ€",
"ูŠูˆู…ูƒ ุณุนูŠุฏ ุฅู† ุดุงุก ุงู„ู„ู‡ ๐Ÿ’—"
];
msg.style.display = "block";
msg.textContent = messages[Math.floor(Math.random() * messages.length)];
}
</script>
</body>
</html>