/* بداية فوتر ثابت بسيط */
html{
height:100%;
}

body{
min-height:100vh;
}

.foa-live-page{
min-height:100vh;
}

.foa-site-footer{
position:relative;
width:100%;
height:88px;
z-index:5;
display:flex;
align-items:center;
justify-content:center;
padding:0 28px;
background:transparent;
border:0;
box-shadow:none;
pointer-events:none;
}

.foa-site-footer-inner{
width:100%;
max-width:1380px;
display:grid;
grid-template-columns:1fr auto 1fr;
align-items:center;
gap:22px;
pointer-events:auto;
}

.foa-footer-side{
font-size:13px;
line-height:1.5;
font-weight:800;
color:rgba(255,255,255,.58);
text-shadow:0 4px 18px rgba(0,0,0,.55);
}

.foa-footer-side strong{
display:block;
font-size:15px;
font-weight:900;
color:#ffffff;
}

.foa-footer-side-right{
text-align:right;
}

.foa-footer-side-left{
text-align:left;
}

.foa-footer-dev{
display:flex;
align-items:center;
justify-content:center;
gap:12px;
text-decoration:none;
color:#fff;
transition:.18s ease;
}

.foa-footer-dev:hover{
transform:translateY(-2px);
}

.foa-footer-avatar{
width:84px;
height:84px;
flex:0 0 84px;
display:flex;
align-items:center;
justify-content:center;
overflow:hidden;
border-radius:50%;
background:transparent;
}

.foa-footer-avatar img{
width:100%;
height:100%;
object-fit:contain;
display:block;
}

.foa-footer-dev-text{
display:flex;
flex-direction:column;
gap:2px;
line-height:1.2;
text-align:right;
}

.foa-footer-dev-text span{
font-size:12px;
font-weight:800;
color:rgba(255,255,255,.55);
}

.foa-footer-dev-text strong{
font-size:16px;
font-weight:900;
color:#8fc7ff;
text-shadow:0 0 14px rgba(77,163,255,.20);
}

@media(max-width:760px){

body{
padding-bottom:76px;
}

.foa-live-page{
min-height:calc(100vh - 76px);
}

.foa-site-footer{
height:76px;
padding:0 10px;
}

.foa-site-footer-inner{
grid-template-columns:1fr auto 1fr;
gap:8px;
}

.foa-footer-side{
font-size:8px;
line-height:1.35;
}

.foa-footer-side strong{
font-size:9px;
}

.foa-footer-dev{
gap:6px;
}

.foa-footer-avatar{
width:58px;
height:58px;
flex-basis:58px;
}

.foa-footer-dev-text span{
font-size:8px;
}

.foa-footer-dev-text strong{
font-size:10px;
}

}


/* بداية سوشيال الفوتر */
.foa-footer-socials{
display:flex;
align-items:center;
justify-content:flex-end;
gap:10px;
}

.foa-footer-socials a{
width:42px;
height:42px;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
text-decoration:none;
font-size:18px;
color:#fff;
background:rgba(255,255,255,.05);
backdrop-filter:blur(8px);
transition:
transform .18s ease,
background .18s ease,
color .18s ease;
}

.foa-footer-socials a:hover{
transform:translateY(-2px);
background:rgba(255,255,255,.12);
color:#8fc7ff;
}

@media(max-width:760px){

.foa-footer-socials{
gap:5px;
}

.foa-footer-socials a{
width:28px;
height:28px;
font-size:12px;
}

}
/* نهاية فوتر ثابت بسيط */


/* بداية توافق فوتر FOA مع قالب الطريق */


html:not([data-theme="dark"]) body:not(.ag-download-page-latest):not(.ag-download-page-previous) .foa-footer-side{
color:rgba(15,23,42,.62);
text-shadow:none;
}

html:not([data-theme="dark"]) body:not(.ag-download-page-latest):not(.ag-download-page-previous) .foa-footer-side strong{
color:#0f172a;
}

