.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 80px;
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 3px solid #dee2e6;
}

.footer-container {
    width: 90%;
    max-width: 1200px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.footer-title {
    font-family: "Roboto Flex", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: #212529;
    font-variation-settings:
        "wdth" 125,
        "wght" 900,
        "YTAS" 800,
        "XOPQ" 80,
        "XTRA" 500;
}

.footer-links-section,
.footer-region-section {
    display: flex;
    flex-direction: column;
}

.footer-section-title {
    font-family: "Roboto Flex", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 16px;
    font-weight: 600;
    color: #495057;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-variation-settings:
        "wdth" 115,
        "wght" 700,
        "YTAS" 800,
        "XOPQ" 80,
        "XTRA" 500;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    font-family: "Roboto Flex", sans-serif;
    font-size: 15px;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
    font-variation-settings:
        "wdth" 110,
        "wght" 500,
        "YTAS" 800,
        "XOPQ" 80,
        "XTRA" 500;
}

.footer-link:hover {
    color: #212529;
    transform: translateX(5px);
}

.footer-region {
    font-family: "Roboto Flex", sans-serif;
    font-size: 15px;
    color: #6c757d;
    margin: 0;
    font-variation-settings:
        "wdth" 110,
        "wght" 500,
        "YTAS" 800,
        "XOPQ" 80,
        "XTRA" 500;
}

/* Footer Divider */
.footer-divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #dee2e6, transparent);
    margin: 20px 0;
}

/* 88x31 Button Section */
.footer-88x31-section {
    text-align: center;
    margin: 30px 0;
}

.footer-88x31-section .footer-section-title {
    margin-bottom: 20px;
}

.footer-88x31-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    align-items: center;
}

.footer-88x31-grid a {
    display: inline-block;
    transition: transform 0.2s ease, filter 0.2s ease;
    line-height: 0;
}

.footer-88x31-grid a:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

.footer-88x31-grid img {
    width: 88px;
    height: 31px;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-copyright {
    font-family: "Roboto Flex", sans-serif;
    font-size: 14px;
    color: #6c757d;
    margin: 0;
    font-variation-settings:
        "wdth" 110,
        "wght" 500,
        "YTAS" 800,
        "XOPQ" 80,
        "XTRA" 500;
}

.footer-privacy-notice {
    font-family: "Roboto Flex", sans-serif;
    font-size: 13px;
    color: #868e96;
    margin: 0;
    font-variation-settings:
        "wdth" 105,
        "wght" 400,
        "YTAS" 800,
        "XOPQ" 80,
        "XTRA" 500;
}

/* Responsive Design */
@media only screen and (max-width: 768px) {
    .footer {
        margin-top: 60px;
        padding: 30px 0;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-brand {
        justify-content: center;
        text-align: center;
    }

    .footer-links-section,
    .footer-region-section {
        align-items: center;
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }

    .footer-link:hover {
        transform: translateX(0);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media only screen and (max-width: 550px) {
    .footer-container {
        width: 85%;
    }

    .footer-title {
        font-size: 20px;
    }

    .footer-logo {
        width: 40px;
        height: 40px;
    }

    .footer-section-title {
        font-size: 14px;
    }

    .footer-link,
    .footer-region {
        font-size: 14px;
    }

    .footer-copyright {
        font-size: 12px;
    }

    .footer-privacy-notice {
        font-size: 11px;
    }
}