/* =========================================================
   SLOTS4PLAY — NEW FOOTER
   Desktop + Tablet + Mobile
========================================================= */

.s4p-footer {
    --footer-red: #d71938;
    --footer-yellow: #ffc62f;
    --footer-border: rgba(255, 255, 255, 0.20);
    --footer-muted: rgba(255, 255, 255, 0.78);

    position: relative;
    width: calc(100% - 30px);
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 16px 0;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 85% 38%, rgba(170, 0, 20, 0.30), transparent 28%),
        radial-gradient(circle at 8% 42%, rgba(170, 0, 20, 0.22), transparent 24%),
        linear-gradient(135deg, #210000 0%, #3a0003 50%, #240000 100%);
    box-sizing: border-box;
}

.s4p-footer *,
.s4p-footer *::before,
.s4p-footer *::after {
    box-sizing: border-box;
}

.s4p-footer a {
    color: inherit;
    text-decoration: none;
}

.s4p-footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}


/* =========================================================
   NEWSLETTER
========================================================= */

.s4p-footer-newsletter {
    width: 100%;
    max-width: 1200px;
    min-height: 88px;
    margin: 0 auto;
    padding: 14px 24px;

    display: grid;
    grid-template-columns: 300px minmax(280px, 380px) 1fr;
    align-items: center;
    gap: 22px;

    background:
        linear-gradient(
            90deg,
            rgba(55, 0, 0, 0.97),
            rgba(38, 0, 0, 0.97)
        );

    border: 1px solid rgba(215, 25, 56, 0.75);
    border-radius: 15px;
}

.s4p-footer-newsletter-intro {
    display: flex;
    align-items: center;
    gap: 12px;
}

.s4p-footer-newsletter-icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
}

.s4p-footer-newsletter-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--footer-red);
}

.s4p-footer-newsletter-intro strong {
    display: block;
    margin: 0 0 4px;
    color: #fff;
    font-size: 21px;
    line-height: 1.15;
    font-weight: 800;
}

.s4p-footer-newsletter-intro span {
    display: block;
    color: #fff;
    font-size: 14px;
    line-height: 1.45;
}


/* FORM */

.s4p-footer-subscribe {
    width: 100%;
    height: 46px;
    display: flex;
}

.s4p-footer-subscribe input {
    min-width: 0;
    flex: 1;
    height: 46px;
    margin: 0;
    padding: 0 17px;

    color: #fff;
    background: rgba(0, 0, 0, 0.18);

    border: 1px solid rgba(255, 255, 255, 0.45);
    border-right: 0;
    border-radius: 8px 0 0 8px;
    outline: none;

    font-family: inherit;
    font-size: 14px;
}

.s4p-footer-subscribe input::placeholder {
    color: rgba(255, 255, 255, 0.65);
}

.s4p-footer-subscribe button {
    flex: 0 0 105px;
    height: 46px;
    padding: 0 14px;

    color: #080808;
    background: var(--footer-yellow);

    border: 0;
    border-radius: 8px;

    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}

.s4p-footer-subscribe button:hover {
    filter: brightness(1.05);
}


/* NEWSLETTER BENEFITS */

.s4p-footer-newsletter-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
}

.s4p-footer-benefit {
    min-height: 42px;
    padding: 0 16px;

    display: flex;
    align-items: center;
    gap: 10px;

    border-left: 1px solid rgba(215, 25, 56, 0.55);
}

.s4p-footer-benefit:first-child {
    border-left: 0;
}

.s4p-footer-benefit-icon {
    flex: 0 0 auto;
    font-size: 20px;
    line-height: 1;
}

.s4p-footer-benefit strong,
.s4p-footer-benefit small {
    display: block;
}

.s4p-footer-benefit strong {
    margin-bottom: 3px;
    color: #fff;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
}

.s4p-footer-benefit small {
    color: #fff;
    font-size: 12px;
    line-height: 1.25;
}


/* =========================================================
   MAIN FOOTER
========================================================= */

.s4p-footer-main {
    width: 100%;
    margin-top: 6px;
    border-bottom: 1px solid rgba(215, 25, 56, 0.85);
}

.s4p-footer-grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 15px 20px;

    display: grid;
    grid-template-columns:
        minmax(215px, 1.18fr)
        minmax(140px, .76fr)
        minmax(150px, .82fr)
        minmax(145px, .76fr)
        minmax(300px, 1.42fr);

    align-items: stretch;
}


