﻿
/* ----- MAIN CARD CONTAINER ----- */
.social-card {
    backdrop-filter: blur(2px);
    border-radius: 1.3rem;
    padding: 0.8rem 1.8rem;
    transition: all 0.2s ease;
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
}

/* ----- BRAND TITLE ----- */
.brand-title {
    text-align: center;
    margin-bottom: 1rem;
    width: 100%;
}

    .brand-title h1 {
        font-weight: 700;
        font-size: 1.1rem;
        /*background: linear-gradient(125deg, #212529, #3a4b5e);*/
        background-clip: text;
        -webkit-background-clip: text;
        color: white  ;
        letter-spacing: -0.3px;
    }

    .brand-title p {
        color: #4a5b6e;
        margin-top: 0.3rem;
        font-weight: 500;
        font-size: 0.9rem;
        opacity: 0.85;
    }

/* ----- GRID LAYOUT ----- */
.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 ----- */
.icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    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-link .fab,
    .icon-link .fas {
        transition: transform 0.25s ease, color 0.2s;
        font-size: 1.1rem;
    }

    /* ----- SPECIFIC PLATFORM COLORS (FIXED) ----- */

    /* Facebook */
    .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);
        }

    /* Twitter / X */
    .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;
        }

    /* Instagram */
    .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;
        }

    /* YouTube */
    .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;
        }

    /* TikTok */
    .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;
        }

    /* Pinterest */
    .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;
        }

    /* LinkedIn */
    .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;
        }

    /* Snapchat */
    .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;
        }

    /* ===== FIXED: WhatsApp ===== */
    .icon-link.whatsapp {
        background: linear-gradient(135deg, #25D366, #128C7E);
        box-shadow: 0 8px 14px -5px rgba(37, 211, 102, 0.35);
    }

        .icon-link.whatsapp .fab {
            color: white;
        }

    /* ===== FIXED: Telegram ===== */
    .icon-link.telegram {
        background: linear-gradient(135deg, #0088cc, #006699);
        box-shadow: 0 8px 14px -5px rgba(0, 136, 204, 0.35);
    }

        .icon-link.telegram .fab {
            color: white;
        }

    /* GitHub */
    .icon-link.github {
        background: linear-gradient(135deg, #181717, #2d2d2d);
        box-shadow: 0 8px 14px -5px rgba(0, 0, 0, 0.4);
    }

        .icon-link.github .fab {
            color: white;
        }

    /* Discord */
    .icon-link.discord {
        background: linear-gradient(135deg, #5865F2, #4752c4);
        box-shadow: 0 8px 14px -5px rgba(88, 101, 242, 0.35);
    }

        .icon-link.discord .fab {
            color: white;
        }

    /* Reddit */
    .icon-link.reddit {
        background: linear-gradient(135deg, #FF4500, #cc3700);
        box-shadow: 0 8px 14px -5px rgba(255, 69, 0, 0.35);
    }

        .icon-link.reddit .fab {
            color: white;
        }

    /* Threads */
    .icon-link.threads {
        background: linear-gradient(135deg, #000000, #1a1a1a);
        box-shadow: 0 8px 14px -5px rgba(0, 0, 0, 0.4);
    }

        .icon-link.threads .fab {
            color: white;
        }

    /* ----- 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;
        }

    /* WhatsApp hover */
    .icon-link.whatsapp:hover {
        box-shadow: 0 16px 24px -8px rgba(37, 211, 102, 0.65), 0 0 0 3px rgba(37, 211, 102, 0.4);
        filter: brightness(1.05);
    }

    /* Telegram hover */
    .icon-link.telegram:hover {
        box-shadow: 0 16px 24px -8px rgba(0, 136, 204, 0.65), 0 0 0 3px rgba(0, 136, 204, 0.4);
        filter: brightness(1.05);
    }

    /* GitHub hover */
    .icon-link.github:hover {
        box-shadow: 0 16px 24px -8px rgba(0, 0, 0, 0.6), 0 0 0 3px rgba(0, 0, 0, 0.3);
    }

    /* Discord hover */
    .icon-link.discord:hover {
        box-shadow: 0 16px 24px -8px rgba(88, 101, 242, 0.65), 0 0 0 3px rgba(88, 101, 242, 0.4);
    }

    /* Reddit hover */
    .icon-link.reddit:hover {
        box-shadow: 0 16px 24px -8px rgba(255, 69, 0, 0.65), 0 0 0 3px rgba(255, 69, 0, 0.4);
    }

    /* Threads hover */
    .icon-link.threads:hover {
        box-shadow: 0 16px 24px -8px rgba(0, 0, 0, 0.6), 0 0 0 3px rgba(255, 255, 255, 0.2);
    }

    .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;
    }

    /* ----- TOOLTIP ----- */
    .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;
    }

/* ----- FOOTER NOTE ----- */
.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;
    }
}
