.footer {
    background: #1a0533;
    color: var(--gray-300);
}

.shared-footer {
    margin-top: 2rem;
}

.shared-footer .footer-col > p {
    max-width: 250px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
    line-height: 1.6;
}

.shared-footer .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
}

.shared-footer .footer-logo .logo-icon {
    width: 30px;
    height: 30px;
}

.shared-footer .footer-logo .logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.shared-footer .footer-logo .accent {
    color: var(--primary-light);
}

/* ── App Download Banner ───────────────────── */
.footer-app-banner {
    background: linear-gradient(135deg, #F07806 0%, #D96500 100%);
    padding: 1.5rem 0;
}

.footer-app-banner .footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-app-text h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.footer-app-text p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
}

.footer-app-badges {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.app-badge {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 1.125rem;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-fast);
}

.app-badge:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

.app-badge i {
    font-size: 1.5rem;
}

.app-badge div {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.app-badge span {
    font-size: 0.62rem;
    opacity: 0.85;
}

.app-badge strong {
    font-size: 0.9rem;
    font-weight: 700;
}

/* ── Footer Container ───────────────────── */
.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ── Footer Links Section ───────────────────── */
.footer-links {
    padding: 2.5rem 0 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-links .footer-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
    text-decoration: none;
    transition: color 0.2s ease;
    line-height: 1.5;
}

.footer-col ul a:hover {
    color: var(--primary-light);
}

/* ── Footer Bottom ───────────────────── */
.footer-bottom {
    padding: 1.25rem 0;
}

.footer-bottom .footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-logo-mini {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo-mini .logo-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-mini .logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-logo-mini .logo-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
}

.footer-logo-mini .accent {
    color: var(--primary);
}

.footer-bottom-left p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-left p a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-left p a:hover {
    color: var(--primary-light);
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
}

.footer-social a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-payments {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.footer-payments i {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.2s;
}

.footer-payments i:hover {
    color: rgba(255, 255, 255, 0.75);
}

/* ── Responsive ───────────────────── */
@media (max-width: 1100px) {
    .footer-links .footer-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-app-banner .footer-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .footer-app-badges {
        width: 100%;
    }

    .app-badge {
        flex: 1;
        justify-content: center;
    }

    .footer-links {
        padding: 2rem 0 1.5rem;
    }

    .footer-links .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer-container {
        padding: 0 1rem;
    }

    .shared-footer {
        margin-top: 1.25rem;
    }

    .footer-bottom .footer-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .footer-bottom-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .footer-bottom-right {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    .footer-app-text h3 {
        font-size: 1rem;
    }

    .footer-links .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem 1rem;
    }

    .footer-col h4 {
        font-size: 0.8rem;
    }

    .footer-col ul a {
        font-size: 0.78rem;
    }

    .footer-payments {
        gap: 0.4rem;
    }

    .footer-payments i {
        font-size: 1.4rem;
    }
}
