﻿/* =========================================================
   WORLDS TCG - FOOTER
   ========================================================= */

.worlds-footer,
.worlds-footer * {
    box-sizing: border-box;
}

.worlds-footer {
    position: relative;
    width: 100%;
    flex-shrink: 0;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,.06);
    background: radial-gradient( circle at 5% 0%, rgba(244,196,48,.045), transparent 25% ), #050505;
    color: #fff;
}

    .worlds-footer::before {
        content: "";
        position: absolute;
        top: 0;
        left: 8%;
        width: 260px;
        height: 1px;
        background: linear-gradient( 90deg, transparent, #f4c430, transparent );
        opacity: .65;
    }

.worlds-footer-shell {
    width: min(100%, 1500px);
    margin: 0 auto;
    padding: 34px clamp(22px, 3.5vw, 52px) 20px;
}

/* =========================================================
   TOP
   ========================================================= */

.worlds-footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
}

/* =========================================================
   BRAND
   ========================================================= */

.worlds-footer-brand {
    max-width: 390px;
}

.worlds-footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
}

.worlds-footer-logo {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid rgba(244,196,48,.18);
    border-radius: 11px;
    background: radial-gradient( circle, rgba(244,196,48,.09), transparent 72% ), #080806;
}

    .worlds-footer-logo img {
        width: 40px;
        height: 40px;
        display: block;
        object-fit: contain;
    }

.worlds-footer-brand-name {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

    .worlds-footer-brand-name strong {
        color: #f4c430;
        font-size: .75rem;
        font-weight: 900;
        letter-spacing: .12em;
    }

    .worlds-footer-brand-name small {
        color: rgba(255,255,255,.3);
        font-size: .46rem;
        font-weight: 800;
        letter-spacing: .15em;
    }

.worlds-footer-brand p {
    max-width: 360px;
    margin: 15px 0 0;
    color: rgba(255,255,255,.4);
    font-size: .67rem;
    line-height: 1.65;
}

/* =========================================================
   NAVIGATION
   ========================================================= */

.worlds-footer-navigation {
    display: flex;
    align-items: flex-start;
    gap: clamp(55px, 7vw, 100px);
}

.worlds-footer-column {
    min-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.worlds-footer-title {
    margin-bottom: 4px;
    color: #f4c430;
    font-size: .53rem;
    font-weight: 900;
    letter-spacing: .16em;
}

.worlds-footer-column a {
    position: relative;
    color: rgba(255,255,255,.5);
    font-size: .65rem;
    font-weight: 650;
    text-decoration: none;
    transition: color .17s ease, transform .17s ease;
}

    .worlds-footer-column a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -3px;
        width: 0;
        height: 1px;
        background: #f4c430;
        transition: width .17s ease;
    }

    .worlds-footer-column a:hover {
        color: #fff;
        transform: translateX(2px);
    }

        .worlds-footer-column a:hover::after {
            width: 100%;
        }

/* =========================================================
   DIVIDER
   ========================================================= */

.worlds-footer-divider {
    width: 100%;
    height: 1px;
    margin: 28px 0 16px;
    background: linear-gradient( 90deg, rgba(244,196,48,.2), rgba(255,255,255,.055) 25%, rgba(255,255,255,.055) 75%, transparent );
}

/* =========================================================
   BOTTOM
   ========================================================= */

.worlds-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.worlds-footer-copyright {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,.3);
    font-size: .59rem;
    font-weight: 600;
}

.worlds-footer-status {
    width: 5px;
    height: 5px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #f4c430;
    box-shadow: 0 0 8px rgba(244,196,48,.6);
}

.worlds-footer-separator {
    color: rgba(255,255,255,.12);
}

.worlds-footer-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.27);
    font-size: .5rem;
    font-weight: 900;
    letter-spacing: .14em;
}

.worlds-footer-version {
    padding: 5px 7px;
    border: 1px solid rgba(244,196,48,.16);
    border-radius: 6px;
    background: rgba(244,196,48,.025);
    color: rgba(244,196,48,.72);
    font-size: .48rem;
    letter-spacing: .06em;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 800px) {
    .worlds-footer-shell {
        padding: 30px 20px 18px;
    }

    .worlds-footer-top {
        flex-direction: column;
        gap: 30px;
    }

    .worlds-footer-brand {
        max-width: 100%;
    }

    .worlds-footer-navigation {
        width: 100%;
        justify-content: flex-start;
        gap: 70px;
    }
}

@media (max-width: 520px) {
    .worlds-footer-shell {
        padding: 26px 15px 17px;
    }

    .worlds-footer-navigation {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px;
    }

    .worlds-footer-column {
        min-width: 0;
    }

    .worlds-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .worlds-footer-copyright {
        flex-wrap: wrap;
        line-height: 1.5;
    }

    .worlds-footer-separator {
        display: none;
    }
}

@media (max-width: 360px) {
    .worlds-footer-navigation {
        grid-template-columns: 1fr;
    }
}
