.footer {
    background: linear-gradient(135deg,
        var(--oneinch-card-bg) 0%,
        rgba(19, 23, 32, 0.95) 100%
    );
    border-top: 1px solid var(--oneinch-border);
    margin-top: 2rem !important;
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        var(--oneinch-blue),
        var(--oneinch-accent-green),
        transparent
    );
    opacity: 0.8;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer .row {
    align-items: center;
    min-height: 60px;
}

.footer-brand p {
    color: var(--oneinch-text-secondary);
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.5;
}

.footer-brand span[data-translate] {
    color: var(--oneinch-text-primary);
    font-weight: 600;
}

.footer-year {
    color: var(--oneinch-blue);
    font-weight: 700;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.25rem;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.footer-links a {
    color: var(--oneinch-text-tertiary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    position: relative;
    border: 1px solid transparent;
    white-space: nowrap;
    flex-shrink: 0;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--oneinch-blue), var(--oneinch-accent-green));
    transition: all var(--transition-fast);
    transform: translateX(-50%);
    border-radius: 1px;
}

.footer-links a:hover {
    color: var(--oneinch-text-primary);
    background: rgba(44, 94, 255, 0.1);
    border-color: rgba(44, 94, 255, 0.3);
    transform: translateY(-1px);
}

.footer-links a:hover::before {
    width: 80%;
}

@media (max-width: 768px) {
    .footer {
        padding: 1.5rem 0;
    }

    .footer .row {
        flex-direction: column !important;
        text-align: center;
        gap: 1rem;
        justify-content: center !important;
    }

    .footer-brand {
        flex: none !important;
        width: 100%;
    }

    .footer-brand p {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .footer-links {
        justify-content: center !important;
        gap: 0.25rem;
        flex-wrap: nowrap !important;
        flex: none !important;
        margin-left: 0 !important;
        width: 100%;
    }

}

@media (max-width: 710px) {
    .footer {
        padding: 1rem 0;
    }

    .footer .container {
        padding: 0 1rem;
    }

    .footer-brand p {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .footer-links a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 0.6rem 1rem;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: var(--radius-lg);
    }

    .footer-links a:hover {
        background: rgba(44, 94, 255, 0.15);
        border-color: rgba(44, 94, 255, 0.4);
    }
}

.footer-links a:focus {
    outline: 2px solid var(--oneinch-blue);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(44, 94, 255, 0.2);
}

.footer-links a:active {
    transform: scale(0.98);
}

@media (min-width: 1200px) {

    .footer .row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    .footer-brand {
        flex: 1;
        min-width: 0;
    }

    .footer-links {
        flex: 0 0 auto;
        margin-left: 1rem;
        flex-wrap: nowrap !important;
        gap: 0.5rem;
        justify-content: flex-end;
    }

    .footer-links a {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        white-space: nowrap;
        flex-shrink: 0;
    }
}

@media (min-width: 769px) and (max-width: 1199px) {

    .footer .row {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        text-align: center;
    }

    .footer-brand {
        width: 100%;
    }

    .footer-links {
        flex-wrap: nowrap !important;
        gap: 0.25rem;
        justify-content: center;
        width: 100%;
        margin-left: 0;
    }

    .footer-links a {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
        white-space: nowrap;
        flex-shrink: 0;
    }
}
