* { box-sizing:border-box; margin:0; padding:0; font-family:'Noto Sans Arabic',sans-serif; }
:root { --bg:#080809; --card:#121214; --primary:#ffcc00; --primary2:#ff9900; --text:#fff; --dim:#9e9e9e; --line:rgba(255,255,255,0.08); }
html { background:#0d0d0e; min-height:100%; }
body { min-height:100vh; color:var(--text); background:radial-gradient(circle at 20% 15%,rgba(255,204,0,0.13),transparent 28%), radial-gradient(circle at 85% 80%,rgba(255,153,0,0.11),transparent 30%), #09090a; overflow-x:hidden; }
.page-glow { position:fixed; inset:auto auto 8% -120px; width:340px; height:340px; background:radial-gradient(circle,rgba(255,204,0,0.12),transparent 70%); filter:blur(30px); pointer-events:none; }
.site-header { position:sticky; top:0; z-index:20; backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px); background:rgba(9,9,10,0.72); border-bottom:1px solid var(--line); }
.nav { max-width:1180px; margin:0 auto; padding:16px 22px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.brand { display:flex; align-items:center; gap:12px; text-decoration:none; color:#fff; min-width:0; }
.brand img { width:42px; height:42px; border-radius:12px; object-fit:cover; border:1.5px solid rgba(255,204,0,0.5); box-shadow:0 8px 22px rgba(255,204,0,0.18); }
.brand span { font-weight:900; font-size:1rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.actions { display:flex; align-items:center; gap:10px; }
.auth-links { display:flex; align-items:center; gap:10px; }
.lang-toggle { display:flex; gap:6px; direction:ltr; }
.lang-btn { padding:7px 10px; border-radius:10px; border:1px solid var(--line); background:rgba(255,255,255,0.04); color:#888; cursor:pointer; font-size:0.75rem; font-weight:800; }
.lang-btn.active { color:#ffcc00; border-color:rgba(255,204,0,0.35); background:rgba(255,204,0,0.1); }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:40px; padding:10px 16px; border-radius:12px; text-decoration:none; font-weight:800; font-size:0.88rem; transition:0.22s; border:1px solid transparent; white-space:nowrap; }
.btn:hover { transform:translateY(-1px); }
.btn-primary { background:linear-gradient(135deg,var(--primary),var(--primary2)); color:#0b0a02; box-shadow:0 12px 28px rgba(255,204,0,0.18); }
.btn-ghost { color:#ddd; background:rgba(255,255,255,0.045); border-color:var(--line); }
#dashboard-link { display:none; }
.has-session .auth-links, .has-session .guest-hero-link { display:none; }
.user-menu { display:none; position:relative; }
.user-menu.is-active { display:block; }
.user-menu-toggle { display:flex; align-items:center; gap:10px; min-height:42px; max-width:210px; padding:7px 10px 7px 14px; border-radius:999px; border:1px solid rgba(255,204,0,0.2); background:rgba(255,255,255,0.045); color:#fff; cursor:pointer; font-weight:900; }
.user-menu-toggle:hover { background:rgba(255,204,0,0.09); border-color:rgba(255,204,0,0.36); }
.user-avatar { width:30px; height:30px; border-radius:50%; background:linear-gradient(135deg,#ffcc00,#ff9900); color:#111; display:flex; align-items:center; justify-content:center; overflow:hidden; flex:0 0 auto; font-size:0.84rem; }
.user-avatar img { display:none; width:100%; height:100%; object-fit:cover; }
.user-name { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.user-dropdown { position:absolute; top:calc(100% + 10px); inset-inline-end:0; min-width:220px; padding:8px; border-radius:16px; border:1px solid var(--line); background:rgba(18,18,20,0.96); box-shadow:0 24px 60px rgba(0,0,0,0.36); opacity:0; visibility:hidden; transform:translateY(8px); transition:0.18s; }
.user-menu:hover .user-dropdown, .user-menu:focus-within .user-dropdown { opacity:1; visibility:visible; transform:translateY(0); }
.user-dropdown a { display:flex; align-items:center; gap:10px; padding:11px 12px; border-radius:12px; color:#e8e8e8; text-decoration:none; font-size:0.86rem; font-weight:800; }
.user-dropdown a:hover { background:rgba(255,204,0,0.1); color:#ffcc00; }
.user-dropdown a.admin-only { display:none; }
.user-menu.is-admin .user-dropdown a.admin-only { display:flex; }
.hero { max-width:1180px; margin:0 auto; padding:78px 22px 48px; display:grid; grid-template-columns:minmax(0,1.05fr) minmax(330px,0.95fr); gap:34px; align-items:center; }
.eyebrow { display:inline-flex; align-items:center; gap:8px; padding:7px 12px; border-radius:999px; color:#ffcc00; background:rgba(255,204,0,0.1); border:1px solid rgba(255,204,0,0.18); font-size:0.78rem; font-weight:800; margin-bottom:18px; }
.hero h1 { font-size:clamp(2.1rem,5vw,4.7rem); line-height:1.08; letter-spacing:-1.5px; margin-bottom:18px; }
.hero h1 span { color:#ffcc00; text-shadow:0 0 28px rgba(255,204,0,0.22); }
.lead { color:#cfcfcf; font-size:1.02rem; line-height:1.9; max-width:680px; margin-bottom:26px; }
.hero-actions { display:flex; gap:12px; flex-wrap:wrap; margin-bottom:30px; }
.stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; max-width:620px; }
.stat { padding:16px; border-radius:18px; background:rgba(255,255,255,0.045); border:1px solid var(--line); }
.stat strong { display:block; color:#ffcc00; font-size:1.25rem; margin-bottom:3px; }
.stat span { color:#888; font-size:0.78rem; }
.showcase { position:relative; padding:22px; border-radius:30px; background:linear-gradient(145deg,rgba(255,204,0,0.12),rgba(255,255,255,0.04)); border:1px solid rgba(255,204,0,0.14); box-shadow:0 28px 70px rgba(0,0,0,0.42); overflow:hidden; }
.showcase::before { content:""; position:absolute; width:220px; height:220px; border-radius:50%; background:radial-gradient(circle,rgba(255,204,0,0.18),transparent 70%); top:-90px; inset-inline-end:-80px; }
.panel { position:relative; border-radius:24px; background:rgba(12,12,14,0.82); border:1px solid rgba(255,255,255,0.08); padding:20px; }
.panel-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; }
.panel-title { display:flex; align-items:center; gap:10px; font-weight:900; }
.panel-title img { width:38px; height:38px; border-radius:11px; object-fit:cover; }
.status-pill { color:#10b981; background:rgba(16,185,129,0.1); border:1px solid rgba(16,185,129,0.18); padding:6px 10px; border-radius:999px; font-size:0.72rem; font-weight:800; }
.feature-list { display:grid; gap:12px; }
.feature-item { display:flex; gap:12px; align-items:flex-start; padding:14px; border-radius:16px; background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.06); }
.feature-item i { color:#ffcc00; width:22px; margin-top:3px; }
.feature-item strong { display:block; margin-bottom:3px; }
.feature-item p { color:#8f8f8f; font-size:0.78rem; line-height:1.6; }
.section { max-width:1180px; margin:0 auto; padding:42px 22px 70px; }
.cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.info-card { padding:22px; border-radius:22px; background:rgba(255,255,255,0.04); border:1px solid var(--line); min-height:170px; }
.info-card i { color:#ffcc00; font-size:1.35rem; margin-bottom:14px; }
.info-card h3 { margin-bottom:8px; font-size:1rem; }
.info-card p { color:#8f8f8f; font-size:0.86rem; line-height:1.8; }
@media (max-width:860px) { .hero { grid-template-columns:1fr; padding-top:46px; } .cards { grid-template-columns:1fr; } .stats { grid-template-columns:1fr; } .actions .btn-ghost { display:none; } }
@media (max-width:560px) { .nav { padding:12px 14px; } .brand span { max-width:130px; } .hero { padding-inline:14px; } .section { padding-inline:14px; } .hero-actions .btn { width:100%; } .lang-toggle { display:none; } .user-menu-toggle { max-width:165px; } }
