/* Egyedi prefix mindenhez, hogy ne ütközzön */
.gshare-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    margin: 20px 0;
    align-items: center;
}

.gshare-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    transition: transform 0.18s cubic-bezier(.2,.9,.2,1), box-shadow 0.18s ease;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(2,6,23,0.12), inset 0 -2px 8px rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.03);
    padding-left: 16px;
}

.gshare-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
}

/* Hover animáció */
.gshare-btn:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

/* Színek – hivatalos márkák (neon subtle glow) */
.gshare-facebook { background: linear-gradient(135deg,#1877F2 0%,#1466d8 100%); color: #fff; }
.gshare-x { background: linear-gradient(135deg,#000000 0%,#111111 100%); color: #fff; }
.gshare-messenger { background: linear-gradient(135deg,#006AFF 0%,#0047cc 100%); color: #fff; }
.gshare-whatsapp { background: linear-gradient(135deg,#25D366 0%,#128C7E 100%); color: #fff; }
.gshare-viber { background: linear-gradient(135deg,#7360F2 0%,#5a3be6 100%); color: #fff; }
.gshare-copy { background: linear-gradient(135deg,#FF9800 0%,#FB8C00 100%); color: #111; }

/* Text ellipsis if long */
.gshare-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; max-width: 120px; }

/* Mobil nézet – kompakt, két oszlop */
@media (max-width: 480px) {
    .gshare-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .gshare-btn {
        padding: 8px;
        border-radius: 8px;
        font-size: 12px;
        justify-content: center;
        flex-direction: column;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .gshare-btn span { max-width: 100%; font-size: 12px; text-align: center; }
    .gshare-btn svg { width: 22px; height: 22px; }
}

/* Accessibility focus */
.gshare-btn:focus { outline: 3px solid rgba(255,255,255,0.08); outline-offset: 3px; }

/* Small helpers */
.gshare-btn svg path { fill: currentColor; }
