/* Footer - Simple */
.main-footer {
    padding: 17px 0;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
    position: relative;
    background-color: var(--bg-primary);
}

@media (min-width: 769px) {
    .main-footer {
        min-height: 53px;
        box-sizing: border-box;
        /* Ensure padding is included */
    }
}

/* Landing page footer - no bottom margin */
.landing-footer-simple {
    margin-bottom: 0;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    padding: 0 15px;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: var(--font-14);
    font-family: var(--fontBa);
}

.footer-links-inline {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links-inline a {
    color: var(--text-muted);
    font-size: var(--font-14);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links-inline a:hover {
    color: var(--text-primary);
}

/* ===== Footer Vector Arts ===== */
.footer-vector-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.footer-vector-decorations svg {
    position: absolute;
    pointer-events: auto;
    transition: transform 0.3s ease;
}

.footer-sparkle {
    width: 16px;
    height: 16px;
    left: 8%;
    top: 50%;
    transform: translateY(-50%);
    animation: starTwinkle 2s ease-in-out infinite;
}

.footer-wave {
    width: 80px;
    height: 12px;
    left: 15%;
    top: 50%;
    transform: translateY(-50%);
    animation: waveMove 4s ease-in-out infinite;
}

@keyframes waveMove {

    0%,
    100% {
        transform: translateY(-50%) translateX(0);
    }

    50% {
        transform: translateY(-50%) translateX(5px);
    }
}

.footer-arrow-up {
    width: 18px;
    height: 28px;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    animation: arrowBob 2s ease-in-out infinite;
}

@keyframes arrowBob {

    0%,
    100% {
        transform: translateY(-50%);
    }

    50% {
        transform: translateY(calc(-50% - 4px));
    }
}

@keyframes starTwinkle {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.15);
    }
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .footer-vector-decorations {
        opacity: 0.5;
    }
}

@media (max-width: 768px) {
    .main-footer {
        margin-bottom: 50px;
    }

    .footer-inner {
        flex-direction: column-reverse;
        align-items: center;
        gap: 20px;
        text-align: center;
    }

    .footer-links-inline {
        gap: 15px;
        justify-content: center;
    }

    .footer-vector-decorations {
        display: none;
    }
}