@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;600;700&display=swap');
.team-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 50px;

    min-height: 250px;

    padding: 50px;

    border-radius: 24px;

    background:
        radial-gradient(
            circle at right center,
            rgba(243,179,61,.06),
            transparent 40%
        ),
        linear-gradient(
            180deg,
            rgba(255,255,255,.05),
            rgba(255,255,255,.02)
        );

    border: 1px solid rgba(255,255,255,.08);

    box-shadow:
        0 20px 50px rgba(0,0,0,.35);
}

.team-info {
    display: flex;
    flex-direction: column;
    height: 100%;
    font-family: 'Manrope', sans-serif;
}

.team-member-header {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.member-name {
    font-family: 'Barlow', 'Trebuchet MS', sans-serif;
    font-size: 30px;
    font-weight: 900;
    color: var(--accent);
}

.member-rank {
    font-family: 'Barlow', 'Trebuchet MS', sans-serif;
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 700;
    color: white;
}

.member-description {
    margin-top: 18px;
    max-width: 650px;
    color: #d4d4d4;
    line-height: 1.8;
    font-size: 1rem;
}

#team-members {
    margin-top: auto;

    display: flex;
    align-items: center;
    gap: 12px;

    flex-wrap: nowrap;

    overflow-x: auto;
    overflow-y: hidden;

    padding-top: 20px;

    scrollbar-width: none;
}

#team-members::-webkit-scrollbar {
    display: none;
}

.team-avatar {
    flex-shrink: 0;

    width: 48px;
    height: 48px;

    border-radius: 10px;

    overflow: hidden;

    cursor: pointer;

    border: 2px solid transparent;

    transition: .2s ease;
}

.team-avatar:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
}

.team-avatar.active {
    border-color: var(--accent);

    box-shadow:
        0 0 20px rgba(243,179,61,.25);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    display: block;
}

.team-right {
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;
}

.team-right::before {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(243,179,61,.15),
            transparent 70%
        );

    filter: blur(30px);
}

.team-right img {
    width: 100%;
    max-width: 260px;

    position: relative;
    z-index: 1;

    image-rendering: pixelated;
}

.team-members-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
}

.team-arrow {
    flex-shrink: 0;

    border: none;
    background: transparent;

    color: rgba(255,255,255,.7);

    font-size: 30px;
    font-weight: 700;

    cursor: pointer;

    padding: 0;

    transition: .2s ease;
}

.team-arrow:hover {
    color: var(--accent);
}

/* .team-arrow:hover {
    background: rgba(243,179,61,.15);
    color: var(--accent);
    transform: scale(1.05);
} */

#team-members {
    display: flex;
    align-items: center;
    gap: 12px;

    overflow-x: auto;
    overflow-y: hidden;

    scrollbar-width: none;
}

#team-members::-webkit-scrollbar {
    display: none;
}

@media (max-width: 900px) {

    .team-showcase {
        grid-template-columns: 1fr;
        min-height: auto;
        text-align: center;
        padding: 35px;
    }

    .team-member-header {
        justify-content: center;
    }

    #team-members {
        justify-content: center;
        margin-top: 30px;
    }

    .team-right {
        order: -1;
    }

    .team-right img {
        max-width: 220px;
    }
}