/**
 * Gamification Logo Hunter – Frontend Styles
 *
 * Ported from the original theme style.css.
 * All selectors are kept identical for Popup Maker compatibility.
 */

/* === FIRST STEP === */
.popup-gamification-firststep {
    background-color: white;
    padding: 60px 40px;
    text-align: center;
    color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 35px;
    max-width: 800px;
    margin: 0 auto;
}

.popup-gamification-intro {
    color: black;
    text-align: center;
    font-family: var(--body-font-family) !important;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 2.7px;
    text-transform: uppercase;
}

.popup-gamification-cta {
    font-size: 24px;
    font-family: var(--body-font-family) !important;
    font-style: italic;
    font-weight: 400;
    color: black;
    margin-top: -10px;
}

.popup-gamification-form {
    display: flex;
    gap: 0;
    margin-top: 10px;
    flex-direction: column-reverse;
    align-items: stretch;
    flex-wrap: wrap;
}

body .pum .popup-gamification-yes,
body .pum .popup-gamification-no {
    font-size: 18px !important;
    padding: 14px 30px !important;
    cursor: pointer;
    font-family: var(--body-font-family) !important;
    transition: background-color 0.3s ease;
    border: none !important;
}

body .pum .popup-gamification-yes {
    background-color: #5CAF4E !important;
    color: white !important;
}

body .pum .popup-gamification-yes:hover {
    background-color: #4a9441 !important;
    border: 0 !important;
}

body .pum .popup-gamification-no {
    background-color: #E25C5C !important;
    color: white !important;
    border: 0 !important;
}

body .pum .popup-gamification-no:hover {
    background-color: #c14e4e !important;
    border: 0 !important;
}

/* === SECOND STEP === */
.popup-gamification-secondstep {
    background-color: white;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    font-family: var(--body-font-family) !important;
    color: black;
    max-width: 1100px;
    margin: 0 auto;
}

.gamification-title {
    margin: auto;
}

.popup-gamification-secondstep-second-row {
    display: flex;
    flex-direction: row;
}

.popup-gamification-left-colum {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 600px;
}

.gamification-headline {
    text-align: center;
    margin-bottom: 20px;
    color: black !important;
    text-transform: uppercase;
    font-family: var(--body-font-family) !important;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 2.7px;
    padding-bottom: 30px;
}

.gamification-subtitle {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: left;
    font-family: var(--body-font-family) !important;
}

.gamification-steps {
    font-size: 18px;
    line-height: 1.8;
    padding-left: 20px;
    font-family: var(--body-font-family) !important;
    color: black;
}

.popup-gamification-rules-title,
.popup-gamification-rules-content,
.popup-gamification-rules-sub-rule {
    font-size: 18px !important;
}

.gamification-note {
    font-size: 18px;
    font-style: italic;
    font-weight: 600;
    font-family: var(--body-font-family) !important;
    margin-top: 10px;
}

.comincia-button {
    align-self: flex-start;
    background-color: #457b9d !important;
    color: white !important;
    font-size: 18px !important;
    font-family: var(--body-font-family) !important;
    border: none !important;
    margin-top: 20px;
    text-transform: uppercase;
    border-radius: 0 !important;
    cursor: pointer;
    padding: 14px 30px !important;
    transition: background-color 0.3s ease;
}

body .pum .comincia-button:hover {
    background-color: #4a9441;
    border: none !important;
}

/* === RIGHT COLUMN (coin image) === */
.popup-gamification-right-colum {
    flex: 0 0 320px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
}

.moneta-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.moneta-wrapper img {
    width: 180px;
    height: auto;
    z-index: 1;
}

.etichetta-moneta {
    font-style: italic;
    font-size: 30px;
    color: black;
    z-index: 2;
    white-space: nowrap;
    font-family: "EB Garamond", serif;
}

.freccia-curva {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    z-index: 0;
}

/* === POPUP CLOSE BUTTON === */
.pum-theme-30811 .pum-content + .pum-close,
.pum-theme-gamification .pum-content + .pum-close {
    position: absolute;
    height: auto;
    width: auto;
    left: auto;
    right: 0 !important;
    bottom: auto;
    top: 0;
    padding: 10px;
    color: #ffffff;
    font-family: inherit;
    font-weight: 400;
    font-size: 18px;
    line-height: 36px;
    border: 1px none #ffffff;
    border-radius: 0;
    box-shadow: 1px 1px 3px 0 rgba(2, 2, 2, 0);
    text-shadow: 0 0 0 rgba(0, 0, 0, 0);
    background-color: rgba(10, 0, 0, 0);
}

.pum-container .pum-content + .pum-close:hover {
    border: none !important;
}

.title-margin-top {
    margin-top: 20px;
}

.img-spa-logo {
    background-color: transparent !important;
    max-width: 250px;
    margin: auto;
}

.img-spa-logo img {
    background-color: transparent !important;
}

hr.wp-block-separator.separatore-offerte {
    background-color: #86247ab3;
}

/* === LOGO GAME ELEMENT === */
.glhunter-logo {
    pointer-events: auto;
    transition: transform 0.15s ease;
}

.glhunter-logo:hover {
    transform: scale(1.08) !important;
    filter: drop-shadow(0 0 8px rgba(0,0,0,0.25));
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .moneta-wrapper {
        display: none !important;
    }

    .logo-gam-mobile {
        width: 100px !important;
    }

    .popup-gamification-secondstep-second-row {
        display: flex;
        flex-direction: column;
    }

    .popup-gamification-right-colum {
        display: none;
    }

    .popup-gamification-firststep {
        padding: 40px 20px;
        gap: 25px;
    }

    .popup-gamification-intro {
        font-size: 22px;
        letter-spacing: 1.5px;
    }

    .popup-gamification-cta {
        font-size: 18px;
    }

    .popup-gamification-secondstep {
        padding: 30px 20px;
    }

    .gamification-headline {
        font-size: 22px;
        letter-spacing: 1.5px;
    }
}

@media (min-width: 769px) {
    .logo-gam-mobile,
    .trovami-gam-mobile {
        display: none !important;
    }
}

.hidden {
    display: none !important;
}

