/* ============================================================
   SOCIAL SHOWCASE SECTION
============================================================ */

.social-showcase-section {
    width: 100%;
    padding: 55px 0 55px;
    overflow: hidden;
    background: transparent;
    color: var(--dark-text);

    transition:
        color .35s ease;
}


/* ============================================================
   MAIN CONTAINER
============================================================ */

.social-showcase-container {
    width: calc(100% - 60px);
    max-width: 1500px;
    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(280px, 1.05fr)
        minmax(280px, .96fr)
        minmax(350px, 1fr);

    gap: 16px;

    min-height: 335px;
}


/* ============================================================
   COMMON CARD
============================================================ */

.social-community-card,
.social-followed-card,
.social-post-card,
.media-card,
.media-services-card {
    position: relative;
    overflow: hidden;
}


/* ============================================================
   LEFT COMMUNITY CARD
============================================================ */

.social-community-card {

    min-height: 435px;

    border-radius: 18px;

    overflow: hidden;
/*
    background:
        linear-gradient(
            135deg,
            #7445ff 0%,
            #a35df1 42%,
            #c57bff 100%
        ); */

    background-image: url(../images/followers.png);
    color: var(--white);
    isolation: isolate;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


/* Purple glow */

.social-community-card::before {

    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    left: -100px;
    bottom: -150px;

    border-radius: 50%;

    background:
        rgba(74, 26, 171, .65);

    filter: blur(5px);

    z-index: -1;
}


/* ============================================================
   PHONE
============================================================ */

.community-phone-wrap {

    position: absolute;

    left: 72px;
    top: 42px;

    width: 150px;
    height: 190px;

    transform:
        rotate(-7deg);

    z-index: 2;
}


.community-phone {

    width: 112px;
    height: 205px;

    margin: 0 auto;

    padding: 7px;

    border-radius: 19px;

    background:
        #090909;

    box-shadow:
        0 20px 35px
        rgba(0, 0, 0, .38);

    border:
        2px solid
        rgba(255, 255, 255, .22);
}


/* Phone screen */

.phone-screen {

    width: 100%;
    height: 100%;

    padding: 9px 7px;

    border-radius: 13px;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #111111,
            #191919
        );

    color: var(--white);

    font-family: 'Poppins', sans-serif;

    font-size: 5px;
}


/* Phone top */

.phone-top {

    display: flex;
    justify-content: space-between;

    margin-bottom: 9px;

    opacity: .85;
}


/* Instagram profile */

.instagram-profile {

    display: flex;
    align-items: center;

    gap: 6px;

    margin-bottom: 8px;
}


.instagram-profile-image {

    width: 21px;
    height: 21px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #833ab4,
            #fd1d1d,
            #fcb045
        );

    font-size: 10px;
}


.instagram-profile-text {

    display: flex;
    flex-direction: column;

    gap: 2px;
}


.instagram-profile-text strong {
    font-size: 6px;
}


.instagram-profile-text span {
    font-size: 4px;
    opacity: .7;
}


.instagram-line {

    width: 100%;
    height: 1px;

    margin-bottom: 8px;

    background:
        rgba(255, 255, 255, .13);
}


.instagram-stats {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 3px;

    text-align: center;
}


.instagram-stats span {

    display: flex;
    flex-direction: column;

    gap: 2px;

    font-size: 4px;

    opacity: .7;
}


.instagram-stats strong {

    font-size: 6px;

    color: var(--white);
}


.instagram-content-lines {

    display: flex;
    flex-direction: column;

    gap: 6px;

    margin-top: 12px;
}


.instagram-content-lines span {

    width: 100%;
    height: 20px;

    border-radius: 2px;

    background:
        linear-gradient(
            135deg,
            #292929,
            #191919
        );
}


/* ============================================================
   COMMUNITY STAT BOX
============================================================ */

.community-stat-box {

    position: absolute;

    left: 15px;
    right: 14px;
    bottom: 60px;

    min-height: 108px;

    padding: 20px 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-radius: 17px;

    border:
        1px solid
        rgba(255, 255, 255, .50);

    background:
        linear-gradient(
            90deg,
            rgba(85, 34, 140, .34),
            rgba(26, 16, 31, .72)
        );

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    z-index: 4;
}


