
.site-footer,
.site-footer *{
    box-sizing: border-box;
}

.site-footer{
    margin-top: 60px;
    padding: 16px 18px 18px;

    background: rgba(255,255,255,.65);
    box-shadow:
        inset 0 1px 0 rgba(0,0,0,.06),
        0 -6px 18px rgba(0,0,0,.06);

    font-family: 'Quicksand', sans-serif;
}

.site-footer-inner{
    max-width: 1280px;
    margin: 0 auto;

    display: grid;
    gap: 14px;
}

.footer-top{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: start;
    min-width: 0;
}

.footer-rail{
    min-width: 0;
    background: rgba(255,255,255,.45);
    border-radius: 16px;
    padding: 10px 10px 8px;

    box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}

.footer-rail-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.footer-rail-title{
    display: inline-flex;
    align-items: center;
    gap: 8px;

    font-size: 12px;
    font-weight: 900;
    color: #4b3a2f;
}

.footer-rail-title i{
    font-size: 14px;
    color: #df5026;
}

.footer-rail-count{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 22px;
    height: 18px;
    padding: 0 6px;

    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;

    background: rgba(127,200,169,.30);
    color: #1f3d32;

    box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}

.footer-rail-more{
    display: inline-flex;
    align-items: center;
    gap: 8px;

    text-decoration: none;
    font-size: 12px;
    font-weight: 900;

    padding: 7px 10px;
    border-radius: 999px;

    background: rgba(255,255,255,.55);
    color: #4b3a2f;

    box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);

    transition: transform .12s ease, filter .15s ease;
}

.footer-rail-more:hover{
    transform: translateY(-1px);
    filter: brightness(1.02);
}

.footer-rail-track{
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 6px;
    min-width: 0;

    -webkit-overflow-scrolling: touch;
}

.footer-rail-track::-webkit-scrollbar{
    height: 8px;
}
.footer-rail-track::-webkit-scrollbar-thumb{
    background: #d6c2a2;
    border-radius: 999px;
}
.footer-rail-track::-webkit-scrollbar-track{
    background: rgba(255,255,255,.35);
    border-radius: 999px;
}

.footer-btn{
    flex: 0 0 auto;

    width: 116px;
    height: 48px;

    border-radius: 14px;
    background: rgba(255,255,255,.65);

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    box-shadow:
        inset 0 0 0 1px rgba(0,0,0,.06),
        0 6px 14px rgba(0,0,0,.06);

    transition: transform .12s ease, filter .15s ease, box-shadow .15s ease;
}

.footer-btn:hover{
    transform: translateY(-1px);
    filter: brightness(1.02);
    box-shadow:
        inset 0 0 0 1px rgba(0,0,0,.06),
        0 10px 18px rgba(0,0,0,.08);
}

.footer-btn img{
    width: 100px;
    height: 35px;
    object-fit: contain;
}

.footer-btn.is-fav{
    box-shadow:
        inset 0 0 0 2px rgba(248,128,93,.60),
        0 10px 18px rgba(223,80,38,.10);
}


.footer-bottom{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-left{
    font-size: 12px;
    font-weight: 700;
    color: rgba(75,58,47,.75);
}

.footer-left strong{
    font-weight: 900;
    color: #4b3a2f;
}

.footer-right{
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-link{
    display: inline-flex;
    align-items: center;
    gap: 8px;

    font-size: 12px;
    font-weight: 900;
    text-decoration: none;

    padding: 8px 12px;
    border-radius: 999px;

    background: linear-gradient(135deg, #f8805d, #df5026);
    color: #fff;

    box-shadow: 0 8px 16px rgba(223,80,38,.20);
    transition: transform .12s ease, filter .15s ease;
}

.footer-link i{
    font-size: 14px;
}

.footer-link:hover{
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.footer-link.admin{
    background: linear-gradient(135deg, #8ab8c8, #5c8fa6);
    box-shadow: 0 8px 16px rgba(92,143,166,.25);
}

.footer-link.admin:hover{
    filter: brightness(1.08);
}


@media (max-width: 900px){
    .footer-top{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px){
    .footer-bottom{
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-right{
        justify-content: center;
    }
}

.footer-online{
    display:flex;
    justify-content:center;
    text-align:center;
    padding: 10px 12px 14px;
    margin-bottom: 10px;

    font-family: "Karla", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-weight: 600;
    font-size: 14px;

    color: rgba(0,0,0,.72);
}

[data-theme="dark"] .footer-online{
    color: rgba(255,255,255,.78);
}
