/* Mobile Footer Design Improvements */

/* Enhanced mobile footer styling */
@media (max-width: 767px) {
    .app-container > footer.newFooter,
    footer.newFooter {
        background: linear-gradient(135deg, #997133 0%, #8A6A3A 50%, #7A5F41 100%);
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
        border-top: 2px solid rgba(255, 255, 255, 0.1);
        position: relative;
        bottom: 0;
        height: auto;
        min-height: 8rem;
        padding: 1.5rem 1rem;
        backdrop-filter: blur(10px);
        z-index: 999;
    }

    /* Enhanced footer links container */
    .footerLinks {
        display: flex;
        flex-wrap: wrap;
        gap: 0.8rem;
        align-items: center;
        justify-content: center;
        margin-bottom: 1.2rem;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    /* Enhanced footer links */
    .footerLinks a {
        font-size: 1.3rem;
        color: #fff;
        font-weight: 500;
        text-decoration: none;
        padding: 0.5rem 0.8rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        position: relative;
        overflow: hidden;
        text-align: center;
        min-width: fit-content;
    }

    .footerLinks a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s ease;
    }

    .footerLinks a:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .footerLinks a:hover::before {
        left: 100%;
    }

    .footerLinks a:active {
        transform: translateY(0);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }

    /* Enhanced separator spans */
    .footerLinks span {
        color: rgba(255, 255, 255, 0.7);
        font-size: 1.4rem;
        font-weight: 300;
        margin: 0 0.2rem;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
    }

    .footerLinks span:hover {
        color: rgba(255, 255, 255, 1);
        transform: scale(1.1);
    }

    /* Enhanced copyright section */
    .copyRights {
        color: rgba(255, 255, 255, 0.9);
        font-size: 1.1rem;
        font-weight: 400;
        text-align: center;
        margin-top: 1rem;
        padding: 0.8rem;
        background: rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        line-height: 1.4;
    }

    .copyRights span {
        display: block;
        margin-bottom: 0.3rem;
    }

    /* Enhanced footer container */
    .el7a2ona {
        background: linear-gradient(135deg, #997133 0%, #8A6A3A 50%, #7A5F41 100%);
        border-radius: 16px 16px 0 0;
        overflow: hidden;
        position: relative;
    }

    .el7a2ona::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    }

    /* Enhanced modal styling for footer modals */
    .modal-content {
        border-radius: 16px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(153, 113, 51, 0.2);
    }

    .modal-header {
        background: linear-gradient(135deg, #997133 0%, #8A6A3A 100%);
        color: #fff;
        border-radius: 16px 16px 0 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .modal-title {
        color: #fff;
        font-weight: 600;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }

    .modal-header .close {
        color: #fff;
        opacity: 0.8;
        transition: all 0.3s ease;
    }

    .modal-header .close:hover {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .app-container > footer.newFooter,
    footer.newFooter {
        padding: 1.2rem 0.8rem;
        min-height: 8rem;
    }

    .footerLinks {
        gap: 0.6rem;
        padding: 0.8rem;
        margin-bottom: 1rem;
    }

    .footerLinks a {
        font-size: 1.1rem;
        padding: 0.4rem 0.6rem;
    }

    .footerLinks span {
        font-size: 1.2rem;
        margin: 0 0.1rem;
    }

    .copyRights {
        font-size: 1rem;
        padding: 0.6rem;
        margin-top: 0.8rem;
    }
}

/* Small screens */
@media (min-width: 481px) and (max-width: 767px) {
    .app-container > footer.newFooter,
    footer.newFooter {
        padding: 1.5rem 1.2rem;
        min-height: 8.5rem;
    }

    .footerLinks {
        gap: 1rem;
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .footerLinks a {
        font-size: 1.2rem;
        padding: 0.5rem 1rem;
    }

    .copyRights {
        font-size: 1.2rem;
        padding: 1rem;
        margin-top: 1.2rem;
    }
}

/* Smooth transitions for all interactive elements */
footer.newFooter * {
    transition: all 0.3s ease;
}

/* Enhanced focus states for accessibility */
.footerLinks a:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
    background: rgba(255, 255, 255, 0.2);
}

/* Loading state for footer */
footer.newFooter.loading {
    opacity: 0.8;
    pointer-events: none;
}

/* Enhanced active states */
.footerLinks a:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Animation for footer appearance */
@keyframes footerSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

footer.newFooter {
    animation: footerSlideUp 0.5s ease-out;
}

/* Enhanced hover effects for better UX */
.footerLinks a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Improved text readability */
.footerLinks a,
.copyRights {
    letter-spacing: 0.02em;
}

/* Enhanced mobile responsiveness */
@media (max-width: 360px) {
    .footerLinks {
        gap: 0.5rem;
        padding: 0.6rem;
    }

    .footerLinks a {
        font-size: 1rem;
        padding: 0.3rem 0.5rem;
    }

    .footerLinks span {
        font-size: 1.1rem;
        margin: 0 0.08rem;
    }
} 