/* ============================================================
   MXUber footer polish layer
   Global (loaded on every front page, after the chrome layer).
   Dark band #0B0D12, white ink, 200ms ease, no gradients.
   ============================================================ */

/* ------------------------------------------------------------
   1. Entrance — subtle fadeIn on load
   ------------------------------------------------------------ */
.mx-footer {
    animation: mx-footer-in 0.5s ease both;
}

@keyframes mx-footer-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ------------------------------------------------------------
   2. Links — gray to white (200ms) + underline slide-in
   ------------------------------------------------------------ */
.mx-footer__col a {
    position: relative;
    width: fit-content;
    transition: color 0.2s ease;
}

.mx-footer__col a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 1px;
    width: 0;
    background: #ffffff;
    transition: width 0.2s ease;
}

.mx-footer__col a:hover,
.mx-footer__col a:focus-visible {
    color: #ffffff;
}

.mx-footer__col a:hover::after,
.mx-footer__col a:focus-visible::after {
    width: 100%;
}

/* ------------------------------------------------------------
   3. Newsletter input — white focus ring, 2px, offset 3px
   ------------------------------------------------------------ */
.mx-footer .mx-newsletter__input {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.mx-footer .mx-newsletter__input:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

/* ------------------------------------------------------------
   4. Subscribe button — press feedback
   ------------------------------------------------------------ */
.mx-footer .mx-btn--primary {
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.mx-footer .mx-btn--primary:active {
    transform: translateY(1px) scale(0.98);
}

/* ------------------------------------------------------------
   5. Store badges — hover lift + border brighten
   ------------------------------------------------------------ */
.mx-footer__stores {
    gap: 12px;
}

.mx-footer__stores a {
    display: inline-flex;
    align-items: center;
    padding: 9px 16px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    transition: transform 0.2s ease, border-color 0.2s ease,
        background-color 0.2s ease;
}

.mx-footer__stores a:hover {
    transform: translateY(-2px);
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    text-decoration: none;
}

/* ------------------------------------------------------------
   6. Column hover — white line indicator on the left edge
      (lives inside the 32px grid gap, so nothing shifts)
   ------------------------------------------------------------ */
.mx-footer__col {
    position: relative;
}

.mx-footer__col::before {
    content: "";
    position: absolute;
    left: -16px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    border-radius: 2px;
    background: #ffffff;
    opacity: 0;
    transform: scaleY(0.4);
    transform-origin: top;
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.mx-footer__col:hover::before {
    opacity: 0.9;
    transform: scaleY(1);
}

body.rtl .mx-footer__col::before {
    left: auto;
    right: -16px;
    transform-origin: top;
}

/* stacked columns: no room for the indicator */
@media (max-width: 991.98px) {
    .mx-footer__col::before {
        display: none;
    }
}
