/**
 * HayMe Premium Footer
 *
 * @version 1.1.0
 */

body.hayme-app-page .hayme-profile-footer {
    position: relative;
    width: 100%;
    margin: 72px 0 0;
    padding: 0 28px 34px;
    color: rgba(255, 255, 255, 0.68);
    text-align: center;
    font-family: "Poppins", Arial, sans-serif !important;
}


/* =========================================================
   SOCIAL MEDIA
   ========================================================= */

body.hayme-app-page .hayme-social-links {
    width: 100%;
    max-width: 980px;
    margin: 62px auto -24px;
    padding: 0 24px;
    box-sizing: border-box;
    color: #fff;
    font-family: "Poppins", Arial, sans-serif !important;
}

body.hayme-app-page .hayme-social-links * {
    box-sizing: border-box;
    font-family: inherit !important;
}

body.hayme-app-page .hayme-social-links__header {
    display: grid;
    grid-template-columns: minmax(34px, 1fr) auto minmax(34px, 1fr);
    align-items: center;
    gap: 16px;
    margin: 0 0 25px;
}

body.hayme-app-page .hayme-social-links__header h2 {
    margin: 0 !important;
    color: rgba(255,255,255,.92) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: .07em !important;
    text-align: center;
    text-transform: uppercase;
}

body.hayme-app-page .hayme-social-links__line {
    display: block;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.16)
    );
}

body.hayme-app-page .hayme-social-links__line:last-child {
    transform: scaleX(-1);
}

body.hayme-app-page .hayme-social-links__grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 12px;
}

body.hayme-app-page .hayme-social-links__item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 9px;
    width: 104px;
    min-height: 92px;
    padding: 13px 9px 11px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 17px;
    background:
        radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--hayme-social-brand) 16%, transparent), transparent 58%),
        linear-gradient(145deg, #191a1e, #0c0d0f 72%);
    color: rgba(255,255,255,.86) !important;
    text-decoration: none !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.05),
        0 12px 28px rgba(0,0,0,.22);
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

body.hayme-app-page .hayme-social-links__item:hover,
body.hayme-app-page .hayme-social-links__item:focus-visible {
    border-color: color-mix(in srgb, var(--hayme-social-brand) 55%, rgba(255,255,255,.20));
    color: #fff !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        0 14px 34px rgba(0,0,0,.30),
        0 0 22px color-mix(in srgb, var(--hayme-social-brand) 16%, transparent);
    transform: translateY(-3px);
}

body.hayme-app-page .hayme-social-links__item:focus-visible {
    outline: 2px solid var(--hayme-social-brand);
    outline-offset: 3px;
}

body.hayme-app-page .hayme-social-links__icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 12px;
    background: rgba(255,255,255,.035);
    color: var(--hayme-social-brand);
    filter: drop-shadow(0 0 7px color-mix(in srgb, var(--hayme-social-brand) 36%, transparent));
}

body.hayme-app-page .hayme-social-links__icon svg {
    width: 21px;
    height: 21px;
    overflow: visible;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.hayme-app-page .hayme-social-links__icon svg .is-filled {
    fill: currentColor;
    stroke: none;
}

body.hayme-app-page .hayme-social-links__label {
    max-width: 100%;
    overflow: hidden;
    color: rgba(255,255,255,.72);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
    body.hayme-app-page .hayme-social-links__item {
        transition: none;
    }
}

@media screen and (max-width: 767px) {
    body.hayme-app-page .hayme-social-links {
        margin-top: 48px;
        margin-bottom: -16px;
        padding: 0 16px;
    }

    body.hayme-app-page .hayme-social-links__header {
        gap: 11px;
        margin-bottom: 19px;
    }

    body.hayme-app-page .hayme-social-links__header h2 {
        font-size: 12px !important;
    }

    body.hayme-app-page .hayme-social-links__grid {
        gap: 9px;
    }

    body.hayme-app-page .hayme-social-links__item {
        width: calc(25% - 7px);
        min-width: 68px;
        min-height: 82px;
        padding: 11px 6px 9px;
        border-radius: 14px;
    }

    body.hayme-app-page .hayme-social-links__icon {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }

    body.hayme-app-page .hayme-social-links__icon svg {
        width: 19px;
        height: 19px;
    }

    body.hayme-app-page .hayme-social-links__label {
        font-size: 8px;
    }
}

body.hayme-app-page .hayme-profile-footer * {
    font-family: inherit !important;
}

body.hayme-app-page .hayme-profile-footer__line {
    width: 100%;
    max-width: 760px;
    height: 1px;
    margin: 0 auto 30px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.12) 20%,
        var(--hayme-footer-accent) 50%,
        rgba(255, 255, 255, 0.12) 80%,
        transparent 100%
    );
    opacity: 0.65;
    box-shadow: 0 0 12px color-mix(in srgb, var(--hayme-footer-accent) 24%, transparent);
}

body.hayme-app-page .hayme-profile-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

body.hayme-app-page .hayme-profile-footer__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(250px, 80vw);
    height: 120px;
    margin-bottom: 5px;
}

body.hayme-app-page .hayme-profile-footer__logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

body.hayme-app-page .hayme-profile-footer__links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    font-size: 13px;
}

body.hayme-app-page .hayme-profile-footer a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    transition: color 180ms ease;
}

body.hayme-app-page .hayme-profile-footer a:hover {
    color: #ffffff;
}

body.hayme-app-page .hayme-profile-footer__copyright {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
}

body.hayme-app-page .hayme-profile-footer__powered {
    margin: 0;
    color: rgba(255, 255, 255, 0.38) !important;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media screen and (max-width: 767px) {
    body.hayme-app-page .hayme-profile-footer {
        margin-top: 56px;
        padding: 0 18px 28px;
    }

    body.hayme-app-page .hayme-profile-footer__line {
        margin-bottom: 24px;
    }

    body.hayme-app-page .hayme-profile-footer__logo {
        width: min(200px, 72vw);
        height: 96px;
    }
}
