.terrace-foot {
    margin-top: 52px;
    padding: 0 0 20px;
    background: #080d18;
    border-top: 2px solid rgba(0, 149, 255, 0.35);
}

.terrace-foot__wrap {
    margin: 0 auto;
    padding: 0 20px;
}

.terrace-foot__mast {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    padding: 28px 0 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.terrace-foot__brand {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.terrace-foot__logo img {
    display: block;
    width: 50px;
    height: auto;
}

.terrace-foot__pitch-title {
    display: block;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}

.terrace-foot__pitch-text {
    margin: 0;
    color: rgba(134, 146, 172, 0.8);
    font-size: 12px;
    line-height: 1.55;
    max-width: 360px;
}

.terrace-foot__stores-label {
    display: block;
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #5a647a;
}

.terrace-foot__stores-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.terrace-foot__store {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 140px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
    margin-bottom: 15px;
}

.terrace-foot__store:hover {
    border-color: rgba(0, 149, 255, 0.45);
    transform: translateY(-1px);
}

.terrace-foot__store-os {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #0095ff;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.terrace-foot__store_android .terrace-foot__store-os {
    background: #3ddc84;
    color: #0a0f1a;
}

.terrace-foot__store_windows .terrace-foot__store-os {
    background: #108de7;
}

.terrace-foot__store-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.terrace-foot__store-copy small {
    display: block;
    font-size: 11px;
    line-height: 1.4;
    color: rgba(134, 146, 172, 0.85);
}

.terrace-foot__store-copy em {
    display: block;
    font-style: normal;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 600;
    color: #fff;
}

.terrace-foot__grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 20px;
    padding: 24px 0;
}

.terrace-foot__panel {
    padding: 20px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.terrace-foot__panel-title {
    margin: 0 0 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0095ff;
}

.terrace-foot__mail-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.terrace-foot__mail + .terrace-foot__mail {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed rgba(255, 255, 255, 0.06);
}

.terrace-foot__mail-label {
    display: block;
    font-size: 11px;
    line-height: 1.4;
    color: rgba(134, 146, 172, 0.75);
    margin-bottom: 6px;
}

.terrace-foot__mail-link {
    display: block;
    color: #fff;
    font-size: 13px;
    line-height: 1.45;
    text-decoration: none;
}

.terrace-foot__mail-link:hover {
    text-decoration: underline;
}

.terrace-foot-info__list,
.terrace-foot-cat__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
}

.terrace-foot-info__link,
.terrace-foot-cat__link {
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.45;
    text-decoration: none;
}

.terrace-foot-info__link:hover,
.terrace-foot-cat__link:hover {
    color: #0095ff;
}

.terrace-foot__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terrace-foot__socials {
    display: flex;
    gap: 8px;
}

.terrace-foot__social {
    display: flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.terrace-foot__social svg {
    width: 16px;
    height: auto;
}

.terrace-foot__sponsors {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.terrace-foot__sponsor svg {
    height: 20px;
    width: auto;
    opacity: 0.8;
}

.terrace-foot__tools {
    display: flex;
    align-items: center;
    gap: 6px;
}

.terrace-foot__lang {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 11px;
}

.terrace-foot__tool-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.terrace-foot__payments {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 18px;
    padding: 16px 0;
    opacity: 0.7;
}

.terrace-foot__payments svg {
    height: 16px;
    width: auto;
}

.terrace-foot__legal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
}

.terrace-foot__copy {
    margin: 0;
    font-size: 11px;
    color: rgba(134, 146, 172, 0.6);
}

.terrace-foot__age {
    font-size: 11px;
    font-weight: 700;
    color: #ff6b6b;
    padding: 2px 10px;
    border-radius: 4px;
    border: 1px solid rgba(255, 107, 107, 0.35);
}

@media (max-width: 960px) {
    .terrace-foot__mast,
    .terrace-foot__grid {
        grid-template-columns: 1fr;
    }

    .terrace-foot__meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .terrace-foot-info__list,
    .terrace-foot-cat__list {
        grid-template-columns: 1fr;
    }
}
