﻿.tp-footer {
    position: relative;
    background: radial-gradient(900px 600px at 10% 50%, rgba(255,255,255,.06), transparent 60%), radial-gradient(900px 600px at 90% 20%, rgba(255,165,0,.05), transparent 55%), linear-gradient(180deg, #151627 0%, #121326 55%, #0f1020 100%);
    color: rgba(255,255,255,.86);
}

.tp-container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 18px;
}

.tp-footer__featuresWrap {
    padding: 26px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.tp-footer__features {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    justify-content: space-between;
}

.tp-ft {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 10px 8px;
    position: relative;
}

    .tp-ft:not(:last-child)::after {
        content: "";
        position: absolute;
        right: -14px;
        top: 10px;
        bottom: 10px;
        width: 1px;
        background: rgba(255,255,255,.06);
    }

.tp-ft__icon {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255,255,255,.18);
    color: #f59e0b;
    box-shadow: 0 10px 24px rgba(0,0,0,.25);
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, filter .18s ease;
}

    .tp-ft__icon::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(180px 120px at var(--mx, 50%) var(--my, 35%), rgba(255,255,255,.16), transparent 58%);
        opacity: 0;
        transition: opacity .18s ease;
        pointer-events: none;
    }

    .tp-ft__icon::before {
        content: "";
        position: absolute;
        inset: -45%;
        background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.28) 18%, transparent 42%);
        transform: translateX(-130%);
        opacity: 0;
        pointer-events: none;
    }

    .tp-ft__icon svg,
    .tp-ft__icon img {
        transition: transform .18s ease, filter .18s ease, opacity .18s ease;
        will-change: transform;
    }

.tp-ft:hover .tp-ft__icon {
    transform: translateY(-2px) scale(1.03);
    border-color: rgba(245,158,11,.36);
    box-shadow: 0 16px 40px rgba(0,0,0,.32), 0 0 0 1px rgba(245,158,11,.16), 0 0 26px rgba(245,158,11,.22);
    filter: saturate(1.05);
}

    .tp-ft:hover .tp-ft__icon::after {
        opacity: 1;
    }

    .tp-ft:hover .tp-ft__icon::before {
        opacity: 1;
        transform: translateX(130%);
        transition: transform .55s ease, opacity .25s ease;
    }

    .tp-ft:hover .tp-ft__icon svg,
    .tp-ft:hover .tp-ft__icon img {
        transform: translateY(-1px) rotate(-3deg);
        filter: drop-shadow(0 10px 16px rgba(245,158,11,.16));
    }

.tp-ft__title {
    font-weight: 800;
    font-size: 16px;
    letter-spacing: .2px;
    color: rgba(255,255,255,.95);
}

.tp-ft__sub {
    margin-top: 6px;
    font-size: 13px;
    color: rgba(255,255,255,.55);
}

.tp-footer__main {
    padding: 44px 0 28px;
}

.tp-footer__grid {
    display: grid;
    grid-template-columns: 1.25fr 1.35fr .9fr;
    gap: 42px;
    align-items: start;
}

.tp-footer__logo img {
    height: 52px;
    width: auto;
    display: block;
}

.tp-footer__logoText {
    font-size: 44px;
    font-weight: 900;
    letter-spacing: -1px;
    color: rgba(255,255,255,.92);
}

.tp-footer__brandTitle {
    display: none; 
    margin-top: 10px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: rgba(255,255,255,.94);
    font-size: 18px;
}

.tp-footer__desc {
    margin-top: 14px;
    max-width: 420px;
    line-height: 1.8;
    color: rgba(255,255,255,.50);
    font-size: 14px;
}

.tp-footer__social {
    margin-top: 18px;
    display: flex;
    gap: 10px;
}

.tp-soc {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.85);
    text-decoration: none;
    transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

    .tp-soc:hover {
        transform: translateY(-1px);
        background: rgba(245,158,11,.14);
        border-color: rgba(245,158,11,.25);
    }

.tp-footerLinks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 44px;
    padding-top: 6px;
}

.tp-flcol__title {
    font-weight: 900;
    letter-spacing: .16em;
    font-size: 13px;
    color: rgba(255,255,255,.92);
    text-transform: uppercase;
    position: relative;
    padding-bottom: 10px;
}

    .tp-flcol__title::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 42px;
        height: 2px;
        background: rgba(255,255,255,.28);
    }