.community-stat-content {

    display: flex;
    flex-direction: column;

    gap: 2px;
}


.community-stat-content strong {

    font-family: 'Poppins', sans-serif;

    font-size:
        clamp(38px, 4vw, 58px);

    line-height: .95;

    font-weight: 700;

    letter-spacing: -1.5px;
}


.community-stat-content span {

   font-family: 'Poppins', sans-serif;

    font-size: 18px;

    line-height: 1.2;

    font-weight: 400;
}


.community-instagram-icon {

    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;


    font-size: 25px;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    color: var(--white);
    font-size: 27px;
    box-shadow: 0 5px 15px rgba(214, 36, 159, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 6px;
}


/* ============================================================
   COMMUNITY BOTTOM
============================================================ */

.community-bottom {

    position: absolute;

    left: 17px;
    right: 17px;
    bottom: 13px;

    display: flex;
    align-items: center;

    gap: 10px;

    z-index: 5;
}


.community-users-icon {

    width: 30px;
    height: 30px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    border-radius: 50%;

    background:
        var(--red);

    color: var(--white);

    font-size: 13px;
}


.community-bottom p {

    margin: 0;

    max-width: 260px;

    font-size: 15px;

    line-height: 1.25;

    font-weight: 500;

    color:
        rgba(255, 255, 255, .9);
        font-family: 'Poppins', sans-serif;
}


/* ============================================================
   CENTER FOLLOWED CARD
============================================================ */

.social-followed-card {

    min-height: 335px;

    border-radius: 18px;

    padding: 27px 22px 17px;

    background:
        linear-gradient(
            160deg,
            #b00c2b 0%,
            #820d24 45%,
            #170507 100%
        );

    color: var(--white);
}


/* ============================================================
   FOLLOWED HEADER
============================================================ */

.followed-header {

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 55px;
}


.followed-header h3 {

    margin: 0;

    font-size:
        clamp(25px, 2.5vw, 32px);

    line-height: 1;

    font-weight: 500;

    letter-spacing: -.5px;
    font-family: 'Poppins', sans-serif;
}


.followed-next {

    width: 36px;
    height: 36px;

    display: grid;
    place-items: center;

    border: 0;
    border-radius: 50%;

    background:
        rgba(255, 255, 255, .30);

    color: var(--white);

    font-size: 14px;

    transition:
        background .25s ease,
        transform .25s ease;
}


.followed-next:hover {

    background:
        rgba(255, 255, 255, .50);

    transform:
        translateX(3px);
}


/* ============================================================
   CREATOR LIST
============================================================ */

.followed-creators {

    width: 100%;

    display: flex;

    gap: 28px;

    overflow: hidden;

    padding-left: 3px;
}


.creator-item {

    min-width: 120px;

    text-align: center;
}


.creator-image-wrap {

    width: 104px;
    height: 104px;

    margin: 0 auto 13px;

    padding: 5px;

    border-radius: 50%;

    background:
        linear-gradient(
            180deg,
            #5365ff,
            #b238d3,
            #ffb35c
        );
}


.creator-image-wrap img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 50%;

    border:
        3px solid
        #251015;
}


.creator-item h4 {

    margin: 0;

    color: var(--white);

    font-size: 18px;

    line-height: 1.3;

    font-weight: 500;
    font-family: 'Poppins', sans-serif;
}


/* ============================================================
   FOLLOWED FOOTER
============================================================ */

.followed-footer {

    position: absolute;

    left: 22px;
    right: 22px;
    bottom: 15px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 10px;
}


.followed-footer > span {

    font-size: 15px;

    line-height: 1;

    color:
        rgba(255, 255, 255, .95);
        font-family: 'Poppins', sans-serif;
}


.followed-dots {

    display: flex;

    align-items: center;

    gap: 6px;
}


.followed-dots span {

    width: 10px;
    height: 10px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, .25);
}


.followed-dots span.active {

    background: var(--white);
}


/* ============================================================
   RIGHT AREA
============================================================ */

.social-stats-area {

    min-height: 335px;

    display: grid;

    grid-template-rows:
        1fr 1fr;

    gap: 15px;
}


/* ============================================================
   POST CARD
============================================================ */

