/* کانتینر گرید */
.social-networks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}

/* کانتینر اسلایدر */
.social-networks-slider {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
}
.social-networks-slider .social-card {
    flex: 0 0 80%;
    scroll-snap-align: center;
}

/* کارت‌ها */
.social-card {
    border: none;
    padding: 20px;
    text-align: center;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    background: #fff;
    position: relative;
    overflow: hidden;
}
.social-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

/* لوگو */
.social-logo {
    height: 60px;
    margin-bottom: 14px;
    transition: transform 0.3s;
}
.social-card:hover .social-logo {
    transform: scale(1.06);
}

/* عنوان و متن */
.social-name {
    margin: 6px 0 2px;
    font-size: 20px;
    font-weight: 700;
}
.social-followers {
    color: #566;
    font-size: 14px;
    margin: 6px 0 10px;
}

/* دکمه */
.social-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 12px 18px;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.2px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0,0,0,0.12);
    transition: filter 0.2s ease;
}
.social-btn::after {
    content: "";
    position: absolute;
    background: rgba(255,255,255,0.28);
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    transform: skewX(-20deg);
    transition: width 0.35s ease;
}
.social-btn:hover::after {
    width: 100%;
}
.social-btn:hover {
    filter: brightness(1.05);
}

/* نشان تایید */
.verified-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #2e89ff;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 6px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(46,137,255,0.35);
}

/* QR */
.social-qr {
    margin-top: 14px;
}
.social-qr img {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .social-networks-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    .social-logo {
        height: 54px;
    }
}
@media (max-width: 520px) {
    .social-networks-grid {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 8px;
    }
    .social-card {
        flex: 0 0 82%;
        scroll-snap-align: center;
    }
}