/* TennisFinalsPro - Footer + Premium Cookie Popup */

.footer-pro {
    position: relative;
    overflow: hidden;
    padding: 56px 0 0;
    background:
        radial-gradient(circle at 10% 0%, rgba(37, 99, 235, 0.18), transparent 28rem),
        linear-gradient(135deg, #071632 0%, #0f172a 52%, #111827 100%);
    color: #e5e7eb;
}

.footer-pro::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .08;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
    background-size: 64px 64px;
}

.footer-pro__inner,
.footer-pro__bottom {
    position: relative;
    z-index: 1;
}

.footer-pro__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
    padding-bottom: 34px;
}

.footer-pro__brand {
    max-width: 440px;
}

.footer-pro__logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

.footer-pro__logo span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 15px;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    color: #fff;
    font-size: 14px;
    font-weight: 950;
    box-shadow: 0 16px 40px rgba(37, 99, 235, .30);
}

.footer-pro__logo strong {
    color: #fff;
    font-size: 20px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.footer-pro__brand p {
    margin: 18px 0 0;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.7;
}

.footer-pro__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.footer-pro__badges span {
    display: inline-flex;
    padding: 6px 10px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: #dbeafe;
    font-size: 12px;
    font-weight: 850;
}

.footer-pro__nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.footer-pro__nav h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.footer-pro__nav a {
    display: block;
    width: fit-content;
    padding: 5px 0;
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
    transition: color .18s ease, transform .18s ease;
}

.footer-pro__nav a:hover {
    color: #93c5fd;
    transform: translateX(2px);
}

.footer-pro__bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,.10);
    color: #94a3b8;
    font-size: 13px;
}

.footer-pro__bottom p {
    margin: 0;
}

.footer-pro__bottom div {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-pro__bottom a {
    color: #94a3b8;
    text-decoration: none;
}

.footer-pro__bottom a:hover {
    color: #dbeafe;
}

/* Premium Cookie Popup */

.tfp-cookie-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: none;
    background: rgba(15, 23, 42, .18);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.tfp-cookie-backdrop.is-visible {
    display: block;
}

.tfp-cookie {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 9999;
    display: none;
    transform: translateY(18px) scale(.98);
    opacity: 0;
    transition: transform .28s ease, opacity .28s ease;
}

.tfp-cookie.is-visible {
    display: block;
    transform: translateY(0) scale(1);
    opacity: 1;
}

.tfp-cookie__card {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(226, 232, 240, .92);
    border-radius: 24px;
    background:
        radial-gradient(circle at top left, rgba(37,99,235,.13), transparent 18rem),
        rgba(255,255,255,.96);
    box-shadow: 0 26px 90px rgba(15,23,42,.22);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.tfp-cookie__card::before {
    content: "";
    position: absolute;
    right: -70px;
    top: -70px;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(37,99,235,.16), transparent 62%);
    pointer-events: none;
}

.tfp-cookie__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: center;
}

