    /* main/core/base.css */

    /* ========== Imports & Fonts ========== */
    @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');

    :root {
        --header-height: 80px; 
        --header-bg-color: #050000;
        --gold-color: #ffc107;
        --red-horror: #e31c25;
    }

    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; }
    a:hover { color: #ff0000; }

    /* =========================================================
    1. Top User Bar
    ========================================================= */
    #topUserBar {
        position: fixed; top: 0; left: 0; width: 100%;
        height: var(--header-height);
        background-color: var(--header-bg-color); 
        border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
        z-index: 9999;
        display: flex; align-items: center; justify-content: flex-end; 
        padding: 0 30px;
    }

    .header-socials, .site-branding, .fa-skull, .site-branding span {
        display: none !important; 
        visibility: hidden !important; 
        pointer-events: none;
    }

    .user-profile-box {
        display: flex; align-items: center; gap: 12px;
        padding: 5px 10px 5px 15px;
        background: rgba(255,255,255,0.02);
        border-radius: 50px;
        cursor: pointer;
        border: 1px solid rgba(255,255,255,0.05);
        transition: 0.3s;
    }
    .user-profile-box:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.1); }

    .avatar-circle {
        width: 45px; height: 45px; border-radius: 50%; overflow: hidden;
        border: 2px solid var(--gold-color); background: #000;
    }
    .avatar-circle img { width: 100%; height: 100%; object-fit: cover; }

    .user-text-info { display: flex; flex-direction: column; justify-content: center; }
    .u-name { font-size: 14px; font-weight: bold; color: #fff; display: flex; align-items: center; gap: 5px; }
    .u-role { font-size: 11px; color: var(--gold-color); text-transform: uppercase; font-weight: bold; }

    @media (max-width: 768px) {
        .user-text-info { display: none; }
        #topUserBar { padding: 0 15px; }
    }

    /* =========================================================
    2. Hero Section (Updated)
    ========================================================= */
    .hero-with-bg { 
        position: relative; width: 100%; min-height: 600px;
        display: flex; flex-direction: column; justify-content: center; align-items: center;
        padding-top: 80px; 
        background-color: #000;
        text-align: center; color: white; overflow: hidden;
        border-bottom: 3px solid #300; 
        box-shadow: 0 10px 50px #000;
    }
    .hero-with-bg::before { 
        content: ""; position: absolute; inset: 0; 
        background: radial-gradient(circle, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%); 
        z-index: 1; 
    }
    .hero-content { z-index: 2; position: relative; display: flex; flex-direction: column; align-items: center; gap: 15px; }

    /* الكلاس الجديد للتأكيد */
    .hero-main-title { 
        display: block !important;
        font-family: 'Lalezar', cursive; 
        font-size: 4.5rem; 
        color: #fff;
        text-shadow: 0 4px 15px rgba(255, 0, 0, 0.8);
        margin-bottom: 10px;
    }

    .rec-container { 
        display: flex; align-items: center; gap: 8px; 
        font-weight: bold; color: #ff3333; 
        letter-spacing: 2px; font-family: 'Courier New', monospace;
        background: rgba(0,0,0,0.6); padding: 5px 15px; border-radius: 4px;
    }
    .rec-dot { 
        width: 10px; height: 10px; background-color: #ff0000; 
        border-radius: 50%; box-shadow: 0 0 8px #ff0000; 
        animation: blink 1.5s infinite; 
    }
    @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

    .legacy-subtitle { 
        font-size: 1.2rem; color: #ddd; max-width: 600px; line-height: 1.6;
        text-shadow: 0 2px 4px #000;
    }
    .text-red { color: var(--red-horror); font-weight: bold; }

    .legacy-btn { 
        margin-top: 20px;
        background: transparent; color: #fff; 
        border: 1px solid var(--red-horror); 
        padding: 10px 35px; border-radius: 50px; 
        font-weight: bold; cursor: pointer; 
        display: inline-flex; align-items: center; gap: 10px; 
        transition: all 0.3s ease;
        box-shadow: 0 0 10px rgba(227, 28, 37, 0.2);
    }
    .legacy-btn:hover { 
        background: var(--red-horror); 
        box-shadow: 0 0 20px rgba(227, 28, 37, 0.6);
        transform: translateY(-3px); 
    }

    /* =========================================================
    3. Cards & Visitor Section Styles (Helpers)
    ========================================================= */
    /* (باقي التنسيقات كما هي من التعديل السابق) */
    .horror18-section { 
        width: 100%; display: grid; 
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
        gap: 25px; padding: 40px 20px; 
        background: #050000; justify-items: center; 
    }
    .section-visitor { 
        position: relative; width: 100%; margin-top: 80px; 
        padding: 60px 20px; 
        background: radial-gradient(circle at top, #1a0808, #050000); 
        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); opacity: 0.8;
    }
    .contact-form { width: 100%; max-width: 700px; display: flex; flex-direction: column; gap: 15px; }
    .contact-form input, .contact-form textarea { 
        width: 100%; padding: 15px; border-radius: 8px; 
        border: 1px solid #333; background: #0d0f12; color: #eee; 
        font-size: 1rem; transition: border 0.3s;
    }
    .contact-form input:focus, .contact-form textarea:focus {
        border-color: var(--red-horror); outline: none;
        box-shadow: 0 0 10px rgba(227, 28, 37, 0.2);
    }/* main/cards.css */

/* حاوية الكروت */
.h18-card-link {
    display: block;
    position: relative;
    width: 100%;
    max-width: 380px;
    border-radius: 12px;
    overflow: hidden;
    /* الحدود الأساسية خفيفة */
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #000;
    aspect-ratio: 9 / 16;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* === تأثير الهوفر (تكبير + توهج أحمر) === */
.h18-card-link:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 0 20px rgba(227, 28, 37, 0.6), 0 10px 40px rgba(0, 0, 0, 0.9);
    border-color: #e31c25;
}

/* غلاف الصورة */
.h18-img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.h18-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) grayscale(20%);
    transition: filter 0.4s ease;
}

.h18-card-link:hover .h18-img-wrapper img {
    filter: brightness(1) grayscale(0%);
}

/* === النصوص === */
.h18-card-text {
    position: absolute;
    width: 100%;
    text-align: center;
    pointer-events: none;
    z-index: 2;
    text-shadow: 0 2px 5px rgba(0,0,0,0.9);
}

/* النص الكبير في المنتصف */
.text-center-style {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Lalezar', cursive;
    font-size: 2.8rem;
    color: #f5f5f5;
    line-height: 1.2;
}

/* النص الصغير في الأسفل */
.text-bottom-style {
    bottom: 20px;
    left: 0;
    font-size: 1.5rem;
    color: #ffc107; /* لون ذهبي */
    font-weight: bold;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 10px 0;
}

/* === الشارات (Badges) === */
.h18-badge {
    position: absolute;
    z-index: 10;
    font-weight: bold;
    font-family: 'Tajawal', sans-serif;
}

/* شارة +18 (مربع أحمر في الزاوية العليا) */
.badge-18 {
    top: 15px;
    right: 15px;
    background-color: #e31c25;
    color: #fff;
    padding: 5px 10px;
    font-size: 1rem;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(227, 28, 37, 0.5);
    border: 1px solid rgba(255,255,255,0.2);
}

/* شارة قريباً (في الأسفل بشكل مختلف) */
.badge-soon {
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: #aaa;
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid #555;
    font-size: 0.9rem;
    backdrop-filter: blur(2px);
}