:root {
    --primary-black: #050505;
    --secondary-black: #121212;
    --gold-light: #FFF1C5;
    --gold-main: #D4AF37;
    --gold-dark: #9A7B1C;
    --text-light: #F5F5F5;
    --text-muted: #A0A0A0;
    --accent-glow: rgba(212, 175, 55, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: default;
}

/* الأنماط الافتراضية لشاشات الموبايل (Mobile-First) */
body {
    background-color: var(--primary-black);
    background-image: 
        radial-gradient(circle at 20% 30%, var(--accent-glow) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, var(--accent-glow) 0%, transparent 50%),
        radial-gradient(circle at center, var(--secondary-black) 0%, var(--primary-black) 100%);
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    overflow-x: hidden;
    overflow-y: auto; /* السماح بالتمرير العمودي على الموبايل إن لزم الأمر */
}

/* تأثير شبكة الخلفية الفخم */
body::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.2) 1px, transparent 1px),
                linear-gradient(90deg, rgba(0,0,0,0.2) 1px, transparent 1px);
    background-size: 30px 30px; /* أصغر قليلاً لتناسب الموبايل */
    z-index: 1;
    pointer-events: none;
    opacity: 0.4;
}

/* حاوية المحتوى مهيأة للموبايل */
.container {
    position: relative;
    z-index: 2;
    padding: 2.5rem 1.5rem;
    width: 100%;
    max-width: 100%;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.08);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
    animation: containerIntro 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* اسم البراند بحجم مناسب للموبايل */
h1.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-main), var(--gold-light), var(--gold-dark));
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.15));
    animation: shine 6s linear infinite;
}

/* التاج لاين للموبايل */
.tagline {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-style: italic;
    letter-spacing: 2px;
    color: var(--gold-main);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInVisible 1.2s ease forwards 0.5s;
}

/* الفاصل الموحد */
.divider {
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-main), transparent);
    margin: 0 auto 2rem auto;
    position: relative;
    opacity: 0;
    animation: fadeInVisible 1.2s ease forwards 0.3s;
}

.divider::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 5px; height: 5px;
    background: var(--gold-light);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--gold-main);
}

/* نص الرسالة للموبايل */
.message {
    font-size: 0.85rem;
    line-height: 1.7;
    font-weight: 300;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    max-width: 100%;
    margin: 0 auto 2.5rem auto;
    opacity: 0;
    animation: fadeInVisible 1.2s ease forwards 0.7s;
}

/* شارة الحالة */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(212, 175, 55, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 50px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold-light);
    opacity: 0;
    animation: fadeInVisible 1.2s ease forwards 0.9s;
}

.status-pulse {
    width: 5px;
    height: 5px;
    background: var(--gold-main);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    animation: pulse 2s infinite;
}

/* إضاءة الماوس الخلفية (مخفية افتراضياً في الموبايل لعدم وجود ماوس وحماية الأداء) */
.cursor-glow {
    display: none;
}

/* ----------------------------------------------------
   تطبيق خصائص الـ Desktop عند الانتقال للشاشات الكبيرة
------------------------------------------------------- */
@media (min-width: 769px) {
    body {
        padding: 0;
        overflow: hidden; /* العودة لمنع التمرير العشوائي في الشاشات الكبيرة */
        perspective: 1000px;
    }

    body::before {
        background-size: 40px 40px;
        opacity: 0.5;
    }

    .container {
        padding: 3rem 2rem;
        max-width: 800px;
        border-radius: 24px;
        box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255,255,255,0.05);
        transform-style: preserve-3d;
    }

    h1.brand-name {
        font-size: 4.5rem;
        letter-spacing: 12px;
        margin-bottom: 0.8rem;
        filter: drop-shadow(0 2px 10px rgba(212, 175, 55, 0.2));
        transform: translateZ(30px);
    }

    .tagline {
        font-size: 1.4rem;
        letter-spacing: 3px;
        margin-bottom: 2.5rem;
        transform: translateZ(20px);
    }

    .divider {
        width: 60px;
        margin-bottom: 2.5rem;
    }

    .divider::after {
        width: 6px;
        height: 6px;
        box-shadow: 0 0 10px var(--gold-main);
    }

    .message {
        font-size: 0.95rem;
        line-height: 1.8;
        letter-spacing: 1px;
        max-width: 540px;
        margin: 0 auto 3.5rem auto;
        transform: translateZ(10px);
    }

    .status-badge {
        padding: 8px 18px;
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .status-pulse {
        width: 6px;
        height: 6px;
    }

    /* إظهار تأثير توهج الماوس فقط في الشاشات الكبيرة الكومبيوتر واللابتوب */
    .cursor-glow {
        display: block;
        position: fixed;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(212, 175, 55, 0.04) 0%, transparent 70%);
        border-radius: 50%;
        pointer-events: none;
        transform: translate(-50%, -50%);
        z-index: 0;
        transition: width 0.3s, height 0.3s;
    }
}

/* الأنيميشن الثابتة لجميع الشاشات */
@keyframes containerIntro {
    0% { opacity: 0; transform: translateY(30px) rotateX(5px); }
    100% { opacity: 1; transform: translateY(0) rotateX(0); }
}

@keyframes fadeInVisible {
    to { opacity: 1; }
}

@keyframes shine {
    to { background-position: 200% center; }
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.5); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}