.tfp-cookie__main {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.tfp-cookie__mark {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0f172a, #2563eb);
    color: #fff;
    font-size: 13px;
    font-weight: 950;
    box-shadow: 0 16px 36px rgba(37,99,235,.24);
}

.tfp-cookie strong {
    display: block;
    color: #0f172a;
    font-size: 16px;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.tfp-cookie p {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.55;
}

.tfp-cookie a {
    color: #2563eb;
    font-weight: 850;
    text-decoration: none;
}

.tfp-cookie a:hover {
    text-decoration: underline;
}

.tfp-cookie__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.tfp-cookie__btn {
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    padding: 11px 15px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 950;
    transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease;
}

.tfp-cookie__btn:hover {
    transform: translateY(-1px);
}

.tfp-cookie__btn--primary {
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    color: #fff;
    box-shadow: 0 14px 32px rgba(37,99,235,.28);
}

.tfp-cookie__btn--secondary {
    background: #eef2f7;
    color: #0f172a;
}

.tfp-cookie__mini {
    margin-top: 10px;
    color: #94a3b8;
    font-size: 11px;
    line-height: 1.4;
}

@media (min-width: 720px) {
    .footer-pro__nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-pro__bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .tfp-cookie {
        left: auto;
        right: 24px;
        bottom: 24px;
        width: min(720px, calc(100vw - 48px));
    }

    .tfp-cookie__card {
        padding: 18px;
        border-radius: 26px;
    }

    .tfp-cookie__inner {
        grid-template-columns: 1fr auto;
        gap: 18px;
    }

    .tfp-cookie__actions {
        min-width: 250px;
        grid-template-columns: 1fr;
    }
}

@media (min-width: 980px) {
    .footer-pro {
        padding-top: 70px;
    }

    .footer-pro__inner {
        grid-template-columns: minmax(0, .95fr) minmax(520px, 1.05fr);
        gap: 48px;
    }
}
.footer-pro__logo--image img {
    height: 64px;
    width: auto;
    display: block;
    object-fit: contain;
}

@media (max-width: 640px) {
    .footer-pro__logo--image img {
        height: 54px;
    }
}

/* =========================================================
   TFP PATCH: premium footer redesign
========================================================= */

.footer-pro--premium {
    padding: 58px 0 0 !important;
    background:
        radial-gradient(circle at 16% -10%, rgba(37, 99, 235, .30), transparent 34rem),
        radial-gradient(circle at 86% 8%, rgba(14, 165, 233, .16), transparent 28rem),
        linear-gradient(135deg, #061126 0%, #0b1730 48%, #07101f 100%) !important;
}

.footer-pro__inner--premium {
    display: grid !important;
    grid-template-columns: minmax(280px, .78fr) minmax(0, 1.42fr) !important;
    gap: 44px !important;
    align-items: start !important;
    padding-bottom: 34px !important;
}

.footer-pro__brand--premium {
    max-width: 430px !important;
}

.footer-pro__brand--premium .footer-pro__logo--image {
    padding: 0 !important;
}

.footer-pro__brand--premium .footer-pro__logo--image img {
    height: 58px !important;
    max-width: 290px !important;
    filter: drop-shadow(0 14px 34px rgba(37,99,235,.18));
}

.footer-pro__brand--premium p {
    margin-top: 18px !important;
    max-width: 390px !important;
    color: rgba(226,232,240,.86) !important;
    font-size: 14px !important;
    line-height: 1.75 !important;
}

.footer-pro__badges--premium {
    margin-top: 18px !important;
}

.footer-pro__badges--premium span {
    border-color: rgba(147,197,253,.18) !important;
    background: rgba(15,23,42,.34) !important;
    color: #dbeafe !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.footer-pro__right {
    min-width: 0;
    display: grid;
    gap: 18px;
}

.footer-pro__cta {
    position: relative;
    overflow: hidden;
    padding: 18px 20px;
    border: 1px solid rgba(147,197,253,.18);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(14,165,233,.22), transparent 18rem),
        rgba(255,255,255,.055);
    box-shadow: 0 22px 60px rgba(0,0,0,.16);
}

.footer-pro__cta::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -62px;
    top: -72px;
    border-radius: 999px;
    background: rgba(37,99,235,.22);
    pointer-events: none;
}

.footer-pro__cta span {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(219,234,254,.12);
    color: #bfdbfe;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.footer-pro__cta strong {
    display: block;
    max-width: 580px;
    color: #fff;
    font-size: 19px;
    line-height: 1.25;
    letter-spacing: -.03em;
}

.footer-pro__cta-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.footer-pro__cta-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    font-size: 12px;
    font-weight: 950;
    text-decoration: none;
    box-shadow: 0 14px 34px rgba(37,99,235,.22);
}

.footer-pro__cta-actions a + a {
    color: #dbeafe;
    background: rgba(255,255,255,.08);
    box-shadow: none;
    border: 1px solid rgba(255,255,255,.10);
}

