.social-trio-section {
    position: relative;
    z-index: 2;
}

.social-trio-glass {
    position: relative;
    overflow: hidden;
    border-radius: 1.3rem;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: linear-gradient(135deg, rgba(82, 39, 120, 0.54), rgba(30, 41, 59, 0.5));
    box-shadow: 0 28px 44px -30px rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(14px) saturate(1.22);
    padding: clamp(1rem, 2.4vw, 1.4rem);
}

.social-trio-glass::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("https://picsum.photos/seed/renew-social-glass/1800/1000");
    background-size: cover;
    background-position: center;
    filter: blur(4px) saturate(1.08);
    transform: scale(1.06);
    opacity: 0.38;
    z-index: 0;
}

.social-trio-glass::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(420px 220px at 8% 18%, rgba(148, 46, 135, 0.28), transparent 70%),
    linear-gradient(135deg, rgba(82, 39, 120, 0.76), rgba(30, 41, 59, 0.7));
    z-index: 0;
}

.social-trio-glass > * {
    position: relative;
    z-index: 1;
}

.social-trio-head {
    margin-bottom: 0.95rem;
}

.social-trio-kicker {
    margin: 0;
    font-size: 0.75rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: rgba(216, 180, 254, 0.96);
    font-weight: 700;
}

.social-trio-head h2 {
    margin: 0.36rem 0 0;
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    color: #f8fafc;
    font-weight: 700;
}

.social-trio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.social-trio-card {
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    padding: 0.95rem;
    color: rgba(226, 232, 240, 0.92);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 0.55rem;
    row-gap: 0.45rem;
    align-content: start;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.social-trio-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.42);
    box-shadow: 0 18px 30px -24px rgba(2, 6, 23, 0.75);
}

.social-trio-icon {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.36);
    color: #ffffff;
    font-size: 1.05rem;
}

.social-trio-title {
    margin: 0;
    align-self: center;
    color: #ffffff;
    font-family: "Manrope", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
}

.social-trio-handle {
    grid-column: 1 / -1;
    margin: 0;
    color: rgba(221, 214, 254, 0.95);
    font-weight: 600;
    font-size: 0.88rem;
}

.social-trio-text {
    grid-column: 1 / -1;
    margin: 0;
    line-height: 1.48;
    font-size: 0.9rem;
    min-height: 2.9rem;
}

.social-trio-btn {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
    margin-top: 0.2rem;
}

.social-trio-card--instagram .social-trio-icon {
    background: linear-gradient(140deg, rgba(236, 72, 153, 0.4), rgba(124, 58, 237, 0.38));
}

.social-trio-card--youtube .social-trio-icon {
    background: linear-gradient(140deg, rgba(239, 68, 68, 0.42), rgba(190, 24, 93, 0.34));
}

.social-trio-card--tiktok .social-trio-icon {
    background: linear-gradient(140deg, rgba(34, 211, 238, 0.3), rgba(139, 92, 246, 0.35));
}

@media (max-width: 767px) {
    .social-trio-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.45rem;
    }

    .social-trio-head {
        margin-bottom: 0.6rem;
    }

    .social-trio-head h2 {
        font-size: 1rem;
    }

    .social-trio-card {
        grid-template-columns: 1fr;
        padding: 0.55rem 0.5rem 0.6rem;
        gap: 0.35rem;
        justify-items: center;
        text-align: center;
    }

    .social-trio-icon {
        width: 2rem;
        height: 2rem;
        font-size: 0.9rem;
    }

    .social-trio-title {
        font-size: 0.78rem;
    }

    .social-trio-handle,
    .social-trio-text {
        display: none;
    }

    .social-trio-btn {
        margin-top: 0;
        min-height: 2rem;
        padding: 0.42rem 0.35rem;
        font-size: 0.72rem;
    }
}
