/* Montserrat Font */
@font-face { font-family: Montserrat; font-style: normal; font-weight: 100; src: url('../fonts/Montserrat-Thin.m6T3tU4G.otf') format('opentype'); }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 400; src: url('../fonts/Montserrat-Regular.Br7oAVts.otf') format('opentype'); }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 600; src: url('../fonts/Montserrat-SemiBold.DK_k3XfF.otf') format('opentype'); }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 700; src: url('../fonts/Montserrat-Bold.5qKsX589.otf') format('opentype'); }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 900; src: url('../fonts/Montserrat-Black.C6jx1KNk.otf') format('opentype'); }

/* Scam Alert Popup */
.scam-alert-popup,
.scam-alert-popup * {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

.scam-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.scam-alert-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
    animation: scamAlertFadeIn 0.4s ease;
}

@keyframes scamAlertFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scamAlertSlideIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.scam-alert-popup {
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: scamAlertSlideIn 0.5s ease;
}

.scam-alert-left {
    flex: 0 0 458px;
    background: url('../images/scam-alert-bg.png') center center / cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
}

.scam-alert-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.scam-alert-icon {
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.scam-alert-headline {
    font-size: 2rem;
    font-weight: 600;
    font-style: normal;
    color: #fff;
    text-align: center;
    line-height: 1.3;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
}

.scam-alert-headline-big {
    display: inline;
    font-size: 2rem;
    font-weight: 900;
    font-style: normal;
    letter-spacing: 0.1rem;
    line-height: 1.3;
    text-align: center;
    color: transparent;
    -webkit-text-stroke: 2px #fff;
    paint-order: stroke fill;
    stroke-linejoin: miter;
    stroke-linecap: butt;
}

.scam-alert-right {
    flex: 1;
    background: url('../images/scam-alert-right-bg2.png') top left / cover no-repeat, url('../images/scam-alert-right-bg.png') top left / cover no-repeat, #fff;
    padding: 47px 32px 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 458px;
    box-sizing: border-box;
}

.scam-alert-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #F5F5F5;
    border: none;
    border-radius: 50%;
    font-size: 27px;
    width: 27px;
    height: 27px;
    color: #DF3FAF;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
    z-index: 3;
}

.scam-alert-close:hover {
    color: #c4359e;
}

.scam-alert-right p {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    margin: 0 0 12px 0;
    padding: 0;
}

.scam-alert-intro {
    font-size: 1.25rem !important;
    line-height: 1.625rem;
    color: #000 !important;
    text-align: center;
    width: 100%;
    min-width: 100%;
    max-width: 395px;
    margin-bottom: 0 !important;
}

.scam-alert-ricorda {
    margin-top: 30px !important;
    font-size: 0.9375rem !important;
    font-weight: 700;
    line-height: 1.25rem;
    color: #000 !important;
    text-align: center;
    margin-bottom: 0 !important;
}

.scam-alert-intro .thin {
    font-weight: 400;
    color: #000;
}

.scam-alert-right .scam-alert-accent {
    color: #c4359e;
    font-weight: 700;
}

.scam-alert-list {
    list-style: none;
    padding: 0;
    margin: 30px 0 30px 0;
    display: flex;
    flex-direction: column;
    gap: 10.5px;
}

.scam-alert-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0;
    font-size: 15px;
    color: #333;
    line-height: 1.5;
}

.scam-alert-list-icon {
    flex-shrink: 0;
    width: 28.95px;
    height: 19.54px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scam-alert-dubbi {
    text-align: center;
    margin-bottom: 0 !important;
}

.scam-alert-number {
    font-size: 20px !important;
    font-weight: 600;
    color: #db3eb1 !important;
    text-align: center;
    line-height: 20px;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
}

.scam-alert-cta {
    display: block;
    width: fit-content;
    margin: 30px auto 0;
    padding: 13.4px 50px;
    background: #db3eb1;
    color: #fff !important;
    text-align: center;
    text-decoration: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    transition: background 0.2s;
}

.scam-alert-cta:hover {
    background: #c4359e;
}

/* Responsive (JS-driven, no viewport needed) */
.scam-alert-overlay.is-mobile .scam-alert-popup {
    flex-direction: column;
    width: 95vw;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.scam-alert-overlay.is-mobile .scam-alert-left {
    flex: 0 0 auto;
    padding: 30px 20px;
    overflow: visible;
}

.scam-alert-overlay.is-mobile .scam-alert-right {
    width: 100%;
    padding: 30px 20px 24px;
}

.scam-alert-overlay.is-mobile .scam-alert-intro {
    min-width: auto;
    max-width: 100%;
}

.scam-alert-overlay.is-mobile .scam-alert-close {
    position: sticky;
    top: 10px;
    align-self: flex-end;
    margin-bottom: -27px;
}

.scam-alert-overlay.is-mobile .scam-alert-cta {
    padding: 12px 30px;
}
