/* ========================================= */
/* 🎨 ملف التصميم الخاص - NW CLAN STYLE     */
/* ========================================= */

/* 1. إعدادات عامة للصفحة */
body {
    background-color: #020202;
    font-family: 'Cairo', sans-serif;
    overflow-x: hidden;
    perspective: 1000px; /* ضروري لتأثير الـ 3D */
}

/* 2. شريط التمرير (Scrollbar) */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #ff0000, #800000); border-radius: 5px; border: 2px solid #050505; }
::-webkit-scrollbar-thumb:hover { background: #ff0000; }

/* 3. شعار الحمم البركانية الجديد (حاد جداً) */
.fire-text {
    color: transparent; /* النص نفسه شفاف */
    /* تدرج لوني داخلي كأنه معدن منصهر */
    background: linear-gradient(to bottom, #fffb00 0%, #ff4d00 50%, #ff0000 100%);
    -webkit-background-clip: text;
    background-clip: text;
    
    /* طبقات من الظلال لخلق توهج وحرارة */
    text-shadow: 
        0 0 10px rgba(255, 166, 0, 0.8), /* توهج داخلي أصفر */
        0 0 20px rgba(255, 69, 0, 0.6),  /* توهج متوسط برتقالي */
        0 0 40px rgba(255, 0, 0, 0.8),   /* هالة حمراء كبيرة */
        0 0 80px rgba(255, 0, 0, 0.4);   /* هالة خارجية ضخمة */
    
    /* فلتر لزيادة حدة التوهج */
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.2));
}

/* 4. تأثير اللمعة الذهبية (لبطاقة المالك) */
.gold-glow {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3), inset 0 0 30px rgba(255, 215, 0, 0.1);
    border-color: #ffd700;
    transition: all 0.5s ease;
}
/* عند الهوفر (مع تأثير الـ Tilt سيصبح أروع) */
.gold-glow:hover {
    box-shadow: 0 0 60px rgba(255, 215, 0, 0.9), inset 0 0 50px rgba(255, 215, 0, 0.4);
}

/* 5. أنميشن التاج */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}
.crown-anim {
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8));
}

/* 6. ================== جديد: تأثير الشرر المتصاعد ================== */
.embers-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* حتى لا يؤثر على النقر */
    z-index: -1; /* خلف كل شيء */
    overflow: hidden;
}

.ember {
    position: absolute;
    bottom: -10px;
    width: 4px;
    height: 4px;
    background: #ff4d00;
    border-radius: 50%;
    box-shadow: 0 0 10px #ff0000, 0 0 20px #ff4d00;
    animation: rise var(--rise-duration) ease-in infinite;
    opacity: 0;
}

@keyframes rise {
    0% {
        bottom: -10px;
        transform: translateX(0);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        bottom: 100vh; /* يصعد لأعلى الشاشة */
        transform: translateX(var(--drift)); /* يتحرك يميناً أو يساراً */
        opacity: 0;
    }
}