/* =========================================================
   GO GAMES - PUSH NOTIFICATION PROMPT
========================================================= */

#gogames-push-popup {
    position: fixed;
    left: 22px;
    bottom: 22px;
    z-index: 999999;

    width: min(390px, calc(100vw - 30px));

    display: flex;
    align-items: flex-start;
    gap: 15px;

    padding: 18px;

    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #171728,
            #0d0d18
        );

    color: #ffffff;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.55);

    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    opacity: 0;
    visibility: hidden;

    transform: translateY(25px);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;
}


/* =========================================================
   SHOW
========================================================= */

#gogames-push-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* =========================================================
   BELL ICON
========================================================= */

.gogames-push-icon {
    width: 52px;
    height: 52px;

    flex: 0 0 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            #754cff,
            #a84cff
        );

    box-shadow:
        0 8px 25px rgba(108, 76, 255, 0.35);

    font-size: 26px;
}


/* =========================================================
   CONTENT
========================================================= */

.gogames-push-content {
    flex: 1;
    min-width: 0;
}


.gogames-push-title {
    margin: 0 0 5px;

    color: #ffffff;

    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
}


.gogames-push-text {
    margin: 0;

    color: #b7b7c9;

    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
}


/* =========================================================
   BUTTON AREA
========================================================= */

.gogames-push-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;

    gap: 8px;

    margin-top: 14px;
}


.gogames-push-actions button {
    appearance: none;
    -webkit-appearance: none;

    border: 0;
    outline: none;

    border-radius: 10px;

    padding: 10px 15px;

    font-family: inherit;
    font-size: 13px;
    font-weight: 750;
    line-height: 1;

    cursor: pointer;

    transition:
        transform 0.15s ease,
        opacity 0.15s ease,
        background 0.15s ease;
}


.gogames-push-actions button:hover {
    transform: translateY(-1px);
}


.gogames-push-actions button:active {
    transform: translateY(0);
}


/* =========================================================
   NOT NOW
========================================================= */

.gogames-push-later {
    background: rgba(255, 255, 255, 0.08);
    color: #d5d5df;
}


.gogames-push-later:hover {
    background: rgba(255, 255, 255, 0.13);
}


/* =========================================================
   ENABLE BUTTON
========================================================= */

.gogames-push-enable {
    background:
        linear-gradient(
            135deg,
            #6c4cff,
            #8c5cff
        );

    color: #ffffff;

    box-shadow:
        0 7px 18px rgba(108, 76, 255, 0.28);
}


.gogames-push-enable:hover {
    box-shadow:
        0 9px 24px rgba(108, 76, 255, 0.38);
}


.gogames-push-enable:disabled {
    opacity: 0.55;
    cursor: wait;
    transform: none;
}


/* =========================================================
   STATUS TOAST
========================================================= */

#gogames-push-toast {
    position: fixed;

    left: 50%;
    bottom: 25px;

    z-index: 1000000;

    max-width: calc(100vw - 30px);

    padding: 11px 17px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;

    background: #171722;
    color: #ffffff;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.40);

    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    font-size: 13px;
    font-weight: 600;
    text-align: center;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transform:
        translate(-50%, 20px);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;
}


#gogames-push-toast.show {
    opacity: 1;
    visibility: visible;

    transform:
        translate(-50%, 0);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    #gogames-push-popup {
        left: 15px;
        right: 15px;

        bottom: 82px;

        width: auto;

        padding: 15px;

        gap: 12px;

        border-radius: 16px;
    }


    .gogames-push-icon {
        width: 46px;
        height: 46px;

        flex-basis: 46px;

        border-radius: 13px;

        font-size: 23px;
    }


    .gogames-push-title {
        font-size: 16px;
    }


    .gogames-push-text {
        font-size: 12.5px;
    }


    .gogames-push-actions {
        margin-top: 12px;
    }


    .gogames-push-actions button {
        padding: 9px 12px;
        font-size: 12px;
    }


    #gogames-push-toast {
        bottom: 85px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    #gogames-push-popup {
        align-items: flex-start;
    }


    .gogames-push-icon {
        width: 42px;
        height: 42px;

        flex-basis: 42px;

        font-size: 21px;
    }


    .gogames-push-actions {
        flex-wrap: wrap;
    }


    .gogames-push-actions button {
        flex: 1;
    }
}