/* ============================================
   AL-QAND EXCHANGE — FOOTER
   ============================================ */

/* ---------- Footer ---------- */
footer {
    border-top: 2px solid var(--orange);
    padding: 60px 0 30px;
    background: rgba(10, 10, 10, 0.55);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
    backdrop-filter: blur(18px) saturate(120%);
    position: relative;
    z-index: 1;
}

.footer-top {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-cols {
    display: flex;
    gap: 70px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-col {
    text-align: center;
}

.footer-col .mono {
    color: var(--orange-soft);
    display: block;
    margin-bottom: 18px;
    font-family: var(--font-mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.72rem;
}

.footer-col a {
    display: block;
    font-size: 0.92rem;
    color: var(--ink-soft);
    padding: 6px 0;
    transition: all 0.2s;
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--orange);
    transform: translateX(4px);
}

.footer-col span {
    font-size: 0.85rem;
    color: var(--ink-soft);
    padding: 6px 0;
    display: block;
}

.footer-wordmark {
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 14vw, 9rem);
    font-weight: 800;
    line-height: 0.85;
    color: var(--orange);
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 24px;
    user-select: none;
    opacity: 0.15;
    text-shadow: 0 0 60px var(--orange-glow);
    direction: ltr;
    unicode-bidi: isolate;
}

.footer-wordmark.wave span {
    display: inline-block;
    animation: waveJump 1.2s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes waveJump {
    0% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(calc(var(--jump-height, 30px) * -1));
    }
}

.footer-wordmark.wave:hover span {
    animation-play-state: paused;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.8rem;
    color: var(--ink-soft);
    border-top: 1px solid rgba(232, 93, 4, 0.1);
    padding-top: 26px;
    /* extra clearance so the fixed back-to-top button never covers this text */
    padding-bottom: 70px;
    padding-inline-end: 90px;
}

.footer-bottom a {
    color: var(--ink-soft);
    transition: color 0.2s;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--orange);
}

footer .footer-col a,
footer .footer-col span,
footer .footer-bottom,
footer .footer-bottom a {
    color: rgba(255, 255, 255, 0.72);
}

footer .footer-col a:hover,
footer .footer-bottom a:hover {
    color: var(--orange-soft);
}

footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 900px) {
    .footer-cols {
        gap: 40px;
    }
}

@media (max-width: 600px) {
    footer {
        padding: 40px 0 20px;
    }
    
    .footer-top {
        margin-bottom: 40px;
        gap: 30px;
    }
    
    .footer-cols {
        flex-direction: column;
        gap: 30px;
        width: 100%;
    }
    
    .footer-col a {
        font-size: 0.85rem;
        padding: 5px 0;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding-top: 20px;
        font-size: 0.75rem;
        padding-inline-end: 0;
        padding-bottom: 60px;
    }
}

@media (max-width: 400px) {
    .footer-wordmark {
        font-size: clamp(2.5rem, 12vw, 3.5rem);
    }
}