.footer-pro__nav--premium {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

.footer-pro__nav--premium > div {
    min-width: 0;
    padding: 16px 14px;
    border: 1px solid rgba(148,163,184,.10);
    border-radius: 20px;
    background: rgba(15,23,42,.22);
}

.footer-pro__nav--premium h3 {
    margin-bottom: 10px !important;
    color: #ffffff !important;
    font-size: 11px !important;
    letter-spacing: .12em !important;
}

.footer-pro__nav--premium a {
    width: 100% !important;
    padding: 7px 0 !important;
    color: rgba(226,232,240,.78) !important;
    font-size: 13px !important;
    font-weight: 750 !important;
}

.footer-pro__nav--premium a:hover {
    color: #93c5fd !important;
    transform: translateX(3px) !important;
}

.footer-pro__bottom--premium {
    padding: 20px 0 !important;
    border-top-color: rgba(148,163,184,.14) !important;
}

.footer-pro__bottom--premium p,
.footer-pro__bottom--premium a {
    color: rgba(148,163,184,.86) !important;
}

@media (max-width: 1100px) {
    .footer-pro__inner--premium {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    .footer-pro__nav--premium {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    .footer-pro--premium {
        padding-top: 42px !important;
    }

    .footer-pro__inner--premium {
        gap: 22px !important;
        padding-bottom: 24px !important;
    }

    .footer-pro__brand--premium .footer-pro__logo--image img {
        height: 54px !important;
        max-width: 260px !important;
    }

    .footer-pro__cta {
        padding: 16px;
        border-radius: 20px;
    }

    .footer-pro__cta strong {
        font-size: 17px;
    }

    .footer-pro__cta-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .footer-pro__nav--premium {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .footer-pro__nav--premium > div {
        padding: 14px 16px;
        border-radius: 18px;
    }

    .footer-pro__bottom--premium {
        align-items: flex-start !important;
    }
}



/* =========================================================
   TFP PATCH: footer legal + cookie settings
========================================================= */

.footer-pro__cookie-settings {
    border: 0;
    padding: 0;
    margin: 0;
    color: #94a3b8;
    background: transparent;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
}

.footer-pro__cookie-settings:hover {
    color: #dbeafe;
}

/* Professional cookie consent center */
.tfp-cookie {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 9999;
    display: none;
    transform: translateY(18px) scale(.98);
    opacity: 0;
    transition: transform .28s ease, opacity .28s ease;
}

.tfp-cookie.is-visible {
    display: block;
    transform: translateY(0) scale(1);
    opacity: 1;
}

.tfp-cookie-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: none;
    background: rgba(15, 23, 42, .18);
    backdrop-filter: blur(2px);
}

.tfp-cookie-backdrop.is-visible {
    display: block;
}

.tfp-cookie__card {
    width: min(940px, 100%);
    margin: 0 auto;
    padding: 18px;
    border: 1px solid rgba(226, 232, 240, .92);
    border-radius: 28px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 28px 90px rgba(15,23,42,.24);
}

.tfp-cookie__main {
    display: grid;
    grid-template-columns: 46px minmax(0,1fr);
    gap: 14px;
}

.tfp-cookie__mark {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #1769e8, #0ea5e9);
    font-size: 12px;
    font-weight: 950;
}

.tfp-cookie strong {
    display: block;
    color: #0f172a;
    font-size: 18px;
    line-height: 1.1;
    letter-spacing: -.035em;
}

.tfp-cookie p {
    margin: 7px 0 0;
    color: #475569;
    font-size: 13px;
    line-height: 1.55;
}

.tfp-cookie a {
    color: #1769e8;
    font-weight: 850;
}

.tfp-cookie__mini {
    margin-top: 8px;
    color: #64748b;
    font-size: 12px;
    font-weight: 750;
}

.tfp-cookie__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.tfp-cookie__btn {
    min-height: 40px;
    border-radius: 999px;
    padding: 0 14px;
    font-size: 12px;
    font-weight: 950;
    cursor: pointer;
}

.tfp-cookie__btn--primary {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, #1769e8, #0ea5e9);
    box-shadow: 0 14px 30px rgba(23,105,232,.20);
}

.tfp-cookie__btn--secondary {
    border: 1px solid #dbe7f5;
    color: #175cd3;
    background: #f8fbff;
}

.tfp-cookie__settings {
    display: none;
    margin-top: 14px;
    padding: 12px;
    border: 1px solid #e5eaf1;
    border-radius: 18px;
    background: #f8fbff;
}

.tfp-cookie__settings.is-open {
    display: grid;
    gap: 10px;
}

.tfp-cookie__toggle {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
    padding: 10px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e5eaf1;
}

.tfp-cookie__toggle input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: #1769e8;
}

.tfp-cookie__toggle b {
    display: block;
    color: #0f172a;
    font-size: 13px;
}

.tfp-cookie__toggle span {
    display: block;
    margin-top: 2px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.4;
}

@media (max-width: 640px) {
    .tfp-cookie {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    .tfp-cookie__card {
        padding: 14px;
        border-radius: 22px;
    }

    .tfp-cookie__main {
        grid-template-columns: 1fr;
    }

    .tfp-cookie__actions {
        display: grid;
        grid-template-columns: 1fr;
    }
}
