/* ---- Arabic fonts: same family names as the original, Arabic glyphs only ---- */
:root{--ar-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F,U+060C,U+061B,U+061F,U+00AB,U+00BB}
@font-face{font-family:"PP Pangaia";src:url(/fonts/amiri-arabic-400-normal.woff2)format("woff2");font-weight:300;font-style:normal;font-display:swap;unicode-range:var(--ar-range)}
@font-face{font-family:Switzer;src:url(/fonts/ibm-plex-sans-arabic-arabic-300-normal.woff2)format("woff2");font-weight:100 399;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F,U+060C,U+061B,U+061F,U+00AB,U+00BB}
@font-face{font-family:Switzer;src:url(/fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2)format("woff2");font-weight:400;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F,U+060C,U+061B,U+061F,U+00AB,U+00BB}
@font-face{font-family:Switzer;src:url(/fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2)format("woff2");font-weight:500;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F,U+060C,U+061B,U+061F,U+00AB,U+00BB}
@font-face{font-family:Switzer;src:url(/fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2)format("woff2");font-weight:600;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F,U+060C,U+061B,U+061F,U+00AB,U+00BB}
@font-face{font-family:Switzer;src:url(/fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2)format("woff2");font-weight:700 900;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F,U+060C,U+061B,U+061F,U+00AB,U+00BB}
/* used by the 3D hero cards (canvas text) */
@font-face{font-family:"IBM Plex Sans Arabic";src:url(/fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2)format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"IBM Plex Sans Arabic";src:url(/fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2)format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:"IBM Plex Sans Arabic";src:url(/fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2)format("woff2");font-weight:700 900;font-display:swap}

/* ---- Arabic text rules: no tracking (breaks letter joining), taller lines ---- */
*{letter-spacing:normal!important}
html{direction:rtl}
h1,h2,h3,p{line-height:1.35}

/* ---- accounts (replaces the waitlist form) ---- */
.pf-accounts{display:flex!important;flex-wrap:wrap;justify-content:center;gap:12px;max-width:880px;margin-inline:auto;border:0!important;background:none!important}
.pf-acc{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:150px;padding:14px 22px;border:1px solid rgba(255,255,255,.28);border-radius:22px;color:#fff;text-decoration:none;font-family:Switzer,sans-serif;background:rgba(255,255,255,.04);transition:background .25s,transform .25s,border-color .25s;opacity:0;animation:pf-in .7s cubic-bezier(.2,.7,.2,1) forwards}
.pf-acc:hover,.pf-acc:focus-visible{background:#ffcdff;color:#000;border-color:#ffcdff;transform:translateY(-3px)}
.pf-acc-name{font-weight:700;font-size:18px}
.pf-acc-handle{font-size:13px;opacity:.7;direction:ltr;unicode-bidi:isolate}
@keyframes pf-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}

[class*="_number_"]{direction:ltr;unicode-bidi:isolate}

/* works list: keep the original staggered geometry, text inside stays RTL */
[class*="_s5list_"]{direction:ltr}
[class*="_s5row_"]>div{direction:rtl}
[class*="_s5row_"]>div:first-child{text-align:right}

/* footer: letters are animated one by one, keep their order */
[class*="_bottom_"]{direction:ltr}
.pf-accounts{width:min(900px,92vw)!important;max-width:none!important;flex-direction:row!important}
[class*="_bottom_"]>*:nth-child(2){direction:rtl}
[class*="_bottom_"]>*:nth-child(2) *{direction:rtl}

/* ---- fix overlapping / clipped Arabic lines (Arabic needs taller lines than caps Latin) ---- */
[class*="_colL_"],[class*="_colR_"]{line-height:1.3!important;gap:.05em}
[class*="_head_194d4"]{line-height:1.32!important;font-size:5.2vw!important}
[class*="_nameFront_"],[class*="_nameBack_"]{line-height:1.2!important}
[class*="_wordMask_"]{padding:.3em .08em .45em!important;margin:-.3em -.08em -.45em!important}

/* ---- music button inside the floating pill ---- */
.pf-music{flex:none;width:44px;height:44px;border:0;border-radius:50%;background:var(--pill-btn-bg,#ffffff24);color:var(--pill-btn-fg,#ffcdff);display:grid;place-items:center;cursor:pointer;padding:0;transition:background .35s,color .35s,filter .15s,transform .2s}
.pf-music:hover,.pf-music:focus-visible{filter:brightness(1.15);transform:scale(1.06)}
.pf-music svg{width:20px;height:20px;display:block}
.pf-music .pf-ic-on{display:none}
.pf-music[data-state="on"] .pf-ic-on{display:block}
.pf-music[data-state="on"] .pf-ic-off{display:none}