/* =========================================================
   BRAND
========================================================= */

.s4p-footer-brand {
    padding-right: 24px;
}

.s4p-footer-logo {
    display: block;
    width: 100%;
    max-width: 220px;
    margin-bottom: 17px;
}

.s4p-footer-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
}

.s4p-footer-description {
    max-width: 240px;
    color: #fff;
    font-size: 14px;
    line-height: 1.55;
}

.s4p-footer-description p {
    margin: 0;
}

.s4p-footer-tagline {
    width: 170px;
    margin: 16px 0 20px 48px;

    color: #fff;
    font-family: cursive;
    font-size: 21px;
    line-height: 1.05;
    transform: rotate(-7deg);
}

.s4p-footer-tagline span {
    display: block;
}

.s4p-footer-tagline i {
    display: block;
    width: 110px;
    height: 4px;
    margin: 10px 0 0 38px;
    background: var(--footer-yellow);
    border-radius: 50%;
    transform: rotate(-7deg);
}


/* SOCIAL */

.s4p-footer-socials {
    display: flex;
    align-items: center;
    gap: 8px;
}

.s4p-footer-socials a,
.s4p-footer-socials > span {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

.s4p-footer-socials img {
    width: 17px;
    height: 17px;
    object-fit: contain;
}


/* =========================================================
   FOOTER MENUS
========================================================= */

.s4p-footer-menu-column {
    min-width: 0;
    padding: 5px 18px 0;
    border-left: 1px solid rgba(215, 25, 56, 0.55);
}

.s4p-footer-menu-title {
    position: relative;
    width: 100%;
    margin: 0 0 20px;
    padding: 0 0 14px;

    display: block;

    color: #fff;
    background: none;
    border: 0;

    text-align: left;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;

    cursor: default;
}

.s4p-footer-menu-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;

    width: 36px;
    height: 4px;

    background: var(--footer-yellow);
    border-radius: 10px;
}

.s4p-footer-menu-plus {
    display: none;
}

.s4p-footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.s4p-footer-links li {
    margin: 0;
    padding: 0;
}

.s4p-footer-links a {
    display: inline-block;
    color: #fff;
    font-size: 14px;
    line-height: 1.3;
}

.s4p-footer-links a:hover {
    color: var(--footer-yellow);
}


/* =========================================================
   S4P APP
========================================================= */

.s4p-footer-app {
    position: relative;
    min-height: 330px;
    margin-left: 10px;
    padding: 5px 0 0 22px;

    display: grid;
    grid-template-columns: minmax(180px, 1fr) 155px;

    overflow: hidden;

    border-left: 1px solid rgba(255, 255, 255, 0.55);
}

