
/* ==============================================
   MOSTPLAY PARTNERS - GLOBAL FOOTER
   Desktop + Mobile
============================================== */

.mp-footer {
    --mp-footer-gradient-left: #006BFF;
    --mp-footer-gradient-right: #003A99;
    --mp-footer-bottom-bg: #07357D;
    --mp-footer-yellow: #FFE500;
    --mp-footer-contact-blue: #0057FF;
    --mp-footer-white: #FFFFFF;
    --mp-footer-navy: #08245C;

    position: relative;
    isolation: isolate;
    width: 100%;
    margin: 75px 0 0;
    padding: 0;

    background: linear-gradient(
        110deg,
        var(--mp-footer-gradient-left) 0%,
        #0058D8 48%,
        var(--mp-footer-gradient-right) 100%
    );

    color: var(--mp-footer-white);
    font-family: inherit;
}

.mp-footer *,
.mp-footer *::before,
.mp-footer *::after {
    box-sizing: border-box;
}

/* ==============================================
   FLOATING CONTACT BAR
============================================== */

.mp-footer__contact-wrapper {
    position: relative;
    z-index: 5;
    width: min(calc(100% - 80px), 1510px);
    margin: 0 auto;
    height: 0;
}

.mp-footer__contact-bar {
    position: relative;
    top: -54px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;

    width: 100%;
    min-height: 108px;
    padding: 17px 60px;

    border-radius: 100px;
    background: #FFFFFF;
    color: var(--mp-footer-navy);

    box-shadow:
        0 18px 58px rgba(12, 34, 84, 0.13),
        0 4px 20px rgba(12, 34, 84, 0.06);
}

.mp-footer__contact-heading {
    flex: 0 1 auto;
    margin: 0;
    padding: 0;

    font-size: clamp(20px, 2vw, 34px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.7px;
    color: #08245C;
    white-space: nowrap;
}

/* Social media/contact items */

.mp-footer__social-list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;

    min-width: 0;
}

.mp-footer__social-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;

    min-width: 0;
    padding: 0 18px;

    border-left: 1px solid #CFD7E6;
}

.mp-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;

    color: var(--mp-footer-contact-blue);
    font-size: clamp(16px, 1.35vw, 24px);
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

a.mp-footer__social-link:hover {
    color: #003FBE;
}

a.mp-footer__social-link:focus-visible {
    outline: 3px solid var(--mp-footer-yellow);
    outline-offset: 5px;
    border-radius: 8px;
}

.mp-footer__social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;

    width: 70px;
    height: 70px;

    border-radius: 50%;
    background: #0057FF;

    box-shadow: 0 6px 16px rgba(0, 87, 255, 0.13);
}

.mp-footer__social-icon img {
    display: block;
    width: 39px;
    height: 39px;
    object-fit: contain;
}

/* ==============================================
   MAIN FOOTER
============================================== */

.mp-footer__main {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.mp-footer__background-image {
    position: absolute;
    inset: 0;
    z-index: -1;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    opacity: 0.2;
    pointer-events: none;
}

.mp-footer__container {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns:
        minmax(0, 0.87fr)
        minmax(0, 1.13fr);
    gap: clamp(50px, 7vw, 125px);
    align-items: center;

    width: min(calc(100% - 140px), 1640px);
    margin: 0 auto;

    padding: 150px 0 62px;
}

/* ==============================================
   BRAND COLUMN
============================================== */

.mp-footer__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    min-width: 0;
}

.mp-footer__logo-link {
    display: inline-block;
    max-width: 100%;
    text-decoration: none;
}

.mp-footer__logo {
    display: block;

    width: min(100%, 400px);
    height: auto;
    max-height: 170px;

    object-fit: contain;
    object-position: left center;

    margin: 0 0 23px;
}

.mp-footer__description {
    max-width: 600px;
    margin: 0 0 23px;

    color: #FFFFFF;
    font-size: clamp(17px, 1.45vw, 26px);
    font-weight: 400;
    line-height: 1.55;
}

.mp-footer__description p {
    margin: 0 0 8px;
}

.mp-footer__description p:last-child {
    margin-bottom: 0;
}

/* ==============================================
   PARTNER LOGIN BUTTON
============================================== */

.mp-footer__login-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 25px;

    min-width: 290px;
    min-height: 66px;
    padding: 15px 35px;

    background: #f4b600;
    border: 1px solid var(--mp-footer-yellow);
    border-radius: 100px;

    color: #071B48;
    font-size: clamp(17px, 1.5vw, 25px);
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;

    transition:
        background-color 250ms ease,
        transform 250ms ease,
        box-shadow 250ms ease;
}