html:not([data-theme="dark"]) body:not(.ag-download-page-latest):not(.ag-download-page-previous) .foa-footer-dev-text span{
color:rgba(15,23,42,.55);
}

html:not([data-theme="dark"]) body:not(.ag-download-page-latest):not(.ag-download-page-previous) .foa-footer-dev-text strong{
color:#2563eb;
text-shadow:0 0 14px rgba(37,99,235,.12);
}

html:not([data-theme="dark"]) body:not(.ag-download-page-latest):not(.ag-download-page-previous) .foa-footer-socials a{
color:#2563eb;
background:rgba(255,255,255,.60);
}
/* نهاية توافق فوتر FOA مع قالب الطريق */

/* بداية أزرار صفحات الفوتر بدل السوشيال */
.foa-footer-pages{
display:grid;
grid-template-columns:repeat(3,minmax(0,1fr));
align-items:center;
justify-content:end;
gap:7px;
width:min(430px,100%);
}

.foa-footer-pages a{
min-height:30px;
display:flex;
align-items:center;
justify-content:center;
gap:7px;
padding:0 10px;
border-radius:12px;
text-decoration:none;
font-size:11px;
line-height:1;
font-weight:900;
color:#fff;
background:rgba(255,255,255,.05);
backdrop-filter:blur(8px);
transition:
transform .18s ease,
background .18s ease,
color .18s ease;
}

.foa-footer-pages a:hover{
transform:translateY(-2px);
background:rgba(255,255,255,.12);
color:#8fc7ff;
}

.foa-footer-pages i{
font-size:13px;
color:#8fc7ff;
}

html:not([data-theme="dark"]) body:not(.ag-download-page-latest):not(.ag-download-page-previous) .foa-footer-pages a{
color:#0f172a;
background:rgba(255,255,255,.60);
}

html:not([data-theme="dark"]) body:not(.ag-download-page-latest):not(.ag-download-page-previous) .foa-footer-pages i{
color:#2563eb;
}

@media(max-width:760px){

.foa-footer-pages{
grid-template-columns:repeat(2,minmax(0,1fr));
gap:4px;
width:100%;
}

.foa-footer-pages a{
min-height:23px;
padding:0 5px;
font-size:8px;
border-radius:8px;
gap:4px;
}

.foa-footer-pages i{
font-size:9px;
}

}
/* نهاية أزرار صفحات الفوتر بدل السوشيال */

/* بداية كود تأثير نص الطريق وتحريك أزرار الصفحات */
.foa-footer-side-right strong{
font-size:18px!important;
font-weight:1000!important;
color:#8fc7ff!important;
letter-spacing:-.4px!important;
text-shadow:
0 0 12px rgba(77,163,255,.35),
0 8px 20px rgba(0,0,0,.42)!important;
}

.foa-footer-side-right{
font-size:14px!important;
font-weight:900!important;
color:rgba(255,255,255,.72)!important;
text-shadow:0 6px 18px rgba(0,0,0,.45)!important;
}

.foa-footer-pages{
transform:translate(var(--foa-pages-x,-150px),var(--foa-pages-y,0px))!important;
}

html:not([data-theme="dark"]) body:not(.ag-download-page-latest):not(.ag-download-page-previous) .foa-footer-side-right strong{
color:#2563eb!important;
text-shadow:0 10px 26px rgba(37,99,235,.16)!important;
}

html:not([data-theme="dark"]) body:not(.ag-download-page-latest):not(.ag-download-page-previous) .foa-footer-side-right{
color:rgba(15,23,42,.72)!important;
text-shadow:none!important;
}

@media(max-width:760px){
.foa-footer-side-right strong{
font-size:10px!important;
}

.foa-footer-side-right{
font-size:8px!important;
}
}
/* نهاية كود تأثير نص الطريق وتحريك أزرار الصفحات */
