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

.mcf-footer {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    color: var(--mcf-text);
    background:
        radial-gradient(circle at 14% 10%, rgba(244, 180, 0, 0.08), transparent 24%),
        radial-gradient(circle at 88% 6%, rgba(41, 66, 82, 0.18), transparent 26%),
        linear-gradient(180deg, #101923 0%, var(--mcf-bg) 62%, #0a1119 100%);
    border-top: 1px solid rgba(244, 180, 0, 0.32);
    font-family: "IRANYekan", "IRANYekanX", Dana, Vazirmatn, Tahoma, sans-serif;
    overflow: hidden;
}

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

.mcf-footer img {
    display: block;
    max-width: 100%;
}

.mcf-shell {
    width: min(calc(100% - 40px), var(--mcf-max-width));
    margin: 0 auto;
    padding: 64px 0 0;
}

.mcf-main-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.1fr) minmax(180px, 0.75fr) minmax(180px, 0.75fr) minmax(320px, 1.25fr);
    grid-template-areas: "support info quick brand";
    gap: 52px;
    align-items: start;
    direction: ltr;
}

.mcf-support-column {
    grid-area: support;
}

.mcf-info-column {
    grid-area: info;
}

.mcf-quick-column {
    grid-area: quick;
}

.mcf-brand-column {
    grid-area: brand;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mcf-support-column,
.mcf-info-column,
.mcf-quick-column,
.mcf-brand-column {
    direction: rtl;
}

.mcf-heading-wrap,
.mcf-column-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.mcf-heading,
.mcf-column-title {
    margin: 0;
    color: var(--mcf-accent);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.5;
}

button.mcf-column-title,
button.mcf-column-title:hover,
button.mcf-column-title:focus,
button.mcf-column-title:active {
    width: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    background-image: none !important;
    color: var(--mcf-accent) !important;
    font-family: inherit;
    text-align: right;
    text-decoration: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: default;
}

.mcf-heading-line,
.mcf-title-line {
    width: 48px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--mcf-accent), rgba(244, 180, 0, 0.15));
}

.mcf-support-description,
.mcf-brand-description {
    margin-top: 26px;
    color: var(--mcf-muted);
    font-size: 15px;
    line-height: 2;
}

.mcf-support-description p,
.mcf-brand-description p {
    margin: 0;
}

.mcf-contact-list {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.mcf-contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px;
    border-radius: 14px;
    transition: transform .25s ease, background .25s ease;
}

.mcf-contact-item:hover {
    transform: translateX(-4px);
    background: rgba(255, 255, 255, 0.035);
}

.mcf-contact-icon,
.mcf-feature-icon,
.mcf-app-icon,
.mcf-trust-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.mcf-contact-icon {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(154, 168, 183, 0.28);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.018);
}

.mcf-contact-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.mcf-contact-copy,
.mcf-feature-copy,
.mcf-app-copy,
.mcf-trust-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.mcf-contact-copy strong,
.mcf-feature-copy strong,
.mcf-app-copy strong,
.mcf-trust-copy strong {
    color: var(--mcf-text);
    font-size: 15px;
    font-weight: 700;
}

.mcf-contact-copy small,
.mcf-feature-copy small,
.mcf-app-copy small,
.mcf-trust-copy small {
    margin-top: 4px;
    color: var(--mcf-muted);
    font-size: 12px;
    line-height: 1.7;
}

.mcf-menu-panel {
    margin-top: 26px;
}

.mcf-menu-list,
.mcf-menu-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mcf-menu-list > li + li {
    margin-top: 12px;
}

.mcf-menu-list a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 0;
    color: #e7edf3;
    font-size: 15px;
    transition: color .22s ease, transform .22s ease;
}

.mcf-menu-list a:hover {
    color: var(--mcf-accent);
    transform: translateX(-3px);
}

.mcf-menu-arrow {
    color: var(--mcf-muted);
    font-size: 22px;
    line-height: 1;
}

.mcf-menu-list .sub-menu {
    margin-top: 8px;
    padding-right: 18px;
}