.mp-footer__login-arrow {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
}

.mp-footer__login-button:hover {
    transform: translateY(-3px);
    background: #FFD600;
    border-color: #FFD600;
    color: #071B48;
    box-shadow: 0 10px 26px rgba(0, 24, 90, 0.2);
}

.mp-footer__login-button:focus-visible {
    outline: 3px solid #FFFFFF;
    outline-offset: 5px;
}

/* ==============================================
   PARTNER RESOURCES
============================================== */

.mp-footer__resources {
    width: 100%;
    min-width: 0;
}

.mp-footer__resources-heading {
    margin: 0 0 29px;
    padding: 0;

    color: #f4b600;
    font-size: clamp(14px, 1.15vw, 21px);
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.mp-footer__navigation {
    width: 100%;
}

.mp-footer__menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 70px;

    width: 100%;
    margin: 0;
    padding: 0;

    list-style: none;
}

.mp-footer__menu > li {
    min-width: 0;
    margin: 0;
    padding: 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.mp-footer__menu > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    width: 100%;
    min-height: 102px;
    padding: 19px 4px 19px 0;

    color: #FFFFFF;
    font-size: clamp(17px, 1.4vw, 26px);
    font-weight: 400;
    line-height: 1.35;
    text-decoration: none;

    transition: color 250ms ease;
}

/* Arrow added by CSS, no ACF icon needed */
.mp-footer__menu > li > a::after {
    content: "";
    display: block;
    flex: 0 0 12px;

    width: 12px;
    height: 12px;

    border-top: 3px solid currentColor;
    border-right: 3px solid currentColor;

    transform: rotate(45deg);
    transition: transform 250ms ease;
}

.mp-footer__menu > li > a:hover {
    color: #f4b600;
}

.mp-footer__menu > li > a:hover::after {
    transform: translateX(5px) rotate(45deg);
}

.mp-footer__menu > li > a:focus-visible {
    outline: 3px solid var(--mp-footer-yellow);
    outline-offset: -3px;
}

/* ==============================================
   BOTTOM COPYRIGHT BAR
============================================== */