.tp-flcol__list {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .tp-flcol__list a {
        color: rgba(255,255,255,.48);
        text-decoration: none;
        font-size: 14px;
        display: inline-block;
        position: relative;
        padding-bottom: 6px;
        transition: color .15s ease;
    }

        .tp-flcol__list a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 1px;
            width: 100%;
            height: 1px;
            background: rgba(255,255,255,.60);
            transform: scaleX(0);
            transform-origin: left;
            opacity: 0;
            transition: transform .22s ease, opacity .22s ease;
        }

        .tp-flcol__list a:hover {
            color: rgba(255,255,255,.92);
        }

            .tp-flcol__list a:hover::after {
                transform: scaleX(1);
                opacity: 1;
            }

        .tp-flcol__list a:focus-visible {
            outline: none;
            color: rgba(255,255,255,.92);
        }

            .tp-flcol__list a:focus-visible::after {
                transform: scaleX(1);
                opacity: 1;
            }

.tp-contactCard {
    background: rgba(12, 13, 22, .72);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 6px;
    padding: 18px 18px;
    box-shadow: 0 18px 42px rgba(0,0,0,.34);
    position: relative;
}

    .tp-contactCard::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 6px;
        pointer-events: none;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
    }

.tp-contactCard__title {
    font-weight: 900;
    letter-spacing: .14em;
    font-size: 12px;
    color: rgba(255,255,255,.92);
    padding-bottom: 10px;
    position: relative;
    margin-bottom: 12px;
}

    .tp-contactCard__title::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 52px;
        height: 2px;
        background: rgba(255,255,255,.22);
    }

.tp-contactCard__item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid rgba(255,255,255,.08);
}

    .tp-contactCard__item:first-of-type {
        border-top: none;
    }

.tp-contactCard__bullet {
    width: 8px;
    height: 8px;
    margin-top: 7px;
    background: rgba(255,255,255,.78);
    box-shadow: 0 0 0 4px rgba(255,255,255,.05);
}

.tp-contactCard__label {
    font-size: 12px;
    letter-spacing: .12em;
    color: rgba(255,255,255,.40);
}

.tp-contactCard__value {
    margin-top: 6px;
    font-size: 15px;
    font-weight: 700;
    color: rgba(255,255,255,.84);
    word-break: break-word;
}

.tp-contactCard__link {
    text-decoration: none;
    color: rgba(255,255,255,.84);
    transition: color .15s ease;
}

    .tp-contactCard__link:hover {
        color: rgba(255,255,255,.96);
    }

.tp-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 14px 0 18px;
}

.tp-footer__bottomGrid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 14px;
    align-items: center;
}

.tp-footer__copy {
    color: rgba(255,255,255,.35);
    font-size: 13px;
}