.mcf-menu-list .sub-menu li + li {
    margin-top: 5px;
}

.mcf-menu-list .sub-menu a {
    color: var(--mcf-muted);
    font-size: 13px;
}

.mcf-empty-menu {
    color: var(--mcf-muted);
    font-size: 13px;
    line-height: 1.9;
}

.mcf-brand-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    gap: 14px;
    direction: ltr;
    text-align: center;
}

.mcf-brand-description {
    width: 100%;
    text-align: center;
}

.mcf-logo-image {
    width: auto;
    max-width: 300px;
    max-height: 88px;
    margin: 0 auto;
    object-fit: contain;
}

.mcf-logo-mark {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    color: #111923;
    background: linear-gradient(145deg, #ffe58a, var(--mcf-accent));
    box-shadow: 0 12px 34px rgba(244, 180, 0, 0.18);
    font-size: 40px;
    transform: rotate(-14deg);
}

.mcf-logo-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.mcf-logo-copy strong {
    color: #fff;
    font-size: clamp(30px, 2.4vw, 48px);
    letter-spacing: 1px;
}

.mcf-logo-copy strong::first-letter {
    color: var(--mcf-accent);
}

.mcf-logo-copy small {
    margin-top: 8px;
    color: var(--mcf-text);
    font-size: 18px;
    letter-spacing: 4px;
    direction: rtl;
}

.mcf-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 30px;
}

.mcf-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 8px 4px;
    text-align: center;
}

.mcf-feature-icon {
    width: 34px;
    height: 34px;
}

.mcf-feature-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.mcf-feature-copy strong {
    font-size: 12px;
}

.mcf-feature-copy small {
    font-size: 10px;
}

.mcf-app-card {
    display: grid;
    grid-template-columns: 52px 1fr 48px;
    gap: 14px;
    align-items: center;
    margin-top: 32px;
    padding: 16px 18px;
    border: 1px solid rgba(154, 168, 183, 0.2);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.018);
    transition: border-color .25s ease, transform .25s ease, background .25s ease;
}

.mcf-app-card:hover {
    transform: translateY(-3px);
    border-color: rgba(244, 180, 0, 0.45);
    background: rgba(244, 180, 0, 0.035);
}

.mcf-app-icon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.mcf-app-arrow {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    color: #111923;
    background: linear-gradient(145deg, #ffe07a, var(--mcf-accent));
    font-size: 22px;
    font-weight: 900;
}

.mcf-trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 64px;
    padding: 22px 24px;
    border: 1px solid rgba(154, 168, 183, 0.2);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0.022), rgba(255,255,255,0.01));
    backdrop-filter: blur(12px);
}

.mcf-trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-width: 0;
    padding: 8px 24px;
}

.mcf-trust-item + .mcf-trust-item {
    border-right: 1px solid rgba(154, 168, 183, 0.14);
}

.mcf-trust-icon img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    opacity: .86;
}

.mcf-bottom-row {
    display: grid;
    grid-template-columns: 1fr .85fr 1.2fr;
    gap: 30px;
    align-items: center;
    margin-top: 28px;
    padding: 28px 0 32px;
    border-top: 1px solid rgba(244, 180, 0, 0.16);
}

.mcf-adult-note {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mcf-age-badge {
    display: grid;
    place-items: center;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    border: 2px solid rgba(154, 168, 183, 0.68);
    border-radius: 50%;
    color: #d8dee5;
    font-size: 18px;
    font-weight: 800;
}

.mcf-adult-note p,
.mcf-copyright p {
    margin: 0;
    color: var(--mcf-muted);
    font-size: 13px;
    line-height: 1.8;
}

.mcf-copyright {
    text-align: center;
}

.mcf-copyright small {
    display: block;
    margin-top: 6px;
    color: #7e8c9b;
    font-size: 12px;
    direction: ltr;
}

.mcf-payment-logos {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 18px;
}

.mcf-payment-logos a {
    display: block;
    opacity: .72;
    filter: grayscale(1);
    transition: opacity .2s ease, filter .2s ease, transform .2s ease;
}

.mcf-payment-logos a:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: translateY(-2px);
}