.mp-footer__bottom {
    position: relative;
    width: 100%;

    background: var(--mp-footer-bottom-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mp-footer__bottom-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    width: min(calc(100% - 140px), 1640px);
    min-height: 84px;
    margin: 0 auto;
    padding: 19px 0;
}

.mp-footer__copyright,
.mp-footer__responsibility {
    margin: 0;
    color: #FFFFFF;
    font-size: clamp(14px, 1.1vw, 21px);
    font-weight: 400;
    line-height: 1.5;
}

.mp-footer__responsibility {
    text-align: right;
    white-space: nowrap;
}

/* ==============================================
   LARGE LAPTOP / SMALL DESKTOP
============================================== */

@media (max-width: 1450px) {

    .mp-footer__contact-wrapper {
        width: min(calc(100% - 80px), 1250px);
    }

    .mp-footer__contact-bar {
        min-height: 88px;
        top: -44px;
        padding: 14px 38px;
        gap: 18px;
    }

    .mp-footer__contact-heading {
        font-size: clamp(19px, 2vw, 27px);
    }

    .mp-footer__social-item {
        padding: 0 13px;
    }

    .mp-footer__social-link {
        gap: 12px;
        font-size: 17px;
    }

    .mp-footer__social-icon {
        width: 55px;
        height: 55px;
    }

    .mp-footer__social-icon img {
        width: 30px;
        height: 30px;
    }

    .mp-footer__container {
        width: min(calc(100% - 110px), 1280px);
        padding-top: 125px;
        gap: 65px;
    }

    .mp-footer__logo {
        width: min(100%, 310px);
    }

    .mp-footer__description {
        font-size: 19px;
    }

    .mp-footer__login-button {
        min-width: 235px;
        min-height: 58px;
        font-size: 19px;
    }

    .mp-footer__menu {
        column-gap: 45px;
    }

    .mp-footer__menu > li > a {
        min-height: 88px;
        font-size: 19px;
    }

    .mp-footer__bottom-container {
        width: min(calc(100% - 110px), 1280px);
    }
}

/* ==============================================
   TABLET
============================================== */

@media (max-width: 1000px) {

    .mp-footer {
        margin-top: 65px;
    }

    .mp-footer__contact-wrapper {
        width: min(calc(100% - 44px), 790px);
    }

    .mp-footer__contact-bar {
        top: -54px;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        gap: 17px;
        min-height: 125px;
        padding: 19px 25px;

        border-radius: 28px;
    }

    .mp-footer__contact-heading {
        font-size: 22px;
        text-align: center;
        white-space: normal;
    }

    .mp-footer__social-list {
        justify-content: center;
        width: 100%;
    }

    .mp-footer__social-item {
        flex: 1 1 0;
        padding: 0 10px;
    }

    .mp-footer__social-item:first-child {
        border-left: 0;
    }

    .mp-footer__social-link {
        gap: 8px;
        font-size: 15px;
    }

    .mp-footer__social-icon {
        width: 44px;
        height: 44px;
    }

    .mp-footer__social-icon img {
        width: 25px;
        height: 25px;
    }

    .mp-footer__container {
        grid-template-columns: 1fr;
        gap: 52px;

        width: min(calc(100% - 70px), 760px);
        padding-top: 135px;
        padding-bottom: 55px;
    }

    .mp-footer__brand {
        align-items: center;
        text-align: center;
    }

    .mp-footer__logo {
        margin-left: auto;
        margin-right: auto;
        object-position: center;
    }

    .mp-footer__description {
        max-width: 590px;
    }

    .mp-footer__resources-heading {
        font-size: 17px;
    }

    .mp-footer__menu > li > a {
        font-size: 18px;
        min-height: 77px;
    }

    .mp-footer__bottom-container {
        width: min(calc(100% - 70px), 760px);
    }
}

/* ==============================================
   MOBILE
============================================== */

@media (max-width: 600px) {

    .mp-footer {
        margin-top: 66px;
    }

    /* White contact card */

    .mp-footer__contact-wrapper {
        width: calc(100% - 30px);
    }

    .mp-footer__contact-bar {
        top: -48px;
        min-height: 144px;

        padding: 16px 12px 15px;
        gap: 16px;

        border-radius: 23px;

        box-shadow: 0 10px 35px rgba(0, 22, 80, 0.12);
    }

    .mp-footer__contact-heading {
        font-size: clamp(17px, 4.5vw, 21px);
        letter-spacing: -0.3px;
        line-height: 1.25;
    }

    .mp-footer__social-list {
        display: flex;
        align-items: stretch;
        justify-content: center;

        width: 100%;
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .mp-footer__social-item {
        flex: 1 0 auto;
        min-width: 0;
        padding: 0 7px;
    }

    .mp-footer__social-item:first-child {
        border-left: none;
    }

    .mp-footer__social-link {
        flex-direction: column;
        align-items: center;
        gap: 6px;

        font-size: 12px;
        line-height: 1.25;
        text-align: center;
    }

    .mp-footer__social-icon {
        width: 43px;
        height: 43px;
    }

    .mp-footer__social-icon img {
        width: 43px;
        height: 43px;
    }

    .mp-footer__social-name {
        display: block;
        text-align: center;
    }

    /* Brand content */

    .mp-footer__container {
        width: calc(100% - 38px);
        gap: 30px;

        padding-top: 130px;
        padding-bottom: 34px;
    }

    .mp-footer__brand {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .mp-footer__logo {
        width: min(100%, 215px);
        max-height: 110px;
        margin-bottom: 14px;
        object-position: center;
    }

    .mp-footer__description {
        width: 100%;
        max-width: 420px;
        margin-bottom: 18px;

        font-size: 14px;
        line-height: 1.55;
        text-align: center;
    }

    .mp-footer__login-button {
        width: 100%;
        min-width: 0;
        min-height: 49px;

        padding: 12px 22px;
        gap: 20px;

        font-size: 16px;
    }

    .mp-footer__login-arrow {
        width: 20px;
        height: 20px;
        flex-basis: 20px;
    }

    /* Partner resources - single column */

    .mp-footer__resources-heading {
        margin-bottom: 10px;

        font-size: 13px;
        letter-spacing: 2px;
    }

    .mp-footer__menu {
        grid-template-columns: 1fr;
        column-gap: 0;
    }

    .mp-footer__menu > li > a {
        min-height: 45px;
        padding: 12px 3px 12px 0;

        font-size: 15px;
        line-height: 1.3;
    }

    .mp-footer__menu > li > a::after {
        flex-basis: 9px;
        width: 9px;
        height: 9px;

        border-width: 2px;
    }

    /* Copyright */

    .mp-footer__bottom-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;

        width: calc(100% - 38px);
        min-height: 76px;
        padding: 14px 0;
    }

    .mp-footer__copyright,
    .mp-footer__responsibility {
        font-size: 12px;
        line-height: 1.5;
        text-align: center;
        white-space: normal;
    }
}

/* ==============================================
   VERY SMALL MOBILE
============================================== */

@media (max-width: 380px) {

    .mp-footer__contact-wrapper {
        width: calc(100% - 20px);
    }

    .mp-footer__contact-bar {
        padding-left: 8px;
        padding-right: 8px;
    }

    .mp-footer__social-item {
        padding-left: 5px;
        padding-right: 5px;
    }

    .mp-footer__social-link {
        font-size: 11px;
    }

    .mp-footer__container {
        width: calc(100% - 28px);
    }
}

/* ==============================================
   REDUCED MOTION
============================================== */

@media (prefers-reduced-motion: reduce) {

    .mp-footer__login-button,
    .mp-footer__menu > li > a,
    .mp-footer__menu > li > a::after {
        transition: none !important;
    }

    .mp-footer__login-button:hover {
        transform: none;
    }
}



/* ==========================================
   MOSTPLAY FOOTER - REFINED DESKTOP DESIGN
   More compact, clean and balanced
========================================== */

@media (min-width: 1001px) {

    /* Overall footer proportions */

    .mp-footer {
        margin-top: 55px;
    }

    /* Floating contact bar */

    .mp-footer__contact-wrapper {
        width: min(calc(100% - 100px), 1250px);
    }

    .mp-footer__contact-bar {
        top: -38px;
        min-height: 76px;
        padding: 12px 34px;
        gap: 18px;
        border-radius: 80px;

        box-shadow: 0 12px 35px rgba(9, 38, 91, 0.10);
    }

    .mp-footer__contact-heading {
        font-size: 23px;
        font-weight: 750;
        letter-spacing: -0.5px;
    }

    .mp-footer__social-item {
        padding: 0 15px;
    }

    .mp-footer__social-link {
        gap: 11px;
        font-size: 17px;
    }

    .mp-footer__social-icon {
        width: 48px;
        height: 48px;
    }

    .mp-footer__social-icon img {
        width: 46px;
        height: 46px;
    }

    /* Main footer layout */

    .mp-footer__container {
        width: min(calc(100% - 120px), 1360px);

        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: clamp(55px, 7vw, 100px);

        padding-top: 100px;
        padding-bottom: 52px;
    }

    /* Logo */

    .mp-footer__logo {
        width: min(100%, 270px);
        max-height: 125px;
        margin-bottom: 20px;
    }

    /* Description */

    .mp-footer__description {
        max-width: 440px;
        margin-bottom: 19px;

        font-size: 17px;
        line-height: 1.55;
    }

    /* Yellow Partner Login button */

    .mp-footer__login-button {
        min-width: 205px;
        min-height: 51px;
        padding: 11px 24px;
        gap: 18px;

        font-size: 17px;
        font-weight: 750;
        color: #333333;
    }

    .mp-footer__login-arrow {
        width: 21px;
        height: 21px;
        flex-basis: 21px;
    }

    /* Partner Resources heading */

    .mp-footer__resources-heading {
        margin-bottom: 15px;

        font-size: 15px;
        font-weight: 800;
        letter-spacing: 2.3px;
    }

    /* Resource links */

    .mp-footer__menu {
        column-gap: 45px;
    }

    .mp-footer__menu > li > a {
        min-height: 68px;
        padding: 14px 4px 14px 0;

        font-size: 17px;
        font-weight: 400;
    }

    .mp-footer__menu > li > a::after {
        width: 10px;
        height: 10px;
        flex-basis: 10px;
        border-width: 2px;
    }

    /* Copyright bottom bar */

    .mp-footer__bottom-container {
        width: min(calc(100% - 120px), 1360px);
        min-height: 65px;
        padding: 14px 0;
    }

    .mp-footer__copyright,
    .mp-footer__responsibility {
        font-size: 14px;
    }
}



/* ==========================================
   FLOATING CONTACT BAR - REFINED SHADOW
========================================== */

.mp-footer__contact-bar {
    box-shadow:
        0 6px 12px rgba(5, 30, 85, 0.07),
        0 16px 32px rgba(5, 30, 85, 0.13),
        0 28px 55px rgba(5, 30, 85, 0.09);

   
}
