/* =========================================================
   POKENEXO // FOOTER
   ========================================================= */

.site-footer {
    position: relative;
    margin-top: 80px;
    padding: 0 clamp(22px, 6vw, 90px);
    color: #f5f4ff;
    background:
        linear-gradient(rgba(17, 19, 48, 0.96), rgba(14, 16, 39, 0.99)),
        repeating-linear-gradient(
            135deg,
            transparent 0,
            transparent 35px,
            rgba(150, 155, 255, 0.035) 36px,
            rgba(150, 155, 255, 0.035) 37px
        );
    border-top: 1px solid rgba(190, 190, 255, 0.25);
    font-family: "Segoe UI", Arial, sans-serif;
}

.site-footer a {
    color: inherit;
    text-decoration: none;
}

.site-footer a:focus-visible {
    outline: 2px solid #a9b4ff;
    outline-offset: 5px;
}

.footer-collaborations {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 38px 0 32px;
    border-bottom: 1px solid rgba(190, 190, 255, 0.16);
    text-align: center;
}

.footer-collaborations h2 {
    margin: 0;
    font-size: clamp(1.2rem, 2.5vw, 1.65rem);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.footer-partner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(300px, 85%);
    margin-top: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    transition: opacity 180ms ease;
}

.footer-partner:hover {
    opacity: 0.85;
}

.footer-partner img {
    display: block;
    width: 100%;
    max-height: 100px;
    object-fit: contain;
}

.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 34px 0;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.footer-brand img {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.footer-brand span {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-brand strong {
    font-size: 0.95rem;
    letter-spacing: 0.16em;
}

.footer-brand small {
    color: #b9bad3;
    font-size: 0.78rem;
    line-height: 1.5;
}

.footer-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 24px;
}

.footer-navigation a,
.footer-legal a {
    color: #d4d4e8;
    font-size: 0.86rem;
    transition: color 160ms ease;
}

.footer-navigation a:hover,
.footer-legal a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 17px 0 22px;
    border-top: 1px solid rgba(190, 190, 255, 0.16);
    color: #a7a8c2;
    font-size: 0.76rem;
}

.footer-bottom-info {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 10px 18px;
    flex: 1;
    min-width: 0;
}

.footer-copyright {
    white-space: nowrap;
}

.footer-disclaimer {
    margin: 0;
    color: #a7a8c2;
    font-size: 0.72rem;
    line-height: 1.6;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    text-align: right;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
    }

    .footer-bottom-info {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .footer-legal {
        text-align: left;
        white-space: normal;
    }
}

@media (max-width: 700px) {
    .site-footer {
        margin-top: 55px;
        padding-right: 22px;
        padding-left: 22px;
    }

    .footer-main {
        align-items: flex-start;
        flex-direction: column;
        gap: 26px;
    }

    .footer-navigation {
        justify-content: flex-start;
        gap: 14px 22px;
    }

    .footer-partner {
        width: min(280px, 90%);
    }

    .footer-partner img {
        max-height: 90px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-partner,
    .footer-navigation a,
    .footer-legal a {
        transition: none;
    }
}
