:root {
  --ink: #0b0b0b;
  --ink-soft: #171614;
  --cream: #f1eadf;
  --paper: #fbf8f2;
  --gold: #c39a57;
  --gold-light: #e8d0a4;
  --muted: #827b70;
  --line: rgba(255,255,255,.13);
  --shadow: 0 28px 90px rgba(0,0,0,.18);
  --radius: 28px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Noto Kufi Arabic", system-ui, sans-serif; color: var(--cream); background: var(--ink); overflow-x: hidden; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.topbar { height: 88px; max-width: 1240px; margin: auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 10; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 44px; height: 44px; border: 1px solid rgba(195,154,87,.6); color: var(--gold-light); display: grid; place-items: center; border-radius: 50% 50% 50% 6px; font-size: 21px; font-weight: 800; transform: rotate(-5deg); }
.brand > span:last-child { display: flex; flex-direction: column; line-height: 1.4; }
.brand strong { font-size: 14px; }
.brand small { color: var(--muted); font-size: 9px; letter-spacing: .4px; }
.text-button { border: 0; background: transparent; color: var(--gold-light); padding: 10px 4px; cursor: pointer; font-size: 12px; border-bottom: 1px solid transparent; }
.text-button:hover { border-color: var(--gold); }
.section-shell { max-width: 1240px; margin: auto; padding-left: 28px; padding-right: 28px; }
.hero { min-height: calc(100svh - 88px); display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 8vw; padding-top: 54px; padding-bottom: 100px; }
.eyebrow { color: var(--gold-light); display: flex; gap: 11px; align-items: center; margin: 0 0 22px; font-size: 11px; font-weight: 600; letter-spacing: .5px; }
.eyebrow span { width: 34px; height: 1px; background: var(--gold); }
h1,h2,h3,p { margin-top: 0; }
h1 { font-size: clamp(44px, 5.6vw, 82px); line-height: 1.28; letter-spacing: -3.2px; margin-bottom: 28px; }
h1 em { font-style: normal; font-weight: 400; color: var(--gold-light); }
.hero-lead { color: #bdb5aa; line-height: 2; max-width: 580px; font-size: 15px; margin-bottom: 34px; }
.primary-button { min-height: 54px; background: var(--gold); color: var(--ink); border: 1px solid var(--gold); border-radius: 4px; padding: 14px 24px; display: inline-flex; align-items: center; justify-content: center; gap: 35px; cursor: pointer; font-weight: 700; font-size: 12px; transition: .25s ease; }
.primary-button:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); }
.primary-button.full { width: 100%; }
.trust-row { display: flex; gap: 14px; align-items: center; color: #79736c; margin-top: 35px; font-size: 9px; }
.trust-row i { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); }
.hero-art { min-height: 560px; position: relative; display: grid; place-items: center; isolation: isolate; }
.hero-art::after { content: ""; position: absolute; inset: 8% 6%; border: 1px solid rgba(195,154,87,.16); border-radius: 50% 50% 48% 52%; transform: rotate(-11deg); }
.orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.orb-one { width: 390px; height: 390px; background: radial-gradient(circle at 40% 35%, #806136, #251d14 68%, transparent 69%); opacity: .68; }
.orb-two { width: 230px; height: 230px; background: radial-gradient(circle at 40% 35%, rgba(224,196,147,.46), transparent 70%); left: 2%; bottom: 4%; filter: blur(14px); }
.hero-card { width: 270px; min-height: 350px; border: 1px solid rgba(255,255,255,.18); background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.025)); backdrop-filter: blur(20px); border-radius: 145px 145px 22px 22px; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.live-pill { position: absolute; top: 37px; padding: 7px 12px; border-radius: 99px; color: #d7cdbd; background: rgba(0,0,0,.38); font-size: 9px; }
.live-pill b { width: 6px; height: 6px; background: #bd6357; border-radius: 50%; display: inline-block; margin-left: 6px; box-shadow: 0 0 0 4px rgba(189,99,87,.14); }
.event-glyph { width: 92px; height: 92px; border: 1px solid var(--gold); color: var(--gold-light); display: grid; place-items: center; border-radius: 50% 50% 50% 18px; font-size: 47px; font-weight: 700; transform: rotate(-5deg); margin-bottom: 28px; }
.hero-card p { margin-bottom: 8px; font-size: 18px; }
.hero-card small { color: #8f887e; font-size: 9px; }
.current { padding-top: 100px; padding-bottom: 130px; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; margin-bottom: 45px; }
.section-heading .eyebrow { grid-column: 1/-1; }
.section-heading h2 { font-size: clamp(28px, 4vw, 48px); line-height: 1.55; margin: 0; }
.section-heading > p:last-child { color: #938b81; line-height: 2; font-size: 13px; max-width: 440px; justify-self: end; }
.video-stage { min-height: 540px; border: 1px solid rgba(195,154,87,.22); background: radial-gradient(circle at 50% 30%, #272116 0%, #11100e 58%, #0b0b0b 100%); position: relative; overflow: hidden; display: grid; place-items: center; border-radius: var(--radius); }
.video-stage::before { content:""; position:absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 46px 46px; mask-image: linear-gradient(to bottom, black, transparent 80%); }
.video-locked { max-width: 620px; text-align: center; padding: 58px 24px; position: relative; z-index: 1; }
.lock-icon { width: 62px; height: 62px; border-radius: 50%; border: 1px solid rgba(195,154,87,.4); display: grid; place-items: center; margin: 0 auto 22px; color: var(--gold); font-size: 20px; }
.video-locked h3 { font-size: 25px; margin-bottom: 12px; }
.video-locked > p { color: #918a80; font-size: 12px; }
.access-form { display: flex; gap: 8px; max-width: 510px; margin: 28px auto 0; direction: rtl; }
.access-form input { flex: 1; min-width: 0; }
input, textarea, select { width: 100%; border: 1px solid #d9d0c3; border-radius: 5px; background: #fff; color: #171614; outline: none; padding: 14px 15px; transition: border .2s, box-shadow .2s; }
input:focus, textarea:focus, select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(195,154,87,.14); }
.access-form input { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.17); color: #fff; }
.access-form input::placeholder { color: #77736b; }
.form-message { min-height: 20px; margin: 11px 0 0; font-size: 11px; color: #b65b4f; }
.form-message.success { color: #6ba37e; }
.video-unlocked { width: 100%; height: 100%; min-height: 540px; display: flex; flex-direction: column; position: relative; z-index: 2; }
.video-placeholder { flex: 1; min-height: 475px; display: grid; place-content: center; text-align: center; background: linear-gradient(145deg,#201c15,#0d0d0c); }
.video-placeholder iframe,.video-placeholder video { position:absolute; inset:0; width:100%; height:calc(100% - 64px); border:0; object-fit:contain; background:#000; }
.play-ring { width: 86px; height: 86px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; margin: 0 auto 22px; }
.play-ring span { color: var(--gold-light); transform: translateX(-2px); }
.video-placeholder p { margin: 0 0 8px; }
.video-placeholder small { color: #766f66; }
.access-success { height: 64px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 22px; font-size: 10px; }
.access-success > span::before { content:""; width: 7px; height: 7px; background: #6ba37e; border-radius: 50%; display:inline-block; margin-left: 8px; }
.archive { padding-top: 110px; padding-bottom: 130px; }
.archive-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.archive-card { min-height: 330px; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.11); background: linear-gradient(145deg, #22201c, #11110f); }
.archive-card::before { content:""; position:absolute; width:260px; height:260px; border-radius:50%; top:-120px; left:-80px; background:radial-gradient(circle, rgba(195,154,87,.5), transparent 68%); }
.archive-card:nth-child(2)::before { left:auto; right:-70px; background:radial-gradient(circle, rgba(116,98,78,.5), transparent 68%); }
.archive-card:nth-child(3)::before { top:-20px; left:20%; opacity:.5; }
.archive-card > * { position:relative; }
.archive-card .card-index { position:absolute; top:20px; right:22px; color:rgba(255,255,255,.25); font-size:10px; }
.archive-card .card-tag { width:max-content; padding:6px 10px; border:1px solid rgba(195,154,87,.35); color:var(--gold-light); border-radius:99px; font-size:8px; margin-bottom:14px; }
.archive-card h3 { margin:0 0 12px; font-size:18px; }
.archive-card p { margin:0; color:#807a72; font-size:10px; }
.registration { max-width: 1184px; background: var(--paper); color: var(--ink); border-radius: 32px; display:grid; grid-template-columns:.9fr 1.1fr; gap:80px; padding:85px; margin-bottom:120px; }
.registration .eyebrow { color:#81653b; }
.registration h2 { font-size:clamp(32px,4vw,54px); line-height:1.55; margin-bottom:20px; }
.registration-copy > p:not(.eyebrow) { color:#777066; font-size:12px; line-height:2; }
.registration-note { margin-top:42px; padding-top:20px; border-top:1px solid #ddd3c5; display:flex; flex-direction:column; gap:5px; }
.registration-note strong { font-size:11px; }
.registration-note span { font-size:9px; color:#8b8378; }
.registration-form { display:grid; gap:17px; }
.field { display:flex; flex-direction:column; gap:7px; }
.field label { font-size:10px; font-weight:700; color:inherit; }
.field label small { color:#938a7d; font-weight:400; }
.consent { display:flex; gap:10px; align-items:flex-start; font-size:9px; color:#746d62; line-height:1.7; cursor:pointer; }
.consent input { width:17px; height:17px; accent-color:var(--gold); margin-top:2px; }
footer { max-width:1240px; margin:auto; padding:38px 28px; border-top:1px solid var(--line); display:flex; justify-content:space-between; align-items:center; }
footer p { color:#68635c; font-size:9px; margin:0; }
.modal { position:fixed; inset:0; z-index:90; display:grid; place-items:center; padding:22px; }
.modal-backdrop { position:absolute; inset:0; background:rgba(0,0,0,.78); backdrop-filter:blur(9px); }
.modal-card { width:min(440px,100%); background:var(--paper); color:var(--ink); border-radius:22px; padding:36px; position:relative; box-shadow:var(--shadow); }
.modal-card h2 { margin-bottom:10px; }
.modal-card > p:not(.eyebrow) { color:#777066; font-size:11px; }
.modal-close { border:0; background:transparent; color:inherit; width:42px; height:42px; font-size:27px; cursor:pointer; display:grid; place-items:center; }
.modal-card > .modal-close { position:absolute; left:14px; top:12px; }
.modal-card form { display:grid; gap:16px; margin-top:26px; }
.admin-panel { position:fixed; inset:0; z-index:100; background:#f3eee6; color:#171614; transform:translateY(105%); transition:transform .38s cubic-bezier(.22,1,.36,1); overflow:auto; }
.admin-panel.open { transform:translateY(0); }
.admin-header { height:78px; padding:0 30px; display:flex; align-items:center; justify-content:space-between; background:#11110f; color:#fff; position:sticky; top:0; z-index:5; }
.admin-tabs { background:#171614; display:flex; gap:6px; padding:0 30px 14px; position:sticky; top:78px; z-index:4; overflow-x:auto; scrollbar-width:none; }
.admin-tabs button { border:1px solid rgba(255,255,255,.1); background:transparent; color:#918a80; padding:9px 15px; border-radius:99px; cursor:pointer; white-space:nowrap; font-size:10px; }
.admin-tabs button.active { background:var(--gold); color:#111; border-color:var(--gold); }
.admin-content { max-width:1100px; margin:auto; padding:54px 28px 100px; }
.admin-view { display:none; }
.admin-view.active { display:block; animation:fade .3s ease; }
@keyframes fade { from{opacity:0;transform:translateY(7px)} to{opacity:1;transform:none} }
.admin-title { margin-bottom:28px; }
.admin-title p { color:#8b7350; font-size:10px; margin-bottom:7px; }
.admin-title h2 { font-size:28px; margin:0; }
.admin-title.with-action { display:flex; align-items:center; justify-content:space-between; }
.stat-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-bottom:18px; }
.stat-card,.admin-card,.admin-list-item { background:#fff; border:1px solid #e2d9cc; border-radius:15px; padding:22px; }
.stat-card span { color:#8d857a; font-size:9px; }
.stat-card strong { display:block; font-size:30px; margin-top:8px; }
.admin-card { margin-bottom:18px; }
.admin-card h3 { font-size:15px; margin-bottom:18px; }
.status-list p { display:flex; justify-content:space-between; padding:12px 0; margin:0; border-bottom:1px solid #eee8df; font-size:10px; }
.status-list p:last-child { border:0; }
.status-list b { font-size:9px; }.status-list .good {color:#42805a}.status-list .warn{color:#a17236}
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:17px; align-items:end; }
.form-grid .wide { grid-column:1/-1; }
.form-grid .form-message { align-self:center; }
.admin-list { display:grid; gap:10px; }
.admin-list-item { display:grid; grid-template-columns:1fr auto; gap:14px; align-items:center; }
.admin-list-item h3 { font-size:12px; margin:0 0 6px; }
.admin-list-item p { font-size:9px; color:#827b70; margin:0; line-height:1.8; }
.item-actions { display:flex; gap:7px; align-items:center; }
.mini-button,.outline-button { border:1px solid #cfc4b4; color:#4c463f; background:transparent; border-radius:5px; padding:8px 11px; cursor:pointer; font-size:9px; }
.mini-button.danger { color:#a14842; border-color:#e3c2bf; }
.outline-button { padding:10px 15px; }
.empty-state { background:#fff; border:1px dashed #d4c8b8; padding:38px; text-align:center; color:#8a8176; border-radius:15px; font-size:11px; }
.code-chip { direction:ltr; display:inline-flex; font-family:monospace; background:#f2ece4; padding:5px 8px; border-radius:4px; color:#6c5431; margin-top:5px; }
.toast { position:fixed; z-index:120; bottom:24px; left:24px; background:#111; color:#fff; padding:13px 18px; border:1px solid rgba(195,154,87,.4); border-radius:8px; box-shadow:var(--shadow); font-size:10px; opacity:0; transform:translateY(20px); pointer-events:none; transition:.25s; }
.toast.show { opacity:1; transform:none; }
.reveal { animation:reveal .7s ease both; }
@keyframes reveal { from{opacity:0;transform:translateY(18px)} to{opacity:1;transform:none} }
@media(max-width:900px){
  .hero{grid-template-columns:1fr;gap:20px;padding-top:45px}.hero-art{min-height:430px;order:-1}.orb-one{width:310px;height:310px}.hero-card{width:220px;min-height:285px}.event-glyph{width:76px;height:76px;font-size:38px}.section-heading{grid-template-columns:1fr}.section-heading>p:last-child{justify-self:start;margin-top:18px}.archive-grid{grid-template-columns:1fr 1fr}.registration{margin-left:18px;margin-right:18px;grid-template-columns:1fr;gap:40px;padding:55px}.stat-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
  .topbar{height:72px;padding:0 18px}.topbar .brand small{display:none}.section-shell{padding-left:18px;padding-right:18px}.hero{min-height:auto;padding-top:30px;padding-bottom:82px}.hero-art{min-height:330px}.orb-one{width:255px;height:255px}.orb-two{width:160px;height:160px}.hero-card{width:180px;min-height:235px}.live-pill{top:24px}.event-glyph{width:62px;height:62px;font-size:30px;margin-bottom:18px}.hero-card p{font-size:14px}.hero-card small{font-size:8px}h1{font-size:39px;letter-spacing:-2px}.hero-lead{font-size:12px}.trust-row{gap:9px;flex-wrap:wrap}.current,.archive{padding-top:75px;padding-bottom:90px}.video-stage{min-height:510px;border-radius:20px}.video-locked{padding:45px 18px}.video-locked h3{font-size:20px}.access-form{flex-direction:column}.access-form .primary-button{width:100%}.video-unlocked{min-height:510px}.section-heading h2{font-size:29px}.archive-grid{grid-template-columns:1fr}.archive-card{min-height:275px}.registration{margin:0 12px 75px;padding:42px 22px;border-radius:23px}.registration h2{font-size:31px}.registration-note{margin-top:28px}footer{padding:26px 18px;flex-direction:column;gap:20px;align-items:flex-start}.admin-header{padding:0 16px}.admin-tabs{padding-right:16px;padding-left:16px}.admin-content{padding:34px 16px 80px}.stat-grid{grid-template-columns:1fr 1fr}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.admin-list-item{grid-template-columns:1fr}.item-actions{flex-wrap:wrap}.admin-title.with-action{align-items:flex-start;gap:18px}.modal-card{padding:30px 22px}.toast{left:16px;right:16px;bottom:16px;text-align:center}
}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
