
/* =====================================================
   MOSTPLAY PARTNERS — GROW WITH US SECTION
   Desktop + Tablet + Mobile
===================================================== */

.mp-grow {
    position: relative;
    width: 100%;
    overflow: hidden;

    background-color: #031333;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;

    color: #ffffff;
    padding: 48px 20px 65px;

    isolation: isolate;
}

.mp-grow,
.mp-grow * {
    box-sizing: border-box;
}

.mp-grow__container {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* =====================================================
   TOP SUBTITLE + MAIN HEADING
===================================================== */

.mp-grow__intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;

    margin-bottom: 32px;
}

.mp-grow__subtitle {
    margin: 0 0 14px;
    padding: 0;

    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.mp-grow__heading {
    margin: 0 0 24px;
    padding: 0;

    color: #ffffff !important;
    font-size: clamp(34px, 4.5vw, 64px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1px;
    text-align: center;
    text-transform: uppercase;
}

/* =====================================================
   CREATE ACCOUNT BUTTON
===================================================== */

.mp-grow__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-width: 260px;
    min-height: 54px;
    padding: 12px 28px;

    color: #061b4b;
    background: linear-gradient(
        180deg,
        #ffe15a 0%,
        #ffca19 48%,
        #f7b500 100%
    );

    border: 1px solid #ffd52d;
    border-radius: 8px;

    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        0 5px 15px rgba(0, 0, 0, 0.14);

    transform: skewX(-13deg);
    transition:
        background 0.3s ease,
        box-shadow 0.3s ease,
        translate 0.3s ease;
}

.mp-grow__button > span {
    transform: skewX(13deg);
}

.mp-grow__button:hover,
.mp-grow__button:focus-visible {
    color: #061b4b;
    text-decoration: none;

    background: linear-gradient(
        180deg,
        #ffed85 0%,
        #ffdb32 50%,
        #ffc400 100%
    );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        0 8px 22px rgba(255, 195, 0, 0.25);

    translate: 0 -3px;
}

.mp-grow__button:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 5px;
}

.mp-grow__button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 28px;
    height: 28px;
}

.mp-grow__button-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* =====================================================
   ABOUT MOSTPLAY — TWO COLUMN LAYOUT
===================================================== */

.mp-grow__about {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    column-gap: 45px;

    margin: 20px 0 36px;
}

.mp-grow__visual {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 0;
    min-height: 320px;
}

.mp-grow__visual img {
    display: block;
    width: 100%;
    max-width: 620px;
    height: auto;

    object-fit: contain;
}

.mp-grow__about-content {
    min-width: 0;
    max-width: 470px;
}

.mp-grow__about-heading {
    margin: 0 0 20px;
    padding: 0;

    color: #ffffff;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.2;
}

.mp-grow__description {
    color: #ffffff;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.65;
}

.mp-grow__description p {
    margin: 0 0 18px;
    color: inherit;
}

.mp-grow__description p:last-child {
    margin-bottom: 0;
}

/* =====================================================
   FEATURES — FOUR COLUMNS, TWO ROWS
===================================================== */

.mp-grow__features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    column-gap: 24px;
    row-gap: 34px;

    align-items: start;
    margin-top: 15px;
}

.mp-grow__feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;

    min-width: 0;
    text-align: center;
}

.mp-grow__feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 76px;
    height: 76px;
    margin-bottom: 0;
}

.mp-grow__feature-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;

    transition: filter 0.3s ease;
}

.mp-grow__feature:hover .mp-grow__feature-icon img {
    filter: drop-shadow(0 0 10px rgba(255, 196, 0, 0.55));
}

.mp-grow__feature-title {
    margin: 0;
    padding: 0;

    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}

/* =====================================================
   TABLET — 1024px AND BELOW
===================================================== */

@media (max-width: 1024px) {

    .mp-grow {
        padding: 45px 24px 55px;
    }

    .mp-grow__about {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 28px;
    }

    .mp-grow__visual {
        min-height: 260px;
    }

    .mp-grow__description {
        font-size: 17px;
    }

    .mp-grow__features {
        column-gap: 15px;
        row-gap: 30px;
    }

    .mp-grow__feature-title {
        font-size: 14px;
    }
}

/* =====================================================
   MOBILE — 767px AND BELOW
===================================================== */

@media (max-width: 767px) {

    .mp-grow {
        padding: 45px 18px 55px;
        background-position: center top;
    }

    .mp-grow__intro {
        margin-bottom: 28px;
    }

    .mp-grow__subtitle {
        font-size: 13px;
        line-height: 1.5;
        letter-spacing: 0.2px;
        margin-bottom: 13px;
    }

    .mp-grow__heading {
        font-size: clamp(30px, 8vw, 42px);
        line-height: 1.15;
        letter-spacing: -0.5px;
        margin-bottom: 20px;
    }

    .mp-grow__button {
        min-width: 225px;
        min-height: 49px;
        padding: 10px 22px;
        font-size: 14px;
    }

    .mp-grow__button-icon {
        width: 24px;
        height: 24px;
    }

    /* Laptop image first, description second */

    .mp-grow__about {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        margin: 12px 0 40px;
    }

    .mp-grow__visual {
        min-height: 0;
        width: 100%;
    }

    .mp-grow__visual img {
        width: 100%;
        max-width: 500px;
        height: auto;
    }

    .mp-grow__about-content {
        max-width: 100%;
        text-align: center;
    }

    .mp-grow__about-heading {
        font-size: 28px;
        margin-bottom: 14px;
    }

    .mp-grow__description {
        font-size: 16px;
        line-height: 1.7;
    }

    .mp-grow__description p {
        margin-bottom: 14px;
    }

    /* Two feature columns on mobile */

    .mp-grow__features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 14px;
        row-gap: 30px;
        margin-top: 24px;
    }

    .mp-grow__feature-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 0;
    }

    .mp-grow__feature-title {
        font-size: 13px;
        line-height: 1.4;
    }
}

