@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;700;900&display=swap');

/* المتغيرات والألوان الأساسية */
:root {
    --bg-dark: #050505;
    --glass-bg: rgba(25, 25, 25, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --gold: #d4af37;
    --silver: #c0c0c0;
    --bronze: #cd7f32;
    --text-main: #f4f4f4;
    --text-sub: #888;
    --neon-red: #ff003c;
    --neon-blue: #00e5ff;
    --neon-green: #00ff66;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Tajawal', sans-serif; 
}

/* الخلفية الموحدة لجميع الصفحات */
body {
    background: var(--bg-dark) radial-gradient(circle at 50% 0%, #1a1a2e 0%, transparent 70%);
    color: var(--text-main);
    padding: 15px 15px 90px; /* 90px لترك مساحة للفوتر أسفل الشاشة */
    min-height: 100vh;
}

/* شريط التنقل السفلي الموحد (الفوتر) */
.bottom-nav {
    position: fixed;
    bottom: 0; 
    left: 0; 
    right: 0;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    z-index: 999;
}

.nav-item { 
    color: var(--text-sub); 
    text-decoration: none; 
    text-align: center; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 4px; 
    transition: color 0.3s ease; 
}

.nav-item i { 
    font-size: 20px; 
}

.nav-item span { 
    font-size: 10px; 
    font-weight: 700; 
}

.nav-item.active { 
    color: var(--gold); 
}
/* الهيدر العلوي وزر المشاركة المشترك */
.top-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 10px 5px; 
}

.top-header h1 { 
    font-weight: 900; 
    font-size: 28px; 
    color: var(--gold); 
    flex-grow: 1; 
    text-align: center; 
    margin-right: 30px; 
}

.share-btn { 
    color: var(--text-main); 
    font-size: 20px; 
    background: transparent; 
    border: none; 
    cursor: pointer; 
    transition: 0.3s;
}

.share-btn:active {
    color: var(--gold);
}