/* ==========================================================================
   ARC GAMES — Footer
   Mobile First
   ========================================================================== */


/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.arc-footer {
    width: 100%;
    margin: 0;
    padding: 0;

    background: var(--arc-bg-dark);

    border-top: 1px solid rgba(0, 229, 255, 0.65);

    box-shadow:
        0 -1px 6px rgba(0, 229, 255, 0.35);
}


/* --------------------------------------------------------------------------
   Footer inner
   -------------------------------------------------------------------------- */

.arc-footer-inner {
    position: relative;

    display: grid;

    grid-template-columns: 1fr auto;

    align-items: center;

    height: 100px;
    min-height: 100px;

    padding: 0;
}


/* --------------------------------------------------------------------------
   Información legal
   -------------------------------------------------------------------------- */

.arc-footer-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    min-width: 0;

    padding-bottom: 14px;
}

.arc-footer-brand {
    margin: 0 0 2px;

    font-family: var(--arc-font-heading);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1;
}

.arc-footer-brand-name {
    color: #ffffff;
}

.arc-footer-brand-3d {
    color: var(--arc-primary);
}


/* --------------------------------------------------------------------------
   Políticas
   -------------------------------------------------------------------------- */

.arc-footer-policies {
    display: flex;
    flex-direction: column;

    gap: 0;
}

.arc-footer-policies a {
    display: block;

    width: fit-content;

    color: #ffffff;

    font-family: var(--arc-font-main);
    font-size: 0.58rem;
    font-weight: 400;
    line-height: 1.1;

    transition:
        color 200ms ease,
        text-shadow 200ms ease;
}

.arc-footer-policies a:hover,
.arc-footer-policies a:focus-visible {
    color: var(--arc-primary);

    text-shadow:
        0 0 6px rgba(0, 229, 255, 0.75),
        0 0 12px rgba(0, 229, 255, 0.40);
}


/* --------------------------------------------------------------------------
   Redes sociales
   -------------------------------------------------------------------------- */

.arc-footer-social {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 16px;

    padding-bottom: 14px;
}

.arc-footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;
}

.arc-footer-social-link img {
    display: block;

    width: 100%;
    height: auto;

    transition:
        filter 200ms ease,
        transform 200ms ease;
}

.arc-footer-social-link:hover img,
.arc-footer-social-link:focus-visible img {
    filter:
        drop-shadow(0 0 5px rgba(0, 229, 255, 0.90))
        drop-shadow(0 0 12px rgba(0, 229, 255, 0.55));

    transform: translateY(-1px);
}


/* --------------------------------------------------------------------------
   Extrusor
   -------------------------------------------------------------------------- */

.arc-footer-extruder {
    position: absolute;

    top: 0;
    right: 0;

    display: flex;
    align-items: flex-start;
    justify-content: flex-end;

    height: 82px;

    overflow: hidden;

    transform: translateY(-3.5px);

    pointer-events: none;
}

.arc-footer-extruder img {
    display: block;

    width: auto;
    height: 82px;

    object-fit: contain;
    object-position: right top;
}


/* --------------------------------------------------------------------------
   Copyright
   -------------------------------------------------------------------------- */

.arc-footer-bottom {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 4px;

    padding-top: 3px;

    border-top: 1px solid rgba(0, 229, 255, 0.15);
}

.arc-footer-bottom p {
    margin: 0;

    color: #ffffff;

    font-family: var(--arc-font-main);
    font-size: 0.48rem;
    font-weight: 400;
    line-height: 1;
}


/* --------------------------------------------------------------------------
   Small mobile
   -------------------------------------------------------------------------- */

@media (max-width: 767px) {

    .arc-footer-inner {
        grid-template-columns: minmax(0, 1fr) auto;

        height: 100px;
        min-height: 100px;
    }

    .arc-footer-brand {
        font-size: 0.78rem;
    }

    .arc-footer-social {
        gap: 8px;
    }

    .arc-footer-social-link {
        width: 34px;
        height: 34px;
    }

    .arc-footer-extruder {
        display: none;
    }

}


/* --------------------------------------------------------------------------
   Tablet
   -------------------------------------------------------------------------- */

@media (min-width: 768px) {

    .arc-footer-inner {
        grid-template-columns: 1fr 1fr 1fr;

        height: 100px;
        min-height: 100px;
    }

    .arc-footer-info {
        justify-content: center;

        padding-bottom: 14px;
    }

    .arc-footer-social {
        align-items: center;
        justify-content: center;

        gap: 28px;

        padding-bottom: 14px;
    }

    .arc-footer-social-link {
        width: 40px;
        height: 40px;
    }

    .arc-footer-extruder {
        position: absolute;

        top: 0;
        right: 0;

        align-items: flex-start;
        justify-content: flex-end;

        height: 82px;
    }

    .arc-footer-extruder img {
        width: auto;
        height: 82px;

        object-position: right top;
    }
}


/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .arc-footer-social-link img,
    .arc-footer-policies a {
        transition: none;
    }

}