footer {
    background-color: #282028;
    padding: 0.8rem 0; /* Reduced padding */
    width: 100%;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem; /* Less spacing */
    padding: 0 1rem;
}

.footer-container p {
    font-size: 0.9rem; /* Slightly smaller text */
    margin: 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.2rem; /* Smaller gap */
    width: 100%;
    padding: 0;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem; /* Reduced size */
    padding: 0.3rem 0.6rem; /* Tighter padding */
    position: relative;
}

.footer-links a:hover {
    color: #ff99ff;
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1.5px;
    bottom: 0;
    left: 50%;
    background-color: #ff99ff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.footer-links a:hover::after {
    width: 80%;
}

@media (max-width: 768px) {
    .footer-container {
        gap: 0.8rem;
    }

    .footer-links {
        gap: 0.8rem;
    }
}
