/* Footer — uses storefront tokens (tokens.css); same palette as body, hero, header overrides */
.ez-footer {
    background: var(--color-bg-footer);
    border-top: 1px solid var(--color-divider);
    color: var(--color-text-secondary);
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.ez-footer * {
    box-sizing: border-box;
}

.ez-footer a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s;
}

.ez-footer a:hover {
    color: var(--color-text);
}

.ez-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.ez-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 56px 0 44px;
    border-bottom: 1px solid var(--color-divider);
}

.ez-brand img {
    height: 54px;
    width: auto;
    display: block;
}

.ez-brand p {
    margin: 14px 0 0;
    max-width: 440px;
    color: var(--color-text-secondary);
    font-size: 14.5px;
}

.ez-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ez-stat {
    min-width: 104px;
    padding: 14px 20px;
    text-align: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
}

.ez-stat b {
    display: block;
    color: var(--color-text);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.15;
}

.ez-stat span {
    display: block;
    margin-top: 3px;
    color: var(--color-text-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.ez-main {
    display: grid;
    grid-template-columns: 130px 230px 160px 140px minmax(0, 1fr);
    grid-template-areas: "shop games games yardim support";
    gap: 32px;
    padding: 48px 0 44px;
    align-items: start;
}

.ez-col h4 {
    margin: 0 0 16px;
    color: var(--color-text);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.ez-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.ez-shop {
    grid-area: shop;
}

.ez-games {
    display: flex;
    flex-direction: column;
    grid-area: games;
    min-width: 0;
}

.ez-games ul {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 20px;
}

.ez-help {
    grid-area: yardim;
    padding-right: 8px;
}

.ez-legal {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
    font-size: 13px;
    color: var(--color-text-muted);
}

.ez-legal a {
    white-space: nowrap;
}

.ez-legal a:hover {
    color: var(--color-text);
}

.ez-more {
    display: inline-block;
    margin-top: 14px;
    color: var(--color-link) !important;
    font-weight: 600;
}

.ez-more:hover {
    color: var(--color-text) !important;
}

.ez-support-slot {
    position: relative;
    grid-area: support;
    min-width: 0;
    margin-top: 70px;
}

.ez-support {
    position: relative;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 20px 18px 18px;
}

.ez-support-head {
    display: flex;
    align-items: center;
    gap: 9px;
    height: 24px;
    color: var(--color-text);
    font-weight: 700;
    font-size: 15px;
}

.ez-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-success);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-success) 16%, transparent);
}

.ez-support p {
    margin: 30px 0 16px;
    color: var(--color-text-secondary);
    font-size: 13.5px;
    line-height: 1.5;
}

.ez-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    border-radius: 10px;
    background: var(--color-secondary);
    color: var(--color-text-on-secondary) !important;
    font-weight: 650;
    font-size: 14.5px;
    transition: background 0.15s;
}

.ez-btn:hover {
    background: var(--color-secondary-hover);
    color: var(--color-text-on-secondary) !important;
}

.ez-fox {
    position: absolute;
    right: 0;
    top: -157px;
    width: 172px;
    height: auto;
    pointer-events: none;
    user-select: none;
    filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.35));
}

.ez-features {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    padding: 20px 0;
    border-top: 1px solid var(--color-divider);
    border-bottom: 1px solid var(--color-divider);
}

.ez-discord {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 40px;
    height: 40px;
    margin-left: auto;
    border-radius: 10px;
    background: var(--color-surface-raised);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    transition: border-color 0.15s, color 0.15s;
}

.ez-discord:hover {
    border-color: color-mix(in srgb, var(--color-border) 70%, var(--color-text));
    color: var(--color-text);
}

.ez-discord svg {
    display: block;
}

.ez-bottom {
    background: var(--color-bg);
}

.ez-bottom .ez-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 72px;
    gap: 16px;
}

.ez-copy {
    color: var(--color-text-muted);
    font-size: 13px;
}

.ez-pay {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.ez-pay__item {
    --ez-pay-logo-h: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 76px;
    height: 40px;
    padding: 0 10px;
    border-radius: 8px;
    background: #f3f4f6;
    border: 1px solid color-mix(in srgb, var(--color-text) 14%, transparent);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 4px 12px rgba(0, 0, 0, 0.18);
}

.ez-pay__item img {
    display: block;
    width: auto;
    height: var(--ez-pay-logo-h);
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}

.ez-pay__item--amex {
    --ez-pay-logo-h: 26px;
    width: 68px;
}

.ez-pay__item--binance {
    --ez-pay-logo-h: 20px;
    width: 88px;
}

.ez-pay__item--mastercard {
    --ez-pay-logo-h: 24px;
    width: 80px;
}

.ez-pay__item--troy {
    --ez-pay-logo-h: 22px;
    width: 72px;
}

.ez-pay__item--visa {
    --ez-pay-logo-h: 16px;
    width: 68px;
}

@media (max-width: 640px) {
    .ez-pay {
        justify-content: center;
    }

    .ez-pay__item {
        width: 70px;
        height: 36px;
    }

    .ez-pay__item--binance {
        width: 82px;
    }

    .ez-pay__item--mastercard {
        width: 74px;
    }
}

@media (max-width: 900px) {
    .ez-main {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "shop shop"
            "games games"
            "yardim yardim"
            "support support";
    }

    .ez-help {
        padding-right: 0;
    }

    .ez-support-slot {
        max-width: 420px;
        margin-top: 120px;
    }

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

@media (max-width: 640px) {
    .ez-bottom .ez-wrap {
        flex-direction: column;
        justify-content: center;
        gap: 12px;
        height: auto;
        padding: 20px 24px;
    }

    .ez-fox {
        right: 0;
        width: 140px;
        top: -130px;
    }
}