.social-post-card {

    min-height: 155px;

    border-radius: 17px;

    padding: 20px;

    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    background:
        var(--white);

    color:
        var(--red);

    border:
        1px solid
        rgba(255, 255, 255, .15);

    transition:
        transform .3s ease;
}


.social-post-card:hover {

    transform:
        translateY(-3px);
}


.post-card-copy strong {

    display: block;

    font-size:
        clamp(38px, 4vw, 62px);

    line-height: .85;

    letter-spacing: 1px;

    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}


.post-card-copy h3 {

    margin: 8px 0 13px;

    font-size: 24px;

    line-height: 1;

    font-weight: 800;

    color: #151313;
    font-family: 'Poppins', sans-serif;
}


.post-card-copy h3::after {

    content: "";

    display: block;

    width: 51px;
    height: 3px;

    margin-top: 8px;

    border-radius: 10px;

    background:
        var(--red);
}


.post-card-copy p {

    max-width: 270px;

    margin: 0;

    font-size: 16px;

    line-height: 1.3;

    color: #292526;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}


.post-card-icon {

    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        var(--red);

    color: var(--white);

    font-size: 16px;

    flex-shrink: 0;
}


/* ============================================================
   RIGHT BOTTOM
============================================================ */

.social-stats-bottom {

    display: grid;

    grid-template-columns:
        .78fr 1fr;

    gap: 13px;
}


/* ============================================================
   MEDIA CARD
============================================================ */

.media-card {

    min-height: 155px;

    padding: 23px 17px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    border-radius: 18px;

    border:
        1px solid
        rgba(255, 255, 255, .75);

    color: var(--white);

    background:
        rgba(0, 0, 0, .10);

    backdrop-filter:
        blur(8px);

    -webkit-backdrop-filter:
        blur(8px);
}


.media-card strong {

    font-size:
        clamp(40px, 4vw, 62px);

    line-height: .9;

    letter-spacing: 1px;

    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}


.media-card span {

    margin-top: 12px;

    font-size: 16px;

    line-height: 1.05;

        font-weight: 400;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
}


/* ============================================================
   MEDIA SERVICES CARD
============================================================ */

.media-services-card {

    min-height: 155px;

    padding: 13px;

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 8px;

    border-radius: 18px;

    background:
        var(--red);

    color: var(--white);
}


.media-service-item {

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 6px;

    text-align: center;
}


.media-service-icon {

    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, .23);

    color: var(--white);

    font-size: 18px;
}


.media-service-item span {

    font-size: 15px;
    line-height: 1;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
}


/* ============================================================
   LIGHT MODE
============================================================ */

body.light .social-showcase-section {

    color:
        var(--light-text);
}


/* Left remains colorful */

body.light .social-community-card {

    box-shadow:
        0 15px 40px
        rgba(40, 20, 80, .12);
}


/* Center */

body.light .social-followed-card {

    background:
        linear-gradient(
            160deg,
            #bd1234 0%,
            #a50c2c 50%,
            #721022 100%
        );

    box-shadow:
        0 15px 40px
        rgba(90, 10, 30, .12);
}


/* Media card */

