/* ════════════════════════════════════════
   FANTABET — BOTTONI SOCIAL SHARE
   Inline block + sticky sidebar desktop
   ════════════════════════════════════════ */

/* ─── BLOCCO INLINE ─── */
.fantabet-share {
    margin: 32px 0;
    padding: 20px 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: background 0.3s;
}

.share-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.share-label-icon {
    font-style: normal;
    font-size: 14px;
    color: var(--red-accent, #c8410a);
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* ─── BOTTONE BASE ─── */
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.18s;
    white-space: nowrap;
    font-family: inherit;
    line-height: 1;
}

.share-btn-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Facebook */
.share-btn--facebook {
    background: #1877f2;
    color: #ffffff !important;
}
.share-btn--facebook:hover {
    background: #0e63d4;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(24,119,242,0.35);
    color: #ffffff !important;
}

/* X / Twitter */
.share-btn--twitter {
    background: #000000;
    color: #ffffff !important;
}
.share-btn--twitter:hover {
    background: #222222;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    color: #ffffff !important;
}

/* LinkedIn */
.share-btn--linkedin {
    background: #0a66c2;
    color: #ffffff !important;
}
.share-btn--linkedin:hover {
    background: #084e96;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(10,102,194,0.35);
    color: #ffffff !important;
}

/* WhatsApp */
.share-btn--whatsapp {
    background: #25d366;
    color: #ffffff !important;
}
.share-btn--whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(37,211,102,0.35);
    color: #ffffff !important;
}

/* Copia link */
.share-btn--copy {
    background: var(--bg2);
    border: 1px solid var(--border) !important;
    color: var(--ink) !important;
}
.share-btn--copy:hover {
    border-color: var(--red-accent, #c8410a) !important;
    color: var(--red-accent, #c8410a) !important;
    background: rgba(200,65,10,0.05);
    transform: translateY(-2px);
}
.share-btn--copied {
    background: rgba(34,197,94,0.1) !important;
    border-color: #22c55e !important;
    color: #22c55e !important;
}


/* ─── STICKY SIDEBAR (desktop ≥1100px) ─── */
.fantabet-share-sticky {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%) translateX(-100%);
    z-index: 8000;
    display: flex;
    flex-direction: column;
    gap: 3px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.fantabet-share-sticky.visible {
    transform: translateY(-50%) translateX(0);
    pointer-events: auto;
}

.sss-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 0 8px 8px 0;
    text-decoration: none;
    transition: all 0.15s;
    opacity: 0.85;
}
.sss-btn:hover { opacity: 1; transform: translateX(4px); }
.sss-btn svg { display: block; }

.sss-btn--facebook  { background: #1877f2; color: white; }
.sss-btn--twitter   { background: #000;    color: white; }
.sss-btn--linkedin  { background: #0a66c2; color: white; }
.sss-btn--whatsapp  { background: #25d366; color: white; }

/* Nascondi sticky su schermi piccoli */
@media (max-width: 1100px) {
    .fantabet-share-sticky { display: none !important; }
}

/* ─── DARK MODE ─── */
[data-theme="dark"] .fantabet-share { background: var(--surface2); }
[data-theme="dark"] .share-btn--copy {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.1) !important;
    color: var(--dark-text, #e8eaf0) !important;
}
[data-theme="dark"] .share-btn--copy:hover {
    color: var(--red-accent) !important;
    border-color: var(--red-accent) !important;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 600px) {
    .fantabet-share { padding: 16px; }
    .share-btn { padding: 8px 12px; font-size: 12px; }
    .share-btn-text { display: none; }      /* solo icone su mobile */
    .share-btn { padding: 10px 12px; }
    .share-buttons { gap: 6px; }
}

@media (max-width: 380px) {
    .share-btn { padding: 9px 11px; }
}
