﻿/* main card container - centered content */
.social-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(2px);
    border-radius: 2.5rem;
    padding: 2.5rem 1.8rem;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255,255,255,0.6);
    transition: all 0.2s ease;
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
}

/* grid layout for icons — FULL CENTERING fix */
.icons-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.1rem;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    width:90%;
}

/* each icon wrapper */
.social-icon {
    list-style: none;
    display: inline-flex;
    margin: 0;
    padding: 0;
}

.icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    background: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.8rem;
    transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: 0 8px 14px -5px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.02);
    position: relative;
    will-change: transform, box-shadow;
}

    /* icon inside sizing */
    .icon-link .fab,
    .icon-link .fas {
        transition: transform 0.25s ease, color 0.2s;
        font-size: 1.7rem;
    }

    /* ----- SPECIFIC PLATFORM COLORS ----- */
    .icon-link.facebook {
        background: linear-gradient(135deg, #3b5998, #4c70ba);
        box-shadow: 0 8px 14px -5px rgba(59, 89, 152, 0.3);
    }

        .icon-link.facebook .fab {
            color: white;
            text-shadow: 0 1px 2px rgba(0,0,0,0.1);
        }

    .icon-link.twitter {
        background: linear-gradient(145deg, #1DA1F2, #0c8de4);
        box-shadow: 0 8px 14px -5px rgba(29, 161, 242, 0.3);
    }

        .icon-link.twitter .fab {
            color: white;
        }

    .icon-link.instagram {
        background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
        box-shadow: 0 8px 14px -5px rgba(214, 41, 118, 0.35);
    }

        .icon-link.instagram .fab {
            color: white;
        }

    .icon-link.youtube {
        background: linear-gradient(135deg, #FF0000, #cc0000);
        box-shadow: 0 8px 14px -5px rgba(255, 0, 0, 0.35);
    }

        .icon-link.youtube .fab {
            color: white;
        }

    .icon-link.tiktok {
        background: linear-gradient(145deg, #010101, #161616);
        box-shadow: 0 8px 14px -5px rgba(0, 0, 0, 0.4);
    }

        .icon-link.tiktok .fab {
            color: #25F4EE;
            text-shadow: 0 0 2px #FE2C55;
        }

    .icon-link.pinterest {
        background: linear-gradient(135deg, #E60023, #bd081c);
        box-shadow: 0 8px 14px -5px rgba(230, 0, 35, 0.35);
    }

        .icon-link.pinterest .fab {
            color: white;
        }

    .icon-link.linkedin {
        background: linear-gradient(135deg, #0077B5, #005983);
        box-shadow: 0 8px 14px -5px rgba(0, 119, 181, 0.35);
    }

        .icon-link.linkedin .fab {
            color: white;
        }

    .icon-link.snapchat {
        background: linear-gradient(145deg, #FFFC00, #f5e542);
        box-shadow: 0 8px 14px -5px rgba(255, 252, 0, 0.4);
    }

        .icon-link.snapchat .fab {
            color: #3b2c00;
        }

    /* ----- HOVER EFFECTS ----- */
    .icon-link:hover {
        transform: translateY(-6px) scale(1.1);
        transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.2);
    }

    .icon-link.facebook:hover {
        box-shadow: 0 16px 24px -8px rgba(59, 89, 152, 0.6), 0 0 0 3px rgba(59, 89, 152, 0.3);
        filter: brightness(1.02) saturate(1.05);
    }

    .icon-link.twitter:hover {
        box-shadow: 0 16px 24px -8px rgba(29, 161, 242, 0.65), 0 0 0 3px rgba(29, 161, 242, 0.4);
    }

    .icon-link.instagram:hover {
        box-shadow: 0 18px 26px -10px rgba(214, 41, 118, 0.7), 0 0 0 3px rgba(253, 73, 102, 0.4);
    }

    .icon-link.youtube:hover {
        box-shadow: 0 18px 24px -10px rgba(255, 0, 0, 0.7), 0 0 0 3px rgba(255, 80, 80, 0.5);
        filter: brightness(1.08);
    }

    .icon-link.tiktok:hover {
        box-shadow: 0 18px 26px -10px rgba(37, 244, 238, 0.5), 0 0 0 3px rgba(37, 244, 238, 0.3);
    }

        .icon-link.tiktok:hover .fab {
            text-shadow: 0 0 6px #25F4EE, 0 0 10px #FE2C55;
        }

    .icon-link.pinterest:hover {
        box-shadow: 0 18px 26px -10px rgba(230, 0, 35, 0.65), 0 0 0 3px rgba(230, 0, 35, 0.4);
    }

    .icon-link.linkedin:hover {
        box-shadow: 0 16px 24px -8px rgba(0, 119, 181, 0.65), 0 0 0 3px rgba(0, 119, 181, 0.4);
    }

    .icon-link.snapchat:hover {
        box-shadow: 0 18px 24px -8px rgba(255, 252, 0, 0.7), 0 0 0 3px rgba(255, 252, 0, 0.5);
        transform: translateY(-6px) scale(1.1) rotate(2deg);
    }

        .icon-link.snapchat:hover .fab {
            color: #211d00;
        }

    .icon-link:hover .fab {
        transform: scale(1.05);
        transition: transform 0.2s ease;
    }

    .icon-link:active {
        transform: translateY(-2px) scale(0.96);
        transition: 0.05s linear;
    }

/* title / header */
.brand-title {
    text-align: center;
    margin-bottom: 2rem;
    width: 100%;
}

    .brand-title h1 {
        font-weight: 700;
        font-size: 1.9rem;
        background: linear-gradient(125deg, #212529, #3a4b5e);
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        letter-spacing: -0.3px;
    }

    .brand-title p {
        color: #4a5b6e;
        margin-top: 0.3rem;
        font-weight: 500;
        font-size: 0.9rem;
        opacity: 0.85;
    }

/* tooltip */
.icon-link {
    position: relative;
}

    .icon-link::after {
        content: attr(data-label);
        position: absolute;
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%) scale(0.9);
        background: #1e2a36cc;
        backdrop-filter: blur(4px);
        color: #f0f3f8;
        font-size: 0.65rem;
        font-weight: 500;
        padding: 3px 8px;
        border-radius: 30px;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s;
        font-family: monospace;
        letter-spacing: 0.2px;
        z-index: 20;
    }

    .icon-link:hover::after {
        opacity: 1;
        transform: translateX(-50%) scale(1);
        transition-delay: 0.1s;
    }

.note-footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.7rem;
    color: #7c8b9c;
    letter-spacing: 0.3px;
    font-weight: 500;
    width: 100%;
}

/* responsive */
@media (max-width: 640px) {
    .icons-grid {
        gap: 1.2rem;
    }

    .icon-link {
        width: 50px;
        height: 50px;
    }

        .icon-link .fab,
        .icon-link .fas {
            font-size: 1.45rem;
        }

    .social-card {
        padding: 1.8rem 1.2rem;
    }

    .brand-title h1 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .icon-link {
        width: 44px;
        height: 44px;
    }

        .icon-link .fab,
        .icon-link .fas {
            font-size: 1.3rem;
        }

    .icons-grid {
        gap: 1rem;
    }

    .brand-title p {
        font-size: 0.8rem;
    }
}