body.light .media-card {

    color:
        #151313;

    border-color:
        rgba(20, 15, 16, .45);

    background:
        rgba(255, 255, 255, .45);
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 1100px) {

    .social-showcase-container {

        width:
            calc(100% - 40px);

        grid-template-columns:
            1fr 1fr;

        min-height: auto;
    }


    .social-community-card {

        min-height: 335px;
    }


    .social-followed-card {

        min-height: 335px;
    }


    .social-stats-area {

        grid-column:
            1 / -1;

        min-height: 335px;

        grid-template-columns:
            1fr;

        grid-template-rows:
            auto auto;
    }


    .social-post-card {

        min-height: 155px;
    }


    .social-stats-bottom {

        min-height: 155px;
    }
}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 767px) {

    .social-showcase-section {

        padding:
            40px 0 40px;
    }


    .social-showcase-container {

        width:
            calc(100% - 28px);

        display:
            flex;

        flex-direction:
            column;

        gap: 12px;
    }


    /* ========================================================
       COMMUNITY
    ======================================================== */

    .social-community-card {

        min-height:
            320px;

        border-radius:
            16px;
    }


    .community-phone-wrap {

        left:
            50%;

        top:
            25px;

        transform:
            translateX(-50%)
            rotate(-7deg)
            scale(.88);
    }


    .community-stat-box {

        left:
            12px;

        right:
            12px;

        bottom:
            48px;

        min-height:
            92px;

        padding:
            16px 15px;

        border-radius:
            15px;
    }


    .community-stat-content strong {

        font-size:
            42px;
    }


    .community-stat-content span {

        font-size:
            15px;
    }


    .community-instagram-icon {

        font-size:
            22px;
    }


    .community-bottom {

        left:
            13px;

        right:
            13px;

        bottom:
            10px;
    }


    .community-bottom p {

        font-size:
            12px;
    }


    /* ========================================================
       FOLLOWED
    ======================================================== */

    .social-followed-card {

        min-height:
            315px;

        padding:
            23px 17px 16px;

        border-radius:
            16px;
    }


    .followed-header {

        margin-bottom:
            34px;
    }


    .followed-header h3 {

        font-size:
            27px;
    }


    .followed-creators {

        justify-content:
            flex-start;

        gap:
            22px;

        overflow:
            hidden;
    }


    .creator-item {

        min-width:
            105px;
    }


    .creator-image-wrap {

        width:
            86px;

        height:
            86px;

        margin-bottom:
            10px;
    }


    .creator-item h4 {

        font-size:
            16px;
    }


    .followed-footer {

        left:
            17px;

        right:
            17px;
    }


    .followed-footer > span {

        font-size:
            12px;
    }


    .followed-dots {

        gap:
            5px;
    }


    .followed-dots span {

        width:
            8px;

        height:
            8px;
    }


    /* ========================================================
       RIGHT AREA
    ======================================================== */

    .social-stats-area {

        min-height:
            auto;

        display:
            flex;

        flex-direction:
            column;

        gap:
            12px;
    }


    .social-post-card {

        min-height:
            145px;

        padding:
            18px;

        border-radius:
            16px;
    }


    .post-card-copy strong {

        font-size:
            48px;
    }


    .post-card-copy h3 {

        font-size:
            18px;

        margin:
            7px 0 10px;
    }


    .post-card-copy p {

        font-size:
            13px;

        max-width:
            230px;
    }


    .social-stats-bottom {

        min-height:
            145px;

        grid-template-columns:
            .8fr 1fr;

        gap:
            10px;
    }


    .media-card {

        min-height:
            145px;

        padding:
            18px 14px;

        border-radius:
            16px;
    }


    .media-card strong {

        font-size:
            48px;
    }


    .media-card span {

        font-size:
            13px;

        margin-top:
            10px;
    }


    .media-services-card {

        min-height:
            145px;

        border-radius:
            16px;

        padding:
            10px;

        gap:
            5px;
    }


    .media-service-icon {

        width:
            34px;

        height:
            34px;

        font-size:
            12px;
    }


    .media-service-item span {

        font-size:
            13px;
    }
}


/* ============================================================
   SMALL MOBILE
============================================================ */

@media (max-width: 400px) {

    .social-showcase-container {

        width:
            calc(100% - 20px);
    }


    .social-community-card {

        min-height:
            305px;
    }


    .community-phone-wrap {

        transform:
            translateX(-50%)
            rotate(-7deg)
            scale(.78);
    }


    .community-stat-content strong {

        font-size:
            37px;
    }


    .community-stat-content span {

        font-size:
            14px;
    }


    .social-followed-card {

        min-height:
            300px;
    }


    .creator-item {

        min-width:
            92px;
    }


    .creator-image-wrap {

        width:
            78px;

        height:
            78px;
    }


    .creator-item h4 {

        font-size:
            14px;
    }


    .social-stats-bottom {

        grid-template-columns:
            1fr 1.05fr;
    }


    .media-card strong {

        font-size:
            42px;
    }


    .media-card span {

        font-size:
            12px;
    }


    .media-service-icon {

        width:
            31px;

        height:
            31px;
    }
}


/* ============================================================
   VERY SMALL MOBILE
============================================================ */