.mcf-payment-logos img {
    width: auto;
    height: 30px;
    max-width: 110px;
    object-fit: contain;
}

@media (max-width: 1280px) {
    .mcf-main-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "support brand"
            "info quick";
        gap: 46px 36px;
    }

    .mcf-feature-grid {
        max-width: 720px;
    }
}

@media (max-width: 900px) {
    .mcf-shell {
        width: min(calc(100% - 28px), var(--mcf-max-width));
        padding-top: 44px;
    }

    .mcf-main-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "brand"
            "quick"
            "info"
            "support";
        gap: 34px;
    }

    .mcf-menu-column {
        border-bottom: 1px solid rgba(154, 168, 183, 0.14);
    }

    button.mcf-column-title,
    button.mcf-column-title:hover,
    button.mcf-column-title:focus,
    button.mcf-column-title:active {
        position: relative;
        padding: 14px 0 18px;
        cursor: pointer;
    }

    .mcf-column-title::after {
        content: '+';
        position: absolute;
        left: 4px;
        top: 13px;
        color: var(--mcf-accent);
        font-size: 24px;
        font-weight: 400;
        transition: transform .2s ease;
    }

    .mcf-menu-column.is-open .mcf-column-title::after {
        transform: rotate(45deg);
    }

    .mcf-menu-panel {
        display: none;
        margin-top: 0;
        padding: 0 0 22px;
    }

    .mcf-menu-column.is-open .mcf-menu-panel {
        display: block;
    }

    .mcf-feature-grid,
    .mcf-trust-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .mcf-trust-item + .mcf-trust-item {
        border-right: 0;
    }

    .mcf-trust-item:nth-child(odd) {
        border-left: 1px solid rgba(154, 168, 183, 0.14);
    }

    .mcf-trust-item:nth-child(n+3) {
        border-top: 1px solid rgba(154, 168, 183, 0.14);
    }

    .mcf-bottom-row {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .mcf-adult-note,
    .mcf-payment-logos {
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .mcf-shell {
        width: min(calc(100% - 20px), var(--mcf-max-width));
    }

    .mcf-logo-image {
        max-width: 240px;
        max-height: 76px;
    }

    .mcf-logo-mark {
        width: 56px;
        height: 56px;
        font-size: 34px;
    }

    .mcf-logo-copy strong {
        font-size: 34px;
    }

    .mcf-logo-copy small {
        font-size: 15px;
    }

    .mcf-feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px 8px;
    }

    .mcf-app-card {
        grid-template-columns: 42px 1fr 42px;
        padding: 14px;
    }

    .mcf-app-arrow {
        width: 40px;
        height: 40px;
    }

    .mcf-trust-strip {
        grid-template-columns: 1fr;
        padding: 8px 18px;
    }

    .mcf-trust-item {
        justify-content: flex-start;
        padding: 16px 6px;
    }

    .mcf-trust-item:nth-child(odd),
    .mcf-trust-item:nth-child(n+3),
    .mcf-trust-item + .mcf-trust-item {
        border-left: 0;
        border-right: 0;
        border-top: 1px solid rgba(154, 168, 183, 0.14);
    }

    .mcf-trust-item:first-child {
        border-top: 0;
    }

    .mcf-payment-logos {
        gap: 14px;
    }

    .mcf-payment-logos img {
        height: 25px;
        max-width: 90px;
    }
}

/* Non-clickable footer items: empty URL, # or #0 are rendered as text. */
.mcf-menu-list .mcf-menu-text {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 0;
    color: #e7edf3;
    font-size: 15px;
    cursor: default;
}

.mcf-menu-list .sub-menu .mcf-menu-text {
    color: var(--mcf-muted);
    font-size: 13px;
}

.mcf-is-text {
    cursor: default;
}

.mcf-contact-item.mcf-is-text:hover,
.mcf-app-card.mcf-is-text:hover {
    transform: none;
}

.mcf-payment-logos .mcf-payment-logo {
    display: block;
    opacity: .72;
    filter: grayscale(1);
}
