.footerworlds {
    background: linear-gradient(90deg, var(--fw-bg-start), var(--fw-bg-end));
    color: var(--fw-text);
    font-size: var(--fw-item-size);
    line-height: var(--fw-line-height);
    width: 100%;
}

.footerworlds__inner {
    max-width: var(--fw-max-width);
    margin: 0 auto;
    padding: var(--fw-pad-top) var(--fw-pad-x) var(--fw-pad-bottom);
}

.footerworlds__grid {
    display: grid;
    grid-template-columns: repeat(var(--fw-grid-cols), minmax(0, 1fr));
    grid-template-rows: repeat(var(--fw-grid-rows), minmax(min-content, auto));
    gap: var(--fw-gap);
    align-items: start;
}

.footerworlds__brand-card {
    background: var(--fw-card-bg);
    border: 1px solid var(--fw-border);
    border-radius: var(--fw-card-radius);
    padding: 32px 28px 26px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    min-height: 100%;
}

.footerworlds__brand-top {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 26px;
}

.footerworlds__logo {
    max-width: 92px;
    width: 100%;
    height: auto;
    object-fit: contain;
    flex: 0 0 auto;
}

.footerworlds__brand-copy--solo,
.footerworlds__brand-copy {
    min-width: 0;
}

.footerworlds__brand-title {
    font-size: clamp(1.75rem, 2.2vw, 3rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0;
}

.footerworlds__brand-subtitle {
    color: var(--fw-accent);
    font-size: clamp(1rem, 1vw, 1.25rem);
    line-height: 1.15;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: pre-line;
    margin-top: 4px;
}

.footerworlds__brand-description {
    color: var(--fw-muted);
    font-size: var(--fw-item-size);
    line-height: var(--fw-line-height);
    margin-bottom: 28px;
}

.footerworlds__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    padding: 14px 22px;
    border-radius: var(--fw-button-radius);
    background: var(--fw-button-bg);
    color: var(--fw-button-text);
    text-decoration: none;
    font-weight: 700;
    font-size: calc(var(--fw-item-size) + 1px);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.footerworlds__button:hover,
.footerworlds__button:focus-visible {
    transform: translateY(-1px);
    opacity: 0.95;
}

.footerworlds__section {
    min-width: 0;
}

.footerworlds__heading {
    position: relative;
    margin: 0 0 26px;
    padding-bottom: 16px;
    font-size: var(--fw-heading-size);
    line-height: 1.15;
    font-weight: 700;
}

.footerworlds__heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 54px;
    height: 3px;
    border-radius: 999px;
    background: var(--fw-accent);
}

.footerworlds__link-list,
.footerworlds__bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footerworlds__link-list li,
.footerworlds__bottom-links li {
    margin: 0 0 18px;
}

.footerworlds__link-list li:last-child,
.footerworlds__bottom-links li:last-child {
    margin-bottom: 0;
}

.footerworlds__link-list a,
.footerworlds__bottom-links a,
.footerworlds__contact-value {
    color: var(--fw-text);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footerworlds__link-list a:hover,
.footerworlds__bottom-links a:hover,
.footerworlds__contact-value:hover,
.footerworlds__link-list a:focus-visible,
.footerworlds__bottom-links a:focus-visible,
.footerworlds__contact-value:focus-visible {
    opacity: 0.82;
}

.footerworlds__contact-list {
    display: grid;
    gap: 18px;
}

.footerworlds__contact-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: start;
}

.footerworlds__contact-label {
    font-weight: 800;
    white-space: nowrap;
}

.footerworlds__contact-value {
    white-space: pre-line;
}

.footerworlds__bottom {
    margin-top: 42px;
    padding-top: 22px;
    border-top: 1px solid var(--fw-bottom-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px 32px;
    flex-wrap: wrap;
}

.footerworlds__copyright {
    color: var(--fw-muted);
}

.footerworlds__bottom-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px 26px;
}

@media (max-width: 1199px) {
    .footerworlds__brand-top {
        gap: 14px;
    }

    .footerworlds__brand-card {
        padding: 26px 22px 22px;
    }
}

@media (max-width: 980px) {
    .footerworlds__grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .footerworlds__brand-card,
    .footerworlds__section {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .footerworlds__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footerworlds__bottom-links {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .footerworlds__brand-top {
        flex-direction: column;
    }

    .footerworlds__contact-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .footerworlds__contact-label {
        white-space: normal;
    }
}
