/* ========== تنسيقات عامة ========== */
@import url('https://fonts.googleapis.com/css2?family=Creepster&family=Lalezar&family=Amiri:ital,wght@0,400;0,700;1,400;1,700&family=Tajawal:wght@400;500;700;800;900&display=swap');

/* === تعديل الزووم (Zoom Out) === */
html {
    font-size: 85%; 
    scroll-behavior: smooth;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Tajawal', sans-serif; }
body { background-color: #050000; color: #f5f5f5; line-height: 1.7; overflow-x: hidden; position: relative; min-height: 100vh; width: 100%; }

a { color: #ff4b4b; text-decoration: none; transition: color 0.3s, text-shadow 0.2s, transform 0.3s; }
a:hover { color: #ff0000; text-shadow: 0 0 10px rgba(255, 0, 0, 0.5); transform: scale(1.05); }

/* --- تم حذف كود الشريط العلوي (.user-bar) من هنا --- */

/* ========== Hero Section ========== */
.hero-with-bg { 
    position: relative; 
    width: 100%; 
    min-height: 500px;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    /* إبعاد المحتوى عن الشريط العلوي */
    padding-top: 120px; 
    
    background-color: #000;
    background: radial-gradient(circle at center, rgba(30,0,0,0.5), #000000);
    text-align: center;
    color: white;
    font-family: 'Tajawal', sans-serif;
    overflow: hidden;
    border-bottom: 3px solid #900;
    box-shadow: 0 10px 50px #000;
}

.hero-with-bg::before { 
    content: ""; 
    position: absolute; 
    inset: 0; 
    background: rgba(0,0,0,0.5); 
    z-index: 1;
}

.hero-with-bg > * {
    z-index: 2;
    position: relative;
}

/* ========== Hero Elements ========== */
.legacy-title {
    font-family: 'Lalezar', display;
    font-size: 5rem;
    margin: 0;
    line-height: 1.2;
    background: linear-gradient(90deg, #800000 0%, #e31c25 25%, #ff4b4b 50%, #e31c25 75%, #800000 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: textShine 4s linear infinite, floatTitle 3s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(227, 28, 37, 0.5));
}

@keyframes textShine { to { background-position: 200% center; } }
@keyframes floatTitle { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.rec-container { display: flex; align-items: center; justify-content: center; gap: 5px; font-family: sans-serif; font-weight: bold; color: #fff; font-size: 1rem; margin-bottom: 10px; letter-spacing: 1px; }
.rec-dot { width: 12px; height: 12px; background-color: #ff0000; border-radius: 50%; box-shadow: 0 0 10px #ff0000; animation: blink 1.5s infinite; }

.legacy-subtitle { font-size: 1.3rem; color: #ccc; margin-top: 10px; margin-bottom: 30px; font-weight: 500; }
.legacy-subtitle .text-red { color: #e31c25; font-weight: bold; }

.legacy-btn { background: #000; color: #fff; border: 1px solid #e31c25; padding: 10px 30px; border-radius: 50px; font-family: 'Tajawal', sans-serif; font-weight: bold; font-size: 1.1rem; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 0 15px rgba(227, 28, 37, 0.3); transition: 0.3s; }
.legacy-btn:hover { background: #e31c25; box-shadow: 0 0 25px rgba(227, 28, 37, 0.8); transform: translateY(-2px); }

@keyframes blink { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } }
@media (max-width: 768px) { .legacy-title { font-size: 3.5rem; } .legacy-subtitle { font-size: 1rem; padding: 0 20px; } }

/* ========== Cards Section ========== */
.horror18-section { 
    width: 100%; 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 20px; 
    padding: 30px 20px; 
    background: #050000; 
    justify-items: center; 
    min-height: 400px; 
}

.h18-card-link { 
    display: block; position: relative; width: 100%; max-width: 380px; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.3); transition: transform 0.3s ease, box-shadow 0.3s ease; border: 1px solid rgba(255,255,255,0.2); background: #000; cursor: pointer; aspect-ratio: 9 / 16; 
}
.h18-card-link:hover { transform: scale(1.05); box-shadow: 0 12px 40px rgba(255, 0, 0, 0.5); }

.h18-img-wrapper { position: relative; width: 100%; height: 100%; }
.h18-img-wrapper img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(10%); transition: 0.3s; }

.h18-card-text { color: #fafafa; font-size: 30px; font-weight: 500; position: absolute; top: 5%; left: 50%; transform: translate(-50%, -50%); text-shadow: 0 0 10px rgba(157, 91, 69, 0.9); text-align: center; font-family: 'Lalezar', cursive; }
.h18-card-text-bottom { color: #f1c40f; font-size: 20px; font-weight: bold; position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); text-shadow: 0 0 10px rgba(241, 196, 15, 1); text-align: center; }

.h18-badge { position: absolute; top: 15px; right: 15px; background-color: #e31c25; color: #fff; font-size: 0.9rem; font-weight: bold; padding: 5px 12px; border-radius: 4px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.8); z-index: 5; font-family: 'Tajawal', sans-serif; transform: rotate(5deg); border: 1px solid rgba(255, 255, 255, 0.2); }

/* ========== Visitor Section (الفاصل المضيء + رسالة الزائر) ========== */
.section-visitor { 
    position: relative; 
    width: 100%; 
    max-width: 100%; 
    
    /* تعديل مهم: 
       زيادة الهامش العلوي (margin-top) بشكل كبير جداً
       لخلق "مساحة فارغة" بين الكروت وبين رسالة الزائر
       هذه المساحة محجوزة للأقسام القادمة
    */
    margin-top: 400px; 
    
    padding: 40px 20px; 
    background: radial-gradient(circle at top, #1a0808, #050608); 
    border-top: none; 
    box-shadow: 0 -10px 50px rgba(0, 0, 0, 0.9); 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}

/* الشعاع الطيفي */
.section-visitor::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent 0%, #ff0000 50%, transparent 100%);
    box-shadow: 0 0 15px 1px rgba(255, 0, 0, 0.8), 0 -2px 10px rgba(255, 0, 0, 0.4); 
    z-index: 10; opacity: 0.8;
}

/* الفورم */
.contact-form { width: 100%; max-width: 800px; display: flex; flex-direction: column; gap: 15px; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea { 
    width: 100%; padding: 14px; border-radius: 8px; border: 1px solid #444; background: #0d0f12; color: #fff; font-size: 15px; font-weight: 600; 
}

/* ========== Footer ========== */
.social { padding: 30px 0; text-align: center; width: 100%; background: #000; border-top: 1px solid #222; }
.social-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 15px; padding: 0; }
.social-btn { 
    width: 45px; height: 45px; border-radius: 50%; background: #15171f; display: flex; align-items: center; justify-content: center; color: #ccc; border: 1px solid #333; transition: 0.3s ease;
}
.social-btn:hover { background: #ff0000; transform: scale(1.1); }