.s4p-footer-app-content {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.s4p-footer-app-heading {
    display: flex;
    align-items: center;
    gap: 22px;

    margin-bottom: 14px;

    font-size: 15px;
    font-weight: 800;
}

.s4p-footer-new {
    padding: 7px 11px;
    color: #050505;
    background: var(--footer-yellow);
    border-radius: 7px;
    font-size: 14px;
    line-height: 1;
}

.s4p-footer-app h3 {
    margin: 0 0 17px;

    color: #fff;
    font-size: 20px;
    line-height: 1.1;
    font-weight: 800;
}

.s4p-footer-app h3 span {
    color: var(--footer-yellow);
}

.s4p-footer-app-features {
    display: flex;
    flex-direction: column;
    gap: 10px;

    margin-bottom: 17px;
}

.s4p-footer-app-features li {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #fff;
    font-size: 14px;
}

.s4p-footer-app-features li > span:first-child {
    width: 24px;
    flex: 0 0 24px;
    font-size: 20px;
    line-height: 1;
}

.s4p-footer-app-button {
    width: 180px;
    height: 44px;
    padding: 0 18px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    color: #050505 !important;
    background: var(--footer-yellow);

    border-radius: 7px;

    font-size: 15px;
    line-height: 1;
    font-weight: 800;
}

.s4p-footer-store-buttons {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

.s4p-store-button {
    width: 120px;
    min-height: 44px;
    padding: 7px 10px;

    display: flex;
    align-items: center;
    gap: 7px;

    color: #fff !important;
    background: #050505;

    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 7px;
}

.s4p-store-icon {
    font-size: 20px;
}

.s4p-store-button small,
.s4p-store-button strong {
    display: block;
    white-space: nowrap;
}

.s4p-store-button small {
    font-size: 8px;
    line-height: 1;
}

.s4p-store-button strong {
    margin-top: 2px;
    font-size: 14px;
    line-height: 1;
}


/* APP ART */

.s4p-footer-app-art {
    position: absolute;
    z-index: 1;

    top: 5px;
    right: -3px;
    bottom: 0;

    width: 170px;
    overflow: hidden;
}

.s4p-footer-app-art::before {
    content: none;
    display: none;
}

.s4p-footer-app-art img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}


/* =========================================================
   RESPONSIBLE GAMBLING
========================================================= */

.s4p-footer-responsible {
    width: 100%;
    max-width: 1200px;
    min-height: 108px;

    margin: 0 auto;
    padding: 20px 16px;

    display: flex;
    align-items: center;
}

.s4p-footer-age {
    flex: 0 0 245px;

    display: flex;
    align-items: center;
    gap: 15px;

    padding-right: 22px;
    border-right: 1px solid rgba(215, 25, 56, 0.6);
}

.s4p-footer-age strong {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 4px solid #fff;
    border-radius: 50%;

    color: #fff;
    font-size: 23px;
    font-weight: 800;
}

.s4p-footer-age span {
    color: #fff;
    font-size: 14px;
    line-height: 1.45;
}

.s4p-footer-recommendations {
    flex: 1;

    display: flex;
    align-items: center;
    justify-content: space-around;
}

.s4p-footer-recommendation {
    min-height: 44px;
    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-right: 1px solid rgba(215, 25, 56, 0.55);
}

.s4p-footer-recommendation:last-child {
    border-right: 0;
}

.s4p-footer-recommendation img {
    display: block;
    width: auto;
    max-width: 145px;
    max-height: 46px;
    object-fit: contain;
}


/* =========================================================
   BOTTOM
========================================================= */

.s4p-footer-bottom {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;

    padding: 0 16px 20px;
}

.s4p-footer-disclaimer {
    min-height: 78px;
    padding: 18px 0 13px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;

    border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.s4p-footer-disclaimer p {
    max-width: 980px;
    margin: 0;

    color: #fff;
    font-size: 14px;
    line-height: 1.55;
}

.s4p-footer-language {
    position: relative;
    flex: 0 0 auto;

    min-width: 105px;
    height: 42px;
    padding: 0 34px 0 18px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border: 1px solid rgba(215, 25, 56, 0.65);
    border-radius: 7px;

    color: #fff;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.s4p-footer-language:hover,
.s4p-footer-language:focus {
    border-color: rgba(255, 198, 47, 0.9);
    background: rgba(255, 255, 255, 0.05);
}

.s4p-footer-language-flag,
.s4p-footer-language-arrow {
    pointer-events: none;
}

.s4p-footer-language-flag {
    display: block;
    width: 28px;
    height: auto;
    max-height: 20px;
    object-fit: contain;
}

.s4p-footer-language-arrow {
    position: absolute;
    top: 50%;
    right: 34px;
    width: 8px;
    height: 8px;
    margin: -6px 0 0;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    font-size: 0;
    line-height: 0;
    transform: rotate(45deg);
    transform-origin: center;
    flex: none;
}

.s4p-footer-copyright-row {
    padding-top: 13px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.s4p-footer-copyright {
    color: #fff;
    font-size: 14px;
}

.s4p-footer-copyright p {
    margin: 0;
}

.s4p-footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 15px;

    color: #fff;
    font-size: 14px;
}

.s4p-footer-bottom-links a:hover {
    color: var(--footer-yellow);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1250px) {

    .s4p-footer-newsletter {
        grid-template-columns: 310px minmax(300px, 1fr);
    }

    .s4p-footer-newsletter-benefits {
        grid-column: 1 / -1;
        max-width: 750px;
        width: 100%;
        margin: 0 auto;
    }

    .s4p-footer-grid {
        grid-template-columns: 1.15fr .8fr .8fr .8fr;
    }

    .s4p-footer-app {
        grid-column: 1 / -1;
        margin: 35px 0 0;
        padding: 30px 260px 25px 30px;
        min-height: 360px;

        border-top: 1px solid rgba(255,255,255,.25);
        border-left: 0;
    }

    .s4p-footer-app-art {
        width: 250px;
    }

    .s4p-footer-recommendation {
        padding: 0 12px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .s4p-footer {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
        background:
            radial-gradient(circle at 100% 40%, rgba(150, 0, 10, .25), transparent 30%),
            linear-gradient(180deg, #320001 0%, #190000 100%);
    }


    /* Newsletter isn't part of the compact phone design */

    .s4p-footer-newsletter {
        display: none;
    }


    /* Main */

    .s4p-footer-main {
        margin: 0;
        border: 0;
    }

    .s4p-footer-grid {
        display: block;
        padding: 28px 20px 0;
    }


    /* Brand */

    .s4p-footer-brand {
        padding: 0 8px 20px;
        text-align: left;
    }

    .s4p-footer-logo {
        width: 100%;
        max-width: 270px;
        margin: 0 auto 15px;
    }

    .s4p-footer-description {
        max-width: none;
        margin: 0;

        font-size: 14px;
        line-height: 1.45;
    }

    .s4p-footer-tagline {
        display: none;
    }

    .s4p-footer-socials {
        justify-content: center;
        margin-top: 17px;
        gap: 7px;
    }

    .s4p-footer-socials a,
    .s4p-footer-socials > span {
        width: 43px;
        height: 43px;
    }


    /* Accordion menus */

    .s4p-footer-menu-column {
        margin: 0 7px;
        padding: 0;

        border-left: 0;
        border-bottom: 1px solid rgba(215, 25, 56, 0.55);
    }

    .s4p-footer-menu-column:first-of-type {
        border-top: 1px solid rgba(215, 25, 56, 0.55);
    }

    .s4p-footer-menu-title {
        height: 70px;
        margin: 0;
        padding: 0 18px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        font-size: 15px;
        cursor: pointer;
    }

    .s4p-footer-menu-title::after {
        display: none;
    }

    .s4p-footer-menu-title::before {
        content: "👥";
        margin-right: 15px;
        font-size: 21px;
    }

    .s4p-footer-menu-column:nth-of-type(3)
        .s4p-footer-menu-title::before {
        content: "☀️";
    }

    .s4p-footer-menu-column:nth-of-type(4)
        .s4p-footer-menu-title::before {
        content: "📄";
    }

    .s4p-footer-menu-title > span:first-child {
        flex: 1;
    }

    .s4p-footer-menu-plus {
        display: block;
        flex: 0 0 auto;

        color: #fff;
        font-size: 32px;
        line-height: 1;
        font-weight: 300;

        transition: transform .2s ease;
    }

    .s4p-footer-menu-content {
        display: none;
        padding: 0 20px 20px 58px;
    }

    .s4p-footer-menu-column.is-open
        .s4p-footer-menu-content {
        display: block;
    }

    .s4p-footer-menu-column.is-open
        .s4p-footer-menu-plus {
        transform: rotate(45deg);
    }

    .s4p-footer-links {
        gap: 0;
    }

    .s4p-footer-links li {
        border-top: 1px solid rgba(255,255,255,.08);
    }

    .s4p-footer-links a {
        width: 100%;
        padding: 11px 0;
        font-size: 14px;
    }


    /* App card */

    .s4p-footer-app {
        position: relative;
        width: 100%;
        min-height: 0;
        height: auto;
        margin: 20px 7px 0;
        padding: 25px 20px 24px;
        display: flex;
        flex-direction: column;
        background: linear-gradient(135deg, rgba(80,0,5,.96), rgba(40,0,2,.96));
        border: 1px solid rgba(215, 25, 56, 0.55);
        border-radius: 8px;
        overflow: hidden;
    }

    .s4p-footer-app-content {
        position: relative;
        z-index: 3;
        width: 100%;
        min-width: 0;
        display: flex;
        flex-direction: column;
    }

    .s4p-footer-app-heading {
        position: relative;
        z-index: 4;
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 14px;
        font-size: 18px;
    }

    .s4p-footer-new {
        padding: 7px 12px;
        font-size: 12px;
    }

    .s4p-footer-app h3 {
        position: relative;
        z-index: 4;
        margin: 0 0 18px;
        font-size: 27px;
        line-height: 1.1;
    }

    .s4p-footer-app-features {
        position: relative;
        z-index: 4;
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        margin: 0 0 20px;
        padding: 0;
    }

    .s4p-footer-app-features li {
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 0;
        font-size: 16px;
        line-height: 1.25;
    }

    .s4p-footer-app-features li span:first-child {
        flex: 0 0 28px;
        width: 28px;
        text-align: center;
        font-size: 22px;
        line-height: 1;
    }

    .s4p-footer-app-art {
        position: relative;
        z-index: 2;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        order: 2;
        width: 100%;
        max-width: 270px;
        height: auto;
        margin: 4px auto 20px;
        overflow: visible;
        border-radius: 0;
        transform: none !important;
        background: transparent !important;
        box-shadow: none !important;
        filter: none !important;
    }

    .s4p-footer-app-art::before,
    .s4p-footer-app-art::after {
        content: none !important;
        display: none !important;
        background: none !important;
        box-shadow: none !important;
        filter: none !important;
    }

    .s4p-footer-app-art img {
        display: block;
        width: 100%;
        max-width: 270px;
        height: auto;
        margin: 0 auto;
        object-fit: contain;
        object-position: center;
        transform: none !important;
        box-shadow: none !important;
        filter: none !important;
    }

    .s4p-footer-app-button {
        position: relative;
        z-index: 4;
        order: 3;
        width: 100%;
        max-width: none;
        height: 48px;
        margin: 18px 0 0;
        color: #fff !important;
        background: #dc1737;
        font-size: 16px;
        transform: none !important;
        box-shadow: none !important;
        filter: none !important;
    }

    .s4p-footer-store-buttons {
        position: relative;
        z-index: 4;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        order: 4;
        width: 100%;
        margin: 17px 0 0;
        display: flex;
        align-items: stretch;
        justify-content: center;
        gap: 10px;
        transform: none !important;
    }

    .s4p-store-button {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        min-height: 49px;
        box-shadow: none !important;
        filter: none !important;
    }

    .s4p-store-button strong {
        font-size: 13px;
    }


    /* Responsible */

    .s4p-footer-responsible {
        display: block;

        min-height: 0;
        padding: 26px 27px 16px;
    }

    .s4p-footer-age {
        width: 100%;
        padding: 0 0 22px;

        border-right: 0;

        gap: 17px;
    }

    .s4p-footer-age strong {
        width: 72px;
        height: 72px;
        flex-basis: 72px;

        font-size: 21px;
    }

    .s4p-footer-age span {
        font-size: 14px;
    }

    .s4p-footer-recommendations {
        width: 100%;

        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 17px 18px;

        padding: 18px 0 5px;
    }

    .s4p-footer-recommendation {
        min-height: 42px;
        padding: 0;

        border: 0;
    }

    .s4p-footer-recommendation img {
        max-width: 100%;
        max-height: 48px;
    }


    /* Disclaimer */

    .s4p-footer-bottom {
        padding: 0 27px 25px;
    }

    .s4p-footer-disclaimer {
        min-height: 0;
        padding: 23px 0 16px;

        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .s4p-footer-disclaimer p {
        font-size: 13px;
        line-height: 1.5;
    }

    .s4p-footer-language {
        display: none;
    }

    .s4p-footer-copyright-row {
        padding-top: 14px;

        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;

        border-top: 1px solid rgba(255,255,255,.35);
    }

    .s4p-footer-copyright {
        font-size: 13px;
    }

    .s4p-footer-bottom-links {
        width: 100%;

        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 9px 12px;

        font-size: 13px;
    }

    .s4p-footer-bottom-links a:first-child,
    .s4p-footer-bottom-links a:first-child + span {
        display: none;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 430px) {

    .s4p-footer-grid {
        padding-left: 13px;
        padding-right: 13px;
    }

    .s4p-footer-brand {
        padding-left: 8px;
        padding-right: 8px;
    }

    .s4p-footer-description {
        font-size: 13.5px;
    }

    .s4p-footer-socials {
        gap: 5px;
    }

    .s4p-footer-socials a,
    .s4p-footer-socials > span {
        width: 39px;
        height: 39px;
    }

    .s4p-footer-menu-title {
        height: 65px;
        padding-left: 14px;
        padding-right: 14px;
        font-size: 16px;
    }

    .s4p-footer-app {
        min-height: 0;
        padding: 22px 17px;
    }

    .s4p-footer-app h3 {
        font-size: 20px;
    }

    .s4p-footer-app-button {
        font-size: 14px;
    }

    .s4p-footer-store-buttons {
        left: auto;
        right: auto;
        gap: 7px;
    }

    .s4p-store-button {
        padding-left: 6px;
        padding-right: 6px;
    }

    .s4p-store-button strong {
        font-size: 11px;
    }

    .s4p-store-button small {
        font-size: 7px;
    }

    .s4p-footer-responsible {
        padding-left: 21px;
        padding-right: 21px;
    }

    .s4p-footer-bottom {
        padding-left: 21px;
        padding-right: 21px;
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 360px) {

    .s4p-footer-app {
        padding-left: 14px;
        padding-right: 14px;
    }

    .s4p-footer-app h3 {
        font-size: 22px;
    }

    .s4p-footer-app-art {
        width: 100%;
        max-width: 225px;
    }

    .s4p-footer-bottom-links {
        gap: 8px;
    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.s4p-footer a:focus-visible,
.s4p-footer button:focus-visible,
.s4p-footer input:focus-visible {
    outline: 2px solid var(--footer-yellow);
    outline-offset: 3px;
}

.s4p-footer .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


/* =========================================================
   DESKTOP HELPER
========================================================= */

@media (max-width: 767px) {
    .s4p-footer-desktop-only {
        display: none;
    }
}

/* =========================================================
   DESKTOP APP PANEL — FINAL POSITIONING
   ========================================================= */
@media (min-width: 1181px) {
    .s4p-footer-app {
        position: relative;
        overflow: visible;
        padding-bottom: 34px;
    }

    .s4p-footer-app-art {
        transform: rotate(6deg) translate(8px, -8px);
        transform-origin: 50% 50%;
        z-index: 1;
        background: transparent !important;
        box-shadow: none !important;
        filter: none !important;
    }

    .s4p-footer-app-art::before,
    .s4p-footer-app-art::after {
        content: none !important;
        display: none !important;
        background: none !important;
        box-shadow: none !important;
        filter: none !important;
    }

    .s4p-footer-app-art img {
        box-shadow: none !important;
        filter: none !important;
    }

    .s4p-footer-app .btn,
    .s4p-footer-app-button {
        position: relative;
        z-index: 3;
        margin-top: 26px !important;
    }

    .s4p-footer-store-badges,
    .app-store-badges {
        position: relative;
        z-index: 3;
        margin-top: 18px !important;
    }

    .s4p-footer-store-badges a,
    .app-store-badges a,
    .s4p-footer-app .store-badge-link {
        pointer-events: none;
        cursor: default;
    }
}

/* =========================================================
   S4P APP — REMOVE ALL SHADOWS
   ========================================================= */
.s4p-footer-app,
.s4p-footer-app *,
.s4p-footer-app-art,
.s4p-footer-app-art img,
.s4p-footer-app-art::before,
.s4p-footer-app-art::after,
.s4p-footer-app-image,
.s4p-footer-app-image img,
.footer-app-image,
.footer-app-image img,
.s4p-footer-app .btn,
.s4p-footer-app-button,
.s4p-footer-store-badges,
.s4p-footer-store-badges img,
.app-store-badges,
.app-store-badges img {
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
}
/* =========================================================
   RESPONSIBLE GAMBLING LOGOS
   ========================================================= */

.s4p-footer-trust-logos {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-width: 0;
}

.s4p-footer-trust-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
}

.s4p-footer-trust-logo img {
    display: block;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain;
}

/* DMCA */
.s4p-footer-trust-logo--dmca img {
    width: 120px !important;
    max-height: 42px;
}

/* GAMSTOP */
.s4p-footer-trust-logo--gamstop img {
    width: 125px !important;
    max-height: 42px;
}

/* BeGambleAware */
.s4p-footer-trust-logo--begambleaware img {
    width: 145px !important;
    max-height: 42px;
}

/* NCPG */
.s4p-footer-trust-logo--ncpg img {
    width: 125px !important;
    max-height: 42px;
}

/* Gambling Therapy */
.s4p-footer-trust-logo--gambling-therapy img {
    width: 145px !important;
    max-height: 42px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .s4p-footer-trust-logos {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .s4p-footer-trust-logo {
        flex: 0 1 auto;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .s4p-footer-trust-logos {
        width: 100%;
        gap: 18px 24px;
        justify-content: center;
    }

    .s4p-footer-trust-logo--dmca img {
        width: 105px !important;
    }

    .s4p-footer-trust-logo--gamstop img {
        width: 110px !important;
    }

    .s4p-footer-trust-logo--begambleaware img {
        width: 125px !important;
    }

    .s4p-footer-trust-logo--ncpg img {
        width: 110px !important;
    }

    .s4p-footer-trust-logo--gambling-therapy img {
        width: 125px !important;
    }

}