@media (max-width: 320px) {

    .social-showcase-container {

        width:
            calc(100% - 16px);
    }


    .social-community-card {

        min-height:
            290px;
    }


    .community-phone-wrap {

        transform:
            translateX(-50%)
            rotate(-7deg)
            scale(.70);
    }


    .community-stat-box {

        bottom:
            45px;

        min-height:
            84px;
    }


    .community-stat-content strong {

        font-size:
            33px;
    }


    .community-stat-content span {

        font-size:
            13px;
    }


    .social-followed-card {

        min-height:
            290px;
    }


    .followed-header h3 {

        font-size:
            24px;
    }


    .creator-image-wrap {

        width:
            70px;

        height:
            70px;
    }


    .creator-item h4 {

        font-size:
            13px;
    }


    .followed-creators {

        gap:
            13px;
    }


    .followed-footer > span {

        font-size:
            10px;
    }


    .social-stats-bottom {

        grid-template-columns:
            1fr 1fr;
    }


    .media-card strong {

        font-size:
            38px;
    }


    .media-card span {

        font-size:
            12px;
    }


    .media-service-item span {

        font-size:
            10px;
    }
}


/* ============================================================
   REDUCED MOTION
============================================================ */

@media (prefers-reduced-motion: reduce) {

    .social-showcase-section *,
    .social-showcase-section *::before,
    .social-showcase-section *::after {

        transition:
            none !important;

        animation:
            none !important;
    }
}


/* ============================================================
   FOLLOWED BY SLIDER
============================================================ */

.followed-slider {
    width: 100%;
    overflow: hidden;
}

.followed-creators {
    width: max-content;
    display: flex;
    gap: 28px;
    padding-left: 3px;

    transition: transform 0.5s ease;
    will-change: transform;
}


/* Creator item */

.creator-item {
    width: 120px;
    min-width: 120px;
    flex-shrink: 0;
    text-align: center;
}


/* Next button */

.followed-next {
    width: 36px;
    height: 36px;

    display: grid;
    place-items: center;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.30);
    color: var(--white);

    font-size: 14px;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.followed-next:hover {
    background: rgba(255, 255, 255, 0.50);
    transform: translateX(3px);
}

.followed-next:active {
    transform: scale(0.92);
}


/* Dots */

.followed-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.followed-dots button {
    width: 10px;
    height: 10px;

    padding: 0;
    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.25);

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.followed-dots button.active {
    background: var(--white);
    transform: scale(1.15);
}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 767px) {

    .followed-creators {
        gap: 22px;
    }

    .creator-item {
        width: 105px;
        min-width: 105px;
    }
}


/* ============================================================
   SMALL MOBILE
============================================================ */

@media (max-width: 400px) {

    .followed-creators {
        gap: 13px;
    }

    .creator-item {
        width: 92px;
        min-width: 92px;
    }
}


/* ============================================================
   REDUCED MOTION
============================================================ */

@media (prefers-reduced-motion: reduce) {

    .followed-creators {
        transition: none;
    }
}

/* =========================================
   FOLLOWED BY AUTOPLAY SLIDER
========================================= */

.followed-slider {
    width: 100%;
    overflow: hidden;
}

.followed-creators {
    width: max-content;
    display: flex;
    gap: 28px;
    padding-left: 3px;

    transform: translateX(0);
    transition: transform 0.55s ease;

    will-change: transform;
}

.creator-item {
    width: 120px;
    min-width: 120px;
    flex-shrink: 0;
    text-align: center;
}


/* NEXT BUTTON */

.followed-next {
    width: 36px;
    height: 36px;

    display: grid;
    place-items: center;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.30);
    color: var(--white);

    font-size: 14px;
    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.followed-next:hover {
    background: rgba(255, 255, 255, 0.50);
    transform: translateX(3px);
}

.followed-next:active {
    transform: scale(0.92);
}


/* DOTS */

.followed-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.followed-dots button {
    width: 10px;
    height: 10px;

    padding: 0;
    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.25);

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.followed-dots button.active {
    background: var(--white);
    transform: scale(1.15);
}


/* MOBILE */

@media (max-width: 767px) {

    .followed-creators {
        gap: 22px;
    }

    .creator-item {
        width: 105px;
        min-width: 105px;
    }
}


@media (max-width: 400px) {

    .followed-creators {
        gap: 13px;
    }

    .creator-item {
        width: 92px;
        min-width: 92px;
    }
}


/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

    .followed-creators {
        transition: none;
    }
}