.tp-footer__payments {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.tp-pay {
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    color: rgba(255,255,255,.75);
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
}

.tp-footer__trust {
    display: flex;
    gap: 14px;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
}

.tp-trust {
    color: rgba(255,255,255,.38);
    font-size: 12px;
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

@media (max-width: 1024px) {
    .tp-footer__features {
        flex-direction: column;
    }

    .tp-ft {
        justify-content: flex-start;
    }

        .tp-ft:not(:last-child)::after {
            display: none;
        }

    .tp-footer__grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .tp-footerLinks {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .tp-footer__bottomGrid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .tp-footer__trust {
        justify-content: center;
    }
}

.tp-ft__icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}


@media (max-width: 640px) {

    .tp-footer__features {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .tp-ft {
        justify-content: flex-start;
        padding: 10px 10px;
        border-radius: 16px;
        background: rgba(255,255,255,.04);
        border: 1px solid rgba(255,255,255,.06);
    }

        .tp-ft:not(:last-child)::after {
            display: none;
        }

    .tp-ft__title {
        font-size: 14px;
    }

    .tp-ft__sub {
        font-size: 12px;
        margin-top: 4px;
    }

    .tp-footer__brand {
        text-align: center;
    }

    .tp-footer__logo {
        display: flex;
        justify-content: center;
    }

        .tp-footer__logo img {
            height: 44px;
        }

    .tp-footer__brandTitle {
        display: block; 
    }

    .tp-footer__desc {
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        line-height: 1.7;
        font-size: 13px;
        color: rgba(255,255,255,.55);
    }

    .tp-footer__social {
        justify-content: center;
    }

    .tp-footerLinks {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 18px;
    }

        .tp-footerLinks > * {
            min-width: 0;
        }

        .tp-footerLinks > :nth-child(2n) {
            text-align: right;
        }

            .tp-footerLinks > :nth-child(2n) .tp-flcol__title::after {
                left: auto;
                right: 0;
            }

            .tp-footerLinks > :nth-child(2n) .tp-flcol__list a::after {
                transform-origin: right;
            }

    .tp-contactCard {
        border-radius: 18px;
        padding: 16px 16px;
    }

    .tp-footer__bottomGrid {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .tp-footer__payments {
        order: 1;
    }

    .tp-footer__trust {
        order: 2;
        justify-content: center;
    }

    .tp-footer__copy {
        order: 3;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tp-ft__icon,
    .tp-ft__icon::before,
    .tp-ft__icon::after,
    .tp-ft__icon svg,
    .tp-ft__icon img,
    .tp-flcol__list a,
    .tp-flcol__list a::after {
        transition: none !important;
        animation: none !important;
    }
}

.tp-footer__payments {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.tp-payLogo__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    text-decoration: none;
}

.tp-payLogo__img {
    height: 22px;
    width: auto;
    max-width: 110px;
    object-fit: contain;
    display: block;
    opacity: .90;
    filter: saturate(.95) brightness(1.05);
    transition: opacity .15s ease, filter .15s ease, transform .15s ease;
}

.tp-payLogo__link:hover .tp-payLogo__img {
    opacity: 1;
    filter: saturate(1.05) brightness(1.15);
    transform: translateY(-1px);
}

.tp-payLogo__link--static:hover .tp-payLogo__img {
    transform: none;
    filter: saturate(.95) brightness(1.05);
}

.tp-footer__copyLink {
    color: rgba(255,255,255,.70);
    text-decoration: none;
    font-weight: 800;
    transition: color .15s ease, opacity .15s ease;
}

    .tp-footer__copyLink:hover {
        color: rgba(255,255,255,.92);
        opacity: 1;
    }

/* =========================
    MOBILE FOOTER LAYOUT (İSTEDİĞİN AKIŞ)
   ========================= */
@media (max-width: 640px) {

    /*  Footer’ın en altı sabit alt menünün altında kalmasın */
    .tp-footer__bottom {
        padding-bottom: calc(18px + var(--tp-mnav-h, 74px) + env(safe-area-inset-bottom));
    }

    /* 1) Bilgi rozetleri: 1 satırda 2 adet */
    .tp-footer__features {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .tp-ft {
        justify-content: flex-start;
        padding: 10px 10px;
        border-radius: 16px;
        background: rgba(255,255,255,.04);
        border: 1px solid rgba(255,255,255,.06);
    }

        .tp-ft:not(:last-child)::after {
            display: none;
        }

    .tp-ft__title {
        font-size: 14px;
    }

    .tp-ft__sub {
        font-size: 12px;
        margin-top: 4px;
    }

    /* 2) Brand alanı: Title + meta desc + social ortalı */
    .tp-footer__brand {
        text-align: center;
    }

    .tp-footer__logo {
        display: flex;
        justify-content: center;
    }

        .tp-footer__logo img {
            height: 44px;
        }

    .tp-footer__brandTitle {
        display: block;
    }

    .tp-footer__desc {
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        line-height: 1.7;
        font-size: 13px;
        color: rgba(255,255,255,.55);
    }

    .tp-footer__social {
        justify-content: center;
    }

    /* 3) Link kolonları: Kurumsal (sol) / Kategoriler (sağ) aynı satır mantığı */
    .tp-footerLinks {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 18px;
    }

        .tp-footerLinks > * {
            min-width: 0;
        }

        .tp-footerLinks > :nth-child(2n) {
            text-align: right;
        }

            .tp-footerLinks > :nth-child(2n) .tp-flcol__title::after {
                left: auto;
                right: 0;
            }

            .tp-footerLinks > :nth-child(2n) .tp-flcol__list a::after {
                transform-origin: right;
            }

    /* 4) İletişim kartı: tam satır, daha premium radius */
    .tp-contactCard {
        border-radius: 18px;
        padding: 16px 16px;
    }

    /* 5) Bottom: önce bankalar, sonra trust, sonra yazı */
    .tp-footer__bottomGrid {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .tp-footer__payments {
        order: 1;
    }

    .tp-footer__trust {
        order: 2;
        justify-content: center;
    }

    .tp-footer__copy {
        order: 3;
    }
}
@media (max-width: 640px) {
    .tp-footer__bottom {
        padding-bottom: calc(18px + var(--tp-mnav-h, 74px) + env(safe-area-inset-bottom));
    }
}