/* FN Leads Manager — Pagina Grazie (grazie.css) */

.fngz-wrap {
    max-width: 520px;
    margin: 0 auto;
    padding: 28px 16px 44px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    text-align: center;
}

/* ============================================================
   SEGNO DI SPUNTA ANIMATO
   ============================================================ */
.fngz-check {
    width: 74px;
    height: 74px;
    margin: 4px auto 2px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1f9d55, #27c26c);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 8px 24px rgba(31, 157, 85, .35);
    animation: fngz-pop .45s cubic-bezier(.34, 1.56, .64, 1) both;
}
@keyframes fngz-pop {
    0%   { transform: scale(.3); opacity: 0; }
    100% { transform: scale(1);  opacity: 1; }
}

.fngz-title {
    margin: 4px 0 0;
    font-size: 1.9rem;
    font-weight: 900;
    color: #1d2327;
}
.fngz-msg {
    margin: 0 0 8px;
    font-size: 1.02rem;
    color: #4b5563;
    line-height: 1.5;
}

/* ============================================================
   PULSANTI (stesso stile dei pulsanti Home App)
   ============================================================ */
.fngz-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 58px;
    padding: 14px 24px;
    border-radius: 18px;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: .01em;
    text-decoration: none !important;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0,0,0,.16), 0 1px 3px rgba(0,0,0,.10);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.fngz-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,0,0,.24);
    filter: brightness(1.05);
}
.fngz-btn:active {
    transform: translateY(1px) scale(.98);
    box-shadow: 0 2px 6px rgba(0,0,0,.16);
    filter: brightness(.96);
}
.fngz-btn i { font-size: .95em; }

.fngz-btn--app {
    background: linear-gradient(135deg, #003580 0%, #0050c8 100%);
    color: #fff !important;
}
.fngz-btn--vcard {
    background: #fff;
    color: #003580 !important;
    border: 2px solid #003580;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

/* ============================================================
   BLOCCO CANALE UFFICIALE
   ============================================================ */
.fngz-channel {
    display: block;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none !important;
    background: #0b1e3d;
    box-shadow: 0 6px 22px rgba(0,0,0,.22);
    transition: transform .15s ease, box-shadow .15s ease;
}
.fngz-channel:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0,0,0,.30);
}
.fngz-channel:active { transform: translateY(1px) scale(.99); }

.fngz-channel-media { position: relative; display: block; }
.fngz-channel-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.fngz-channel-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11,30,61,0) 40%, rgba(11,30,61,.88) 100%);
}
.fngz-channel-kicker {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    z-index: 1;
    padding: 0 14px;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,.55);
}
.fngz-channel-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #b3001b 0%, #e01e37 100%);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: .01em;
    animation: fngz-pulse 2s ease-in-out infinite;
}
@keyframes fngz-pulse {
    0%, 100% { filter: brightness(1); }
    50%      { filter: brightness(1.12); }
}

.fngz-note {
    margin: 4px 0 0;
    font-size: .82rem;
    color: #6b7280;
    font-style: italic;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 400px) {
    .fngz-title { font-size: 1.6rem; }
    .fngz-channel-kicker { font-size: 1.15rem; }
    .fngz-btn { min-height: 54px; font-size: 1rem; }
}
