/* =========================================================
   H2H FACTS FOOTER
   public/css/h2h-footer.css
========================================================= */

.h2h-footer {
    position: relative;
    margin-top: 28px;
    overflow: hidden;
    border-top: 1px solid rgba(35,255,85,.13);
    background:
        radial-gradient(circle at 18% 10%, rgba(35,255,85,.12), transparent 26%),
        radial-gradient(circle at 82% 0%, rgba(35,255,85,.08), transparent 28%),
        linear-gradient(180deg, rgba(0,15,7,.98), #020604 100%);
    color: #eaffec;
}

.h2h-footer-glow {
    position: absolute;
    inset: auto 8% -90px auto;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: rgba(35,255,85,.16);
    filter: blur(72px);
    pointer-events: none;
}

.h2h-footer-inner {
    position: relative;
    z-index: 2;
    width: min(1480px, calc(100% - 40px));
    margin: 0 auto;
    padding: 26px 0 18px;
}

.h2h-footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
    align-items: stretch;
    margin-bottom: 18px;
}

.h2h-footer-brand,
.h2h-footer-cta,
.h2h-footer-col,
.h2h-footer-bottom {
    border: 1px solid rgba(35,255,85,.14);
    background:
        radial-gradient(circle at top left, rgba(35,255,85,.08), transparent 34%),
        rgba(3,28,11,.72);
    box-shadow: 0 16px 44px rgba(0,0,0,.26);
    border-radius: 18px;
}

.h2h-footer-brand {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 18px;
}

.h2h-footer-logo {
    width: 168px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
}

.h2h-footer-logo img {
    max-width: 168px;
    max-height: 58px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(35,255,85,.20));
}

.h2h-footer-logo span {
    color: #23ff55;
    font-size: 28px;
    font-weight: 1000;
    letter-spacing: -.04em;
}

.h2h-footer-brand p {
    max-width: 680px;
    margin: 0;
    color: rgba(232,255,235,.70);
    font-size: 13px;
    line-height: 1.55;
    font-weight: 800;
}

.h2h-footer-badges {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
}

.h2h-footer-badges span {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 10px;
    border-radius: 999px;
    color: #d9ffe0;
    background: rgba(35,255,85,.08);
    border: 1px solid rgba(35,255,85,.14);
    font-size: 11px;
    font-weight: 1000;
}

.h2h-footer-badges i {
    color: #23ff55;
}

.h2h-footer-cta {
    padding: 18px;
    display: grid;
    align-content: center;
    gap: 8px;
}

.h2h-footer-cta span {
    color: #23ff55;
    font-size: 11px;
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.h2h-footer-cta strong {
    display: block;
    color: #fff;
    font-size: 20px;
    line-height: 1.12;
    font-weight: 1000;
    letter-spacing: -.04em;
}

.h2h-footer-cta a {
    width: max-content;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 3px;
    padding: 0 14px;
    border-radius: 12px;
    color: #021006;
    background: linear-gradient(180deg, #39ff49, #0c9e29);
    box-shadow: 0 12px 28px rgba(35,255,85,.18);
    font-size: 12px;
    font-weight: 1000;
    text-decoration: none;
}

.h2h-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 14px;
}

.h2h-footer-col {
    padding: 16px;
    display: grid;
    align-content: start;
    gap: 8px;
}

.h2h-footer-col h3 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 14px;
    line-height: 1;
    font-weight: 1000;
}

.h2h-footer-col a {
    min-height: 30px;
    display: flex;
    align-items: center;
    color: rgba(232,255,235,.66);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 900;
    text-decoration: none;
    transition: .16s ease;
}

.h2h-footer-col a::before {
    content: "";
    width: 5px;
    height: 5px;
    margin-right: 8px;
    border-radius: 999px;
    background: rgba(35,255,85,.75);
    box-shadow: 0 0 10px rgba(35,255,85,.38);
}

.h2h-footer-col a:hover {
    color: #23ff55;
    transform: translateX(2px);
}

.h2h-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 16px;
}

.h2h-footer-bottom div {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.h2h-footer-bottom strong {
    color: #fff;
    font-size: 12px;
    font-weight: 1000;
}

.h2h-footer-bottom span,
.h2h-footer-bottom em {
    color: rgba(232,255,235,.56);
    font-size: 11px;
    line-height: 1.3;
    font-style: normal;
    font-weight: 800;
}

.h2h-footer-disclaimer span {
    min-width: 34px;
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #23ff55;
    background: rgba(35,255,85,.09);
    border: 1px solid rgba(35,255,85,.16);
    font-weight: 1000;
}

/* Hide old tiny footer if both exist */
.h2h-main > footer:not(.h2h-footer),
.h2h-dashboard-layout > footer:not(.h2h-footer),
body > footer:not(.h2h-footer) {
    display: none !important;
}

@media (max-width: 1100px) {
    .h2h-footer-top {
        grid-template-columns: 1fr;
    }

    .h2h-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .h2h-footer {
        margin-top: 18px;
    }

    .h2h-footer-inner {
        width: min(100% - 22px, 520px);
        padding: 18px 0 14px;
    }

    .h2h-footer-brand {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        padding: 16px;
    }

    .h2h-footer-logo {
        justify-content: center;
        width: 132px;
        height: 42px;
    }

    .h2h-footer-logo img {
        max-width: 132px;
        max-height: 42px;
    }

    .h2h-footer-brand p {
        font-size: 12px;
    }

    .h2h-footer-badges {
        justify-content: center;
    }

    .h2h-footer-cta {
        text-align: center;
        justify-items: center;
    }

    .h2h-footer-cta strong {
        font-size: 18px;
    }

    .h2h-footer-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .h2h-footer-col {
        padding: 14px;
    }

    .h2h-footer-bottom {
        display: grid;
        justify-items: center;
        text-align: center;
    }

    .h2h-footer-bottom div {
        justify-content: center;
        flex-wrap: wrap;
    }
}