/* =====================================================
   SMALL MOBILE — 380px AND BELOW
===================================================== */

@media (max-width: 380px) {

    .mp-grow {
        padding-left: 12px;
        padding-right: 12px;
    }

    .mp-grow__subtitle {
        font-size: 11px;
    }

    .mp-grow__heading {
        font-size: 27px;
    }

    .mp-grow__about-heading {
        font-size: 25px;
    }

    .mp-grow__description {
        font-size: 15px;
    }

    .mp-grow__feature-icon {
        width: 68px;
        height: 64px;
    }

    .mp-grow__feature-title {
        font-size: 12px;
    }
}


/* Tablet feature layout */
@media (min-width: 768px) and (max-width: 991px) {
    .mp-grow__features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 20px;
        row-gap: 30px;
    }
}

/* One-time entrance: laptop from left, text from right */
.mp-grow.mp-grow--animate .mp-grow__visual {
    opacity: 0;
    transform: translateX(-180px);
    transition: opacity 1s ease, transform 1s ease;
}

.mp-grow.mp-grow--animate .mp-grow__about-content {
    opacity: 0;
    transform: translateX(180px);
    transition: opacity 1s ease, transform 1s ease;
}

.mp-grow.mp-grow--animate .mp-grow__visual.mp-grow--visible,
.mp-grow.mp-grow--animate .mp-grow__about-content.mp-grow--visible {
    opacity: 1;
    transform: translateX(0);
}

/* One-time staggered feature reveal */
.mp-grow--animate .mp-grow__feature {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease,
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.mp-grow--animate .mp-grow__feature.mp-feature--visible {
    opacity: 1;
    transform: translateY(0);
}

.mp-grow--animate .mp-grow__feature:nth-child(1) { transition-delay: 0s; }
.mp-grow--animate .mp-grow__feature:nth-child(2) { transition-delay: 0.1s; }
.mp-grow--animate .mp-grow__feature:nth-child(3) { transition-delay: 0.2s; }
.mp-grow--animate .mp-grow__feature:nth-child(4) { transition-delay: 0.3s; }
.mp-grow--animate .mp-grow__feature:nth-child(5) { transition-delay: 0.4s; }
.mp-grow--animate .mp-grow__feature:nth-child(6) { transition-delay: 0.5s; }
.mp-grow--animate .mp-grow__feature:nth-child(7) { transition-delay: 0.6s; }
.mp-grow--animate .mp-grow__feature:nth-child(8) { transition-delay: 0.7s; }

.mp-grow--animate .mp-grow__feature-icon {
    transform: scale(0.85);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.mp-grow--animate .mp-grow__feature.mp-feature--visible .mp-grow__feature-icon {
    transform: scale(1);
}

@media (hover: hover) and (pointer: fine) {
    .mp-grow--animate .mp-grow__feature.mp-feature--visible:hover .mp-grow__feature-icon {
        transform: translateY(-6px) scale(1.08);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mp-grow__button,
    .mp-grow__feature-icon img,
    .mp-grow--animate .mp-grow__visual,
    .mp-grow--animate .mp-grow__about-content,
    .mp-grow--animate .mp-grow__feature,
    .mp-grow--animate .mp-grow__feature-icon {
        transition: none;
    }

    .mp-grow--animate .mp-grow__visual,
    .mp-grow--animate .mp-grow__about-content,
    .mp-grow--animate .mp-grow__feature {
        opacity: 1;
        transform: none;
    }

    .mp-grow--animate .mp-grow__feature-icon,
    .mp-grow--animate .mp-grow__feature.mp-feature--visible:hover .mp-grow__feature-icon {
        transform: none;
    }

    .mp-grow__button:hover { translate: none; }
}


@media screen and (max-width: 767px) {
    .mp-grow__subtitle {
        text-align: center;
        line-height: 1.45;
        font-size: clamp(12px, 3.2vw, 14px);
        font-weight: 600;
        letter-spacing: 0;
    }

    .mp-grow__subtitle-break {
        display: block;
    }
}

@media screen and (min-width: 768px) {
    .mp-grow__subtitle-break {
        display: none;
    }
}



/* ==========================================
   GROW WITH US — MOBILE SUBTITLE REFINEMENT
   All mobile sizes only
========================================== */

@media screen and (max-width: 767px) {

    #grow-with-us .mp-grow__subtitle {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 auto 18px !important;
        padding: 0 !important;

        font-size: clamp(12px, 4.1vw, 15px) !important;
        font-weight: 600 !important;
        line-height: 1.65 !important;
        letter-spacing: 0.15px !important;

        color: #ffffff !important;
        text-align: center !important;
        text-transform: uppercase;

        text-wrap: auto !important;
    }

    /* Keep the requested two-line break */
    #grow-with-us .mp-grow__subtitle-break {
        display: block !important;
    }

}
