/* AL AMAL v1.8 — new header, home page and footer (design approved 2026-10-07) */
@font-face{font-family:"Alexandria";src:url(/fonts/alexandria.woff) format("woff");font-weight:100 900;font-display:swap}
@font-face{font-family:"IBM Plex Sans Arabic";src:url(/fonts/plex-arabic-Regular.woff) format("woff");font-weight:400;font-display:swap}
@font-face{font-family:"IBM Plex Sans Arabic";src:url(/fonts/plex-arabic-Medium.woff) format("woff");font-weight:500;font-display:swap}
@font-face{font-family:"IBM Plex Sans Arabic";src:url(/fonts/plex-arabic-SemiBold.woff) format("woff");font-weight:600;font-display:swap}
@font-face{font-family:"IBM Plex Sans Arabic";src:url(/fonts/plex-arabic-Bold.woff) format("woff");font-weight:700 900;font-display:swap}
@font-face{font-family:"JetBrains Mono";src:url(/fonts/jetbrains-mono.woff) format("woff");font-weight:100 800;font-display:swap}
:root{--hx-bg:#06080B;--hx-s1:#0D1117;--hx-s2:#121821;--hx-line:rgba(255,255,255,.08);--hx-text:#EEF3F6;--hx-muted:#A9B5C1;--hx-dim:#8D9AA8;--hx-acc:var(--green,#A6FF4D);--hx-ink:#06110A;--hx-display:"Alexandria","IBM Plex Sans Arabic",system-ui,sans-serif;--hx-mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace}
body{font-family:"IBM Plex Sans Arabic",Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.hx-wrap{width:min(1280px,calc(100% - 48px));margin-inline:auto}
/* announcement */
.hx-announce{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;padding:9px 16px;background:var(--hx-acc);color:var(--hx-ink);font-size:14px;font-weight:600;text-align:center}
.hx-announce button{border:0;background:none;color:inherit;font:inherit;font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer;padding:4px}
.hx-live{background:var(--hx-ink);color:var(--hx-acc);font-family:var(--hx-mono);font-size:11px;letter-spacing:.12em;padding:3px 9px;border-radius:99px}
/* header */
.site-header.hx-header{background:transparent;backdrop-filter:none;border:0;padding:14px 0 0}
.site-header.hx-header.scrolled{background:transparent;border:0}
.hx-bar{width:min(1280px,calc(100% - 32px));margin-inline:auto;min-height:68px;padding:0 10px;border-radius:22px;border:1px solid var(--hx-line);background:rgba(13,17,23,.86);backdrop-filter:blur(18px);display:flex;align-items:center;justify-content:space-between;gap:14px;box-shadow:0 18px 40px rgba(0,0,0,.28)}
.hx-brand{display:flex;align-items:center;gap:11px;border:0;background:none;color:var(--hx-text);padding:4px;cursor:pointer;text-align:start}
.hx-brand img{width:40px;height:40px;border-radius:12px;display:block}
.hx-brand span{display:flex;flex-direction:column;line-height:1.1}
.hx-brand b{font-family:var(--hx-display);font-size:19px;font-weight:700}
.hx-brand small{font-family:var(--hx-mono);font-size:10px;letter-spacing:.22em;color:var(--hx-dim)}
.hx-nav{display:flex;align-items:center;gap:2px}
.hx-nav button{display:flex;align-items:center;gap:8px;border:0;background:none;color:#B5C0CB;font:inherit;font-size:15px;font-weight:500;padding:10px 13px;border-radius:12px;cursor:pointer;white-space:nowrap}
.hx-nav button:hover{color:var(--hx-text);background:rgba(255,255,255,.04)}
.hx-nav button.active{color:var(--hx-text);background:rgba(255,255,255,.07);font-weight:600}
.hx-new{font-style:normal;font-size:11px;font-weight:700;color:var(--hx-ink);background:var(--hx-acc);padding:2px 8px;border-radius:99px}
.hx-actions{display:flex;align-items:center;gap:8px}
.hx-lang{position:relative;height:44px;padding:0 12px;border-radius:12px;border:1px solid rgba(255,255,255,.1);display:flex;align-items:center;gap:7px;color:#B5C0CB;font-family:var(--hx-mono);font-size:13px;cursor:pointer}
.hx-lang .ui-icon{width:16px;height:16px}
.hx-lang select{position:absolute;inset:0;opacity:0;cursor:pointer}
.hx-link{height:44px;padding:0 12px;border:0;background:none;color:var(--hx-text);font:inherit;font-weight:600;cursor:pointer}
.hx-cta{height:44px;padding:0 18px;border:0;border-radius:99px;background:var(--hx-acc);color:var(--hx-ink);font:inherit;font-weight:700;display:flex;align-items:center;gap:6px;cursor:pointer;white-space:nowrap}
.hx-cta span{font-size:18px;line-height:1}
.hx-balance{height:44px;padding:0 13px;border-radius:12px;border:1px solid rgba(255,255,255,.1);background:none;color:var(--hx-text);display:flex;align-items:center;gap:9px;font-family:var(--hx-mono);font-size:14px;direction:ltr;cursor:pointer;white-space:nowrap}
.hx-balance .ui-icon{width:18px;height:18px;color:var(--hx-dim)}
.hx-icon{width:44px;height:44px;border-radius:12px;border:1px solid rgba(255,255,255,.1);background:none;color:#B5C0CB;display:grid;place-items:center;cursor:pointer}
.hx-icon .ui-icon{width:19px;height:19px}
.hx-burger{display:none}
.hx-account{position:relative}
.hx-account summary{list-style:none;height:44px;padding:0 6px 0 9px;border-radius:99px;border:1px solid color-mix(in srgb,var(--hx-acc) 45%,transparent);background:color-mix(in srgb,var(--hx-acc) 9%,transparent);display:flex;align-items:center;gap:6px;color:#B5C0CB;cursor:pointer}
.hx-account summary::-webkit-details-marker{display:none}
.hx-account summary svg{width:14px;height:14px}
.hx-avatar{width:32px;height:32px;border-radius:50%;background:var(--hx-acc);color:var(--hx-ink);display:grid;place-items:center;font-weight:700;overflow:hidden;flex-shrink:0}
.hx-avatar img{width:100%;height:100%;object-fit:cover}
.hx-menu{position:absolute;top:calc(100% + 10px);inset-inline-end:0;width:280px;padding:8px;border-radius:20px;border:1px solid rgba(255,255,255,.1);background:#0D1117;box-shadow:0 30px 60px rgba(0,0,0,.55);display:flex;flex-direction:column;gap:2px;z-index:95}
.hx-menu-head{display:flex;align-items:center;gap:12px;padding:12px;margin-bottom:6px;border-bottom:1px solid var(--hx-line)}
.hx-menu-head .hx-avatar{width:40px;height:40px}
.hx-menu-head span:last-child{display:flex;flex-direction:column;min-width:0}
.hx-menu-head small{color:var(--hx-dim);font-size:13px}
.hx-menu button,.hx-menu a{border:0;background:none;color:var(--hx-text);font:inherit;text-align:start;padding:11px 12px;border-radius:12px;cursor:pointer}
.hx-menu button:hover,.hx-menu a:hover{background:rgba(255,255,255,.05)}
.hx-logout{color:#FF9B8A!important}
.hx-menu .hx-logout{border-top:1px solid var(--hx-line)!important;margin-top:6px;border-radius:0 0 12px 12px}
.hx-mobile-bal{display:flex;justify-content:space-between;align-items:center;padding:14px;border-radius:14px;background:var(--hx-s2);margin-bottom:6px}
.hx-mobile-bal b{font-family:var(--hx-mono);direction:ltr}
.hx-mobile-auth{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:6px}
@media (max-width:1180px){.hx-nav{display:none}.hx-burger{display:grid}}
@media (max-width:700px){.hx-lang,.hx-link,.hx-bell,.hx-balance{display:none}.hx-bar{min-height:60px;border-radius:18px}.hx-brand img{width:34px;height:34px}.hx-cta{height:40px;padding:0 14px;font-size:14px}.hx-account summary{height:40px}.hx-announce{font-size:13px}}
/* buttons */
.hx-btn{height:48px;padding:0 22px;border-radius:99px;border:1px solid transparent;font:inherit;font-size:16px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:10px;cursor:pointer;white-space:nowrap}
.hx-btn-lg{height:56px;padding:0 28px;font-size:17px}
.hx-btn-primary{background:var(--hx-acc);color:var(--hx-ink)}
.hx-btn-primary:hover{filter:brightness(1.08)}
.hx-btn-ghost{background:transparent;color:var(--hx-text);border-color:rgba(255,255,255,.16);font-weight:600}
.hx-btn-ghost:hover{border-color:rgba(255,255,255,.32)}
.hx-btn-dark{background:var(--hx-ink);color:var(--hx-acc)}
.hx-accent{color:var(--hx-acc)}
.hx-kicker{font-family:var(--hx-mono);font-size:12px;letter-spacing:.22em;color:var(--hx-acc)}
/* hero */
.hx-home{color:var(--hx-text)}
.hx-hero{padding:64px 0 48px}
.hx-hero-grid{display:flex;flex-wrap:wrap;align-items:center;gap:48px}
.hx-hero-copy{flex:1 1 500px;min-width:0;display:flex;flex-direction:column;gap:26px}
.hx-pill{align-self:flex-start;display:inline-flex;align-items:center;gap:10px;padding:8px 16px;border-radius:99px;border:1px solid color-mix(in srgb,var(--hx-acc) 35%,transparent);background:color-mix(in srgb,var(--hx-acc) 8%,transparent);color:color-mix(in srgb,var(--hx-acc) 70%,#fff);font-size:14px;font-weight:600}
.hx-pill i{width:8px;height:8px;border-radius:50%;background:var(--hx-acc)}
.hx-hero h1{margin:0;font-family:var(--hx-display);font-weight:800;font-size:clamp(38px,4.6vw,66px);line-height:1.15;letter-spacing:-.01em}
.hx-hero-copy>p{margin:0;max-width:540px;font-size:19px;line-height:1.75;color:var(--hx-muted)}
.hx-hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.hx-trust{list-style:none;margin:0;padding:6px 0 0;display:flex;gap:20px;flex-wrap:wrap;color:var(--hx-dim);font-size:14px}
.hx-trust li{display:flex;align-items:center;gap:8px}
.hx-trust .ui-icon{width:18px;height:18px;color:var(--mint,#36F5C5)}
.hx-stage{flex:1 1 500px;min-width:0;position:relative;height:560px;max-width:560px;margin-inline:auto}
.hx-stage-glow{position:absolute;inset:60px 40px;border-radius:50%;background:radial-gradient(closest-side,rgba(54,245,197,.22),rgba(54,245,197,0))}
.hx-scard{position:absolute;padding:0;border-radius:24px;overflow:hidden;border:1px solid rgba(255,255,255,.12);background:var(--hx-s1);box-shadow:0 30px 60px rgba(0,0,0,.55);color:var(--hx-text);cursor:pointer;text-align:start;transition:transform .35s ease}
.hx-scard-img{display:block}
.hx-scard img,.hx-scard .hx-noimg{display:block;width:100%;height:220px;object-fit:cover}
.hx-scard-meta{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 10px;padding:14px 16px;direction:ltr}
.hx-scard-meta b{font-family:var(--hx-display);font-weight:700;letter-spacing:.04em}
.hx-scard-meta small{font-family:var(--hx-mono);color:var(--hx-acc);font-size:14px}
.hx-scard-right{width:250px;top:110px;right:0;transform:rotate(9deg)}
.hx-scard-left{width:250px;top:110px;left:0;transform:rotate(-9deg)}
.hx-scard-left .hx-scard-meta{flex-direction:column;align-items:flex-start}
.hx-scard-right .hx-scard-meta{flex-direction:column;align-items:flex-end}
.hx-scard-front{width:300px;top:56px;left:50%;margin-left:-150px;border-color:color-mix(in srgb,var(--hx-acc) 45%,transparent);box-shadow:0 40px 80px rgba(0,0,0,.6);z-index:2}
.hx-scard-front img{height:270px}
.hx-scard:hover{transform:translateY(-6px)}
.hx-scard-right:hover{transform:rotate(9deg) translateY(-6px)}.hx-scard-left:hover{transform:rotate(-9deg) translateY(-6px)}
.hx-chip-pre{font-style:normal;font-size:12px;font-weight:700;color:var(--hx-ink);background:var(--hx-acc);padding:3px 10px;border-radius:99px}
.hx-float{position:absolute;z-index:3;padding:12px 16px;border-radius:16px;background:rgba(13,17,23,.94);border:1px solid rgba(255,255,255,.1);box-shadow:0 20px 40px rgba(0,0,0,.5);display:flex;gap:4px}
.hx-float-top{top:14px;left:30px;flex-direction:column}
.hx-float-top small{font-size:12px;color:var(--hx-dim)}
.hx-float-top b{font-family:var(--hx-mono);font-size:15px}
.hx-float-bottom{bottom:30px;right:16px;align-items:center;gap:12px}
.hx-float-bottom>span:last-child{display:flex;flex-direction:column;gap:2px}
.hx-float-bottom b{font-size:14px}.hx-float-bottom small{font-size:12px;color:var(--hx-dim)}
.hx-float-ico{width:36px;height:36px;border-radius:12px;background:rgba(54,245,197,.14);display:grid;place-items:center;color:#36F5C5}
.hx-float-ico .ui-icon{width:18px;height:18px}
.hx-noimg{display:grid!important;place-items:center;background:var(--hx-s2);font-family:var(--hx-display);font-size:40px;font-weight:800;color:var(--hx-acc)}
/* ticker */
.hx-ticker{border-block:1px solid rgba(255,255,255,.07);background:#0A0D12;overflow:hidden;padding:14px 0}
.hx-ticker-track{display:flex;gap:44px;width:max-content;direction:ltr;animation:hxTick 40s linear infinite}
.hx-ticker:hover .hx-ticker-track{animation-play-state:paused}
@keyframes hxTick{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.hx-ticker-track{animation:none}}
.hx-tick{display:flex;align-items:center;gap:10px;font-size:14px;white-space:nowrap;color:var(--hx-text)}
.hx-tick img,.hx-tick .hx-noimg{width:26px!important;height:26px!important;border-radius:8px;object-fit:cover;font-size:11px}
.hx-tick b{font-family:var(--hx-display);letter-spacing:.04em}
.hx-tick em{font-style:normal;font-family:var(--hx-mono);color:var(--hx-acc)}
.hx-tick small{color:var(--hx-dim);font-size:12px}
/* stats */
.hx-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;padding-block:56px 8px}
.hx-stats>div{border-radius:24px;border:1px solid var(--hx-line);background:var(--hx-s1);padding:26px 28px;display:flex;flex-direction:column;gap:6px}
.hx-stats b{font-family:var(--hx-mono);font-size:40px;font-weight:700}
.hx-stats span{color:var(--hx-muted);font-size:16px}
/* sections */
.hx-section{padding:72px 0}
.hx-section.hx-tight{padding:16px 0 56px}
.hx-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:30px}
.hx-head>div{display:flex;flex-direction:column;gap:10px}
.hx-head h2{margin:0;font-family:var(--hx-display);font-weight:700;font-size:clamp(30px,3.4vw,44px)}
.hx-head p{margin:0;color:var(--hx-muted);font-size:17px;max-width:640px;line-height:1.7}
.hx-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:18px}
.hx-card{border-radius:24px;border:1px solid var(--hx-line);background:var(--hx-s1);overflow:hidden;display:flex;flex-direction:column;transition:border-color .2s,transform .2s}
.hx-card:hover{border-color:color-mix(in srgb,var(--hx-acc) 40%,transparent);transform:translateY(-3px)}
.hx-card-art{position:relative;display:block;width:100%;padding:0;border:0;background:var(--hx-s2);cursor:pointer}
.hx-card-art img,.hx-card-art .hx-noimg{display:block;width:100%;height:230px;object-fit:cover}
.hx-badge{position:absolute;top:14px;inset-inline-start:14px;font-style:normal;font-size:12px;font-weight:700;padding:5px 12px;border-radius:99px;background:rgba(6,8,11,.84);border:1px solid rgba(255,255,255,.2);color:var(--hx-text)}
.hx-badge-presale{color:color-mix(in srgb,var(--hx-acc) 75%,#fff);border-color:color-mix(in srgb,var(--hx-acc) 40%,transparent)}
.hx-badge-open{color:#36F5C5;border-color:rgba(54,245,197,.4)}
.hx-card-body{padding:20px;display:flex;flex-direction:column;gap:16px;flex:1}
.hx-card-title{display:flex;justify-content:space-between;align-items:baseline;gap:10px;direction:ltr}
.hx-card-title b{font-family:var(--hx-display);font-weight:700;font-size:20px;letter-spacing:.04em}
.hx-card-title small{font-family:var(--hx-mono);font-size:13px;color:var(--hx-dim)}
.hx-card-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.hx-card-stats>div{border-radius:14px;background:var(--hx-s2);padding:12px 14px;display:flex;flex-direction:column;gap:4px;min-width:0}
.hx-card-stats small{font-size:12px;color:var(--hx-dim)}
.hx-card-stats b{font-family:var(--hx-mono);font-size:15px;direction:ltr;text-align:start;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hx-card .hx-btn{margin-top:auto;width:100%}
.hx-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.hx-steps article{border-radius:24px;border:1px solid var(--hx-line);background:var(--hx-s1);padding:28px;display:flex;flex-direction:column;gap:14px;min-height:200px}
.hx-steps span{font-family:var(--hx-mono);font-size:14px;font-weight:700;color:var(--hx-ink);background:var(--hx-acc);width:40px;height:40px;border-radius:12px;display:grid;place-items:center}
.hx-steps h3{margin:0;font-family:var(--hx-display);font-weight:700;font-size:22px}
.hx-steps p{margin:0;color:var(--hx-muted);font-size:16px;line-height:1.7}
.hx-bento{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.hx-bento article{border-radius:28px;border:1px solid var(--hx-line);background:var(--hx-s1);padding:30px;display:flex;flex-direction:column;gap:12px;min-width:0}
.hx-bento h3{margin:0;font-family:var(--hx-display);font-weight:700;font-size:22px;line-height:1.35}
.hx-bento p{margin:0;color:var(--hx-muted);font-size:16px;line-height:1.7}
.hx-bento-main{grid-column:span 2;grid-row:span 2;border-color:rgba(54,245,197,.25)!important;background:#0B1416!important;justify-content:space-between}
.hx-bento-main h3{font-size:clamp(26px,2.6vw,34px)}
.hx-bento-wide{grid-column:span 2;flex-direction:row!important;align-items:center;justify-content:space-between;flex-wrap:wrap}
.hx-bento-wide span{font-family:var(--hx-mono);color:var(--hx-muted);font-size:14px}
.hx-cta-band{border-radius:32px;background:var(--hx-acc);color:var(--hx-ink);padding:52px 48px;display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}
.hx-cta-band h2{margin:0;font-family:var(--hx-display);font-weight:800;font-size:clamp(30px,3.6vw,46px)}
.hx-cta-band p{margin:8px 0 0;font-size:18px;font-weight:500}
@media (max-width:980px){.hx-bento{grid-template-columns:repeat(2,minmax(0,1fr))}.hx-bento-main,.hx-bento-wide{grid-column:span 2;grid-row:auto}}
@media (max-width:620px){.hx-wrap{width:calc(100% - 32px)}.hx-hero{padding:32px 0 24px}.hx-hero-copy{gap:20px}.hx-hero-copy>p{font-size:16px}.hx-hero-actions .hx-btn{flex:1 1 100%}.hx-stage{height:400px}.hx-scard-front{width:210px;margin-left:-105px;top:30px}.hx-scard-front img{height:190px}.hx-scard-left,.hx-scard-right{width:165px;top:80px}.hx-scard img,.hx-scard .hx-noimg{height:150px}.hx-scard-meta{padding:10px 12px;font-size:13px}.hx-float-top{top:0;left:8px;padding:9px 12px}.hx-float-bottom{bottom:6px;right:8px;padding:9px 12px}.hx-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding-block:28px 0}.hx-stats>div{padding:14px 8px;text-align:center;border-radius:18px}.hx-stats b{font-size:20px;text-align:center}.hx-stats span{font-size:12px}.hx-section{padding:44px 0}.hx-bento{grid-template-columns:1fr}.hx-bento-main,.hx-bento-wide{grid-column:auto}.hx-cta-band{padding:32px 24px;border-radius:26px}.hx-cta-band .hx-btn{width:100%}}
/* footer */
.site-footer.hx-footer{border-top:1px solid rgba(255,255,255,.07);background:#080A0E;padding:0;margin-top:24px}
.hx-foot-top{display:flex;justify-content:space-between;gap:40px;flex-wrap:wrap;padding:56px 0 32px}
.hx-foot-brand{display:flex;flex-direction:column;gap:14px;max-width:340px}
.hx-foot-brand p{margin:0;color:var(--hx-dim);font-size:15px;line-height:1.7}
.hx-foot-brand .hx-brand{cursor:default}
.hx-foot-cols{display:flex;gap:64px;flex-wrap:wrap}
.hx-foot-cols>div{display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.hx-foot-cols h4{margin:0 0 4px;font-size:15px}
.hx-foot-cols button,.hx-foot-cols a{border:0;background:none;padding:2px 0;color:var(--hx-muted);font:inherit;font-size:15px;cursor:pointer}
.hx-foot-cols button:hover,.hx-foot-cols a:hover{color:var(--hx-text)}
.hx-foot-bottom{border-top:1px solid rgba(255,255,255,.07);padding:22px 0 30px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:13px;color:var(--hx-dim)}

.hx-mobile{z-index:85}
.hx-mobile .btn.primary{background:var(--hx-acc);color:var(--hx-ink);border-color:transparent;font-weight:700}
