/* ===================================
   Footer — Modern RTL Design
   =================================== */

.ftr {
    direction: rtl;
    text-align: right;
    font-family: inherit;
}

/* --- Top section --- */
.ftr-top {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    padding: 50px 0 40px;
    color: #ccc;
}

.ftr-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

/* --- Brand column --- */
.ftr-brand {
    flex: 1.3;
    min-width: 250px;
}

.ftr-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 16px;
}

.ftr-logo img {
    height: 56px;
    border-radius: 12px;
}

.ftr-logo strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.ftr-logo span {
    display: block;
    font-size: 12px;
    color: #8899aa;
}

.ftr-desc {
    font-size: 13px;
    line-height: 1.8;
    color: #8899aa;
    margin: 0 0 20px;
    max-width: 320px;
}

/* Social icons */
.ftr-social {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ftr-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    color: #8899aa;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid rgba(255,255,255,0.06);
}

.ftr-social a:hover {
    background: #1875e3;
    color: #fff;
    border-color: #1875e3;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(24,117,227,0.3);
}

/* --- Links columns --- */
.ftr-links {
    flex: 1;
    min-width: 150px;
}

.ftr-links h6 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(24,117,227,0.4);
    display: inline-block;
}

.ftr-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ftr-links ul li {
    margin-bottom: 10px;
}

.ftr-links ul li a {
    font-size: 13px;
    color: #8899aa;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ftr-links ul li a::before {
    content: '\f104';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    opacity: 0;
    transform: translateX(6px);
    transition: all 0.2s ease;
    color: #1875e3;
}

.ftr-links ul li a:hover {
    color: #fff;
    padding-right: 4px;
}

.ftr-links ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* --- App download column --- */
.ftr-app {
    flex: 1;
    min-width: 170px;
}

.ftr-app h6 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(24,117,227,0.4);
    display: inline-block;
}

.ftr-app-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
}

.ftr-qr {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    background: #fff;
    padding: 6px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

.ftr-app-hint {
    font-size: 12px;
    color: #8899aa;
    margin: 0;
    line-height: 1.4;
}

.ftr-stores-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.ftr-stores-row a {
    display: block;
    transition: all 0.2s ease;
    border-radius: 8px;
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

.ftr-stores-row a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.ftr-stores-row img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* --- Bottom bar --- */
.ftr-bottom {
    background: #12121f;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.ftr-bottom .ftr-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.ftr-copy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 50px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}

.ftr-copy-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #1875e3;
    font-size: 11px;
}

.ftr-copy-text {
    font-size: 12px;
    color: #8899aa;
    margin: 0;
}

.ftr-copy-text strong {
    color: #fff;
    font-weight: 600;
}

.ftr-dev-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    text-decoration: none;
    transition: all 0.3s ease;
}

.ftr-dev-badge:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(24,117,227,0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(24,117,227,0.15);
}

.ftr-dev-label {
    font-size: 12px;
    color: #8899aa;
}

.ftr-dev-icon {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #1875e3, #4a9fff);
    color: #fff;
    font-size: 11px;
    box-shadow: 0 2px 8px rgba(24,117,227,0.3);
}

.ftr-dev-name {
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient(135deg, #1875e3, #4a9fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.3px;
}

.ftr-pay {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ftr-pay img {
    height: 28px;
    padding: 4px 10px;
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.2s;
    object-fit: contain;
}

.ftr-pay img:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-1px);
}

/* ===================================
   Responsive
   =================================== */
@media (max-width: 991px) {
    .ftr-container {
        gap: 30px;
    }

    .ftr-brand {
        flex: 1 1 100%;
        text-align: center;
    }

    .ftr-desc {
        max-width: 100%;
    }

    .ftr-logo {
        justify-content: center;
    }

    .ftr-social {
        justify-content: center;
    }

    .ftr-links {
        flex: 1 1 calc(50% - 20px);
        min-width: 140px;
    }

    .ftr-app {
        flex: 1 1 100%;
        text-align: center;
    }

    .ftr-app h6 {
        display: block;
        text-align: center;
    }

    .ftr-app-card {
        justify-content: center;
        max-width: 320px;
        margin: 0 auto;
    }

    .ftr-bottom .ftr-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .ftr-pay {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .ftr-top {
        padding: 36px 0 30px;
    }

    .ftr-links {
        flex: 1 1 100%;
        text-align: center;
    }

    .ftr-links h6 {
        display: block;
        text-align: center;
    }

    .ftr-links ul li a {
        justify-content: center;
    }

    .ftr-links ul li a::before {
        display: none;
    }
}
